Home
last modified time | relevance | path

Searched refs:amt (Results 1 – 7 of 7) sorted by relevance

/external/grub/netboot/
Dfsys_tftp.c359 int amt = buf_read + saved_filepos - filepos; in tftp_read() local
363 if (amt > size) in tftp_read()
364 amt = size; in tftp_read()
366 if (amt > 0) in tftp_read()
369 grub_memmove (addr, buf + filepos - saved_filepos, amt); in tftp_read()
370 size -= amt; in tftp_read()
371 addr += amt; in tftp_read()
372 filepos += amt; in tftp_read()
373 ret += amt; in tftp_read()
/external/dropbear/
Dscp.c597 off_t i, amt, statbytes; in source() local
673 amt = bp->cnt; in source()
674 if (i + amt > stb.st_size) in source()
675 amt = stb.st_size - i; in source()
677 result = atomicio(read, fd, bp->buf, amt); in source()
678 if (result != amt) in source()
682 (void) atomicio(vwrite, remout, bp->buf, amt); in source()
684 result = atomicio(vwrite, remout, bp->buf, amt); in source()
685 if (result != amt) in source()
691 bwlimit(amt); in source()
[all …]
/external/tcpdump/
Dprint-ripng.c66 register u_int amt; in ripng_print() local
73 amt = snapend - dat; in ripng_print()
74 i = min(length, amt); in ripng_print()
/external/icu4c/i18n/
Dnumfmt.cpp247 const CurrencyAmount* amt = (const CurrencyAmount*) o; in format() local
248 const UChar* curr = amt->getISOCurrency(); in format()
254 n = &amt->getNumber(); in format()
/external/icu4c/test/intltest/
Dcalregts.cpp1265 int32_t amt = (int32_t) DATA[i+2]; in test4114578() local
1273 log(UnicodeString(" add (HOUR,") + (amt<0?"":"+")+amt + ")= "); in test4114578()
1274 cal->add(UCAL_HOUR, amt,status); in test4114578()
1277 log(UnicodeString(" roll(HOUR,") + (amt<0?"":"+")+amt + ")= "); in test4114578()
1278 cal->roll(UCAL_HOUR, amt,status); in test4114578()
Dtsmthred.cpp642 static int safeIncr(int &var, int amt) { in safeIncr() argument
647 var += amt; in safeIncr()
/external/sqlite/dist/
Dsqlite3.c6726 SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor*, u32 offset, u32 amt, void*);
6731 SQLITE_PRIVATE int sqlite3BtreeData(BtCursor*, u32 offset, u32 amt, void*);
6736 SQLITE_PRIVATE int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*);
7534 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset);
7535 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset);
10573 SQLITE_PRIVATE int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ in sqlite3OsRead() argument
10575 return id->pMethods->xRead(id, pBuf, amt, offset); in sqlite3OsRead()
10577 SQLITE_PRIVATE int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ in sqlite3OsWrite() argument
10579 return id->pMethods->xWrite(id, pBuf, amt, offset); in sqlite3OsWrite()
14258 int amt; in vxprintf() local
[all …]