/system/core/libcutils/ |
H A D | cpu_info.c | 32 char* chp, *end; local 56 end = chp; 57 while (*end && *end != ' ' && *end != '\t' && *end != '\n' && *end != '\r') 58 ++end; 59 *end = 0;
|
H A D | strdup8to16.c | 192 const char *end = utf8Str + length; /* This line */ local 193 while (utf8Str < end) { /* and this line changed. */
|
H A D | trace.c | 68 char* end = strchr(start, ','); local 70 if (end != NULL) { 71 *end = '\0'; 72 end++; 79 start = end;
|
H A D | sched_policy.c | 98 char *end = text + sizeof(text) - 1; local 99 char *ptr = end; 106 if (write(fd, ptr, end - ptr) < 0) {
|
H A D | str_parms.c | 256 char *end; local 262 *val = (int)strtol(value, &end, 0); 263 if (*value != '\0' && *end == '\0') 274 char *end; local 280 out = strtof(value, &end); 281 if (*value != '\0' && *end == '\0')
|
/system/core/include/corkscrew/ |
H A D | symbol_table.h | 29 uintptr_t end; member in struct:__anon36
|
H A D | map_info.h | 33 uintptr_t end; member in struct:map_info
|
/system/core/toolbox/ |
H A D | r.c | 19 char *end; local 36 end = strchr(argv[1], '-'); 37 if (end) 38 endaddr = strtoul(end + 1, 0, 16); 44 fprintf(stderr, "invalid end address\n");
|
H A D | insmod.c | 72 char *end = opts + sizeof(opts) - 1; local 75 for (i = 2; (i < argc) && (ptr < end); i++) { 76 len = min(strlen(argv[i]), end - ptr);
|
H A D | nandread.c | 33 loff_t pos, opos, end, bpos; local 188 end = len ? (start + len) : mtdinfo.size; 189 for (pos = start, opos = 0; pos < end; pos += mtdinfo.writesize) {
|
/system/netd/ |
H A D | UidMarkMap.cpp | 19 UidMarkMap::UidMarkEntry::UidMarkEntry(int start, int end, int new_mark) : argument 21 uid_end(end), 31 for (it = mMap.begin(); it != mMap.end(); it++) { 46 for (it = mMap.begin(); it != mMap.end(); it++) { 60 for (it = mMap.begin(); it != mMap.end(); it++) { 72 for (it = mMap.begin(); it != mMap.end(); it++) {
|
H A D | TetherController.cpp | 46 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { 152 char *end = strdup(inet_ntoa(addrs[addrIndex++])); local 153 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end); 250 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { 278 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { 296 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
|
/system/core/debuggerd/arm/ |
H A D | machine.c | 48 uintptr_t p, end; local 57 end = p + 256; 58 /* catch overflow; 'end - p' has to be multiples of 16 */ 59 while (end < p) 60 end -= 16; 67 while (p < end) {
|
/system/core/debuggerd/mips/ |
H A D | machine.c | 42 uintptr_t p, end; local 50 end = p + 80; 51 /* catch overflow; 'end - p' has to be multiples of 16 */ 52 while (end < p) 53 end -= 16; 60 while (p < end) {
|
/system/core/debuggerd/ |
H A D | backtrace.c | 62 _LOG(log, SCOPE_AT_FAULT, "\n----- end %d -----\n", pid); 137 char* end; local 138 pid_t new_tid = strtoul(de->d_name, &end, 10); 139 if (*end || new_tid == tid) {
|
/system/core/libcorkscrew/ |
H A D | map_info.c | 40 unsigned long int end; local 44 &start, &end, permissions, &name_pos) != 3) { 54 mi->end = end; 61 ALOGV("Parsed map: start=0x%08x, end=0x%08x, " 63 mi->start, mi->end, 99 unsigned long int end; local 102 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end, 119 mi->end = end; [all...] |
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 114 const char *end = arg + len; local 123 while (arg < end) {
|
H A D | NetlinkEvent.cpp | 256 /* If the string between 'str' and 'end' begins with 'prefixlen' characters 261 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) argument 263 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 273 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix)) 282 const char *end; local 293 end = s + size; 294 while (s < end) { 297 /* buffer is 0-terminated, no need to check p < end */ 307 if ((a = HAS_CONST_PREFIX(s, end, "ACTIO [all...] |
/system/core/libutils/ |
H A D | PropertyMap.cpp | 84 char* end; local 85 int value = strtol(stringValue.string(), & end, 10); 86 if (*end != '\0') { 101 char* end; local 102 float value = strtof(stringValue.string(), & end); 103 if (*end != '\0') { 198 ALOGE("%s: Expected end of line, got '%s'.",
|
H A D | Tokenizer.cpp | 119 const char* end = getEnd(); local 121 while (eol != end) { 135 const char* end = getEnd(); local 137 while (mCurrent != end) { 151 const char* end = getEnd(); local 152 while (mCurrent != end) { 165 const char* end = getEnd(); local 166 while (mCurrent != end) {
|
H A D | LinearAllocator.cpp | 101 void* end(int pageSize) { function in class:android::LinearAllocator::Page 136 void* LinearAllocator::end(Page* p) { function in class:android::LinearAllocator 141 return mNext && ((char*)mNext + size) <= end(mCurrentPage); 186 if (ptr >= start(mCurrentPage) && ptr < end(mCurrentPage)
|
/system/extras/tests/ext4/ |
H A D | rand_emmc_perf.c | 40 struct timeval end; member in struct:stats 73 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); 100 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); /* Xi */ 140 gettimeofday(&stats_buf[i].end, NULL); 148 struct timeval start, end, res; local 169 gettimeofday(&end, NULL); 170 timersub(&end, &start, &res); 176 gettimeofday(&end, NULL); 177 timersub(&end, &start, &res);
|
/system/core/include/diskconfig/ |
H A D | diskconfig.h | 68 struct chs end; /* bytes 5-7 */ member in struct:pc_partition
|
/system/core/liblog/ |
H A D | event_tag_map.c | 67 off_t end; local 81 end = lseek(fd, 0L, SEEK_END); 83 if (end < 0) { 88 newTagMap->mapAddr = mmap(NULL, end, PROT_READ | PROT_WRITE, MAP_PRIVATE, 95 newTagMap->mapLen = end; 251 /* we've made up our mind; just scan to end of line */ 287 /* comment; just scan to end */
|
/system/core/libsparse/ |
H A D | backed_block.c | 146 struct backed_block *end) 154 if (!end) { 155 for (end = start; end && end->next; end = end->next) 159 if (start == NULL || end == NULL) { 166 from->data_blocks = end->next; 170 bb->next = end 144 backed_block_list_move(struct backed_block_list *from, struct backed_block_list *to, struct backed_block *start, struct backed_block *end) argument [all...] |