/glibc-2.36/nptl/ |
D | tst-clock2.c | 147 struct timespec diff; in do_test() local 149 diff.tv_sec = t[i].tv_sec - t[i + 1].tv_sec; in do_test() 150 diff.tv_nsec = t[i].tv_nsec - t[i + 1].tv_nsec; in do_test() 151 if (diff.tv_nsec < 0) in do_test() 153 diff.tv_nsec += 1000000000; in do_test() 154 --diff.tv_sec; in do_test() 157 if (diff.tv_sec < 0 || (diff.tv_sec == 0 && diff.tv_nsec < 100000000)) in do_test() 161 i, i + 1, (long int) diff.tv_sec, (long int) diff.tv_nsec); in do_test() 166 i, i + 1, (long int) diff.tv_sec, (long int) diff.tv_nsec); in do_test()
|
/glibc-2.36/nscd/ |
D | nscd_stat.c | 227 unsigned long int diff = data.runtime; in receive_print_stats() local 231 if (diff > 24 * 60 * 60) in receive_print_stats() 233 ndays = diff / (24 * 60 * 60); in receive_print_stats() 234 diff %= 24 * 60 * 60; in receive_print_stats() 236 if (diff > 60 * 60) in receive_print_stats() 238 nhours = diff / (60 * 60); in receive_print_stats() 239 diff %= 60 * 60; in receive_print_stats() 241 if (diff > 60) in receive_print_stats() 243 nmins = diff / 60; in receive_print_stats() 244 diff %= 60; in receive_print_stats() [all …]
|
/glibc-2.36/resolv/ |
D | ns_samedomain.c | 46 int diff, i, escaped; in ns_samedomain() local 98 diff = la - lb; in ns_samedomain() 105 if (diff < 2) in ns_samedomain() 113 if (a[diff - 1] != '.') in ns_samedomain() 121 for (i = diff - 2; i >= 0; i--) in ns_samedomain() 133 cp = a + diff; in ns_samedomain()
|
/glibc-2.36/sysdeps/aarch64/ |
D | strncmp.S | 41 #define diff x6 macro 92 eor diff, data1, data2 /* Non-zero if differences found. */ 93 csinv endloop, diff, xzr, hi /* Last Dword or differences. */ 101 orr syndrome, diff, has_nul 153 orr syndrome, diff, has_nul 259 eor diff, data1, data2 /* Non-zero if differences found. */ 261 csinv endloop, diff, xzr, hi /* If limit, set to all ones. */ 281 eor diff, data2, data1 /* Non-zero if differences found. */ 287 orr syndrome, diff, has_nul 296 eor diff, data2, data1 /* Non-zero if differences found. */ [all …]
|
D | strcmp.S | 41 #define diff x5 macro 94 eor diff, data1, data2 95 orr syndrome, diff, has_nul 179 eor diff, data1, data2 180 orr syndrome, diff, tmp 191 eor diff, data1, data2 192 orr syndrome, diff, has_nul
|
/glibc-2.36/htl/tests/ |
D | test-14.c | 35 int diff; in main() local 53 diff = after.tv_sec * 1000000 + after.tv_usec in main() 56 if (diff < 900000 || diff > 1100000) in main() 57 error (1, EGRATUITOUS, "pthread_mutex_timedlock waited %d us", diff); in main()
|
D | test-13.c | 38 int diff; in main() local 75 diff = after.tv_sec * 1000000 + after.tv_usec in main() 78 if (diff < 900000 || diff > 1100000) in main() 79 error (1, EGRATUITOUS, "pthread_cond_timedwait waited %d us", diff); in main()
|
D | test-15.c | 39 int diff; in test() local 59 diff = after.tv_sec * 1000000 + after.tv_usec in test() 62 if (diff < 900000 || diff > 1100000) in test() 63 error (1, EGRATUITOUS, "pthread_mutex_timedlock waited %d us", diff); in test()
|
/glibc-2.36/support/ |
D | timespec.c | 33 const struct timespec diff = timespec_sub (left, right); in test_timespec_before_impl() local 39 (intmax_t) diff.tv_sec, (intmax_t) diff.tv_nsec); in test_timespec_before_impl() 52 const struct timespec diff = timespec_sub (right, left); in test_timespec_equal_or_after_impl() local 58 (intmax_t) diff.tv_sec, (intmax_t) diff.tv_nsec); in test_timespec_equal_or_after_impl()
|
/glibc-2.36/string/ |
D | strverscmp.c | 76 int diff; in __strverscmp() local 77 while ((diff = c1 - c2) == 0) in __strverscmp() 80 return diff; in __strverscmp() 93 return diff; in __strverscmp() 100 return isdigit (*p2) ? -1 : diff; in __strverscmp()
|
/glibc-2.36/sysdeps/pthread/ |
D | posix-timer.h | 147 timespec_sub (struct timespec *diff, const struct timespec *left, in timespec_sub() argument 150 diff->tv_sec = left->tv_sec - right->tv_sec; in timespec_sub() 151 diff->tv_nsec = left->tv_nsec - right->tv_nsec; in timespec_sub() 153 if (diff->tv_nsec < 0) in timespec_sub() 155 --diff->tv_sec; in timespec_sub() 156 diff->tv_nsec += 1000000000; in timespec_sub()
|
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/ |
D | test-gettimebasefreq.c | 35 uint64_t t1, t2, f, diff; in do_test() local 52 diff = t2 - t1; in do_test() 54 diff = (MAX_TB - t2) + t1; in do_test() 57 printf ("Elapsed time = %1.2f usecs\n", (double) diff * 1000000 / f ); in do_test()
|
/glibc-2.36/benchtests/ |
D | bench-timing.h | 35 #define TIMING_DIFF(diff, start, end) HP_TIMING_DIFF ((diff), (start), (end)) argument 36 #define TIMING_ACCUM(sum, diff) HP_TIMING_ACCUM_NT ((sum), (diff)) argument
|
D | bench-arc4random.c | 73 struct timespec diff = timespec_sub (end, start); in bench_throughput() local 76 double duration = (double) diff.tv_sec in bench_throughput() 77 + (double) diff.tv_nsec / TIMESPEC_HZ; in bench_throughput() 115 struct timespec diff = timespec_sub (end, start); in bench_buf_throughput() local 118 double duration = (double) diff.tv_sec in bench_buf_throughput() 119 + (double) diff.tv_nsec / TIMESPEC_HZ; in bench_buf_throughput()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | s_roundevenl.c | 40 double diff = hi - xh; in __roundevenl() local 41 if (fabs (diff) == 0.5) in __roundevenl() 43 if (xl < 0 && diff > 0) in __roundevenl() 45 else if (xl > 0 && diff < 0) in __roundevenl()
|
/glibc-2.36/libio/ |
D | bug-ungetc.c | 33 long offset, diff; in do_test() local 52 diff = ftell (f) - offset; in do_test() 53 if (diff != 3) in do_test() 55 printf ("ftell did not update properly. got %ld, expected 3\n", diff); in do_test()
|
/glibc-2.36/nis/ |
D | nis_subr.c | 67 int diff; in libnsl_hidden_nolink_def() local 71 diff = strlen (name) - strlen (local_domain); in libnsl_hidden_nolink_def() 72 if (diff <= 0) in libnsl_hidden_nolink_def() 75 if (strcmp (&name[diff], local_domain) != 0) in libnsl_hidden_nolink_def() 78 if ((size_t) diff >= buflen) in libnsl_hidden_nolink_def() 84 *((char *) __mempcpy (buffer, name, diff - 1)) = '\0'; in libnsl_hidden_nolink_def() 86 if (diff - 1 == 0) in libnsl_hidden_nolink_def()
|
/glibc-2.36/ |
D | .clang-format | 31 # To format the current git diff inplace (-i) the follow command can 33 # $> git diff -U0 --no-color HEAD^ | clang-format-diff -i -p1 35 # To just view the diff clang-format would generate: 36 # $> git diff -U0 --no-color HEAD^ | clang-format-diff -p1 38 # NB: clang-format-diff, along with other clang-format related tools,
|
/glibc-2.36/debug/ |
D | backtracesymsfd.c | 58 size_t diff; in __backtrace_symbols_fd() local 82 diff = array[cnt] - info.dli_saddr; in __backtrace_symbols_fd() 87 diff = info.dli_saddr - array[cnt]; in __backtrace_symbols_fd() 92 iov[last].iov_base = _itoa_word ((unsigned long int) diff, in __backtrace_symbols_fd()
|
/glibc-2.36/stdio-common/ |
D | tst-errno-manual.py | 53 diff = set(eerr).difference(merr) 54 if not diff: 58 ", ".join(str(e) for e in diff))
|
/glibc-2.36/localedata/ |
D | sort-test.sh | 47 diff -u $cns.in ${common_objpfx}localedata/$cns.out | sed 's/^/ /' 67 diff -u $cns.in ${common_objpfx}localedata/$cns.xout | sed 's/^/ /' 68 diff -u $cns.in ${common_objpfx}localedata/$cns.nocache.xout | sed 's/^/ /'
|
/glibc-2.36/malloc/ |
D | arena.c | 583 grow_heap (heap_info *h, long diff) in grow_heap() argument 589 diff = ALIGN_UP (diff, pagesize); in grow_heap() 590 new_size = (long) h->size + diff; in grow_heap() 612 shrink_heap (heap_info *h, long diff) in shrink_heap() argument 616 new_size = (long) h->size - diff; in shrink_heap() 624 if ((char *) MMAP ((char *) h + new_size, diff, PROT_NONE, in shrink_heap() 631 __madvise ((char *) h + new_size, diff, MADV_DONTNEED); in shrink_heap()
|
/glibc-2.36/stdlib/ |
D | cmp.c | 40 goto diff; in mpn_cmp() 43 diff: in mpn_cmp()
|
/glibc-2.36/time/ |
D | strftime_l.c | 1357 int diff; in libc_hidden_def() local 1359 diff = tp->tm_gmtoff; in libc_hidden_def() 1362 diff = 0; in libc_hidden_def() 1402 diff = tm_diff (<m, >m); in libc_hidden_def() 1406 if (diff < 0) in libc_hidden_def() 1409 diff = -diff; in libc_hidden_def() 1414 diff /= 60; in libc_hidden_def() 1415 DO_NUMBER (4, (diff / 60) * 100 + diff % 60); in libc_hidden_def()
|
/glibc-2.36/io/ |
D | ftwtest-sh | 158 cat <<EOF | diff -u $testout - || exit 1 180 cat <<EOF | diff -u $testout - || exit 1 202 cat <<EOF | diff -u $testout - || exit 1 224 cat <<EOF | diff -u $testout - || exit 1 248 $catcmd <<EOF | diff -u $testout - || exit 1 273 $catcmd <<EOF | diff -u $testout - || exit 1
|