/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 | sched_policy.c | 74 char *end = text + sizeof(text) - 1; local 75 char *ptr = end; 82 if (write(fd, ptr, end - ptr) < 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/debuggerd/ |
H A D | utility.h | 35 unsigned end; member in struct:mapinfo
|
/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) {
|
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/wilhelm/src/ut/ |
H A D | OpenSLESUT.c | 106 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])]; local 107 for (p = pairs; p != end; ++p) {
|
/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/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/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/netd/ |
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/include/diskconfig/ |
H A D | diskconfig.h | 67 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/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...] |
/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/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/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/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/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;
|
/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");
|