Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 18 of 18) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-cpuclock1.c151 if (diff.tv_nsec < 0) in do_test()
153 --diff.tv_sec; in do_test()
154 diff.tv_nsec += 1000000000; in do_test()
156 if (diff.tv_sec != 0 in do_test()
157 || diff.tv_nsec > 600000000 in do_test()
161 diff.tv_sec, diff.tv_nsec); in do_test()
231 if (diff.tv_nsec < 0) in do_test()
233 --diff.tv_sec; in do_test()
234 diff.tv_nsec += 1000000000; in do_test()
236 if (diff.tv_sec != 0 || diff.tv_nsec > 200000000) in do_test()
[all …]
A Dtst-clock2.c148 struct timespec diff; in do_test() local
150 diff.tv_sec = t[i].tv_sec - t[i + 1].tv_sec; in do_test()
151 diff.tv_nsec = t[i].tv_nsec - t[i + 1].tv_nsec; in do_test()
152 if (diff.tv_nsec < 0) in do_test()
154 diff.tv_nsec += 1000000000; in do_test()
155 --diff.tv_sec; in do_test()
158 if (diff.tv_sec < 0 || (diff.tv_sec == 0 && diff.tv_nsec < 100000000)) in do_test()
162 i, i + 1, (long int) diff.tv_sec, (long int) diff.tv_nsec); in do_test()
167 i, i + 1, (long int) diff.tv_sec, (long int) diff.tv_nsec); in do_test()
A Dtst-cpuclock2.c65 while (diff.tv_nsec < 0) in tsdiff()
67 --diff.tv_sec; in tsdiff()
68 diff.tv_nsec += 1000000000; in tsdiff()
70 return diff.tv_sec * 1000000000ULL + diff.tv_nsec; in tsdiff()
101 unsigned long long int diff = tsdiff (before, &after); in test_nanosleep() local
102 if (diff < sleeptime.tv_nsec || diff > sleeptime.tv_nsec * 2) in test_nanosleep()
105 which, diff); in test_nanosleep()
107 return diff; in test_nanosleep()
124 return diff; in test_nanosleep()
133 return diff; in test_nanosleep()
[all …]
/l4re-core-master/l4sys/include/
A Dkernel_object.h66 l4_kobject_dec_refcnt_u(l4_cap_idx_t obj, l4_mword_t diff, l4_utcb_t *u) L4_NOTHROW;
69 l4_kobject_dec_refcnt(l4_cap_idx_t obj, l4_mword_t diff) L4_NOTHROW;
72 l4_kobject_dec_refcnt_u(l4_cap_idx_t obj, l4_mword_t diff, l4_utcb_t *u) L4_NOTHROW in l4_kobject_dec_refcnt_u() argument
76 m->mr[1] = diff; in l4_kobject_dec_refcnt_u()
81 l4_kobject_dec_refcnt(l4_cap_idx_t obj, l4_mword_t diff) L4_NOTHROW in l4_kobject_dec_refcnt() argument
83 return l4_kobject_dec_refcnt_u(obj, diff, l4_utcb()); in l4_kobject_dec_refcnt()
A D__typeinfo.h884 l4_msgtag_t dec_refcnt(l4_mword_t diff, l4_utcb_t *utcb = l4_utcb())
885 noexcept(noexcept(((Base1*)0)->dec_refcnt(diff, utcb)))
886 { return Base1::dec_refcnt(diff, utcb); }
998 l4_msgtag_t dec_refcnt(l4_mword_t diff, l4_utcb_t *utcb = l4_utcb())
999 noexcept(noexcept(((Base1*)0)->dec_refcnt(diff, utcb)))
1000 { return Base1::dec_refcnt(diff, utcb); }
1144 l4_msgtag_t dec_refcnt(l4_mword_t diff, l4_utcb_t *utcb = l4_utcb())
1145 noexcept(noexcept(((typename Base1<BASES...>::type *)0)->dec_refcnt(diff, utcb)))
1146 { return Base1<BASES...>::type::dec_refcnt(diff, utcb); }
A Dkobject94 * \param diff The delta that shall be subtracted from the reference count.
110 l4_msgtag_t dec_refcnt(l4_mword_t diff, l4_utcb_t *utcb = l4_utcb())
111 { return l4_kobject_dec_refcnt_u(cap(), diff, utcb); }
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/pthread/
A Dposix-timer.h154 timespec_sub (struct timespec *diff, const struct timespec *left, in timespec_sub() argument
157 diff->tv_sec = left->tv_sec - right->tv_sec; in timespec_sub()
158 diff->tv_nsec = left->tv_nsec - right->tv_nsec; in timespec_sub()
160 if (diff->tv_nsec < 0) in timespec_sub()
162 --diff->tv_sec; in timespec_sub()
163 diff->tv_nsec += 1000000000; in timespec_sub()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/pthread/
A Dposix-timer.h161 timespec_sub (struct timespec *diff, const struct timespec *left, in timespec_sub() argument
164 diff->tv_sec = left->tv_sec - right->tv_sec; in timespec_sub()
165 diff->tv_nsec = left->tv_nsec - right->tv_nsec; in timespec_sub()
167 if (diff->tv_nsec < 0) in timespec_sub()
169 --diff->tv_sec; in timespec_sub()
170 diff->tv_nsec += 1000000000; in timespec_sub()
/l4re-core-master/uclibc/lib/uclibc/
A Dmake_diff.sh3 diff -u $i ../contrib/uclibc/$i
4 done > diff.txt
6 find . -type f | grep -v "\/.svn\/" | grep -v "\.keep$" | grep -v "~$" | grep "\.[ch]$" > diff.lst
/l4re-core-master/uclibc/lib/contrib/uclibc/libubacktrace/
A Dbacktracesymsfd.c69 size_t diff; in backtrace_symbols_fd() local
78 diff = array[cnt] - info.dli_saddr; in backtrace_symbols_fd()
81 diff = info.dli_saddr - array[cnt]; in backtrace_symbols_fd()
87 len = snprintf(buf2, sizeof(buf2), "%lx", (unsigned long) diff); in backtrace_symbols_fd()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/
A Dstrverscmp.c55 int diff; in strverscmp() local
91 while ((diff = c1 - c2) == 0 && c1 != '\0') in strverscmp()
104 return diff; in strverscmp()
111 return isdigit (*p2) ? -1 : diff; in strverscmp()
/l4re-core-master/uclibc/lib/contrib/uclibc/
A D.gitignore37 /*.diff
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/sparc/soft-fp/
A Dop-common.h691 int diff; \
696 _FP_FRAC_CLZ_##wc(diff, R); \
697 diff -= _FP_WFRACXBITS_##fs; \
698 _FP_FRAC_SLL_##wc(R, diff); \
699 if (R##_e <= diff) \
702 diff = diff - R##_e + 1; \
703 _FP_FRAC_SRS_##wc(R, diff, _FP_WFRACBITS_##fs); \
708 R##_e -= diff; \
/l4re-core-master/uclibc/lib/contrib/uclibc/test/API/
A DMakefile.in26 exec diff -u "$(glibc_out)" "$(uclibc_out)"
/l4re-core-master/uclibc/lib/contrib/uclibc/test/
A DTest.mak57 …test -e "$$x.good" && $(do_showdiff) "$(binary_name).out" "$$x.good" && exec diff -u "$(binary_nam…
67 exec diff -u "$$uclibc_out" "$$glibc_out"
/l4re-core-master/lua/lib/contrib/src/
A Dlapi.c177 ptrdiff_t diff; /* difference for new top */ in lua_settop() local
183 diff = ((func + 1) + idx) - L->top; in lua_settop()
184 for (; diff > 0; diff--) in lua_settop()
189 diff = idx + 1; /* will "subtract" index (as it is negative) */ in lua_settop()
192 newtop = L->top + diff; in lua_settop()
193 if (diff < 0 && L->tbclist >= newtop) { in lua_settop()
/l4re-core-master/uclibc/lib/contrib/uclibc/docs/
A Dpthreads_hacking.txt7 # The resulting diff is suspiciously large.
23 diff -u uclibc.lst glibc.lst >ug.diff
51 ug.diff from vda's system is below.
/l4re-core-master/uclibc/lib/contrib/uclibc/test/math/
A Dlibm-test.inc465 FLOAT diff = 0;
522 "\n", diff, diff);
580 int diff = computed - expected;
585 if (abs (diff) <= max_ulp)
589 print_ulps (test_name, diff);
611 long int diff = computed - expected;
616 if (labs (diff) <= max_ulp)
620 print_ulps (test_name, diff);
676 if (llabs (diff) <= max_ulp)
680 print_ulps (test_name, diff);
[all …]

Completed in 32 milliseconds