/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 | 49 static void free_latency_entry(struct latency_entry *e); 55 static struct latency_entry *find_latency_entry(struct latency_entry *e, char *reason); 70 struct latency_entry *e; in main() local 145 e = NULL; in main() 148 e = read_thread_stats(e, erase, pid, tid, 1); in main() 150 e = read_process_stats(e, erase, pid); in main() 153 e = read_global_stats(e, erase); in main() 167 print_latency_entries(e); in main() 177 struct latency_entry *e; in read_global_stats() local 195 e = read_latency_file(f, list); in read_global_stats() [all …]
|
/system/vold/bench/ |
D | benchgen.py | 65 def extract_file(e, arg): argument 69 handle = "t%sf%s" % (e.thread, fd) 175 events = sorted(events, key=lambda e: e.time) 178 for e in events: 179 if e.call == "openat": 180 fd, f, handle = extract_file(e, e.ret) 186 … print >>bench, '%s = TEMP_FAILURE_RETRY(open("file%s", %s));' % (handle, f.ident, e.args[2]) 188 elif e.call == "close": 189 fd, f, handle = extract_file(e, e.args[0]) 194 elif e.call == "lseek": [all …]
|
/system/core/logd/ |
D | LogStatistics.h | 79 inline iterator add(TKey key, LogBufferElement *e) { in add() argument 82 it = map.insert(std::make_pair(key, TEntry(e))).first; in add() 84 it->second.add(e); in add() 99 void subtract(TKey key, LogBufferElement *e) { in subtract() argument 101 if ((it != map.end()) && it->second.subtract(e)) { in subtract() 106 inline void drop(TKey key, LogBufferElement *e) { in drop() argument 109 it->second.drop(e); in drop() 122 EntryBase(LogBufferElement *e):size(e->getMsgLen()) { } in EntryBase() 126 inline void add(LogBufferElement *e) { size += e->getMsgLen(); } in add() 127 inline bool subtract(LogBufferElement *e) { size -= e->getMsgLen(); return !size; } in subtract() [all …]
|
D | LogBuffer.cpp | 239 LogBufferElement *e = *it; in erase() local 242 stats.subtract(e); in erase() 243 delete e; in erase() 276 bool merge(LogBufferElement *e, unsigned short dropped) { in merge() argument 277 LogBufferElementKey key(e->getUid(), e->getPid(), e->getTid()); in merge() 292 void add(LogBufferElement *e) { in add() argument 293 LogBufferElementKey key(e->getUid(), e->getPid(), e->getTid()); in add() 294 map[key.getKey()] = e; in add() 301 void clear(LogBufferElement *e) { in clear() argument 302 uint64_t current = e->getRealTime().nsec() in clear() [all …]
|
D | LogStatistics.cpp | 66 void LogStatistics::add(LogBufferElement *e) { in add() argument 67 log_id_t log_id = e->getLogId(); in add() 68 unsigned short size = e->getMsgLen(); in add() 79 uidTable[log_id].add(e->getUid(), e); in add() 85 pidTable.add(e->getPid(), e); in add() 86 tidTable.add(e->getTid(), e); in add() 88 uint32_t tag = e->getTag(); in add() 90 tagTable.add(tag, e); in add() 94 void LogStatistics::subtract(LogBufferElement *e) { in subtract() argument 95 log_id_t log_id = e->getLogId(); in subtract() [all …]
|
D | LogWhiteBlackList.h | 44 int cmp(LogBufferElement *e) const { return cmp(e->getUid(), e->getPid()); } in cmp() argument
|
D | LogKlog.cpp | 473 const char *e; in log() local 474 for(e = cp; isspace(*cp); ++cp); in log() 477 etag = e; in log() 483 const char *e; in log() local 484 for(e = cp; isspace(*cp); ++cp); in log() 488 etag = e; in log() 513 const char *e = cp; in log() local 519 etag = e; in log() 524 const char *e = cp; in log() local 531 etag = e; in log()
|
/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 | 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 | 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 | 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 | 1118 camera_metadata_entry e; in TEST() local 1119 result = get_camera_metadata_entry(m, i, &e); in TEST() 1121 EXPECT_EQ(i, e.index); in TEST() 1122 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, e.tag); in TEST() 1123 EXPECT_EQ(TYPE_INT64, e.type); in TEST() 1125 EXPECT_EQ(exposureTime, *e.data.i64); in TEST() 1142 camera_metadata_entry e; in TEST() local 1143 result = get_camera_metadata_entry(m, 4, &e); in TEST() 1146 EXPECT_EQ((size_t)4, e.index); in TEST() 1147 EXPECT_EQ(ANDROID_REQUEST_FRAME_COUNT, e.tag); in TEST() [all …]
|
/system/core/liblog/ |
D | log_time.cpp | 64 char *e = cp; in strptime() local 65 ++e; in strptime() 67 if (*e == 's') { in strptime() 90 while (isdigit(*e)) { in strptime() 91 num = num * 10 + *e - '0'; in strptime() 92 ++e; in strptime() 94 if (*e != 'q') { in strptime() 116 f = cp = e; in strptime()
|
/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/toolbox/ |
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()
|
D | bsd-compatibility.h | 40 #define _DIAGASSERT(e) ((e) ? (void) 0 : __assert2(__FILE__, __LINE__, __func__, #e)) argument
|
/system/security/keystore/ |
D | auth_token_table.cpp | 111 entries_, [&](Entry& e) { return e.token()->challenge == op_handle && !e.completed(); }); in FindAuthPerOpAuthorization() argument 154 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), in RemoveEntriesSupersededBy() argument 164 [&](Entry& e) { return e.Supersedes(entry); }); in IsSupersededBySomeEntry() argument 168 auto found = find_if(entries_, [&](Entry& e) { return e.token()->challenge == op_handle; }); in MarkCompleted() argument
|
/system/core/adb/ |
D | remount_service.cpp | 44 mntent* e; in find_mount() local 45 while ((e = getmntent(fp.get())) != nullptr) { in find_mount() 46 if (strcmp(dir, e->mnt_dir) == 0) { in find_mount() 47 return e->mnt_fsname; in find_mount()
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 185 int e = 0; // SLOGW and sigaction are not inert regarding errno in sendDataLockedv() local 212 e = EIO; in sendDataLockedv() 215 e = errno; in sendDataLockedv() 216 SLOGW("write error (%s)", strerror(e)); in sendDataLockedv() 224 if (e != 0) { in sendDataLockedv() 225 errno = e; in sendDataLockedv()
|
/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/extras/verity/ |
D | KeystoreSigner.java | 134 Enumeration e = keys.getObjects(); in parse() local 135 while (e.hasMoreElements()) { in parse() 136 keyBag.add((ASN1Encodable) e.nextElement()); in parse() 188 } catch (Exception e) { in main() 189 e.printStackTrace(System.err); in main()
|
D | VeritySigner.java | 58 } catch (Exception e) { in main() 59 e.printStackTrace(System.err); in main()
|
/system/core/run-as/ |
D | run-as.c | 93 int e = errno; in panic() local 99 exit(e ? -e : 1); in panic()
|
/system/core/libutils/ |
D | String16.cpp | 304 const char16_t* e = p + size(); in findFirst() local 305 while (p < e) { in findFirst() 318 const char16_t* e = p + size(); in findLast() local 319 while (p < e) { in findLast() 320 e--; in findLast() 321 if (*e == c) { in findLast() 322 return e-str; in findLast()
|