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

123

/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/lldb/source/Plugins/Process/Utility/
H A DInstructionUtils.h68 Rotr32 (uint32_t bits, uint32_t amt)
70 assert(amt < 32 && "Invalid rotate amount");
71 return (bits >> amt) | (bits << ((32-amt)&31));
76 Rotl32 (uint32_t bits, uint32_t amt)
78 assert(amt < 32 && "Invalid rotate amount");
79 return (bits << amt) | (bits >> ((32-amt)&31));
H A DARMUtils.h184 uint32_t amt = amount % 32; local
185 uint32_t result = Rotr32(value, amt);
294 uint32_t amt = 2 * bits(opcode, 11, 8); // rotate amount local
295 if (amt == 0)
302 imm32 = ror(imm, 32, 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/smali/util/src/main/java/org/jf/util/
H A DTwoColumnOutput.java147 * @param amt &gt;= 0; the number of spaces to write
149 private static void writeSpaces(Writer out, int amt) throws IOException { argument
150 while (amt > 0) {
152 amt--;
/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/jarjar/src/main/com/tonicsystems/jarjar/util/
H A DIoUtil.java33 int amt = is.read(buf);
34 if (amt < 0)
36 out.write(buf, 0, 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);
H A Dprintf.c269 int amt; local
271 amt = 1;
272 while( (c=(*++fmt))!='%' && c!=0 ) amt++;
273 sqlite3StrAccumAppend(pAccum, bufpt, amt);
H A Dvdbemem.c890 ** to. offset and amt determine what portion of the data or key to retrieve.
903 int amt, /* Number of bytes to return. */
923 if( offset+amt<=available && (pMem->flags&MEM_Dyn)==0 ){
927 }else if( SQLITE_OK==(rc = sqlite3VdbeMemGrow(pMem, amt+2, 0)) ){
932 rc = sqlite3BtreeKey(pCur, offset, amt, pMem->z);
934 rc = sqlite3BtreeData(pCur, offset, amt, pMem->z);
936 pMem->z[amt] = 0;
937 pMem->z[amt+1] = 0;
942 pMem->n = amt;
900 sqlite3VdbeMemFromBtree( BtCursor *pCur, int offset, int amt, int key, Mem *pMem ) argument
/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/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.h263 : start(amountStart), length(amountLength), hs(howSpecified), amt(amount),
267 : start(nullptr),length(0), hs(valid ? NotSpecified : Invalid), amt(0),
281 return amt;
286 return amt;
306 return amt + 1;
316 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_org/third_party/webrtc/base/
H A Dmacasyncsocket.cc427 char ch, amt; local
428 amt = ::recv(this_socket->native_socket_, &ch, 1, MSG_PEEK);
429 if (amt == 0) {
437 } 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/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 517 milliseconds

123