Searched defs:end (Results 1 - 25 of 45) 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.h33 uintptr_t end; member in struct:map_info
H A Dsymbol_table.h29 uintptr_t end; member in struct:__anon298
/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
81 extra->end = extra->str + extra->used_size;
86 *extra->end = ',';
87 extra->end++;
89 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/core/debuggerd/arm/
H A Dmachine.c48 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/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/mips/
H A Dmachine.c42 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 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.c38 unsigned long int end; local
41 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end,
58 mi->end = end;
64 ALOGV("Parsed map: start=0x%08x, end=0x%08x, "
66 mi->start, mi->end, mi->is_readable, mi->is_executable, mi->name);
102 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/core/include/diskconfig/
H A Ddiskconfig.h68 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/libsparse/
H A Dbacked_block.c146 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...]
/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/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 194 milliseconds

12