/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Fingerprint.java | 114 for (int idx = STREAM_ID_CS_PREFIX.length(); idx < STREAM_ID_CS_01_LENGTH; 115 idx += 2) { 116 int value = (toDigit(streamId, idx) << 4) | toDigit(streamId, idx + 1); 181 for (int idx = 0; idx < FINGERPRINT_BYTE_LENGTH; idx++) { 182 int value = bytes[idx];
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
ClientAPIExts.cpp | 66 void initClientFuncs(GLESiface *iface, int idx) 69 s_client_extensions[idx].fname = \ 78 memset(&s_client_extensions[idx], 0, sizeof(struct _ext_table)); 100 int idx = (int)thread->eglContext->version() - 1; \ 101 if (!s_client_extensions[idx].fname) { \ 104 (*s_client_extensions[idx].fname) args; \ 114 int idx = (int)thread->eglContext->version() - 1; \ 115 if (!s_client_extensions[idx].fname) { \ 118 return (*s_client_extensions[idx].fname) args; \
|
/external/blktrace/btt/ |
unplug_hist.c | 53 int idx, n_unplugs = be64_to_cpu(*val); local 56 idx = (n_unplugs / BKT_WIDTH); 57 if (idx > EXCESS_BKT) 58 idx = EXCESS_BKT; 60 hbp->hist[idx]++;
|
/external/bluetooth/bluedroid/stack/avct/ |
avct_ccb.c | 128 tAVCT_CCB *avct_ccb_by_idx(UINT8 idx) 133 if (idx < AVCT_NUM_CONN) 135 p_ccb = &avct_cb.ccb[idx]; 141 AVCT_TRACE_WARNING1("ccb %d not allocated", idx); 147 AVCT_TRACE_WARNING1("No ccb for idx %d", idx);
|
/external/compiler-rt/lib/tsan/benchmarks/ |
mini_bench_shared.cc | 12 void Run(int idx) { 18 long idx = (long)arg; local 19 printf("Thread %ld started\n", idx); 21 Run(idx); 22 printf("Thread %ld done\n", idx);
|
/dalvik/vm/ |
ReferenceTable.cpp | 268 for (int idx = count - 1; idx >= first; --idx) { 269 const Object* ref = refs[idx]; 274 ALOGW(" %5d: cleared jweak", idx); 280 ALOGW(" %5d: %p (raw) (%zd bytes)", idx, ref, size); 307 ALOGW(" %5d: %p %s%s", idx, ref, className.c_str(), extras.c_str()); 335 size_t idx; local 337 for (idx = 1; idx < count; idx++) [all...] |
Hash.h | 185 int idx; member in struct:HashIter 188 int i = pIter->idx +1; 195 pIter->idx = i; 199 pIter->idx = -1; 203 return (pIter->idx >= pIter->pHashTable->tableSize); 206 assert(pIter->idx >= 0 && pIter->idx < pIter->pHashTable->tableSize); 207 return pIter->pHashTable->pEntries[pIter->idx].data;
|
/external/freetype/src/sfnt/ |
ttpost.c | 209 FT_Int idx; local 212 idx = glyph_indices[n]; 213 if ( idx >= 258 ) 215 idx -= 257; 216 if ( idx > num_names ) 217 num_names = (FT_UShort)idx; 343 FT_Long idx = (FT_Long)n + offset_table[n]; local 346 if ( idx < 0 || idx > num_glyphs ) 465 /* idx :: The glyph index. * [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
LODGeomap.java | 172 int idx = rowIdx + c;
local 173 buffer.put(idx);
174 idx = nextRowIdx + c;
175 buffer.put(idx);
180 int idx = nextRowIdx + getWidth() - (1 * lod) - 1;
local 181 buffer.put(idx);
182 idx = nextRowIdx + (1 * lod); // inset by 1
183 buffer.put(idx);
200 int idx = (row) * getWidth() - 1 - lod;
local 201 buffer.put(idx);
215 int idx = row * getWidth() - 1; \/\/ mult to get row local 237 int idx = (lod * getWidth()) + col - lod; \/\/ next row local 254 int idx = col + (lod * getWidth()); local 274 int idx = (row + lod) * getWidth() + lod; local 293 int idx = row * getWidth(); local 318 int idx = getWidth() * (getWidth() - 1 - lod) + col + lod; local 335 int idx = getWidth() * (getWidth() - 1 - lod) + col; \/\/ up local 375 int idx = rowIdx + c; local 383 int idx = nextRowIdx + getWidth() - (1 * lod) - 1; local 402 int idx = corner; local 428 int idx = row * getWidth() - 1; \/\/ mult to get row local 450 int idx = getWidth() - 1; local 474 int idx = col + (lod * getWidth()); local 491 int idx = 0; local 516 int idx = row * getWidth(); local 540 int idx = getWidth() * getWidth() - getWidth(); local 566 int idx = getWidth() * (getWidth() - 1 - lod) + col; \/\/ up local 667 int idx = (r * getWidth() + c) * 3; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ClassDefsSection.java | 133 int idx = 0; local 144 idx = orderItems0(type, idx, sz - idx); 153 * @param idx {@code >= 0;} the next index to assign 158 private int orderItems0(Type type, int idx, int maxDepth) { 162 return idx; 174 idx = orderItems0(superclass, idx, maxDepth); 180 idx = orderItems0(interfaces.getType(i), idx, maxDepth) [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ClassDefsSection.java | 133 int idx = 0; local 144 idx = orderItems0(type, idx, sz - idx); 153 * @param idx {@code >= 0;} the next index to assign 158 private int orderItems0(Type type, int idx, int maxDepth) { 162 return idx; 174 idx = orderItems0(superclass, idx, maxDepth); 180 idx = orderItems0(interfaces.getType(i), idx, maxDepth) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ClassDefsSection.java | 133 int idx = 0; local 144 idx = orderItems0(type, idx, sz - idx); 153 * @param idx {@code >= 0;} the next index to assign 158 private int orderItems0(Type type, int idx, int maxDepth) { 162 return idx; 174 idx = orderItems0(superclass, idx, maxDepth); 180 idx = orderItems0(interfaces.getType(i), idx, maxDepth) [all...] |
/external/elfutils/libdw/ |
dwarf_getabbrevattr.c | 61 dwarf_getabbrevattr (abbrev, idx, namep, formp, offsetp) 63 size_t idx; 89 while (cnt++ < idx);
|
dwarf_entry_breakpoints.c | 111 size_t idx = (l + u) / 2; local 112 if (lines->info[idx].addr < low) 113 l = idx + 1; 114 else if (lines->info[idx].addr > low) 115 u = idx; 116 else if (lines->info[idx].end_sequence) 117 l = idx + 1; 120 l = idx;
|
/external/kernel-headers/original/asm-mips/ |
fixmap.h | 34 * highger than 1) use fixmap_set(idx,phys) to associate 84 * 'index to address' translation. If anyone tries to use the idx 88 static inline unsigned long fix_to_virt(const unsigned int idx) 99 if (idx >= __end_of_fixed_addresses) 102 return __fix_to_virt(idx);
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
f8_test_mode.c | 43 int err, idx; 45 idx = find_cipher("aes"); 46 if (idx == -1) { 47 idx = find_cipher("rijndael"); 48 if (idx == -1) return CRYPT_NOP; 52 if ((err = f8_start(idx, IV, key, sizeof(key), salt, sizeof(salt), 0, &f8)) != CRYPT_OK) {
|
/external/llvm/lib/DebugInfo/ |
DWARFDebugAranges.h | 73 const Range *rangeAtIndex(uint32_t idx) const { 74 if (idx < Aranges.size()) 75 return &Aranges[idx]; 83 uint32_t offsetAtIndex(uint32_t idx) const { 84 if (idx < Aranges.size()) 85 return Aranges[idx].Offset;
|
/external/skia/include/core/ |
SkTDStack.h | 51 const T& index(int idx) const { 52 SkASSERT(fRec && fCount > idx); 53 return fRec->fSlots[fCount - idx - 1]; 56 T& index(int idx) { 57 SkASSERT(fRec && fCount > idx); 58 return fRec->fSlots[fCount - idx - 1];
|
/frameworks/base/include/androidfw/ |
AssetDir.h | 53 const String8& getFileName(int idx) { 54 return mFileInfo->itemAt(idx).getFileName(); 56 const String8& getSourceName(int idx) { 57 return mFileInfo->itemAt(idx).getSourceName(); 63 FileType getFileType(int idx) { 64 return mFileInfo->itemAt(idx).getFileType();
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BytecodeArray.java | 319 int idx = bytes.getUnsignedByte(offset + 1); local 320 Constant cst = pool.get(idx); 327 int idx = bytes.getUnsignedShort(offset + 1); local 328 Constant cst = pool.get(idx); 335 int idx = bytes.getUnsignedShort(offset + 1); local 336 Constant cst = pool.get(idx); 341 int idx = bytes.getUnsignedByte(offset + 1); local 342 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 347 int idx = bytes.getUnsignedByte(offset + 1); local 348 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 353 int idx = bytes.getUnsignedByte(offset + 1); local 359 int idx = bytes.getUnsignedByte(offset + 1); local 365 int idx = bytes.getUnsignedByte(offset + 1); local 374 int idx = opcode - ByteOps.ILOAD_0; local 383 int idx = opcode - ByteOps.LLOAD_0; local 392 int idx = opcode - ByteOps.FLOAD_0; local 401 int idx = opcode - ByteOps.DLOAD_0; local 410 int idx = opcode - ByteOps.ALOAD_0; local 456 int idx = bytes.getUnsignedByte(offset + 1); local 462 int idx = bytes.getUnsignedByte(offset + 1); local 468 int idx = bytes.getUnsignedByte(offset + 1); local 474 int idx = bytes.getUnsignedByte(offset + 1); local 480 int idx = bytes.getUnsignedByte(offset + 1); local 489 int idx = opcode - ByteOps.ISTORE_0; local 498 int idx = opcode - ByteOps.LSTORE_0; local 507 int idx = opcode - ByteOps.FSTORE_0; local 516 int idx = opcode - ByteOps.DSTORE_0; local 525 int idx = opcode - ByteOps.ASTORE_0; local 646 int idx = bytes.getUnsignedByte(offset + 1); local 708 int idx = bytes.getUnsignedByte(offset + 1); local 761 int idx = bytes.getUnsignedShort(offset + 1); local 767 int idx = bytes.getUnsignedShort(offset + 1); local 782 int idx = bytes.getUnsignedShort(offset + 1); local 1091 int idx = bytes.getUnsignedShort(offset + 2); local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRRuleStack.h | 60 - (void) insertObject:(ANTLRHashRule *)aHashRule atIndex:(NSInteger)idx; 61 - (ANTLRHashRule *)objectAtIndex:(NSInteger)idx;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRRuleStack.h | 60 - (void) insertObject:(ANTLRHashRule *)aHashRule atIndex:(NSInteger)idx; 61 - (ANTLRHashRule *)objectAtIndex:(NSInteger)idx;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRRuleStack.h | 60 - (void) insertObject:(ANTLRHashRule *)aHashRule atIndex:(NSInteger)idx; 61 - (ANTLRHashRule *)objectAtIndex:(NSInteger)idx;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRRuleStack.h | 60 - (void) insertObject:(ANTLRHashRule *)aHashRule atIndex:(NSInteger)idx; 61 - (ANTLRHashRule *)objectAtIndex:(NSInteger)idx;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
AttrNonNullChecker.cpp | 48 for (unsigned idx = 0, count = Call.getNumArgs(); idx != count; ++idx) { 49 if (!Att->isNonNull(idx)) 52 SVal V = Call.getArgSVal(idx); 62 const Expr *ArgE = Call.getArgExpr(idx); 106 R->addRange(Call.getArgSourceRange(idx)); 107 if (const Expr *ArgE = Call.getArgExpr(idx))
|