Searched refs:end (Results 1 - 25 of 60) sorted by relevance

123

/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 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/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/core/include/corkscrew/
H A Dsymbol_table.h29 uintptr_t end; member in struct:__anon298
H A Dmap_info.h33 uintptr_t end; member in struct:map_info
/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 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/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/libsparse/
H A Dsimg_dump.py106 end=" ")
114 print("Raw data", end="")
119 % (data_sz), end="")
130 print("Don't care", end="")
134 % (data_sz), end="")
141 print("Unknown chunk type 0x%04X" % (chunk_type), end="")
163 print("There were %u bytes of extra data at the end of the file."
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/libsysutils/src/
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...]
H A DSocketListener.cpp64 for (it = mClients->begin(); it != mClients->end();) {
131 for (it = mClients->begin(); it != mClients->end();) {
168 for (it = mClients->begin(); it != mClients->end(); ++it) {
210 for (it = mClients->begin(); it != mClients->end(); ++it) {
231 for (it = mClients->begin(); it != mClients->end(); ++it) {
250 for (i = mClients->begin(); i != mClients->end(); ++i) {
/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)) {
H A Dsymbol_table.c52 if (addr >= symbol->end) return 1;
165 table->symbols[symbol_index].end = dynsyms[i].st_value + dynsyms[i].st_size;
168 table->symbols[symbol_index].start, table->symbols[symbol_index].end);
183 table->symbols[symbol_index].end = syms[i].st_value + syms[i].st_size;
186 table->symbols[symbol_index].start, table->symbols[symbol_index].end);
/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/netd/
H A DPppController.cpp45 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
63 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
68 if (it == mTtys->end()) {
128 for (it = mTtys->begin(); it != mTtys->end(); ++it) {
H A DList.h169 insert(begin(), src.begin(), src.end());
186 return size_t(distance(begin(), end()));
200 inline iterator end() { function in class:android::netd::List
203 inline const_iterator end() const { function in class:android::netd::List
209 void push_back(const T& val) { insert(end(), val); }
319 iterator lastDst = end();
321 const_iterator lastSrc = right.end();
/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/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/include/sysutils/
H A DList.h169 insert(begin(), src.begin(), src.end());
186 return size_t(distance(begin(), end()));
200 inline iterator end() { function in class:android::sysutils::List
203 inline const_iterator end() const { function in class:android::sysutils::List
209 void push_back(const T& val) { insert(end(), val); }
319 iterator lastDst = end();
321 const_iterator lastSrc = right.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...]
/system/extras/tests/sdcard/
H A Dsysutil.cpp57 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 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/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 */

Completed in 1193 milliseconds

123