/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 | str_parms.c | 217 char *end; local 223 *val = (int)strtol(value, &end, 0); 224 if (*value != '\0' && *end == '\0') 235 char *end; local 241 out = strtof(value, &end); 242 if (*value != '\0' && *end == '\0')
|
/system/core/run-as/ |
H A D | package.c | 223 /* Skip any space or tab character from 'p' until 'end' is reached. 227 skip_spaces(const char* p, const char* end) argument 229 while (p < end && is_space(*p)) 235 /* Skip any non-space and non-tab character from 'p' until 'end'. 239 skip_non_spaces(const char* p, const char* end) argument 241 while (p < end && !is_space(*p)) 247 /* Find the first occurence of 'ch' between 'p' and 'end' 248 * Return its position, or 'end' if none is found. 251 find_first(const char* p, const char* end, char ch) argument 253 while (p < end 266 compare_name(const char* p, const char* end, const char* name) argument 303 parse_spaces(const char** pp, const char* end) argument 327 parse_positive_decimal(const char** pp, const char* end) argument 406 const char* end = find_first(p, buffer_end, '\\n'); local [all...] |
/system/core/debuggerd/arm/ |
H A D | machine.c | 90 if (addr >= map->start && addr < map->end) { 94 } else if (addr >= map->end) { 110 _LOG(tfd, false, "%08x-%08x %s\n", next->start, next->end, next->name); 115 _LOG(tfd, false, "%08x-%08x %s\n", map->start, map->end, map->name); 120 _LOG(tfd, false, "%08x-%08x %s\n", prev->start, prev->end, prev->name); 135 uintptr_t p, end; local 143 end = p + 80; 144 /* catch overflow; 'end - p' has to be multiples of 16 */ 145 while (end < p) 146 end 247 unsigned int p, end; local [all...] |
/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 | mount.c | 30 char *end; member in struct:extra_opts 76 extra->end = extra->str + extra->used_size; 81 *extra->end = ','; 82 extra->end++; 84 strcpy(extra->end, s);
|
/system/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 57 updateLineCount(mOffset, matcher.end()); 58 mOffset = matcher.end(); 59 result = mInput.substring(matcher.start(), matcher.end()); 96 updateLineCount(mOffset, matcher.end()); 97 mOffset = matcher.end(); 115 public void updateLineCount(int start, int end) { argument 116 for (int i = start; i < end; ++i) {
|
/system/media/mca/filterfw/native/base/ |
H A D | utilities.h | 50 ForwardIterator end) { 51 while (begin != end) { 64 for (typename T::iterator i = v->begin(); i != v->end(); ++i) { 78 if (it == collection.end()) { 117 if (iter != items_.end()) 132 if (it == collection.end()) { 142 return collection.find(key) != collection.end(); 49 STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end) argument
|
/system/media/mca/filterpacks/base/native/ |
H A D | utilities.h | 50 ForwardIterator end) { 51 while (begin != end) { 64 for (typename T::iterator i = v->begin(); i != v->end(); ++i) { 78 if (it == collection.end()) { 117 if (iter != items_.end()) 132 if (it == collection.end()) { 142 return collection.find(key) != collection.end(); 49 STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end) argument
|
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 139 /* If the string between 'str' and 'end' begins with 'prefixlen' characters 144 has_prefix(const char* str, const char* end, const char* prefix, size_t prefixlen) argument 146 if ((end-str) >= (ptrdiff_t)prefixlen && !memcmp(str, prefix, prefixlen)) 156 #define HAS_CONST_PREFIX(str,end,prefix) has_prefix((str),(end),prefix,CONST_STRLEN(prefix)) 165 const char *end; local 176 end = s + size; 177 while (s < end) { 180 /* buffer is 0-terminated, no need to check p < end */ 190 if ((a = HAS_CONST_PREFIX(s, end, "ACTIO [all...] |
H A D | SocketListener.cpp | 57 for (it = mClients->begin(); it != mClients->end();) { 123 for (it = mClients->begin(); it != mClients->end();) { 160 for (it = mClients->begin(); it != mClients->end(); ++it) { 201 for (it = mClients->begin(); it != mClients->end(); ++it) { 221 for (it = mClients->begin(); it != mClients->end(); ++it) { 240 for (i = mClients->begin(); i != mClients->end(); ++i) { 252 for (i = mClients->begin(); i != mClients->end(); ++i) {
|
/system/bluetooth/brfpatch/ |
H A D | brfpatch.c | 64 // advance beyond next whitespace. Return -1 if end of string reached 112 char *end = buf; local 113 while (isalnum(*end)) 114 end++; 117 switch ((unsigned int)end - (unsigned int)buf) {
|
/system/netd/ |
H A D | PppController.cpp | 47 for (it = mTtys->begin(); it != mTtys->end(); ++it) { 65 for (it = mTtys->begin(); it != mTtys->end(); ++it) { 70 if (it == mTtys->end()) { 130 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
|
H A D | TetherController.cpp | 46 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) { 148 char *end = strdup(inet_ntoa(addrs[addrIndex++])); local 149 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end); 245 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
|
/system/core/debuggerd/ |
H A D | utility.c | 62 if((pc >= mi->start) && (pc < mi->end)){ 75 if((pc >= mi->start) && (pc < mi->end)){
|
H A D | utility.h | 35 unsigned end; member in struct:mapinfo
|
/system/core/nexus/ |
H A D | PropertyManager.cpp | 36 for (it = mNamespaces->begin(); it != mNamespaces->end();) { 46 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) { 58 it != ns->getProperties()->end(); ++it) { 104 it != ns->getProperties()->end(); ++it) { 199 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) { 202 p_it != (*ns_it)->getProperties()->end(); ++p_it) { 227 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) { 230 p_it != (*ns_it)->getProperties()->end(); ++p_it) { 260 for (ns_it = mNamespaces->begin(); ns_it != mNamespaces->end(); ++ns_it) { 263 p_it != (*ns_it)->getProperties()->end(); [all...] |
H A D | NetworkManager.cpp | 67 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) { 79 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) { 90 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) { 101 for (it = mControllerBindings->begin(); it != mControllerBindings->end(); ++it) {
|
/system/extras/showmap/ |
H A D | showmap.c | 17 unsigned end; member in struct:mapinfo 42 unsigned long end; local 47 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { 61 } else if (prev && start == prev->end && is_library(prev->name)) { 80 info->end = end; 119 || (a->start == b->start && a->end < b->end); 218 printf(" start end "); 282 printf("%08x %08x ", mi->start, mi->end); [all...] |
/system/core/include/cutils/ |
H A D | mspace.h | 114 mspace. The memory between start and end are guaranteed not to 122 void(*handler)(void *start, void *end, void *arg), void *harg); 125 }; /* end of extern "C" */
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 57 const char *kNormalizedSleepers = "NORMALIZED_SLEEPER"; // no 's' at the end 76 // to end the string) or -1 if there was an error. 83 char *end = start; local 105 s = read(fd, end, size); 121 end += s; 135 *end = '\0'; 140 return end - start; 531 char *end = reinterpret_cast<char *>(&pid); local 541 s = read(readfd, end, size); 557 end [all...] |
/system/extras/fatblock/ |
H A D | fs.c | 49 offset_t end; local 54 end = start + len; 65 if (end <= e_start) 71 if (end <= e_end) 78 if (e_end <= end) 81 rel_len = end - e_start;
|
/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/extras/tests/bionic/libc/other/ |
H A D | test_jpeg.c | 53 char* end; member in struct:__anon464 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;
|