/external/elfutils/src/ |
D | xelf.h | 63 # define xelf_getphdr(elf, idx, name) name = elf32_getphdr (elf) + idx argument 64 # define xelf_getphdr_ptr(elf, idx, name) name = elf32_getphdr (elf) + idx argument 65 # define xelf_update_phdr(elf, idx, phdr) \ argument 66 /* nothing */ ((void) (elf), (void) (idx), (void) (phdr), 1) 76 # define xelf_getsym(data, idx, name) \ argument 77 name = &((Elf32_Sym *) (data)->d_buf)[idx] 78 # define xelf_getsym_ptr(data, idx, name) \ argument 79 name = &((Elf32_Sym *) (data)->d_buf)[idx] 80 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ argument 81 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \ [all …]
|
D | elflint.c | 105 GElf_Shdr *shdr, int idx); 319 section_name (Ebl *ebl, int idx) in section_name() argument 324 shdr = gelf_getshdr (elf_getscn (ebl->elf, idx), &shdr_mem); in section_name() 514 check_scn_group (Ebl *ebl, int idx) in check_scn_group() argument 516 if (scnref[idx] == 0) in check_scn_group() 522 for (cnt = idx + 1; cnt < shnum; ++cnt) in check_scn_group() 544 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group() 552 idx, section_name (ebl, idx)); in check_scn_group() 556 idx, section_name (ebl, idx), in check_scn_group() 563 check_symtab (Ebl *ebl, GElf_Ehdr *ehdr, GElf_Shdr *shdr, int idx) in check_symtab() argument [all …]
|
/external/chromium/chrome/browser/importer/ |
D | mork_reader.cc | 129 size_t idx = 0; in Read() local 131 while (idx < len && line[idx] == ' ') in Read() 132 ++idx; in Read() 133 if (idx >= len) in Read() 137 if (StartsWithASCII(&line[idx], "< <(a=c)>", true)) { in Read() 140 ParseMap(line, idx, &column_name_map); in Read() 155 } else if (StartsWithASCII(&line[idx], "<(", true)) { in Read() 157 ParseMap(line, idx, &value_map_); in Read() 158 } else if (line[idx] == '{' || line[idx] == '[') { in Read() 160 ParseTable(line, idx, &column_map); in Read() [all …]
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/ |
D | HydraulicErodeFilter.java | 93 int idx = y * workSize + x; in filter() local 97 wt[idx] += wtemp; in filter() 99 ga[idx] -= stemp * wt[idx]; in filter() 100 st[idx] += stemp * wt[idx]; in filter() 105 float a = ga[idx] + wt[idx]; in filter() 113 if (idx + idxrel[j] > 0 && idx + idxrel[j] < workSize) { in filter() 114 float at = ga[idx + idxrel[j]] + wt[idx + idxrel[j]]; in filter() 129 float dwj = Math.min(wt[idx], a - aa) * (a - amax) / dtotal; in filter() 130 float dsj = st[idx] * dwj / wt[idx]; in filter() 131 wt[idx] -= dwj; in filter() [all …]
|
D | ThermalErodeFilter.java | 63 int idx = y * workSize + x; in filter() local 64 ga[idx] += sa[idx]; in filter() 65 sa[idx] = 0; in filter() 72 if (idx + idxrel[j] > 0 && idx + idxrel[j] < ga.length) { in filter() 73 float dj = ga[idx] - ga[idx + idxrel[j]]; in filter() 87 if (d > ga[idx] + sa[idx]) { in filter() 88 d = ga[idx] + sa[idx]; in filter() 90 sa[idx] -= d; in filter() 91 sa[idx + idxrel[j]] += d; in filter()
|
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.pm | 39 foreach my $idx (sort {$a <=> $b} keys %trace_flags) { 40 if (!$value && !$idx) { 45 if ($idx && ($value & $idx) == $idx) { 49 $string .= "$trace_flags{$idx}"; 51 $value &= ~$idx; 69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) { 70 if (!$value && !$idx) { 71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; 74 if ($idx && ($value & $idx) == $idx) { 78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; [all …]
|
/external/elfutils/lib/ |
D | dynamicsizehash.c | 74 size_t idx = 1 + hval % htab->size; local 76 if (htab->table[idx].hashval != 0) 80 if (htab->table[idx].hashval == hval 81 && COMPARE (htab->table[idx].data, val) == 0) 82 return idx; 89 if (idx <= hash) 90 idx = htab->size + idx - hash; 92 idx -= hash; 95 if (htab->table[idx].hashval == hval 96 && COMPARE (htab->table[idx].data, val) == 0) [all …]
|
/external/srtp/test/ |
D | replay_driver.c | 89 rdb_check_add(rdb_t *rdb, uint32_t idx) { in rdb_check_add() argument 91 if (rdb_check(rdb, idx) != err_status_ok) { in rdb_check_add() 92 printf("rdb_check failed at index %u\n", idx); in rdb_check_add() 95 if (rdb_add_index(rdb, idx) != err_status_ok) { in rdb_check_add() 96 printf("rdb_add_index failed at index %u\n", idx); in rdb_check_add() 104 rdb_check_expect_failure(rdb_t *rdb, uint32_t idx) { in rdb_check_expect_failure() argument 107 err = rdb_check(rdb, idx); in rdb_check_expect_failure() 109 printf("rdb_check failed at index %u (false positive)\n", idx); in rdb_check_expect_failure() 117 rdb_check_unordered(rdb_t *rdb, uint32_t idx) { in rdb_check_unordered() argument 121 rstat = rdb_check(rdb, idx); in rdb_check_unordered() [all …]
|
D | rdbx_driver.c | 150 rdbx_check_add(rdbx_t *rdbx, uint32_t idx) { in rdbx_check_add() argument 154 delta = index_guess(&rdbx->index, &est, idx); in rdbx_check_add() 157 printf("replay_check failed at index %u\n", idx); in rdbx_check_add() 167 printf("rdbx_add_index failed at index %u\n", idx); in rdbx_check_add() 182 rdbx_check_expect_failure(rdbx_t *rdbx, uint32_t idx) { in rdbx_check_expect_failure() argument 187 delta = index_guess(&rdbx->index, &est, idx); in rdbx_check_expect_failure() 192 printf("replay_check failed at index %u (false positive)\n", idx); in rdbx_check_expect_failure() 200 rdbx_check_unordered(rdbx_t *rdbx, uint32_t idx) { in rdbx_check_unordered() argument 203 rstat = rdbx_check(rdbx, idx); in rdbx_check_unordered() 205 printf("replay_check_unordered failed at index %u\n", idx); in rdbx_check_unordered() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | Bits.java | 58 public static boolean get(int[] bits, int idx) { in get() argument 59 int arrayIdx = idx >> 5; in get() 60 int bit = 1 << (idx & 0x1f); in get() 71 public static void set(int[] bits, int idx, boolean value) { in set() argument 72 int arrayIdx = idx >> 5; in set() 73 int bit = 1 << (idx & 0x1f); in set() 88 public static void set(int[] bits, int idx) { in set() argument 89 int arrayIdx = idx >> 5; in set() 90 int bit = 1 << (idx & 0x1f); in set() 100 public static void clear(int[] bits, int idx) { in clear() argument [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRHashMap.m | 63 NSInteger idx; 71 for( idx = 0; idx < BuffSize; idx++ ) { 72 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 82 NSInteger idx; 90 for( idx = 0; idx < BuffSize; idx++ ) { 91 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 102 NSInteger idx; 105 for( idx = 0; idx < BuffSize; idx++ ) { 106 tmp = ptrBuffer[idx]; 107 while ( tmp && tmp != [((ANTLRHashMap *)fNext) getptrBufferEntry:idx] ) { [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRHashMap.m | 63 NSInteger idx; 71 for( idx = 0; idx < BuffSize; idx++ ) { 72 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 82 NSInteger idx; 90 for( idx = 0; idx < BuffSize; idx++ ) { 91 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 102 NSInteger idx; 105 for( idx = 0; idx < BuffSize; idx++ ) { 106 tmp = ptrBuffer[idx]; 107 while ( tmp && tmp != [((ANTLRHashMap *)fNext) getptrBufferEntry:idx] ) { [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRHashMap.m | 63 NSInteger idx; 71 for( idx = 0; idx < BuffSize; idx++ ) { 72 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 82 NSInteger idx; 90 for( idx = 0; idx < BuffSize; idx++ ) { 91 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 102 NSInteger idx; 105 for( idx = 0; idx < BuffSize; idx++ ) { 106 tmp = ptrBuffer[idx]; 107 while ( tmp && tmp != [((ANTLRHashMap *)fNext) getptrBufferEntry:idx] ) { [all …]
|
/external/freetype/src/cff/ |
D | cffload.c | 202 cff_index_read_offset( CFF_Index idx, in cff_index_read_offset() argument 206 FT_Stream stream = idx->stream; in cff_index_read_offset() 211 if ( !FT_STREAM_READ( tmp, idx->off_size ) ) in cff_index_read_offset() 216 for ( nn = 0; nn < idx->off_size; nn++ ) in cff_index_read_offset() 226 cff_index_init( CFF_Index idx, in cff_index_init() argument 235 FT_MEM_ZERO( idx, sizeof ( *idx ) ); in cff_index_init() 237 idx->stream = stream; in cff_index_init() 238 idx->start = FT_STREAM_POS(); in cff_index_init() 257 idx->count = count; in cff_index_init() 258 idx->off_size = offsize; in cff_index_init() [all …]
|
/external/linux-tools-perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.py | 37 for idx in keys: 38 if not value and not idx: 39 string += flag_fields[event_name][field_name]['values'][idx] 41 if idx and (value & idx) == idx: 44 string += flag_fields[event_name][field_name]['values'][idx] 46 value &= ~idx 56 for idx in keys: 57 if not value and not idx: 58 string = symbolic_fields[event_name][field_name]['values'][idx] 60 if (value == idx): [all …]
|
/external/elfutils/libdwfl/ |
D | segment.c | 152 size_t idx = (l + u) / 2; in lookup() local 153 if (address < dwfl->lookup_addr[idx]) in lookup() 154 u = idx; in lookup() 157 l = idx + 1; in lookup() 159 return idx; in lookup() 176 int idx = lookup (dwfl, start, hint); in reify_segments() local 177 if (unlikely (idx < 0)) in reify_segments() 182 idx = 0; in reify_segments() 184 else if (dwfl->lookup_addr[idx] > start) in reify_segments() 187 if (unlikely (insert (dwfl, idx + 1, start, end, in reify_segments() [all …]
|
/external/iproute2/lib/ |
D | ll_map.c | 91 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/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRHashMap.m | 57 NSInteger idx; 68 for( idx = 0; idx < BuffSize; idx++ ) { 69 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 79 NSInteger idx; 90 for( idx = 0; idx < BuffSize; idx++ ) { 91 ptrBuffer[idx] = ((ANTLRHashMap *)fNext)->ptrBuffer[idx]; 105 NSInteger idx; 108 for( idx = 0; idx < BuffSize; idx++ ) { 109 tmp = ptrBuffer[idx]; 110 while ( tmp && tmp != [((ANTLRHashMap *)fNext) getptrBufferEntry:idx] ) { [all …]
|
D | ANTLRPtrBuffer.m | 61 NSUInteger idx; 69 for( idx = 0; idx < BuffSize; idx++ ) { 70 ptrBuffer[idx] = nil; 79 NSUInteger idx; 87 for( idx = 0; idx < BuffSize; idx++ ) { 88 ptrBuffer[idx] = nil; 101 NSInteger idx; 104 for( idx = 0; idx < BuffSize; idx++ ) { 105 tmp = ptrBuffer[idx]; 135 NSInteger idx; [all …]
|
D | ANTLRUniqueIDMap.m | 56 NSInteger idx; 60 for( idx = 0; idx < HASHSIZE; idx++ ) { 61 ptrBuffer[idx] = nil; 80 NSInteger idx; 83 for( idx = 0; idx < HASHSIZE; idx++ ) { 84 tmp = ptrBuffer[idx]; 98 NSInteger idx; 101 for( idx = 0; idx < HASHSIZE; idx++ ) { 102 tmp = ptrBuffer[idx]; 115 NSInteger idx; [all …]
|
/external/ipsec-tools/src/racoon/ |
D | policy.h | 112 #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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | LODGeomap.java | 172 int idx = rowIdx + c; in writeIndexArrayLodDiff() local 173 buffer.put(idx); in writeIndexArrayLodDiff() 174 idx = nextRowIdx + c; in writeIndexArrayLodDiff() 175 buffer.put(idx); in writeIndexArrayLodDiff() 180 int idx = nextRowIdx + getWidth() - (1 * lod) - 1; in writeIndexArrayLodDiff() local 181 buffer.put(idx); in writeIndexArrayLodDiff() 182 idx = nextRowIdx + (1 * lod); // inset by 1 in writeIndexArrayLodDiff() 183 buffer.put(idx); in writeIndexArrayLodDiff() 200 int idx = (row) * getWidth() - 1 - lod; in writeIndexArrayLodDiff() local 201 buffer.put(idx); in writeIndexArrayLodDiff() [all …]
|
/external/dropbear/libtomcrypt/src/math/fp/ |
D | ltc_ecc_fp_mulmod.c | 630 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/valgrind/tsan/ |
D | ts_simple_cache.h | 48 size_t idx = ptr % kSize; in Insert() local 49 arr_[idx] = ptr; in Insert() 51 bits_[idx / 32] |= 1U << (idx % 32); in Insert() 53 bits_[idx / 32] &= ~(1U << (idx % 32)); in Insert() 57 size_t idx = ptr % kSize; in Lookup() local 58 if (arr_[idx] == ptr) { in Lookup() 59 *val = (bits_[idx / 32] >> (idx % 32)) & 1; in Lookup() 83 uint32_t i = idx(a, b); in Insert() 92 uint32_t i = idx(a, b); in Lookup() 102 uint32_t idx(uint32_t a, uint32_t b) { in idx() function
|
/external/srec/portable/src/ |
D | phashtable.c | 41 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 …]
|