Searched defs:amt (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/lib/rad/pyrad/common/
H A Drecordmarking.py83 amt = min(self._remaining, n) variable in class:RecordMarkingSocket
84 data = self._socket.recv(amt)
/osnet-11/usr/src/lib/libbsdmalloc/common/
H A Dmalloc.bsd43.c100 size_t amt; local
128 amt = (1UL << EXP);
129 while (pagesz > amt) {
130 amt <<= 1;
141 amt = (1UL << EXP); /* size of first bucket */
145 amt = pagesz;
148 while (nbytes > amt + n) {
149 amt <<= 1;
150 if (amt == 0)
178 ssize_t amt; /* amoun local
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dfsys_tftp.c543 int amt = buf_read + saved_filepos - filepos; local
547 if (amt > size)
548 amt = size;
550 if (amt > 0)
553 grub_memmove (addr, buf + filepos - saved_filepos, amt);
554 size -= amt;
555 addr += amt;
556 filepos += amt;
557 ret += amt;
771 int amt local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dmon.c391 size_t amt; local
396 amt = ap->monBuffer->nfns * sizeof (struct cnt);
399 ok = (write(fd, p, amt) == amt);
406 amt = histp->histSize;
408 ok = (write(fd, p, amt) == amt);
/osnet-11/usr/src/lib/libsqlite/src/
H A Dexpr.c1531 int amt = pParse->nAgg + 8; local
1532 AggExpr *aAgg = sqliteRealloc(pParse->aAgg, amt*sizeof(pParse->aAgg[0]));
H A Dbtree_rb.c1178 static int memRbtreeKey(RbtCursor* pCur, int offset, int amt, char *zBuf) argument
1181 if( !pCur->pNode->pKey || ((amt + offset) <= pCur->pNode->nKey) ){
1182 memcpy(zBuf, ((char*)pCur->pNode->pKey)+offset, amt);
1185 amt = pCur->pNode->nKey-offset;
1187 return amt;
1200 static int memRbtreeData(RbtCursor *pCur, int offset, int amt, char *zBuf) argument
1203 if( (amt + offset) <= pCur->pNode->nData ){
1204 memcpy(zBuf, ((char*)pCur->pNode->pData)+offset, amt);
1207 amt = pCur->pNode->nData-offset;
1209 return amt;
[all...]
H A Dos.c972 int sqliteOsRead(OsFile *id, void *pBuf, int amt){ argument
977 got = read(id->fd, pBuf, amt);
982 if( got==amt ){
992 if( !ReadFile(id->h, pBuf, amt, &got, 0) ){
995 if( got==(DWORD)amt ){
1006 FSReadFork(id->refNum, fsAtMark, 0, (ByteCount)amt, pBuf, (ByteCount*)&got);
1008 got = amt;
1011 if( got==amt ){
1023 int sqliteOsWrite(OsFile *id, const void *pBuf, int amt){ argument
1028 while( amt>
[all...]
H A Dprintf.c238 int amt; local
240 amt = 1;
241 while( (c=(*++fmt))!='%' && c!=0 ) amt++;
242 (*func)(arg,bufpt,amt);
243 count += amt;
H A Dvdbe.c3130 int amt, offset, end, payloadSize; local
3202 amt = end - offset;
3203 if( amt<0 || offset<0 || end>payloadSize ){
3208 /* amt and offset now hold the offset to the start of data and the
3211 pTos->n = amt;
3212 if( amt==0 ){
3218 if( amt<=NBFS ){
3222 char *z = sqliteMallocRaw( amt );
3228 sqliteBtreeKey(pCrsr, offset, amt, pTos->z);
3230 sqliteBtreeData(pCrsr, offset, amt, pTo
3289 int amt; local
[all...]
H A Dbtree.c1178 ** a total of "amt" bytes. Put the result in zBuf.
1183 static int getPayload(BtCursor *pCur, int offset, int amt, char *zBuf){ argument
1192 int a = amt;
1197 if( a==amt ){
1202 amt -= a;
1206 if( amt>0 ){
1209 while( amt>0 && nextPage ){
1217 int a = amt;
1223 amt -= a;
1230 if( amt>
1249 fileBtreeKey(BtCursor *pCur, int offset, int amt, char *zBuf) argument
1294 fileBtreeData(BtCursor *pCur, int offset, int amt, char *zBuf) argument
[all...]
/osnet-11/usr/src/lib/libsqlite/tool/
H A Dlemon.c338 int amt = 100; local
339 freelist = (struct action *)malloc( sizeof(struct action)*amt );
344 for(i=0; i<amt-1; i++) freelist[i].next = &freelist[i+1];
345 freelist[amt-1].next = 0;
1045 int amt = 3; local
1046 freelist = (struct config *)malloc( sizeof(struct config)*amt );
1051 for(i=0; i<amt-1; i++) freelist[i].next = &freelist[i+1];
1052 freelist[amt-1].next = 0;
2433 int amt = 100; local
2434 plink_freelist = (struct plink *)malloc( sizeof(struct plink)*amt );
[all...]

Completed in 98 milliseconds