Searched refs:cur (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | ftw.cpp | 59 FTSENT* cur; in do_nftw() local 60 while (error == 0 && (cur = fts_read(fts)) != nullptr) { in do_nftw() 62 switch (cur->fts_info) { in do_nftw() 66 if (postorder || access(cur->fts_path, R_OK) == -1) continue; in do_nftw() 101 ftw.base = cur->fts_pathlen - cur->fts_namelen; in do_nftw() 102 ftw.level = cur->fts_level; in do_nftw() 103 error = nftw_fn(cur->fts_path, cur->fts_statp, fn_flag, &ftw); in do_nftw() 105 error = ftw_fn(cur->fts_path, cur->fts_statp, fn_flag); in do_nftw()
|
D | fts.c | 550 FTSENT *cur, *tail; in fts_build() local 559 cur = sp->fts_cur; in fts_build() 565 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build() 567 cur->fts_info = FTS_DNR; in fts_build() 568 cur->fts_errno = errno; in fts_build() 581 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); in fts_build() 589 (void)printf("nlinks == %d (cur: %u)\n", nlinks, cur->fts_nlink); in fts_build() 610 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build() 612 cur->fts_errno = errno; in fts_build() 613 cur->fts_flags |= FTS_DONTCHDIR; in fts_build() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_ntop.c | 105 struct { int base, len; } best, cur; in inet_ntop6() local 119 cur.base = -1; in inet_ntop6() 122 if (cur.base == -1) in inet_ntop6() 123 cur.base = i, cur.len = 1; in inet_ntop6() 125 cur.len++; in inet_ntop6() 127 if (cur.base != -1) { in inet_ntop6() 128 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 129 best = cur; in inet_ntop6() 130 cur.base = -1; in inet_ntop6() 134 if (cur.base != -1) { in inet_ntop6() [all …]
|
/bionic/libc/malloc_debug/ |
D | Config.cpp | 421 const char* cur = *options_str; in GetOption() local 423 while (isspace(*cur)) ++cur; in GetOption() 425 if (*cur == '\0') { in GetOption() 426 *options_str = cur; in GetOption() 430 const char* start = cur; in GetOption() 431 while (!isspace(*cur) && *cur != '=' && *cur != '\0') ++cur; in GetOption() 433 *option = std::string(start, cur - start); in GetOption() 436 while (isspace(*cur)) ++cur; in GetOption() 439 if (*cur == '=') { in GetOption() 440 ++cur; in GetOption() [all …]
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 591 struct addrinfo *cur; in android_getaddrinfofornetcontext() local 604 cur = &sentinel; in android_getaddrinfofornetcontext() 707 error = explore_null(pai, servname, &cur->ai_next); in android_getaddrinfofornetcontext() 710 &cur->ai_next); in android_getaddrinfofornetcontext() 715 while (cur->ai_next) in android_getaddrinfofornetcontext() 716 cur = cur->ai_next; in android_getaddrinfofornetcontext() 767 pai, hostname, servname, &cur->ai_next, netcontext); in android_getaddrinfofornetcontext() 769 while (cur && cur->ai_next) in android_getaddrinfofornetcontext() 770 cur = cur->ai_next; in android_getaddrinfofornetcontext() 804 struct addrinfo *cur; in explore_fqdn() local [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 250 if (ctx->cur != NULL && in evClearTimer() 251 ctx->cur->type == Timer && in evClearTimer() 252 ctx->cur->u.timer.this == del) { in evClearTimer() 478 evTimer *cur = what; in print_timer() local 481 cur = what; in print_timer() 484 cur->func, cur->uap, in print_timer() 485 (long)cur->due.tv_sec, cur->due.tv_nsec, in print_timer() 486 (long)cur->inter.tv_sec, cur->inter.tv_nsec); in print_timer()
|
D | eventlib_p.h | 217 const evEvent_p *cur; member
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 162 stepback(const char *start, const char *cur, int nchar) in stepback() argument 173 ret = cur; in stepback() 191 return (cur - nchar) > start ? cur - nchar : NULL; in stepback()
|