/bionic/libc/bionic/ |
dirname_r.c | 36 const char *endp; local 47 endp = path + strlen(path) - 1; 48 while (endp > path && *endp == '/') 49 endp--; 52 while (endp > path && *endp != '/') 53 endp--; 56 if (endp == path) { 57 path = (*endp == '/') ? "/" : "." [all...] |
basename_r.c | 36 const char *endp, *startp; local 48 endp = path + strlen(path) - 1; 49 while (endp > path && *endp == '/') 50 endp--; 53 if (endp == path && *endp == '/') { 60 startp = endp; 64 len = endp - startp +1;
|
/external/elfutils/libdw/ |
dwarf_getstring.c | 42 const char *endp = memchr (result, '\0', local 44 if (endp == NULL) 48 *lenp = endp - result;
|
dwarf_getmacros.c | 59 const unsigned char *endp; local 73 endp = memchr (readp, '\0', readendp - readp); 74 if (endp == NULL) 78 readp = endp + 1;
|
dwarf_getsrclines.c | 191 uint8_t *endp = memchr (linep, '\0', lineendp - linep); local 192 if (endp == NULL) 194 new_dir->len = endp - linep; 198 linep = endp + 1; 235 uint8_t *endp = memchr (fname, '\0', lineendp - linep); local 236 if (endp == NULL) 238 size_t fnamelen = endp - (uint8_t *) fname; 239 linep = endp + 1; 391 uint8_t *endp = memchr (linep, '\0', lineendp - linep); local 392 if (endp == NULL [all...] |
dwarf_child.c | 53 unsigned char *const endp local 61 if (unlikely (attrp + 1 >= endp))
|
dwarf_getpubnames.c | 36 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; local 38 while (readp + 14 < endp)
|
/external/e2fsprogs/intl/ |
plural-exp.c | 113 char *endp; local 124 n = strtoul (nplurals, &endp, 10); 126 for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) 127 n = n * 10 + (*endp - '0'); 129 if (nplurals == endp)
|
/bionic/libc/inet/ |
inet_pton.c | 129 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local 135 endp = tp + IN6ADDRSZ; 170 if (tp + INT16SZ > endp) 179 if (ch == '.' && ((tp + INADDRSZ) <= endp) && 189 if (tp + INT16SZ > endp) 203 endp[- i] = colonp[n - i]; 206 tp = endp; 208 if (tp != endp)
|
/system/core/liblog/ |
event_tag_map.c | 229 const char* endp; local 232 endp = cp + map->mapLen; 236 while (cp < endp) { 266 char* endp; local 269 endp = cp + map->mapLen; 272 if (*(endp-1) != '\n') { 280 while (cp < endp) { 337 char* endp; local 345 val = strtoul(startp, &endp, 10); 346 assert(endp == cp) [all...] |
/external/tcpdump/ |
print-cdp.c | 240 const u_char *endp = p + l; local 251 while (p < endp && num >= 0) { 253 if (p + 2 > endp) 260 if (p + pl + 2 > endp) 273 if (p + 4 > endp) 291 if (p + al > endp) 305 if (p + pl > endp) 311 if (p + 2 > endp) 317 if (p + al > endp)
|
/hardware/broadcom/wlan/bcm4329/src/shared/ |
bcmwifi.c | 86 char *endp = NULL; local 90 channel = strtoul(a, &endp, 10); 93 if (endp == a) 103 a = endp;
|
/external/elfutils/src/ |
ldlex.l | 162 {HEX}|{OCT}|{DEC} { char *endp; 163 ldlval.num = strtoumax (yytext, &endp, 0); 164 if (*endp != '\0') 166 if (tolower (*endp) == 'k') 170 assert (tolower (*endp) == 'm');
|
ld.c | 586 char *endp; local 587 ld_state.pagesize = strtoul (arg, &endp, 0); 588 if (*endp != '\0') 590 if (endp[1] == '\0' && tolower (*endp) == 'k') 592 else if (endp[1] == '\0' && tolower (*endp) == 'm') 719 char *endp; local 720 unsigned long int level = strtoul (arg, &endp, 10); 721 if (*endp != '\0' 1263 struct pathelement *endp = ld_state.rpath; local 1269 struct pathelement *endp = ld_state.rpath_link; local 1276 struct pathelement *endp = ld_state.runpath; local 1291 struct pathelement *endp = ld_state.runpath_link; local [all...] |
/bionic/libc/regex/ |
engine.c | 77 char *endp; /* end of string -- virtual NUL here */ member in struct:match 131 char *endp; local 171 m->endp = stop; 181 endp = fast(m, start, stop, gf, gl); 182 if (endp == NULL) { /* a miss */ 195 endp = slow(m, m->coldp, stop, gf, gl); 196 if (endp != NULL) 198 assert(m->coldp < m->endp); 216 dp = dissect(m, m->coldp, endp, gf, gl); 227 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0, 0) [all...] |
/build/tools/zipalign/ |
ZipAlign.cpp | 201 char* endp; local 243 alignment = strtol(argv[0], &endp, 10); 244 if (*endp != '\0' || alignment <= 0) {
|
/external/icu4c/i18n/ |
ucoleitr.cpp | 381 if ((ci->flags & UCOL_ITER_HASLEN) == 0 || ci->endp == NULL) { 382 ci->endp = ci->string + u_strlen(ci->string); 495 if (elems->iteratordata_.endp == NULL) { 496 elems->iteratordata_.endp = elems->iteratordata_.string + 500 elems->iteratordata_.pos = elems->iteratordata_.endp; 501 elems->iteratordata_.fcdPosition = elems->iteratordata_.endp; 538 if (elems->iteratordata_.endp == NULL) { 539 elems->iteratordata_.endp = elems->iteratordata_.string + 544 elems->iteratordata_.pos = elems->iteratordata_.endp; 545 elems->iteratordata_.fcdPosition = elems->iteratordata_.endp; [all...] |
/dalvik/dexopt/ |
OptMain.c | 188 char* endp; \ 189 (_var) = _func(*++argv, &endp, 0); \ 190 if (*endp != '\0') { \ 323 char* endp; local
|
/external/bluetooth/glib/gio/ |
gicon.c | 310 char *endp; local 373 version = strtol (version_str, &endp, 10); 374 if (endp == NULL || *endp != '\0')
|
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
SDL_string.c | 509 long SDL_strtol(const char *string, char **endp, int base) 523 if ( endp ) { 524 *endp = (char *)string + len; 531 unsigned long SDL_strtoul(const char *string, char **endp, int base) 545 if ( endp ) { 546 *endp = (char *)string + len; 607 Sint64 SDL_strtoll(const char *string, char **endp, int base) 621 if ( endp ) { 622 *endp = (char *)string + len; 629 Uint64 SDL_strtoull(const char *string, char **endp, int base [all...] |
/external/ppp/pppd/ |
multilink.c | 393 char *p, *endp; local 399 i = strtol(p, &endp, 10); 400 if (endp != p && (*endp == 0 || *endp == ';')) { 530 char *p, *endp; local 541 i = strtol(str, &endp, 10); 542 if (endp == str) 544 str = endp;
|
ccp.c | 265 char *str, *endp; local 268 abits = rbits = strtol(str, &endp, 0); 269 if (endp != str && *endp == ',') { 270 str = endp + 1; 271 abits = strtol(str, &endp, 0); 273 if (*endp != 0 || endp == str) { 304 char *str, *endp; local 307 abits = rbits = strtol(str, &endp, 0) [all...] |
/external/skia/src/core/ |
SkPathMeasure.cpp | 254 const SkPoint* endp = (segType == kLine_SegType) ? 259 pos->set(SkScalarInterp(pts[0].fX, endp->fX, t), 260 SkScalarInterp(pts[0].fY, endp->fY, t)); 263 tangent->setNormalize(endp->fX - pts[0].fX, endp->fY - pts[0].fY); 300 const SkPoint* endp = (segType == kLine_SegType) ? 305 dst->lineTo(*endp); 307 dst->lineTo(SkScalarInterp(pts[0].fX, endp->fX, stopT), 308 SkScalarInterp(pts[0].fY, endp->fY, stopT));
|
/external/iproute2/tc/ |
q_netem.c | 76 char *p, *endp; local 80 for (p = line; ; p = endp) { 81 x = strtol(p, &endp, 0); 82 if (endp == p)
|
/external/elfutils/libebl/ |
eblstrtab.c | 312 char *endp; local 333 endp = (char *) data->d_buf + nulllen; 335 copystrings (st->root, &endp, ©len);
|