/external/elfutils/libelf/ |
elf_getscn.c | 30 elf_getscn (elf, idx) 32 size_t idx; 54 if (idx < runp->max) 56 if (idx < runp->cnt) 57 result = &runp->data[idx]; 63 idx -= runp->max;
|
elf_strptr.c | 29 elf_strptr (elf, idx, offset) 31 size_t idx; 55 if (idx < runp->max) 57 if (idx < runp->cnt) 58 strscn = &runp->data[idx]; 67 idx -= runp->max;
|
/external/freetype/src/cff/ |
cffload.c | 203 cff_index_read_offset( CFF_Index idx, 207 FT_Stream stream = idx->stream; 212 if ( !FT_STREAM_READ( tmp, idx->off_size ) ) 217 for ( nn = 0; nn < idx->off_size; nn++ ) 227 cff_index_init( CFF_Index idx, 236 FT_MEM_ZERO( idx, sizeof ( *idx ) ); 238 idx->stream = stream; 239 idx->start = FT_STREAM_POS(); 258 idx->count = count 574 CFF_Index idx = &font->name_index; local 1528 FT_UInt idx; local 1636 FT_UInt idx; local [all...] |
/dalvik/vm/native/ |
dalvik_system_VMStack.c | 112 unsigned int idx; local 113 for (idx = kSkip; (int) idx < methodCount && size < maxSize; idx++) { 114 const Method* meth = methods[idx]; 154 for (idx = kSkip; (int) idx < methodCount; idx++) { 155 if (dvmIsReflectionMethod(methods[idx])) { 159 (Object *)methods[idx]->clazz) [all...] |
/external/openssl/crypto/engine/ |
eng_ctrl.c | 75 int idx = 0; local 78 idx++; 84 return idx; 89 int idx = 0; local 94 idx++; 98 return idx; 106 int idx; local 130 if((e->cmd_defns == NULL) || ((idx = int_ctrl_cmd_by_name( 137 return e->cmd_defns[idx].cmd_num; 141 if((e->cmd_defns == NULL) || ((idx = int_ctrl_cmd_by_num(e->cmd_defns [all...] |
/external/srec/portable/src/ |
phashtable.c | 41 unsigned int idx; member in struct:PHashTableEntry_t 162 unsigned int idx) 164 PHashTableEntry *entry = table->entries[idx]; 193 entry->table->entries[entry->idx] = entry->next; 212 unsigned int idx; local 218 idx = hashCode % table->args.capacity; 219 if ((entry = getEntry(table, key, hashCode, idx)) != NULL) 258 unsigned int idx; local 265 idx = hashCode % table->args.capacity; 267 result = getEntry(table, key, hashCode, idx); 276 unsigned int i, idx; local 344 unsigned int hashCode, idx; local 426 unsigned int hashCode, idx; local 504 unsigned int idx; local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_BitSet.java | 188 int idx = bits.length - 1; local 189 while (idx >= 0 && bits[idx] == 0) { 190 --idx; 192 if (idx == -1) { 196 long val = bits[idx]; 200 return idx * ELM_SIZE + i + 1;
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/ |
SHA1Digest.java | 179 int idx = 0; local 183 // E = rotateLeft(A, 5) + f(B, C, D) + E + X[idx++] + Y1 185 E += (A << 5 | A >>> 27) + f(B, C, D) + X[idx++] + Y1; 188 D += (E << 5 | E >>> 27) + f(A, B, C) + X[idx++] + Y1; 191 C += (D << 5 | D >>> 27) + f(E, A, B) + X[idx++] + Y1; 194 B += (C << 5 | C >>> 27) + f(D, E, A) + X[idx++] + Y1; 197 A += (B << 5 | B >>> 27) + f(C, D, E) + X[idx++] + Y1; 206 // E = rotateLeft(A, 5) + h(B, C, D) + E + X[idx++] + Y2 208 E += (A << 5 | A >>> 27) + h(B, C, D) + X[idx++] + Y2; 211 D += (E << 5 | E >>> 27) + h(A, B, C) + X[idx++] + Y2 [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
ApkCheck.java | 67 int idx; local 68 for (idx = 0; idx < args.length; idx++) { 69 if (args[idx].equals("--help")) { 72 } else if (args[idx].startsWith("--uses-library=")) { 73 String libName = args[idx].substring(args[idx].indexOf('=')+1); 82 } else if (args[idx].startsWith("--ignore-package=")) { 83 String pkgName = args[idx].substring(args[idx].indexOf('=')+1) [all...] |
/external/openssl/crypto/x509v3/ |
v3_lib.c | 101 int idx; local 107 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); 108 if(idx == -1) return NULL; 109 return sk_X509V3_EXT_METHOD_value(ext_list, idx); 180 * The "idx" variable returns the last found extension and can 183 * due to a badly encoded certificate so if idx is NULL we 194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) 199 if(idx) *idx = -1; 203 if(idx) lastpos = *idx + 1 [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
ProgramFragment.java | 41 int idx = 0; local 44 tmp[idx++] = 0; 45 tmp[idx++] = mInputs[i].mID; 48 tmp[idx++] = 1; 49 tmp[idx++] = mOutputs[i].mID; 52 tmp[idx++] = 2; 53 tmp[idx++] = mConstants[i].mID; 55 tmp[idx++] = 3; 56 tmp[idx++] = mTextureCount;
|
/packages/apps/Email/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 224 for (int idx = 0; idx < text.length(); idx++) { 225 char ch = text.charAt(idx); 361 int idx = 0; local 363 for (; idx < end - 2; idx += 3) { 364 int data = (bytes[idx] & 0xff) << 16 | (bytes[idx + 1] & 0xff) << 8 365 | bytes[idx + 2] & 0xff [all...] |
/device/samsung/crespo/alsa-lib/test/ |
seq.c | 62 int err, idx, min, max; local 68 for (idx = min; idx < max; idx++) { 69 if ((err = snd_seq_get_queue_status(handle, idx, status))<0) { 72 fprintf(stderr, "Client %i info error: %s\n", idx, snd_strerror(err)); 86 int err, idx, min, max; local 92 for (idx = min; idx < max; idx++) 114 int err, idx, min, max; local [all...] |
/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]++;
|
/system/core/nexus/ |
InterfaceConfig.h | 57 const struct in_addr &getDns(int idx) const { return mDns[idx]; } 63 void setDns(int idx, struct in_addr *addr); 74 int set(int idx, struct in_addr *value); 75 int get(int idx, struct in_addr *buffer);
|
/external/freetype/src/sfnt/ |
ttpost.c | 207 FT_Int idx; local 210 idx = glyph_indices[n]; 211 if ( idx >= 258 ) 213 idx -= 257; 214 if ( idx > num_names ) 215 num_names = (FT_UShort)idx; 305 FT_Long idx = (FT_Long)n + offset_table[n]; local 308 if ( idx < 0 || idx > num_glyphs ) 423 /* idx :: The glyph index. * [all...] |
/bionic/libc/zoneinfo/ |
Android.mk | 8 ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.idx 9 $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.idx : $(LOCAL_PATH)/zoneinfo.idx | $(ACP) 21 ALL_PREBUILT += $(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx 22 $(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.idx,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx))
|
/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...] |
/device/samsung/crespo/libaudio2/ |
amix.c | 29 unsigned idx = 0; local 37 idx = atoi(p); 40 return mixer_get_control(mixer, name, idx);
|
/external/elfutils/libdw/ |
dwarf_getabbrevattr.c | 25 dwarf_getabbrevattr (abbrev, idx, namep, formp, offsetp) 27 size_t idx; 53 while (cnt++ < idx);
|
/cts/tools/annotation-helper/src/spechelper/ |
SimpleComputer.java | 136 int idx = 0; local 142 idx = klen - i; 146 if (idx != 0) { 147 System.out.println("idx:"+idx); 150 context.getInvocationOffset() - idx, idx, replace
|
/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/skia/include/core/ |
SkTDStack.h | 60 const T& index(int idx) const 62 SkASSERT(fRec && fCount > idx); 63 return fRec->fSlots[fCount - idx - 1]; 65 T& index(int idx) 67 SkASSERT(fRec && fCount > idx); 68 return fRec->fSlots[fCount - idx - 1];
|
/frameworks/base/include/utils/ |
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 | 314 int idx = bytes.getUnsignedByte(offset + 1); local 315 Constant cst = pool.get(idx); 322 int idx = bytes.getUnsignedShort(offset + 1); local 323 Constant cst = pool.get(idx); 330 int idx = bytes.getUnsignedShort(offset + 1); local 331 Constant cst = pool.get(idx); 336 int idx = bytes.getUnsignedByte(offset + 1); local 337 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 342 int idx = bytes.getUnsignedByte(offset + 1); local 343 visitor.visitLocal(ByteOps.ILOAD, offset, 2, idx, 348 int idx = bytes.getUnsignedByte(offset + 1); local 354 int idx = bytes.getUnsignedByte(offset + 1); local 360 int idx = bytes.getUnsignedByte(offset + 1); local 369 int idx = opcode - ByteOps.ILOAD_0; local 378 int idx = opcode - ByteOps.LLOAD_0; local 387 int idx = opcode - ByteOps.FLOAD_0; local 396 int idx = opcode - ByteOps.DLOAD_0; local 405 int idx = opcode - ByteOps.ALOAD_0; local 447 int idx = bytes.getUnsignedByte(offset + 1); local 453 int idx = bytes.getUnsignedByte(offset + 1); local 459 int idx = bytes.getUnsignedByte(offset + 1); local 465 int idx = bytes.getUnsignedByte(offset + 1); local 471 int idx = bytes.getUnsignedByte(offset + 1); local 480 int idx = opcode - ByteOps.ISTORE_0; local 489 int idx = opcode - ByteOps.LSTORE_0; local 498 int idx = opcode - ByteOps.FSTORE_0; local 507 int idx = opcode - ByteOps.DSTORE_0; local 516 int idx = opcode - ByteOps.ASTORE_0; local 633 int idx = bytes.getUnsignedByte(offset + 1); local 695 int idx = bytes.getUnsignedByte(offset + 1); local 748 int idx = bytes.getUnsignedShort(offset + 1); local 754 int idx = bytes.getUnsignedShort(offset + 1); local 769 int idx = bytes.getUnsignedShort(offset + 1); local 1072 int idx = bytes.getUnsignedShort(offset + 2); local [all...] |