Searched defs:end (Results 1 - 25 of 44) sorted by relevance

12

/system/core/libcutils/
H A Dcpu_info.c32 char* chp, *end; local
56 end = chp;
57 while (*end && *end != ' ' && *end != '\t' && *end != '\n' && *end != '\r')
58 ++end;
59 *end = 0;
H A Dstrdup8to16.c192 const char *end = utf8Str + length; /* This line */ local
193 while (utf8Str < end) { /* and this line changed. */
H A Dsched_policy.c98 char *end = text + sizeof(text) - 1; local
99 char *ptr = end;
106 if (write(fd, ptr, end - ptr) < 0) {
H A Dstr_parms.c256 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 Dmap_info.h32 uintptr_t end; member in struct:map_info
H A Dsymbol_table.h28 uintptr_t end; member in struct:__anon294
/system/core/toolbox/
H A Dr.c19 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 Dinsmod.c72 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 Dnandread.c33 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 Dmount.c30 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/bluetooth/brfpatch/
H A Dbrfpatch.c64 // 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/extras/tests/ext4/
H A Drand_emmc_perf.c46 struct timeval start, end, res; local
117 gettimeofday(&end, 0);
118 timersub(&end, &start, &res);
124 gettimeofday(&end, 0);
125 timersub(&end, &start, &res);
/system/core/debuggerd/arm/
H A Dmachine.c48 uintptr_t p, end; local
56 end = p + 80;
57 /* catch overflow; 'end - p' has to be multiples of 16 */
58 while (end < p)
59 end -= 16;
66 while (p < end) {
/system/core/debuggerd/
H A Dbacktrace.c62 _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) {
/system/core/libcorkscrew/
H A Dmap_info.c37 unsigned long int end; local
40 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end,
57 mi->end = end;
63 ALOGV("Parsed map: start=0x%08x, end=0x%08x, "
65 mi->start, mi->end, mi->is_readable, mi->is_executable, mi->name);
101 while (mi && !(addr >= mi->start && addr < mi->end)) {
/system/core/libsysutils/src/
H A DSocketClient.cpp114 const char *end = arg + len; local
117 while (arg < end) {
H A DNetlinkEvent.cpp139 /* 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/netd/
H A DTetherController.cpp46 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
150 char *end = strdup(inet_ntoa(addrs[addrIndex++])); local
151 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", start, end);
247 for (it = mInterfaces->begin(); it != mInterfaces->end(); ++it) {
/system/core/include/diskconfig/
H A Ddiskconfig.h67 struct chs end; /* bytes 5-7 */ member in struct:pc_partition
/system/core/liblog/
H A Devent_tag_map.c67 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/run-as/
H A Dpackage.c254 /* Skip any space or tab character from 'p' until 'end' is reached.
258 skip_spaces(const char* p, const char* end) argument
260 while (p < end && is_space(*p))
266 /* Skip any non-space and non-tab character from 'p' until 'end'.
270 skip_non_spaces(const char* p, const char* end) argument
272 while (p < end && !is_space(*p))
278 /* Find the first occurence of 'ch' between 'p' and 'end'
279 * Return its position, or 'end' if none is found.
282 find_first(const char* p, const char* end, char ch) argument
284 while (p < end
297 compare_name(const char* p, const char* end, const char* name) argument
334 parse_spaces(const char** pp, const char* end) argument
358 parse_positive_decimal(const char** pp, const char* end) argument
437 const char* end = find_first(p, buffer_end, '\\n'); local
[all...]
/system/extras/ext4_utils/
H A Dimg2simg.c142 const char *end; local
144 value = strtoull(size_str, (char **)&end, 10);
145 if (errno != 0 || end == size_str || value > MAX_SIZE_T)
147 if (*end == '\0') {
151 if (!strcmp(end, "c"))
153 else if (!strcmp(end, "w"))
155 else if (!strcmp(end, "b"))
157 else if (!strcmp(end, "kB"))
159 else if (!strcmp(end, "K"))
161 else if (!strcmp(end, "M
[all...]
/system/extras/fatblock/
H A Dfs.c49 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 Dpagemap.h71 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 Dshowmap.c17 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) {
59 if (prev && start == prev->end && is_library(prev->name)) {
78 info->end = end;
117 || (a->start == b->start && a->end < b->end);
216 printf(" start end ");
280 printf("%08x %08x ", mi->start, mi->end);
[all...]

Completed in 313 milliseconds

12