/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_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)
|
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...] |
/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)
|
/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;
|
/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)
|
/build/tools/zipalign/ |
ZipAlign.cpp | 201 char* endp; local 243 alignment = strtol(argv[0], &endp, 10); 244 if (*endp != '\0' || alignment <= 0) {
|
/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)
|
/external/bluetooth/glib/gio/ |
gicon.c | 310 char *endp; local 373 version = strtol (version_str, &endp, 10); 374 if (endp == NULL || *endp != '\0')
|
/external/elfutils/libebl/ |
eblwstrtab.c | 312 wchar_t *endp; local 333 endp = (wchar_t *) data->d_buf + nulllen; 335 copystrings (st->root, &endp, ©len);
|
eblgstrtab.c | 323 char *endp; local 344 endp = (char *) data->d_buf + nulllen; 346 copystrings (st->root, &endp, ©len);
|
eblstrtab.c | 312 char *endp; local 333 endp = (char *) data->d_buf + nulllen; 335 copystrings (st->root, &endp, ©len);
|
/external/elfutils/libelf/ |
elf_begin.c | 760 char *endp; local 763 endp = (char *) memccpy (elf->state.ar.ar_name, ar_hdr->ar_name, 765 if (endp != NULL) 766 endp[-1] = '\0';
|
/external/icu4c/samples/coll/ |
coll.cpp | 112 char *endp; local 113 int i = strtol(argv[argNum], &endp, 0); 114 if (endp == argv[argNum]) {
|
/external/icu4c/samples/strsrch/ |
strsrch.cpp | 123 char *endp; local 124 int i = strtol(argv[argNum], &endp, 0); 125 if (endp == argv[argNum]) {
|
/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)
|
/dalvik/dexopt/ |
OptMain.c | 261 char* endp; \ 262 (_var) = _func(*++argv, &endp, 0); \ 263 if (*endp != '\0') { \ 428 char* endp; local
|
/dalvik/vm/ |
Ddm.c | 439 char* endp; local 440 *pUtime = strtoul(cp, &endp, 10); 441 if (endp == cp) 447 *pStime = strtoul(cp, &endp, 10); 448 if (endp == cp)
|
/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;
|
/external/qemu/ |
d3des.c | 126 register unsigned long *from, *endp; local 128 from = KnL, endp = &KnL[32]; 129 while( from < endp ) *into++ = *from++; 135 register unsigned long *to, *endp; local 137 to = KnL, endp = &KnL[32]; 138 while( to < endp ) *to++ = *from++;
|
/external/wpa_supplicant/ |
ctrl_iface_unix.c | 263 char *endp; local 316 gid = strtol(gid_str, &endp, 10); 317 if (*gid_str == '\0' || *endp != '\0') {
|