Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 473) sorted by relevance

12345678910>>...19

/external/elfutils/src/
Dxelf.h51 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
52 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx argument
53 # define xelf_update_phdr(elf, idx, phdr) \ argument
54 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1)
64 # define xelf_getsym(data, idx, name) \ argument
65 name = &((Elf32_Sym *) (data)->d_buf)[idx]
66 # define xelf_getsym_ptr(data, idx, name) \ argument
67 name = &((Elf32_Sym *) (data)->d_buf)[idx]
68 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument
69 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \
[all …]
Delflint.c320 section_name (Ebl *ebl, GElf_Ehdr *ehdr, int idx) in section_name() argument
325 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name()
525 check_scn_group (Ebl *ebl, GElf_Ehdr *ehdr, int idx) in check_scn_group() argument
527 if (scnref[idx] == 0) in check_scn_group()
533 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group()
560 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group()
568 idx, section_name (ebl, ehdr, idx)); in check_scn_group()
572 idx, section_name (ebl, ehdr, idx), in check_scn_group()
579 check_symtab (Ebl *ebl, GElf_Ehdr *ehdr, int idx) in check_symtab() argument
584 Elf_Scn *scn = elf_getscn (ebl->elf, idx); in check_symtab()
[all …]
/external/elfutils/lib/
Ddynamicsizehash.c38 size_t idx = 1 + hval % htab->size; local
40 if (htab->table[idx].hashval != 0)
44 if (htab->table[idx].hashval == hval
45 && COMPARE (htab->table[idx].data, val) == 0)
46 return idx;
53 if (idx <= hash)
54 idx = htab->size + idx - hash;
56 idx -= hash;
59 if (htab->table[idx].hashval == hval
60 && COMPARE (htab->table[idx].data, val) == 0)
[all …]
Dfixedsizehash.h124 size_t idx = 1 + hval % htab->nslots; in CONCAT() local
126 if (htab->table[idx].hval != 0) in CONCAT()
131 if (htab->table[idx].hval == hval in CONCAT()
132 && COMPARE (data, ENTRYP (htab->table[idx])) == 0) in CONCAT()
133 return &htab->table[idx]; in CONCAT()
140 if (idx <= hash) in CONCAT()
141 idx = htab->nslots + idx - hash; in CONCAT()
143 idx -= hash; in CONCAT()
145 if (htab->table[idx].hval == hval in CONCAT()
146 && COMPARE (data, ENTRYP(htab->table[idx])) == 0) in CONCAT()
[all …]
/external/freetype/src/cff/
Dcffload.c203 cff_index_read_offset( CFF_Index idx, in cff_index_read_offset() argument
207 FT_Stream stream = idx->stream; in cff_index_read_offset()
212 if ( !FT_STREAM_READ( tmp, idx->off_size ) ) in cff_index_read_offset()
217 for ( nn = 0; nn < idx->off_size; nn++ ) in cff_index_read_offset()
227 cff_index_init( CFF_Index idx, in cff_index_init() argument
236 FT_MEM_ZERO( idx, sizeof ( *idx ) ); in cff_index_init()
238 idx->stream = stream; in cff_index_init()
239 idx->start = FT_STREAM_POS(); in cff_index_init()
258 idx->count = count; in cff_index_init()
259 idx->off_size = offsize; in cff_index_init()
[all …]
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c630 static int add_entry(int idx, ecc_point *g) in add_entry() argument
635 fp_cache[idx].g = ltc_ecc_new_point(); in add_entry()
636 if (fp_cache[idx].g == NULL) { in add_entry()
641 if ((mp_copy(g->x, fp_cache[idx].g->x) != CRYPT_OK) || in add_entry()
642 (mp_copy(g->y, fp_cache[idx].g->y) != CRYPT_OK) || in add_entry()
643 (mp_copy(g->z, fp_cache[idx].g->z) != CRYPT_OK)) { in add_entry()
644 ltc_ecc_del_point(fp_cache[idx].g); in add_entry()
645 fp_cache[idx].g = NULL; in add_entry()
650 fp_cache[idx].LUT[x] = ltc_ecc_new_point(); in add_entry()
651 if (fp_cache[idx].LUT[x] == NULL) { in add_entry()
[all …]
/external/ipsec-tools/src/racoon/
Dpolicy.h112 #define KEY_SETSECSPIDX(_dir, s, d, ps, pd, ulp, _priority, _created, idx) \ argument
114 memset((idx), 0, sizeof(struct policyindex)); \
115 (idx)->dir = (_dir); \
116 (idx)->prefs = (ps); \
117 (idx)->prefd = (pd); \
118 (idx)->ul_proto = (ulp); \
119 (idx)->priority = (_priority); \
120 (idx)->created = (_created); \
121 memcpy(&(idx)->src, (s), sysdep_sa_len((struct sockaddr *)(s))); \
122 memcpy(&(idx)->dst, (d), sysdep_sa_len((struct sockaddr *)(d))); \
[all …]
/external/srec/portable/src/
Dphashtable.c41 unsigned int idx; member
162 unsigned int idx) in getEntry() argument
164 PHashTableEntry *entry = table->entries[idx]; in getEntry()
193 entry->table->entries[entry->idx] = entry->next; in removeEntry()
212 unsigned int idx; in PHashTableGetValue() local
218 idx = hashCode % table->args.capacity; in PHashTableGetValue()
219 if ((entry = getEntry(table, key, hashCode, idx)) != NULL) in PHashTableGetValue()
258 unsigned int idx; in PHashTableGetEntry() local
265 idx = hashCode % table->args.capacity; in PHashTableGetEntry()
267 result = getEntry(table, key, hashCode, idx); in PHashTableGetEntry()
[all …]
/external/iproute2/lib/
Dll_map.c91 const char *ll_idx_n2a(unsigned idx, char *buf) in ll_idx_n2a() argument
95 if (idx == 0) in ll_idx_n2a()
97 for (im = idxmap[idx&0xF]; im; im = im->next) in ll_idx_n2a()
98 if (im->index == idx) in ll_idx_n2a()
100 snprintf(buf, 16, "if%d", idx); in ll_idx_n2a()
105 const char *ll_index_to_name(unsigned idx) in ll_index_to_name() argument
109 return ll_idx_n2a(idx, nbuf); in ll_index_to_name()
112 int ll_index_to_type(unsigned idx) in ll_index_to_type() argument
116 if (idx == 0) in ll_index_to_type()
118 for (im = idxmap[idx&0xF]; im; im = im->next) in ll_index_to_type()
[all …]
/external/openssl/crypto/engine/
Deng_ctrl.c75 int idx = 0; in int_ctrl_cmd_by_name() local
78 idx++; in int_ctrl_cmd_by_name()
84 return idx; in int_ctrl_cmd_by_name()
89 int idx = 0; in int_ctrl_cmd_by_num() local
94 idx++; in int_ctrl_cmd_by_num()
98 return idx; in int_ctrl_cmd_by_num()
106 int idx; in int_ctrl_helper() local
130 if((e->cmd_defns == NULL) || ((idx = int_ctrl_cmd_by_name( in int_ctrl_helper()
137 return e->cmd_defns[idx].cmd_num; in int_ctrl_helper()
141 if((e->cmd_defns == NULL) || ((idx = int_ctrl_cmd_by_num(e->cmd_defns, in int_ctrl_helper()
[all …]
/external/bluetooth/glib/gio/fen/
Dfen-missing.c51 GList *idx = NULL; in scan_missing_list() local
57 for (idx = missing_list; idx; idx = idx->next) { in scan_missing_list()
58 f = (fdata*)idx->data; in scan_missing_list()
63 existing_list = g_list_prepend (existing_list, idx); in scan_missing_list()
67 for (idx = existing_list; idx; idx = idx->next) { in scan_missing_list()
68 missing_list = g_list_remove_link (missing_list, (GList *)idx->data); in scan_missing_list()
69 g_list_free_1 ((GList *)idx->data); in scan_missing_list()
90 GList *idx; in missing_add() local
/external/icu4c/test/cintltst/
Dcldrtest.c35 int32_t idx, graphmeSize; in createFlattenSet() local
44 for (idx = 0; idx < origItemCount; idx++) { in createFlattenSet()
45 graphmeSize = uset_getItem(origSet, idx, in createFlattenSet()
121 int32_t idx; in TestKeyInRootRecursive() local
134 for (idx = 0; idx < minSize && sameArray; idx++) { in TestKeyInRootRecursive()
135 if (subRootBundleArr[idx] != subBundleArr[idx]) { in TestKeyInRootRecursive()
139 && (subBundleArr[idx] < 1 || 7 < subBundleArr[idx])) in TestKeyInRootRecursive()
143 idx, in TestKeyInRootRecursive()
170 int32_t idx; in TestKeyInRootRecursive() local
198 for (idx = 0; idx < minSize; idx++) { in TestKeyInRootRecursive()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dcldrtest.c35 int32_t idx, graphmeSize; in createFlattenSet() local
44 for (idx = 0; idx < origItemCount; idx++) { in createFlattenSet()
45 graphmeSize = uset_getItem(origSet, idx, in createFlattenSet()
121 int32_t idx; in TestKeyInRootRecursive() local
134 for (idx = 0; idx < minSize && sameArray; idx++) { in TestKeyInRootRecursive()
135 if (subRootBundleArr[idx] != subBundleArr[idx]) { in TestKeyInRootRecursive()
139 && (subBundleArr[idx] < 1 || 7 < subBundleArr[idx])) in TestKeyInRootRecursive()
143 idx, in TestKeyInRootRecursive()
170 int32_t idx; in TestKeyInRootRecursive() local
198 for (idx = 0; idx < minSize; idx++) { in TestKeyInRootRecursive()
[all …]
/external/openssl/crypto/rc4/asm/
Drc4-s390x.pl136 $idx="%r1";
152 la $idx,0(%r0)
153 sth $idx,0($key)
156 stc $idx,2($idx,$key)
157 la $idx,1($idx)
163 la $idx,0(%r0)
168 la $idx,0($idx,$acc)
170 la $idx,0($idx,$dat)
171 nill $idx,255
174 llgc $dat,2($idx,$key)
[all …]
Drc4-x86_64.pl264 $idx="%r8";
282 mov OPENSSL_ia32cap_P(%rip),$idx#d
283 bt \$20,$idx#d
285 bt \$30,$idx#d
297 xor $idx,$idx
301 add ($inp,$len,1),$idx#b
302 add %r10b,$idx#b
304 mov ($dat,$idx,4),%r11d
306 mov %r10d,($dat,$idx,4)
319 xor $idx,$idx
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/
DSHA1Digest.java179 int idx = 0; in processBlock() local
185 E += (A << 5 | A >>> 27) + f(B, C, D) + X[idx++] + Y1; in processBlock()
188 D += (E << 5 | E >>> 27) + f(A, B, C) + X[idx++] + Y1; in processBlock()
191 C += (D << 5 | D >>> 27) + f(E, A, B) + X[idx++] + Y1; in processBlock()
194 B += (C << 5 | C >>> 27) + f(D, E, A) + X[idx++] + Y1; in processBlock()
197 A += (B << 5 | B >>> 27) + f(C, D, E) + X[idx++] + Y1; in processBlock()
208 E += (A << 5 | A >>> 27) + h(B, C, D) + X[idx++] + Y2; in processBlock()
211 D += (E << 5 | E >>> 27) + h(A, B, C) + X[idx++] + Y2; in processBlock()
214 C += (D << 5 | D >>> 27) + h(E, A, B) + X[idx++] + Y2; in processBlock()
217 B += (C << 5 | C >>> 27) + h(D, E, A) + X[idx++] + Y2; in processBlock()
[all …]
/external/freetype/src/sfnt/
Dttpost.c207 FT_Int idx; in load_format_20() local
210 idx = glyph_indices[n]; in load_format_20()
211 if ( idx >= 258 ) in load_format_20()
213 idx -= 257; in load_format_20()
214 if ( idx > num_names ) in load_format_20()
215 num_names = (FT_UShort)idx; in load_format_20()
305 FT_Long idx = (FT_Long)n + offset_table[n]; in load_format_25() local
308 if ( idx < 0 || idx > num_glyphs ) in load_format_25()
436 FT_UInt idx, in tt_face_get_ps_name() argument
451 if ( idx >= (FT_UInt)face->max_profile.numGlyphs ) in tt_face_get_ps_name()
[all …]
/external/openssl/crypto/x509/
Dx509_trs.c115 int idx; in X509_check_trust() local
117 idx = X509_TRUST_get_by_id(id); in X509_check_trust()
118 if(idx == -1) return default_trust(id, x, flags); in X509_check_trust()
119 pt = X509_TRUST_get0(idx); in X509_check_trust()
129 X509_TRUST * X509_TRUST_get0(int idx) in X509_TRUST_get0() argument
131 if(idx < 0) return NULL; in X509_TRUST_get0()
132 if(idx < (int)X509_TRUST_COUNT) return trstandard + idx; in X509_TRUST_get0()
133 return sk_X509_TRUST_value(trtable, idx - X509_TRUST_COUNT); in X509_TRUST_get0()
139 int idx; in X509_TRUST_get_by_id() local
144 idx = sk_X509_TRUST_find(trtable, &tmp); in X509_TRUST_get_by_id()
[all …]
Dx509_lu.c434 int idx; in x509_object_idx_cnt() local
454 idx = sk_X509_OBJECT_find(h,&stmp); in x509_object_idx_cnt()
455 if (idx >= 0 && pnmatch) in x509_object_idx_cnt()
461 for (tidx = idx + 1; tidx < sk_X509_OBJECT_num(h); tidx++) in x509_object_idx_cnt()
469 return idx; in x509_object_idx_cnt()
482 int idx; in X509_OBJECT_retrieve_by_subject() local
483 idx = X509_OBJECT_idx_by_subject(h, type, name); in X509_OBJECT_retrieve_by_subject()
484 if (idx==-1) return NULL; in X509_OBJECT_retrieve_by_subject()
485 return sk_X509_OBJECT_value(h, idx); in X509_OBJECT_retrieve_by_subject()
490 int i, idx, cnt; in STACK_OF() local
[all …]
/external/chromium/third_party/icu/source/tools/toolutil/
Dpackage.cpp409 int32_t idx; in ~Package() local
413 for(idx=0; idx<itemCount; ++idx) { in ~Package()
414 if(items[idx].isDataOwned) { in ~Package()
415 free(items[idx].data); in ~Package()
905 int32_t idx, nameLength, middleLength; in findNextItem() local
912 idx=findNextIndex++; in findNextItem()
913 name=items[idx].name; in findNextItem()
940 return idx; in findNextItem()
960 int32_t idx; in addItem() local
962 idx=findItem(name); in addItem()
[all …]
/external/icu4c/tools/toolutil/
Dpackage.cpp414 int32_t idx; in ~Package() local
418 for(idx=0; idx<itemCount; ++idx) { in ~Package()
419 if(items[idx].isDataOwned) { in ~Package()
420 free(items[idx].data); in ~Package()
910 int32_t idx, nameLength, middleLength; in findNextItem() local
917 idx=findNextIndex++; in findNextItem()
918 name=items[idx].name; in findNextItem()
945 return idx; in findNextItem()
965 int32_t idx; in addItem() local
967 idx=findItem(name); in addItem()
[all …]
/external/skia/src/utils/
DSkMeshUtils.cpp44 uint16_t* idx = fIndices; in init() local
48 *idx++ = index; in init()
49 *idx++ = index + rows + 1; in init()
50 *idx++ = index + 1; in init()
52 *idx++ = index + 1; in init()
53 *idx++ = index + rows + 1; in init()
54 *idx++ = index + rows + 2; in init()
84 SkMeshIndices idx; in Draw() local
86 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) { in Draw()
92 rows * cols, verts, idx.tex(), colors, NULL, in Draw()
[all …]
/external/kernel-headers/original/asm-x86/
Dfixmap_32.h101 extern void __set_fixmap (enum fixed_addresses idx,
105 #define set_fixmap(idx, phys) \ argument
106 __set_fixmap(idx, phys, PAGE_KERNEL)
110 #define set_fixmap_nocache(idx, phys) \ argument
111 __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
113 #define clear_fixmap(idx) \ argument
114 __set_fixmap(idx, 0, __pgprot(0))
133 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt() argument
144 if (idx >= __end_of_fixed_addresses) in fix_to_virt()
147 return __fix_to_virt(idx); in fix_to_virt()
/external/openssl/crypto/x509v3/
Dv3_lib.c101 int idx; in X509V3_EXT_get_nid() local
107 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); in X509V3_EXT_get_nid()
108 if(idx == -1) return NULL; in X509V3_EXT_get_nid()
109 return sk_X509V3_EXT_METHOD_value(ext_list, idx); in X509V3_EXT_get_nid()
194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) in X509V3_get_d2i() argument
199 if(idx) *idx = -1; in X509V3_get_d2i()
203 if(idx) lastpos = *idx + 1; in X509V3_get_d2i()
210 if(idx) { in X509V3_get_d2i()
211 *idx = i; in X509V3_get_d2i()
229 if(idx) *idx = -1; in X509V3_get_d2i()
/external/tcpdump/
Dprint-sip.c38 u_int idx; in sip_print() local
46 for (idx = 0; idx < len; idx++) { in sip_print()
47 if (EXTRACT_16BITS(pptr+idx) != 0x0d0a) { /* linefeed ? */ in sip_print()
48 safeputchar(*(pptr+idx)); in sip_print()
51 idx+=1; in sip_print()

12345678910>>...19