/system/extras/ext4_utils/ |
D | sha1.c | 71 void do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *); 72 void do_R2(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *); 73 void do_R3(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *); 74 void do_R4(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *); 83 do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) in do_R01() argument 85 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3); in do_R01() 86 nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); in do_R01() 87 nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01() 88 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15); in do_R01() 89 nR1(e,a,b,c,d,16); nR1(d,e,a,b,c,17); nR1(c,d,e,a,b,18); nR1(b,c,d,e,a,19); in do_R01() [all …]
|
/system/extras/latencytop/ |
D | latencytop.c | 48 static void free_latency_entry(struct latency_entry *e); 54 static struct latency_entry *find_latency_entry(struct latency_entry *e, char *reason); 69 struct latency_entry *e; in main() local 144 e = NULL; in main() 147 e = read_thread_stats(e, erase, pid, tid, 1); in main() 149 e = read_process_stats(e, erase, pid); in main() 152 e = read_global_stats(e, erase); in main() 166 print_latency_entries(e); in main() 176 struct latency_entry *e; in read_global_stats() local 194 e = read_latency_file(f, list); in read_global_stats() [all …]
|
/system/security/keystore-engine/ |
D | eng_keystore.cpp | 101 static EVP_PKEY* keystore_loadkey(ENGINE* e, const char* key_id, UI_METHOD* ui_method, in keystore_loadkey() argument 107 ALOGV("keystore_loadkey(%p, \"%s\", %p, %p)", e, key_id, ui_method, callback_data); in keystore_loadkey() 142 dsa_pkey_setup(e, pkey.get(), key_id); in keystore_loadkey() 146 rsa_pkey_setup(e, pkey.get(), key_id); in keystore_loadkey() 150 ecdsa_pkey_setup(e, pkey.get(), key_id); in keystore_loadkey() 165 static int keystore_engine_setup(ENGINE* e) { in keystore_engine_setup() argument 168 if (!ENGINE_set_id(e, kKeystoreEngineId) in keystore_engine_setup() 169 || !ENGINE_set_name(e, kKeystoreEngineDesc) in keystore_engine_setup() 170 || !ENGINE_set_load_privkey_function(e, keystore_loadkey) in keystore_engine_setup() 171 || !ENGINE_set_load_pubkey_function(e, keystore_loadkey) in keystore_engine_setup() [all …]
|
D | ecdsa_meth.cpp | 124 int ecdsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in ecdsa_pkey_setup() argument 141 ENGINE_init(e); in ecdsa_pkey_setup() 142 ecdsa->engine = e; in ecdsa_pkey_setup() 147 int ecdsa_register(ENGINE* e) { in ecdsa_register() argument 148 if (!ENGINE_set_ECDSA(e, &keystore_ecdsa_meth) in ecdsa_register()
|
D | dsa_meth.cpp | 124 int dsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in dsa_pkey_setup() argument 138 ENGINE_init(e); in dsa_pkey_setup() 139 dsa->engine = e; in dsa_pkey_setup() 144 int dsa_register(ENGINE* e) { in dsa_register() argument 145 if (!ENGINE_set_DSA(e, &keystore_dsa_meth) in dsa_register()
|
D | rsa_meth.cpp | 212 int rsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in rsa_pkey_setup() argument 227 ENGINE_init(e); in rsa_pkey_setup() 228 rsa->engine = e; in rsa_pkey_setup() 234 int rsa_register(ENGINE* e) { in rsa_register() argument 235 if (!ENGINE_set_RSA(e, &keystore_rsa_meth) in rsa_register()
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 1059 camera_metadata_entry e; in TEST() local 1060 result = get_camera_metadata_entry(m, i, &e); in TEST() 1062 EXPECT_EQ(i, e.index); in TEST() 1063 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, e.tag); in TEST() 1064 EXPECT_EQ(TYPE_INT64, e.type); in TEST() 1066 EXPECT_EQ(exposureTime, *e.data.i64); in TEST() 1083 camera_metadata_entry e; in TEST() local 1084 result = get_camera_metadata_entry(m, 4, &e); in TEST() 1087 EXPECT_EQ((size_t)4, e.index); in TEST() 1088 EXPECT_EQ(ANDROID_REQUEST_FRAME_COUNT, e.tag); in TEST() [all …]
|
/system/core/toolbox/ |
D | printenv.c | 8 char** e; in printenv_main() local 13 e = environ; in printenv_main() 14 while (*e) { in printenv_main() 15 printf("%s\n", *e); in printenv_main() 16 e++; in printenv_main()
|
D | df.c | 56 char *c, *e = s; in df_main() local 60 e = c + 1; in df_main() 65 for (c = e; *c; c++) { in df_main() 72 df(e, 0); in df_main()
|
/system/extras/fatblock/ |
D | read.c | 134 static int extent_read(struct fs *fs, struct extent *e, char *buf, in extent_read() argument 138 assert(e); in extent_read() 141 switch (e->type) { in extent_read() 152 return file_read((struct file *)e, buf, off, len); in extent_read() 154 return dir_read((struct dir *)e, buf, off, len); in extent_read() 156 WARN("reading extent: unexpected type %d\n", e->type); in extent_read() 163 struct extent *e = NULL; in fs_read() local 169 while ((e = fs_find_extent(fs, start, len, e, in fs_read() 171 ret = extent_read(fs, e, buf + r_start, e_start, rel_len); in fs_read()
|
D | fs.c | 48 struct extent *e; in fs_find_extent() local 56 e = last ? last->next : fs->extents; in fs_find_extent() 57 for (; e; e = e->next) { in fs_find_extent() 58 e_start = e->start; in fs_find_extent() 59 e_len = e->len; in fs_find_extent() 96 return e; in fs_find_extent()
|
/system/extras/tests/bionic/libc/common/ |
D | test_pthread_getcpuclockid.c | 44 int e; in thread_func() local 48 e = pthread_getcpuclockid( self, &clock ); in thread_func() 49 if (e != 0) { in thread_func() 50 … fprintf(stderr, "pthread_getcpuclockid(%08lx,) returned error %d: %s\n", self, e, strerror(e)); in thread_func()
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.cpp | 170 const cache_entry_t& e = mCacheData.valueAt(index); in lookup() local 171 e.when = mWhen++; in lookup() 172 r = e.entry; in lookup() 189 const cache_entry_t& e = mCacheData.valueAt(i); in cache() local 190 if (e.when < mCacheData.valueAt(lru).when) { in cache() 194 const cache_entry_t& e = mCacheData.valueAt(lru); in cache() local 195 mCacheInUse -= e.entry->size(); in cache()
|
/system/core/libzipfile/ |
D | zipfile.c | 65 Zipentry* e = (Zipentry*)entry; in get_zipentry_name() local 66 int l = e->fileNameLength; in get_zipentry_name() 68 memcpy(s, e->fileName, l); in get_zipentry_name() 116 decompress_zipentry(zipentry_t e, void* buf, int bufsize) in decompress_zipentry() argument 118 Zipentry* entry = (Zipentry*)e; in decompress_zipentry()
|
/system/core/sh/ |
D | exec.c | 122 int e; in shellexec() local 126 e = errno; in shellexec() 128 e = ENOENT; in shellexec() 133 e = errno; in shellexec() 140 switch (e) { in shellexec() 152 argv[0], e, vforked, suppressint )); in shellexec() 153 exerror(EXEXEC, "%s: %s", argv[0], errmsg(e, E_EXEC)); in shellexec() 161 int e; in tryexec() local 173 e = errno; in tryexec() 174 if (e == ENOEXEC) { in tryexec() [all …]
|
D | error.c | 84 exraise(int e) in exraise() argument 88 exception = e; in exraise() 355 errmsg(int e, int action) in errmsg() argument 361 if (ep->errcode == e && (ep->action & action) != 0) in errmsg() 364 fmtstr(buf, sizeof buf, "error %d", e); in errmsg()
|
D | syntax.c | 14 #define set_range(s, e, val) [ndx(s) ... ndx(e)] = val, argument
|
/system/core/libpixelflinger/ |
D | pixelflinger.cpp | 292 const int e = (c->state.enables & GGL_ENABLE_FOG)?1:0; in ggl_enable_fog() local 293 if (e != enable) { in ggl_enable_fog() 617 const int e = (c->state.enables & GGL_ENABLE_BLENDING)?1:0; in ggl_enable_blending() local 618 if (e != enable) { in ggl_enable_blending() 627 const int e = (c->state.enables & GGL_ENABLE_SCISSOR_TEST)?1:0; in ggl_enable_scissor_test() local 628 if (e != enable) { in ggl_enable_scissor_test() 637 const int e = (c->state.enables & GGL_ENABLE_ALPHA_TEST)?1:0; in ggl_enable_alpha_test() local 638 if (e != enable) { in ggl_enable_alpha_test() 647 const int e = (c->state.enables & GGL_ENABLE_LOGIC_OP)?1:0; in ggl_enable_logic_op() local 648 if (e != enable) { in ggl_enable_logic_op() [all …]
|
/system/core/libcorkscrew/ |
D | symbol_table.c | 35 static bool is_elf(Elf32_Ehdr* e) { in is_elf() argument 36 return (e->e_ident[EI_MAG0] == ELFMAG0 && in is_elf() 37 e->e_ident[EI_MAG1] == ELFMAG1 && in is_elf() 38 e->e_ident[EI_MAG2] == ELFMAG2 && in is_elf() 39 e->e_ident[EI_MAG3] == ELFMAG3); in is_elf()
|
/system/core/libutils/ |
D | BlobCache.cpp | 169 const CacheEntry& e(mCacheEntries[i]); in getFlattenedSize() local 170 sp<Blob> keyBlob = e.getKey(); in getFlattenedSize() 171 sp<Blob> valueBlob = e.getValue(); in getFlattenedSize() 195 const CacheEntry& e(mCacheEntries[i]); in flatten() local 196 sp<Blob> keyBlob = e.getKey(); in flatten() 197 sp<Blob> valueBlob = e.getValue(); in flatten()
|
D | String16.cpp | 307 const char16_t* e = p + size(); in findFirst() local 308 while (p < e) { in findFirst() 321 const char16_t* e = p + size(); in findLast() local 322 while (p < e) { in findLast() 323 e--; in findLast() 324 if (*e == c) { in findLast() 325 return e-str; in findLast()
|
/system/core/debuggerd/ |
D | debuggerd.c | 130 struct input_event e; in wait_for_user_action() local 136 int res = get_event(&e, timeout); in wait_for_user_action() 138 if (e.type == EV_KEY in wait_for_user_action() 139 && (e.code == KEY_HOME || e.code == KEY_VOLUMEDOWN) in wait_for_user_action() 140 && e.value == 0) { in wait_for_user_action()
|
/system/netd/ |
D | UidMarkMap.cpp | 32 UidMarkEntry *e = new UidMarkEntry(uid_start, uid_end, mark); in add() local 33 mMap.push_front(e); in add()
|
/system/core/logcat/ |
D | logcat.cpp | 78 queued_entry_t** e = &this->queue; in enqueue() local 79 while (*e && cmp(entry, *e) >= 0) { in enqueue() 80 e = &((*e)->next); in enqueue() 82 entry->next = *e; in enqueue() 83 *e = entry; in enqueue()
|
/system/media/camera/src/ |
D | camera_metadata.c | 656 camera_metadata_buffer_entry_t *e = get_entries(dst); in delete_camera_metadata_entry() local 660 e->type, e->count) > 0 && in delete_camera_metadata_entry() 661 e->data.offset > entry->data.offset) { in delete_camera_metadata_entry() 662 e->data.offset -= data_bytes; in delete_camera_metadata_entry() 664 ++e; in delete_camera_metadata_entry() 711 camera_metadata_buffer_entry_t *e = get_entries(dst); in update_camera_metadata_entry() local 715 e->type, e->count) > 0 && in update_camera_metadata_entry() 716 e->data.offset > entry->data.offset) { in update_camera_metadata_entry() 717 e->data.offset -= entry_bytes; in update_camera_metadata_entry() 719 ++e; in update_camera_metadata_entry()
|