/glibc-2.36/elf/ |
D | dl-tunables.c | 96 do_tunable_update_val (tunable_t *cur, const tunable_val_t *valp, in do_tunable_update_val() argument 102 if (cur->type.type_code == TUNABLE_TYPE_STRING) in do_tunable_update_val() 104 cur->val.strval = valp->strval; in do_tunable_update_val() 105 cur->initialized = true; in do_tunable_update_val() 109 bool unsigned_cmp = unsigned_tunable_type (cur->type.type_code); in do_tunable_update_val() 112 min = minp != NULL ? *minp : cur->type.min; in do_tunable_update_val() 113 max = maxp != NULL ? *maxp : cur->type.max; in do_tunable_update_val() 116 if (tunable_val_lt (min, cur->type.min, unsigned_cmp)) in do_tunable_update_val() 117 min = cur->type.min; in do_tunable_update_val() 119 if (tunable_val_gt (max, cur->type.max, unsigned_cmp)) in do_tunable_update_val() [all …]
|
/glibc-2.36/hurd/ |
D | report-wait.c | 118 char *cur = description; in weak_extern() local 123 cur = __stpncpy (cur, "msgport", limit - cur); in weak_extern() 125 cur = __stpncpy (cur, "itimer", limit - cur); in weak_extern() 142 cur = __stpncpy (cur, "sigsuspend", limit - cur); in weak_extern() 180 if (cur < limit) in weak_extern() 181 *cur++ = '['; in weak_extern() 182 cur = describe_port (cur, send_port, limit - cur); in weak_extern() 183 if (cur < limit) in weak_extern() 184 *cur++ = ']'; in weak_extern() 187 cur = describe_port (cur, send_port, limit - cur); in weak_extern() [all …]
|
/glibc-2.36/benchtests/ |
D | bench-pthread-locks.c | 89 timing_t start, stop, cur; in test_mutex() local 101 TIMING_DIFF (cur, start, stop); in test_mutex() 103 return cur; in test_mutex() 109 timing_t start, stop, cur; in test_mutex_trylock() local 121 TIMING_DIFF (cur, start, stop); in test_mutex_trylock() 124 return cur; in test_mutex_trylock() 130 timing_t start, stop, cur; in test_rwlock_read() local 142 TIMING_DIFF (cur, start, stop); in test_rwlock_read() 144 return cur; in test_rwlock_read() 150 timing_t start, stop, cur; in test_rwlock_tryread() local [all …]
|
D | bench-skeleton.c | 73 uint64_t cur; in main() local 87 TIMING_DIFF (cur, start, end); in main() 88 TIMING_ACCUM (throughput, cur); in main() 95 TIMING_DIFF (cur, start, end); in main() 96 TIMING_ACCUM (latency, cur); in main() 108 TIMING_DIFF (cur, start, end); in main() 110 if (cur > max) in main() 111 max = cur; in main() 113 if (cur < min) in main() 114 min = cur; in main() [all …]
|
D | bench-hash-funcs-kernel.h | 43 timing_t start, stop, cur; in CAT() local 55 TIMING_DIFF (cur, start, stop); in CAT() 58 return (double) cur / (double) NFIXED_ITERS; in CAT() 67 timing_t start, stop, cur; in CAT() local 83 TIMING_DIFF (cur, start, stop); in CAT() 86 return (double) cur / (double) (NRAND_ITERS * NRAND_BUFS); in CAT()
|
D | bench-arc4random.c | 85 timing_t start, stop, cur; in bench_latency() local 93 TIMING_DIFF (cur, start, stop); in bench_latency() 95 return (double) (cur) / (double) iters; in bench_latency() 127 timing_t start, stop, cur; in bench_buf_latency() local 137 TIMING_DIFF (cur, start, stop); in bench_buf_latency() 139 return (double) (cur) / (double) iters; in bench_buf_latency()
|
D | bench-strchr.c | 102 timing_t start, stop, cur; in do_one_rand_plus_branch_test() local 116 TIMING_DIFF (cur, start, stop); in do_one_rand_plus_branch_test() 118 json_element_double (json_ctx, (double)cur / (double)iters); in do_one_rand_plus_branch_test() 126 timing_t start, stop, cur; in do_one_rand_test() local 134 TIMING_DIFF (cur, start, stop); in do_one_rand_test() 136 json_element_double (json_ctx, (double)cur / (double)iters); in do_one_rand_test() 214 timing_t start, stop, cur; in do_one_test() local 231 TIMING_DIFF (cur, start, stop); in do_one_test() 233 json_element_double (json_ctx, (double)cur / (double)iters); in do_one_test()
|
D | bench-strtod.c | 96 timing_t start, stop, cur; in do_bench() local 104 TIMING_DIFF (cur, start, stop); in do_bench() 105 TIMING_PRINT_MEAN ((double) cur, (double) iters); in do_bench()
|
D | bench-memset-large.c | 39 timing_t start, stop, cur; in do_one_test() local 48 TIMING_DIFF (cur, start, stop); in do_one_test() 50 json_element_double (json_ctx, (double) cur / (double) iters); in do_one_test()
|
D | bench-memcpy-walk.c | 51 timing_t start, stop, cur; in do_one_test() local 62 TIMING_DIFF (cur, start, stop); in do_one_test() 65 json_element_double (json_ctx, (double) cur / i); in do_one_test()
|
D | bench-strcoll.c | 183 timing_t start, stop, cur; in bench_list() local 195 TIMING_DIFF (cur, start, stop); in bench_list() 197 json_attr_double (json_ctx, "duration", cur); in bench_list() 199 json_attr_double (json_ctx, "mean", (double) cur / i); in bench_list()
|
/glibc-2.36/resolv/ |
D | inet_ntop.c | 109 struct { int base, len; } best, cur; in inet_ntop6() local 122 cur.base = -1; in inet_ntop6() 124 cur.len = 0; in inet_ntop6() 127 if (cur.base == -1) in inet_ntop6() 128 cur.base = i, cur.len = 1; in inet_ntop6() 130 cur.len++; in inet_ntop6() 132 if (cur.base != -1) { in inet_ntop6() 133 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 134 best = cur; in inet_ntop6() 135 cur.base = -1; in inet_ntop6() [all …]
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | msync.c | 36 vm_address_t cur = (vm_address_t) addr; in msync() local 37 vm_address_t target = cur + length; in msync() 50 while (cur < target) in msync() 52 vm_address_t begin = cur; in msync() 61 if (begin > cur) in msync() 64 cur = begin; in msync() 66 if (cur >= target) in msync() 80 err = __vm_object_sync (obj, cur - begin + offset, sync_len, in msync() 90 cur = begin + len; in msync()
|
D | f_setlk.c | 52 __off64_t cur = __lseek64 (fd, 0, SEEK_CUR); in __f_setlk() local 54 if (cur >= 0) in __f_setlk() 56 start = cur + start; in __f_setlk()
|
/glibc-2.36/nscd/ |
D | nscd_helper.c | 403 struct mapped_database *cur = mapptr->mapped; in __nscd_get_map_ref() local 404 if (cur == NO_MAPPING) in __nscd_get_map_ref() 405 return cur; in __nscd_get_map_ref() 410 cur = mapptr->mapped; in __nscd_get_map_ref() 412 if (__glibc_likely (cur != NO_MAPPING)) in __nscd_get_map_ref() 415 if (cur == NULL in __nscd_get_map_ref() 416 || (cur->head->nscd_certainly_running == 0 in __nscd_get_map_ref() 417 && cur->head->timestamp + MAPPING_TIMEOUT < time_now ()) in __nscd_get_map_ref() 418 || cur->head->data_size > cur->datasize) in __nscd_get_map_ref() 419 cur = __nscd_get_mapping (type, name, in __nscd_get_map_ref() [all …]
|
/glibc-2.36/stdlib/ |
D | exit.c | 56 struct exit_function_list *cur = *listp; in __run_exit_handlers() local 58 if (cur == NULL) in __run_exit_handlers() 66 while (cur->idx > 0) in __run_exit_handlers() 68 struct exit_function *const f = &cur->fns[--cur->idx]; in __run_exit_handlers() 124 *listp = cur->next; in __run_exit_handlers() 128 free (cur); in __run_exit_handlers()
|
D | cxa_thread_atexit_impl.c | 152 struct dtor_list *cur = tls_dtor_list; in __call_tls_dtors() local 153 dtor_func func = cur->func; in __call_tls_dtors() 159 func (cur->obj); in __call_tls_dtors() 165 atomic_fetch_add_release (&cur->map->l_tls_dtor_count, -1); in __call_tls_dtors() 166 free (cur); in __call_tls_dtors()
|
/glibc-2.36/io/ |
D | fts.c | 614 FTSENTRY *cur, *tail; in fts_build() local 623 cur = sp->fts_cur; in fts_build() 637 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) { in fts_build() 639 cur->fts_info = FTS_DNR; in fts_build() 640 cur->fts_errno = errno; in fts_build() 655 nlinks = cur->fts_nlink - (ISSET(FTS_SEEDOT) ? 0 : 2); in fts_build() 663 (void)printf("nlinks == %d (cur: %d)\n", nlinks, cur->fts_nlink); in fts_build() 684 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build() 686 cur->fts_errno = errno; in fts_build() 687 cur->fts_flags |= FTS_DONTCHDIR; in fts_build() [all …]
|
/glibc-2.36/dirent/ |
D | tst-seekdir.c | 10 long int cur; in do_test() local 51 cur = telldir (dirp); in do_test() 52 if (cur != save3) in do_test() 54 printf ("seekdir (d, %ld); telldir (d) == %ld\n", save3, cur); in do_test()
|
/glibc-2.36/string/ |
D | strxfrm_l.c | 147 const USTRING_TYPE *cur = usrc; in do_xfrm() local 152 int position = find_position (cur, l_data, pass); in do_xfrm() 156 while (*cur != L('\0')) in do_xfrm() 158 const USTRING_TYPE *pos = cur; in do_xfrm() 159 size_t len = find_idx (&cur, &weight_idx, &rule_idx, l_data, in do_xfrm() 232 while (*cur != L('\0')) in do_xfrm() 234 const USTRING_TYPE *pos = cur; in do_xfrm() 235 size_t len = find_idx (&cur, &weight_idx, &rule_idx, l_data, in do_xfrm() 717 const USTRING_TYPE *cur = usrc; in STRXFRM() local 723 int32_t tmp = findidx (l_data.table, l_data.indirect, l_data.extra, &cur, in STRXFRM() [all …]
|
/glibc-2.36/iconv/ |
D | iconv_charmap.c | 430 struct convtable *cur = tbl; in process_block() local 436 while (! is_term (cur, byte)) in process_block() 437 if (cur->val[byte].sub == NULL) in process_block() 454 cur = tbl; in process_block() 458 cur = cur->val[byte].sub; in process_block() 471 out = cur->val[byte].out; in process_block()
|
/glibc-2.36/scripts/ |
D | glibc_shared_code.py | 41 cur = line[:-1] 42 projects[cur] = [] 44 projects[cur].append(line)
|
/glibc-2.36/sysdeps/x86_64/fpu/ |
D | bench-libmvec-skeleton.c | 74 timing_t cur; in main() local 82 TIMING_DIFF (cur, start, end); in main() 84 TIMING_ACCUM (d_total_time, cur); in main()
|
/glibc-2.36/nptl/ |
D | nptl_setxid.c | 233 int cur = cmdp->cntr; in __nptl_setxid() local 234 while (cur != 0) in __nptl_setxid() 236 futex_wait_simple ((unsigned int *) &cmdp->cntr, cur, in __nptl_setxid() 238 cur = cmdp->cntr; in __nptl_setxid()
|
/glibc-2.36/posix/ |
D | glob.c | 1297 size_t cur = 0; in glob_in_dir() local 1418 if (cur == names->count) in glob_in_dir() 1437 cur = 0; in glob_in_dir() 1439 names->name[cur] = strdup (d.name); in glob_in_dir() 1440 if (names->name[cur] == NULL) in glob_in_dir() 1442 ++cur; in glob_in_dir() 1455 names->name[cur] = malloc (len + 1); in glob_in_dir() 1456 if (names->name[cur] == NULL) in glob_in_dir() 1458 *((char *) mempcpy (names->name[cur++], pattern, len)) = '\0'; in glob_in_dir() 1482 for (size_t i = 0; i < cur; ++i) in glob_in_dir() [all …]
|