Searched refs:amt (Results 1 - 25 of 68) sorted by relevance

123

/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DFileUtils.java110 long amt = in.skip(at);
111 if (amt == -1) {
114 at -= amt;
130 int amt = in.read(result, at, length);
131 if (amt == -1) {
134 at += amt;
135 length -= amt;
H A DAnnotatedOutput.java66 * @param amt >= 0; the amount of output for this annotation to
70 public void annotate(int amt, String msg); argument
H A DTwoColumnOutput.java250 * @param amt >= 0; the number of spaces to write
252 private static void writeSpaces(Writer out, int amt) throws IOException { argument
253 while (amt > 0) {
255 amt--;
/external/valgrind/main/none/tests/
H A Dpth_cancel2.c26 #define async_cancel_safe_read(fd,buf,amt) \
30 if (read(fd,buf,amt) < 0) \
37 #define async_cancel_safe_write(fd,buf,amt) \
41 if (write(fd,buf,amt) < 0) \
54 int amt=20; local
57 async_cancel_safe_write(*fd2,buf,amt);
58 async_cancel_safe_read(*fd2,buf,amt);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DAnnotatedOutput.java58 * @param amt {@code >= 0;} the amount of output for this annotation to
62 public void annotate(int amt, String msg); argument
H A DFileUtils.java78 int amt = in.read(result, at, length);
79 if (amt == -1) {
82 at += amt;
83 length -= amt;
H A DTwoColumnOutput.java246 * @param amt {@code >= 0;} the number of spaces to write
248 private static void writeSpaces(Writer out, int amt) throws IOException { argument
249 while (amt > 0) {
251 amt--;
/external/valgrind/main/none/tests/amd64/
H A Dshrld.c8 ULong amt; variable
39 "\tmovq amt, %rcx\n"
60 "\tmovq amt, %rcx\n"
81 "\tmovq amt, %rcx\n"
103 "\tmovq amt, %rcx\n"
124 "\tmovq amt, %rcx\n"
145 "\tmovq amt, %rcx\n"
172 amt = (ULong)i;
185 amt = (ULong)i;
199 amt
[all...]
/external/tcpdump/
H A Dprint-ripng.c66 register u_int amt; local
73 amt = snapend - dat;
74 i = min(length, amt);
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring.h78 #define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
/external/grub/netboot/
H A Dfsys_tftp.c359 int amt = buf_read + saved_filepos - filepos; local
363 if (amt > size)
364 amt = size;
366 if (amt > 0)
369 grub_memmove (addr, buf + filepos - saved_filepos, amt);
370 size -= amt;
371 addr += amt;
372 filepos += amt;
373 ret += amt;
/external/doclava/src/com/google/doclava/
H A DDocFile.java38 int amt;
40 amt = reader.read(buf, index, length - index);
42 if (amt < 1) {
46 index += amt;
/external/chromium_org/third_party/sqlite/src/src/
H A Dbtree.h167 int sqlite3BtreeKey(BtCursor*, u32 offset, u32 amt, void*);
171 int sqlite3BtreeData(BtCursor*, u32 offset, u32 amt, void*);
178 int sqlite3BtreePutData(BtCursor*, u32 offset, u32 amt, void*);
H A Dos.h238 int sqlite3OsRead(sqlite3_file*, void*, int amt, i64 offset);
239 int sqlite3OsWrite(sqlite3_file*, const void*, int amt, i64 offset);
H A Dtest_hexio.c104 int amt, got; local
114 if( Tcl_GetIntFromObj(interp, objv[3], &amt) ) return TCL_ERROR;
116 zBuf = sqlite3_malloc( amt*2+1 );
129 got = fread(zBuf, 1, amt, in);
H A Dos.c63 int sqlite3OsRead(sqlite3_file *id, void *pBuf, int amt, i64 offset){ argument
65 return id->pMethods->xRead(id, pBuf, amt, offset);
67 int sqlite3OsWrite(sqlite3_file *id, const void *pBuf, int amt, i64 offset){ argument
69 return id->pMethods->xWrite(id, pBuf, amt, offset);
/external/dropbear/
H A Dscp.c597 off_t i, amt, statbytes; local
673 amt = bp->cnt;
674 if (i + amt > stb.st_size)
675 amt = stb.st_size - i;
677 result = atomicio(read, fd, bp->buf, amt);
678 if (result != amt)
682 (void) atomicio(vwrite, remout, bp->buf, amt);
684 result = atomicio(vwrite, remout, bp->buf, amt);
685 if (result != amt)
691 bwlimit(amt);
832 int amt, exists, first, mask, mode, ofd, omode; local
[all...]
/external/openssh/
H A Dscp.c728 size_t amt; local
811 amt = bp->cnt;
812 if (i + (off_t)amt > stb.st_size)
813 amt = stb.st_size - i;
815 if (atomicio(read, fd, bp->buf, amt) != amt)
820 (void)atomicio(vwrite, remout, bp->buf, amt);
823 if (atomicio6(vwrite, remout, bp->buf, amt, scpio,
824 &statbytes) != amt)
908 int amt, exist local
[all...]
/external/guava/guava/src/com/google/common/io/
H A DByteStreams.java580 long amt = in.skip(Integer.MAX_VALUE);
581 if (amt == 0) {
588 count += amt;
680 long amt = in.skip(n);
681 if (amt == 0) {
688 n -= amt;
707 int amt;
709 amt = in.read(buf);
710 if (amt == -1) {
714 } while (processor.processBytes(buf, 0, amt));
[all...]
H A DCharStreams.java412 long amt = reader.skip(n);
413 if (amt == 0) {
420 n -= amt;
/external/clang/include/clang/Analysis/Analyses/
H A DFormatString.h255 : start(amountStart), length(amountLength), hs(howSpecified), amt(amount),
259 : start(0),length(0), hs(valid ? NotSpecified : Invalid), amt(0),
273 return amt;
278 return amt;
298 return amt + 1;
308 unsigned amt; member in class:clang::analyze_format_string::OptionalAmount
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dmacasyncsocket.cc421 char ch, amt; local
422 amt = ::recv(this_socket->native_socket_, &ch, 1, MSG_PEEK);
423 if (amt == 0) {
431 } else if (amt > 0) {
/external/chromium-trace/trace-viewer/src/base/
H A Dquad.js27 function lerpVec2(out, a, b, amt) {
28 vec2.scale(lerpingVecA, a, amt);
29 vec2.scale(lerpingVecB, b, 1 - amt);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DAbstractMapTest.java353 AMT amt = new AMT();
355 amt.putAll(ht);
356 assertEquals("Should be equal", amt, ht);
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDexFile.java637 int amt = md.digest(bytes, 12, 20);
638 if (amt != 20) {
639 throw new RuntimeException("unexpected digest write: " + amt +

Completed in 757 milliseconds

123