Searched refs:cur (Results 1 – 7 of 7) 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 | 555 FTSENT *cur, *tail; in fts_build() local 564 cur = sp->fts_cur; in fts_build() 570 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build() 572 cur->fts_info = FTS_DNR; in fts_build() 573 cur->fts_errno = errno; in fts_build() 586 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); in fts_build() 594 (void)printf("nlinks == %d (cur: %u)\n", nlinks, cur->fts_nlink); in fts_build() 615 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build() 617 cur->fts_errno = errno; in fts_build() 618 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 | 333 const char* cur = *options_str; in GetOption() local 335 while (isspace(*cur)) ++cur; in GetOption() 337 if (*cur == '\0') { in GetOption() 338 *options_str = cur; in GetOption() 342 const char* start = cur; in GetOption() 343 while (!isspace(*cur) && *cur != '=' && *cur != '\0') ++cur; in GetOption() 345 *option = std::string(start, cur - start); in GetOption() 348 while (isspace(*cur)) ++cur; in GetOption() 351 if (*cur == '=') { in GetOption() 352 ++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
|