/system/core/libcutils/ |
D | cpu_info.c | 32 char* chp, *end; in get_cpu_serial_number() local 56 end = chp; in get_cpu_serial_number() 57 while (*end && *end != ' ' && *end != '\t' && *end != '\n' && *end != '\r') in get_cpu_serial_number() 58 ++end; in get_cpu_serial_number() 59 *end = 0; in get_cpu_serial_number()
|
D | trace.c | 68 char* end = strchr(start, ','); in atrace_is_cmdline_match() local 70 if (end != NULL) { in atrace_is_cmdline_match() 71 *end = '\0'; in atrace_is_cmdline_match() 72 end++; in atrace_is_cmdline_match() 79 start = end; in atrace_is_cmdline_match()
|
D | str_parms.c | 256 char *end; in str_parms_get_int() local 262 *val = (int)strtol(value, &end, 0); in str_parms_get_int() 263 if (*value != '\0' && *end == '\0') in str_parms_get_int() 274 char *end; in str_parms_get_float() local 280 out = strtof(value, &end); in str_parms_get_float() 281 if (*value != '\0' && *end == '\0') in str_parms_get_float()
|
/system/core/run-as/ |
D | package.c | 279 skip_spaces(const char* p, const char* end) in skip_spaces() argument 281 while (p < end && is_space(*p)) in skip_spaces() 291 skip_non_spaces(const char* p, const char* end) in skip_non_spaces() argument 293 while (p < end && !is_space(*p)) in skip_non_spaces() 303 find_first(const char* p, const char* end, char ch) in find_first() argument 305 while (p < end && *p != ch) in find_first() 318 compare_name(const char* p, const char* end, const char* name) in compare_name() argument 321 if (name == NULL || name[0] == '\0' || p == end) in compare_name() 329 if (p >= end || is_space(*p)) in compare_name() 340 if (p < end && !is_space(*p)) in compare_name() [all …]
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 144 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) in has_prefix() argument 146 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) in has_prefix() 156 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix)) argument 165 const char *end; in parseAsciiNetlinkMessage() local 176 end = s + size; in parseAsciiNetlinkMessage() 177 while (s < end) { in parseAsciiNetlinkMessage() 190 if ((a = HAS_CONST_PREFIX(s, end, "ACTION=")) != NULL) { in parseAsciiNetlinkMessage() 197 } else if ((a = HAS_CONST_PREFIX(s, end, "SEQNUM=")) != NULL) { in parseAsciiNetlinkMessage() 199 } else if ((a = HAS_CONST_PREFIX(s, end, "SUBSYSTEM=")) != NULL) { in parseAsciiNetlinkMessage()
|
D | SocketListener.cpp | 64 for (it = mClients->begin(); it != mClients->end();) { in ~SocketListener() 131 for (it = mClients->begin(); it != mClients->end();) { in stopListener() 168 for (it = mClients->begin(); it != mClients->end(); ++it) { in runListener() 210 for (it = mClients->begin(); it != mClients->end(); ++it) { in runListener() 231 for (it = mClients->begin(); it != mClients->end(); ++it) { in runListener() 250 for (i = mClients->begin(); i != mClients->end(); ++i) { in sendBroadcast()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 46 struct timeval start, end, res; in main() local 117 gettimeofday(&end, 0); in main() 118 timersub(&end, &start, &res); in main() 124 gettimeofday(&end, 0); in main() 125 timersub(&end, &start, &res); in main()
|
/system/core/libsparse/ |
D | simg_dump.py | 106 end=" ") 114 print("Raw data", end="") 119 % (data_sz), end="") 130 print("Don't care", end="") 134 % (data_sz), end="") 141 print("Unknown chunk type 0x%04X" % (chunk_type), end="")
|
D | backed_block.c | 146 struct backed_block *end) in backed_block_list_move() argument 154 if (!end) { in backed_block_list_move() 155 for (end = start; end && end->next; end = end->next) in backed_block_list_move() 159 if (start == NULL || end == NULL) { in backed_block_list_move() 166 from->data_blocks = end->next; in backed_block_list_move() 170 bb->next = end->next; in backed_block_list_move() 178 end->next = NULL; in backed_block_list_move() 182 end->next = bb->next; in backed_block_list_move()
|
/system/core/toolbox/ |
D | r.c | 19 char *end; in r_main() local 36 end = strchr(argv[1], '-'); in r_main() 37 if (end) in r_main() 38 endaddr = strtoul(end + 1, 0, 16); in r_main()
|
D | insmod.c | 72 char *end = opts + sizeof(opts) - 1; in insmod_main() local 75 for (i = 2; (i < argc) && (ptr < end); i++) { in insmod_main() 76 len = min(strlen(argv[i]), end - ptr); in insmod_main()
|
/system/netd/ |
D | PppController.cpp | 45 for (it = mTtys->begin(); it != mTtys->end(); ++it) { in ~PppController() 63 for (it = mTtys->begin(); it != mTtys->end(); ++it) { in attachPppd() 68 if (it == mTtys->end()) { in attachPppd() 128 for (it = mTtys->begin(); it != mTtys->end(); ++it) { in updateTtyList()
|
D | TetherController.cpp | 46 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { in ~TetherController() 152 char *end = strdup(inet_ntoa(addrs[addrIndex++])); in startTethering() local 153 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end); in startTethering() 250 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { in applyDnsInterfaces() 278 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { in tetherInterface() 296 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { in untetherInterface()
|
D | List.h | 169 insert(begin(), src.begin(), src.end()); in List() 186 return size_t(distance(begin(), end())); in size() 200 inline iterator end() { in end() function 203 inline const_iterator end() const { in end() function 209 void push_back(const T& val) { insert(end(), val); } in push_back() 319 iterator lastDst = end(); 321 const_iterator lastSrc = right.end();
|
D | BandwidthController.cpp | 340 for (it = naughtyAppUids.begin(); it != naughtyAppUids.end(); it++) { in maninpulateNaughtyApps() 344 bool found = (it != naughtyAppUids.end()); in maninpulateNaughtyApps() 522 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) { in setInterfaceSharedQuota() 527 if (it == sharedQuotaIfaces.end()) { in setInterfaceSharedQuota() 577 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) { in removeInterfaceSharedQuota() 581 if (it == sharedQuotaIfaces.end()) { in removeInterfaceSharedQuota() 627 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) { in setInterfaceQuota() 632 if (it == quotaIfaces.end()) { in setInterfaceQuota() 707 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) { in removeInterfaceQuota() 712 if (it == quotaIfaces.end()) { in removeInterfaceQuota() [all …]
|
/system/extras/showmap/ |
D | showmap.c | 17 unsigned end; member 42 unsigned long end; in parse_header() local 47 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { in parse_header() 59 if (prev && start == prev->end && is_library(prev->name)) { in parse_header() 78 info->end = end; in parse_header() 117 || (a->start == b->start && a->end < b->end); in order_before() 280 printf("%08x %08x ", mi->start, mi->end); in show_map()
|
/system/core/libcorkscrew/ |
D | map_info.c | 38 unsigned long int end; in parse_maps_line() local 41 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end, in parse_maps_line() 58 mi->end = end; in parse_maps_line() 67 mi->start, mi->end, in parse_maps_line() 104 while (mi && !(addr >= mi->start && addr < mi->end)) { in find_map_info()
|
D | symbol_table.c | 52 if (addr >= symbol->end) return 1; in bcompar() 165 table->symbols[symbol_index].end = dynsyms[i].st_value + dynsyms[i].st_size; in load_symbol_table() 168 table->symbols[symbol_index].start, table->symbols[symbol_index].end); in load_symbol_table() 183 table->symbols[symbol_index].end = syms[i].st_value + syms[i].st_size; in load_symbol_table() 186 table->symbols[symbol_index].start, table->symbols[symbol_index].end); in load_symbol_table()
|
/system/core/debuggerd/arm/ |
D | machine.c | 48 uintptr_t p, end; in dump_memory() local 57 end = p + 256; in dump_memory() 59 while (end < p) in dump_memory() 60 end -= 16; in dump_memory() 67 while (p < end) { in dump_memory()
|
/system/bluetooth/brfpatch/ |
D | brfpatch.c | 112 char *end = buf; in process_line() local 113 while (isalnum(*end)) in process_line() 114 end++; in process_line() 117 switch ((unsigned int)end - (unsigned int)buf) { in process_line()
|
/system/core/debuggerd/mips/ |
D | machine.c | 42 uintptr_t p, end; in dump_memory() local 50 end = p + 80; in dump_memory() 52 while (end < p) in dump_memory() 53 end -= 16; in dump_memory() 60 while (p < end) { in dump_memory()
|
/system/core/include/sysutils/ |
D | List.h | 169 insert(begin(), src.begin(), src.end()); in List() 186 return size_t(distance(begin(), end())); in size() 200 inline iterator end() { in end() function 203 inline const_iterator end() const { in end() function 209 void push_back(const T& val) { insert(end(), val); } in push_back() 319 iterator lastDst = end(); 321 const_iterator lastSrc = right.end();
|
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 83 char *end = start; in readStringFromFile() local 105 s = read(fd, end, size); in readStringFromFile() 121 end += s; in readStringFromFile() 135 *end = '\0'; in readStringFromFile() 140 return end - start; in readStringFromFile() 531 char *end = reinterpret_cast<char *>(&pid); in waitForChildrenAndSignal() local 541 s = read(readfd, end, size); in waitForChildrenAndSignal() 557 end += s; in waitForChildrenAndSignal()
|
/system/core/libcutils/tests/memset_mips/ |
D | android_memset_dumb.S | 17 .end android_memset16_dumb 35 .end android_memset32_dumb
|
/system/extras/fatblock/ |
D | fs.c | 49 offset_t end; in fs_find_extent() local 54 end = start + len; in fs_find_extent() 65 if (end <= e_start) in fs_find_extent() 71 if (end <= e_end) in fs_find_extent() 78 if (e_end <= end) in fs_find_extent() 81 rel_len = end - e_start; in fs_find_extent()
|