/system/extras/ksmutils/ |
D | lookup3.c | 69 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument 175 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword() argument 187 a += k[0]; in hashword() 188 b += k[1]; in hashword() 189 c += k[2]; in hashword() 192 k += 3; in hashword() 198 case 3 : c+=k[2]; in hashword() 199 case 2 : b+=k[1]; in hashword() 200 case 1 : a+=k[0]; in hashword() 219 const uint32_t *k, /* the key, an array of uint32_t values */ in hashword2() argument [all …]
|
D | ksminfo.c | 190 size_t i, j, k; in read_pages() local 261 for (k = 0; k < kp->len; k++) { in read_pages() 262 if (kp->pages[k].hash == hash) break; in read_pages() 265 if (k == kp->len) { in read_pages() 275 memset(&tmp[k], 0, sizeof(tmp[k]) * GROWTH_FACTOR); in read_pages() 292 cur_page = &kp->pages[k]; in read_pages() 344 size_t i, j, k; in print_pages() local 371 for (k = 0; k < 8 && j < kp->pages[i].vaddr_len; k++, j++) { in print_pages()
|
/system/core/libutils/tests/ |
D | BlobCache_test.cpp | 225 uint8_t k = i; in TEST_F() local 226 mBC->set(&k, 1, "x", 1); in TEST_F() 230 uint8_t k = i; in TEST_F() local 231 if (mBC->get(&k, 1, NULL, 0) == 1) { in TEST_F() 242 uint8_t k = i; in TEST_F() local 243 mBC->set(&k, 1, "x", 1); in TEST_F() 247 uint8_t k = maxEntries; in TEST_F() local 248 mBC->set(&k, 1, "x", 1); in TEST_F() 253 uint8_t k = i; in TEST_F() local 254 if (mBC->get(&k, 1, NULL, 0) == 1) { in TEST_F() [all …]
|
D | LruCache_test.cpp | 29 int k; member 31 explicit ComplexKey(int k) : k(k) { in ComplexKey() 35 ComplexKey(const ComplexKey& other) : k(other.k) { in ComplexKey() 44 return k == other.k; in operator ==() 48 return k != other.k; in operator !=() 57 return hash_type(value.k); in hash_type() 86 void operator()(SimpleKey& k, StringValue& v) { in operator ()() argument 88 lastKey = k; in operator ()()
|
D | BasicHashtable_test.cpp | 32 int k; member 34 explicit ComplexKey(int k) : k(k) { in ComplexKey() 38 ComplexKey(const ComplexKey& other) : k(other.k) { in ComplexKey() 47 return k == other.k; in operator ==() 51 return k != other.k; in operator !=() 60 return hash_type(value.k); in hash_type() 153 *key = entry.key.k; in getKeyValue()
|
/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 88 int k; in dispatchCommand() local 162 for (k = 0; k < argc; k++) { in dispatchCommand() 163 SLOGD("arg[%d] = '%s'", k, argv[k]); in dispatchCommand()
|
/system/core/toolbox/ |
D | getevent.c | 80 int i, j, k; in print_possible_events() local 155 for(k = 0; k < 8; k++) in print_possible_events() 156 if(bits[j] & 1 << k) { in print_possible_events() 158 if(j < res2 && (bits[j + bits_size] & 1 << k)) in print_possible_events() 167 bit_label = get_label(bit_labels, j * 8 + k); in print_possible_events() 171 printf(" %04x%c ", j * 8 + k, down); in print_possible_events() 173 printf(" %04x%c", j * 8 + k, down); in print_possible_events() 177 if(ioctl(fd, EVIOCGABS(j * 8 + k), &abs) == 0) { in print_possible_events()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 246 size_t j, k; \ 249 for (k = 0; k < num_incrs; k++) { \ 319 buf = buffer + k * incr; \ 364 buf1 = buffer1 + k * buf1_incr; \ 365 buf2 = buffer2 + k * buf2_incr; \ 444 size_t k; in benchmarkMemread() local 446 for (k = 0; k < size/sizeof(uint32_t); k++) foo = src[k]); in benchmarkMemread()
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
D | TypeHelpers.h | 225 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 226 key_value_pair_t(const KEY& k) : key(k) { }
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.h | 108 key_t(const AssemblyKeyBase& k) : mKey(&k) { } in key_t() argument
|
D | texturing.cpp | 719 int k = scratches.obtain(); in filter8() local 733 RSB(AL, 0, k, u, imm(1<<(FRAC_BITS*2))); in filter8() 740 SUB(AL, 0, k, k, u); in filter8() 750 SUB(AL, 0, u, k, u); in filter8() 824 int k = scratches.obtain(); in filter16() local 842 RSB(AL, 0, k, u, imm(1<<prec)); in filter16() 857 SUB(AL, 0, k, k, u); in filter16() 875 SUB(AL, 0, u, k, u); in filter16() 908 int k = scratches.obtain(); in filter32() local 943 RSB(AL, 0, k, u, imm(0x100)); in filter32() [all …]
|
/system/media/camera/docs/ |
D | metadata_model.py | 483 leaf_it = ((k, g) for k, g in group_entry_by_kind) 715 k = existing[0] 717 k = Kind(el.name, el.parent) 718 acc.append(k) 720 k._namespaces.extend(el._namespaces) 721 k._entries.extend(el._entries) 727 for k in new_kinds_lst: 728 yield k 755 for k in self._get_children(): 756 combined._namespaces.extend(k.namespaces) [all …]
|
D | metadata_helpers.py | 90 for k,v in d.iteritems():
|
/system/core/include/utils/ |
D | TypeHelpers.h | 235 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { } 236 key_value_pair_t(const KEY& k) : key(k) { }
|
/system/core/libcutils/ |
D | threads.c | 22 const pthread_key_t k = store->tls; in thread_store_get() local
|
/system/media/camera/src/ |
D | camera_metadata.c | 911 int j, k; in print_data() local 914 for (k = 0; in print_data() 915 k < values_per_line[type] && count > 0; in print_data() 916 k++, count--, index += type_size) { in print_data()
|