/system/core/init/parser/ |
H A D | tokenizer.cpp | 33 const Tokenizer::Token& Tokenizer::current() { function in class:init::Tokenizer
|
/system/core/init/ |
H A D | security.cpp | 93 int current = max; local 94 while (current >= min) { 96 std::string str_val = std::to_string(current); 112 current--; 116 if (current < min) {
|
/system/core/libunwindstack/ |
H A D | DwarfEhFrameWithHdr.cpp | 125 size_t current = (first + last) / 2; local 126 const FdeInfo* info = GetFdeInfoFromIndex(current); 135 last = current; 137 first = current + 1; 180 for (size_t current = fde_info_.size(); 181 current < fde_count_ && memory_.cur_offset() < entries_end_; current++) { 190 FdeInfo* info = &fde_info_[current]; 192 fde_info_.erase(current);
|
H A D | ElfInterfaceArm.cpp | 38 size_t current = (first + last) / 2; local 39 uint32_t addr = addrs_[current]; 41 if (!GetPrel31Addr(start_offset_ + current * 8, &addr)) { 44 addrs_[current] = addr; 47 *entry_offset = start_offset_ + current * 8; 51 last = current; 53 first = current + 1;
|
H A D | Symbols.cpp | 43 size_t current = first + (last - first) / 2; local 44 const Info* info = &symbols_[current]; 46 last = current; 50 first = current + 1;
|
H A D | DwarfSection.cpp | 878 size_t current = (first + last) / 2; local 879 const FdeInfo* info = &fdes_[current]; 886 last = current; 888 first = current + 1;
|
/system/core/debuggerd/libdebuggerd/ |
H A D | utility.cpp | 193 size_t current = 0; local 202 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) { 219 current += sizeof(uintptr_t);
|
/system/core/libcutils/ |
H A D | hashmap.cpp | 203 Entry* current = *p; local 206 if (current == NULL) { 218 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { 219 void* oldValue = current->value; 220 current->value = value; 225 p = ¤t->next; 266 Entry* current = *p; local 269 if (current == NULL) { 283 if (equalKeys(current 298 Entry* current; local [all...] |
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 134 char *current = result; local 143 *(current++) = '"'; 148 *(current++) = '\\'; // fallthrough 150 *(current++) = *(arg++); 153 *(current++) = '"'; 154 *(current++) = '\0'; 156 result = (char *)realloc(result, current-result); 203 int current = 0; local 212 writev(mSocket, iov + current, iovcnt - current)); [all...] |
/system/extras/showmap/ |
H A D | showmap.cpp | 135 mapinfo *current = *head; local 142 if (current && coalesce_by_name && !strcmp(map->name, current->name)) { 143 current->size += map->size; 144 current->rss += map->rss; 145 current->pss += map->pss; 146 current->shared_clean += map->shared_clean; 147 current->shared_dirty += map->shared_dirty; 148 current->private_clean += map->private_clean; 149 current 179 mapinfo *current = NULL; local [all...] |
/system/extras/simpleperf/ |
H A D | inplace_sampler_lib.cpp | 219 std::map<pid_t, std::string> current; local 228 current[tid] = name; 233 for (auto& pair : current) { 254 if (current.find(tid) == current.end()) {
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 162 static void update_progress(int current, int total) argument 164 double pct_done = (double)current * 100 / total; 165 printf("Testing area %d/%d (%6.2f%% complete)\r", current, total,
|
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 165 // Obtain pointer to current log to logcat error interface tag 263 struct timespec start, current, delta; local 270 // Get current time 271 clock_gettime(CLOCK_MONOTONIC, ¤t); 274 delta = tsDelta(&start, ¤t); 289 struct timespec start, current, delta; local 295 // Get current time 296 clock_gettime(CLOCK_MONOTONIC, ¤t); 299 delta = tsDelta(&start, ¤t); 360 // Obtain the current he [all...] |
/system/extras/verity/fec/ |
H A D | image.cpp | 381 uint64_t current = 0; local 395 args[i].fec_pos = current * ctx->roots; 396 args[i].start = current * ctx->rs_n; 397 args[i].end = (current + rs_blocks_per_thread) * ctx->rs_n; 424 current += rs_blocks_per_thread;
|
/system/sepolicy/tools/fc_sort/ |
H A D | fc_sort.c | 8 * account regular expression specificity. With the current 163 /* Insert b's nodes in between the current a node 212 file_context_bucket_t *current; local 222 current = master; 225 while (current) { 226 if (current->next) { 227 current->data = 228 fc_merge(current->data, 229 current->next->data); 231 temp = current 337 file_context_node_t *current; local [all...] |
/system/sepolicy/tools/ |
H A D | sepolicy-check.c | 57 int check_perm(avtab_ptr_t current, perm_datum_t *perm) { argument 59 return (current->datum.data & perm_bitmask) != 0;
|
H A D | check_seapp.c | 1160 file_info *current; local 1163 current = list_entry(cursor, typeof(*current), listify); 1164 parse_file(current);
|
/system/core/fastboot/ |
H A D | engine.cpp | 112 a.msg = "Setting current slot to '" + slot + "'..."; 141 size_t current, size_t total) { 146 current, total, sz / 1024); 150 android::base::StringPrintf("Writing '%s' %zu/%zu...", partition.c_str(), current, total); 140 fb_queue_flash_sparse(const std::string& partition, struct sparse_file* s, uint32_t sz, size_t current, size_t total) argument
|
/system/core/liblog/ |
H A D | pmsg_reader.c | 136 off_t current, next; local 245 current = TEMP_FAILURE_RETRY(lseek(fd, (off_t)0, SEEK_CUR)); 246 if (current < 0) { 258 if ((next - current) != (ssize_t)(buf.p.len - sizeof(buf))) {
|
/system/core/adb/ |
H A D | shell_service.cpp | 247 char** current = environ; local 248 while (char* env_cstr = *current++) {
|
H A D | sysdeps_win32.cpp | 2288 // Current_after points one byte past the current byte to be examined. 2290 const char* const current = current_after - 1; local 2291 const char ch = *current; 2300 const size_t bytes_available = last - current; 2303 // preceding the current incomplete UTF-8 sequence and append the remaining bytes 2305 remaining_bytes->insert(remaining_bytes->end(), current, last); 2306 return current - first; 2546 // each byte which is not UTF-8 aware, and theoretically uses the current C 2641 // Version of getcwd() that returns the current working directory in UTF-8.
|
/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 1333 int current; local 1334 if (load_verity_state(&fstab->recs[i], ¤t) < 0) { 1337 if (current != VERITY_MODE_DEFAULT) { 1338 *mode = current;
|
/system/core/logd/ |
H A D | LogBuffer.cpp | 100 // threads to dump their current content. 615 log_time current = local 620 (current > mapElement->getRealTime())) { 901 // watermark if current one empty. id is not LOG_ID_EVENTS 946 // watermark if current one empty. id is not
|
/system/core/logcat/ |
H A D | logcat.cpp | 491 " UID as determined by the current statistics.\n" 689 // We filter any times later than current as we may not have the 720 void reportErrorName(const char** current, const char* name, argument 722 if (*current) return; 724 *current = name;
|