/system/extras/tests/bionic/libc/other/ |
H A D | test_jpeg.c | 53 char* end; member in struct:__anon503 62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; 79 if (src->jpeg_mgr.next_input_byte + num_bytes > (unsigned char*)src->end ) { 93 src->jpeg_mgr.bytes_in_buffer = src->end - src->base; 108 src->end = base + size;
|
/system/core/debuggerd/ |
H A D | backtrace.c | 62 _LOG(log, false, "\n----- end %d -----\n", pid); 136 char* end; local 137 pid_t new_tid = strtoul(de->d_name, &end, 10); 138 if (*end || new_tid == tid) {
|
H A D | tombstone.c | 358 if (addr >= map->start && addr < map->end) { 361 } else if (addr >= map->end) { 377 _LOG(log, false, " %08x-%08x %s\n", next->start, next->end, next->name); 382 _LOG(log, false, " %08x-%08x %s\n", map->start, map->end, map->name); 387 _LOG(log, false, " %08x-%08x %s\n", prev->start, prev->end, prev->name); 428 char* end; local 429 pid_t new_tid = strtoul(de->d_name, &end, 10); 430 if (*end || new_tid == tid) { 518 tailOnly ? "tail end of " : "", filename);
|
/system/core/libcutils/ |
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 | sched_policy.c | 98 char *end = text + sizeof(text) - 1; local 99 char *ptr = end; 106 if (write(fd, ptr, end - ptr) < 0) {
|
/system/extras/libpagemap/include/pagemap/ |
H A D | pagemap.h | 71 unsigned long end; member in struct:pm_map 150 /* Get the name, flags, start/end address, or offset of a map. */ 157 #define pm_map_end(map) ((map)->end)
|
/system/core/libsparse/ |
H A D | backed_block.h | 62 struct backed_block *end);
|
/system/netd/ |
H A D | TetherController.cpp | 47 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { 153 char *end = strdup(inet_ntoa(addrs[addrIndex++])); local 154 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end); 319 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
|
H A D | BandwidthController.cpp | 72 * - the qtaguid counting is done at the end of the bw_INPUT/bw_OUTPUT user chains. 348 for (it = naughtyAppUids.begin(); it != naughtyAppUids.end(); it++) { 352 bool found = (it != naughtyAppUids.end()); 527 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) { 532 if (it == sharedQuotaIfaces.end()) { 582 for (it = sharedQuotaIfaces.begin(); it != sharedQuotaIfaces.end(); it++) { 586 if (it == sharedQuotaIfaces.end()) { 632 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); it++) { 637 if (it == quotaIfaces.end()) { 706 for (it = quotaIfaces.begin(); it != quotaIfaces.end(); i [all...] |
H A D | NetdConstants.cpp | 57 for (it = argsList.begin(); it != argsList.end(); it++, i++) {
|
/system/core/init/ |
H A D | bootchart.c | 251 char* end; local 252 int pid = strtol( entry->d_name, &end, 10); 253 if (end != NULL && end > entry->d_name && *end == 0) {
|
/system/core/liblog/ |
H A D | fake_log_device.c | 324 struct iovec* end = iov + iovcnt; local 325 for (; iov < end; iov++) { 434 const char* end = msg + strlen(msg); local 437 while (p < end) { 472 while (numLines > 0 && p < end) { 480 while (p < end && *p != '\n') p++; 579 break; /* reached end of configured values */
|
H A D | logprint.c | 336 char *end = str + strlen(str) - 1; local 338 while (end >= str && isspace(*end)) 339 *end-- = '\0'; 823 // The line-end finding here must match the line-end finding 828 // plus one line for anything not newline-terminated at the end 864 // Find the next end-of-line in message
|
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 151 const uint8_t *const end = keyBlob + keyBlobLength; local 186 if (p + publicLen > end) { 187 ALOGE("public key length encoding error: size=%ld, end=%d", publicLen, end - p); 193 if (end - p < 2) { 200 if (p + privateLen > end) { 201 ALOGE("private key length encoding error: size=%ld, end=%d", privateLen, end - p);
|
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 114 const char *end = arg + len; local 117 while (arg < end) {
|
H A D | FrameworkListener.cpp | 173 for (i = mCommands->begin(); i != mCommands->end(); ++i) {
|
/system/core/include/diskconfig/ |
H A D | diskconfig.h | 68 struct chs end; /* bytes 5-7 */ member in struct:pc_partition
|
/system/core/toolbox/ |
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/extras/libpagemap/ |
H A D | pm_map.c | 26 return pm_process_pagemap_range(map->proc, map->start, map->end,
|
/system/vold/ |
H A D | VolumeManager.cpp | 114 for (it = mVolumes->begin(); it != mVolumes->end(); ++it) { 138 for (it = mVolumes->begin(); it != mVolumes->end(); ++it) { 158 for (i = mVolumes->begin(); i != mVolumes->end(); ++i) { 303 // Add +1 for our superblock which is at the end 343 * Drop down the superblock at the end of the file 760 for (it = mActiveContainers->begin(); it != mActiveContainers->end(); ++it) { 768 if (it == mActiveContainers->end()) { 991 for (i = mVolumes->begin(); i != mVolumes->end(); ++i) { 1322 for (i = mVolumes->begin(); i != mVolumes->end(); ++i) { 1340 for (i = mVolumes->begin(); i != mVolumes->end(); [all...] |
H A D | DirectVolume.cpp | 55 for (it = mPaths->begin(); it != mPaths->end(); ++it) 93 for (it = mPaths->begin(); it != mPaths->end(); ++it) {
|
/system/core/libdiskconfig/ |
H A D | config_mbr.c | 38 memset(&pentry->end, 0xff, sizeof(struct chs)); 42 memset(&pentry->end, 0, sizeof(struct chs));
|
/system/core/adb/ |
H A D | jdwp_service.c | 124 char* end = buffer + bufferlen; local 135 len = snprintf(p, end-p, "%d\n", proc->pid); 136 if (p + len >= end) 258 if (len == 0) { /* end of stream ? */ 259 D("weird end-of-stream from unknown JDWP process\n");
|
/system/media/camera/src/ |
H A D | camera_metadata.c | 451 uint8_t *end = start + data_bytes; local 453 memmove(start, end, length); 502 uint8_t *end = start + entry_bytes; local 504 memmove(start, end, length);
|
/system/core/charger/ |
H A D | charger.c | 277 char *end; local 283 tmp = strtol(buf, &end, 0); 284 if (end == buf || 285 ((end < buf+sizeof(buf)) && (*end != '\n' && *end != '\0')))
|