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

123

/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/adb/
H A Djdwp_service.c124 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");
H A Dtransport.c949 char* end = buf + bufsize; local
956 len = format_transport(t, p, end - p, long_listing);
957 if (p + len >= end) {
/system/core/charger/
H A Dcharger.c277 char *end; local
283 tmp = strtol(buf, &end, 0);
284 if (end == buf ||
285 ((end < buf+sizeof(buf)) && (*end != '\n' && *end != '\0')))
/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/
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) {
H A Dtombstone.c358 if (addr >= map->start && addr < map->end) {
361 } else if (addr >= map->end) {
377 _LOG(log, false, " %08x-%08x %s\n", next->start, next->end, next->name);
382 _LOG(log, false, " %08x-%08x %s\n", map->start, map->end, map->name);
387 _LOG(log, false, " %08x-%08x %s\n", prev->start, prev->end, prev->name);
428 char* end; local
429 pid_t new_tid = strtoul(de->d_name, &end, 10);
430 if (*end || new_tid == tid) {
518 tailOnly ? "tail end of " : "", filename);
/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/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/include/diskconfig/
H A Ddiskconfig.h68 struct chs end; /* bytes 5-7 */ member in struct:pc_partition
/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/core/init/
H A Dbootchart.c251 char* end; local
252 int pid = strtol( entry->d_name, &end, 10);
253 if (end != NULL && end > entry->d_name && *end == 0) {
/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/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 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')
H A Dstrdup8to16.c192 const char *end = utf8Str + length; /* This line */ local
193 while (utf8Str < end) { /* and this line changed. */
H A Dtztime.c499 sp->chars[i] = '\0'; /* ensure '\0' at end */
546 ** Ignore the end (easy).
997 struct rule end; local
1008 if ((name = getrule(name, &end)) == NULL)
1032 endtime = transtime(janfirst, year, &end,
1387 ** Return the number of leap years through the end of the given year
/system/core/libdiskconfig/
H A Dconfig_mbr.c38 memset(&pentry->end, 0xff, sizeof(struct chs));
42 memset(&pentry->end, 0, sizeof(struct chs));
/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 */
H A Dfake_log_device.c324 struct iovec* end = iov + iovcnt; local
325 for (; iov < end; iov++) {
434 const char* end = msg + strlen(msg); local
437 while (p < end) {
472 while (numLines > 0 && p < end) {
480 while (p < end && *p != '\n') p++;
579 break; /* reached end of configured values */
H A Dlogprint.c336 char *end = str + strlen(str) - 1; local
338 while (end >= str && isspace(*end))
339 *end-- = '\0';
823 // The line-end finding here must match the line-end finding
828 // plus one line for anything not newline-terminated at the end
864 // Find the next end-of-line in message
/system/core/libpixelflinger/arch-mips/
H A Dt32cb16blend.S264 .end scanline_t32cb16blend_mips

Completed in 187 milliseconds

123