glibc/string
Adhemerval Zanella f9a7554009 Change most internal uses of time to __clock_gettime.
As for gettimeofday, time will be implemented based on clock_gettime
on all platforms and internal code should use clock_gettime
directly.  In addition to removing a layer of indirection, this will
allow us to remove the PLT-bypass gunk for gettimeofday.

The changed code always assumes __clock_gettime (CLOCK_REALTIME)
or __clock_gettime (CLOCK_REALTIME_COARSE) (for Linux case) cannot
fail, using the same rationale for gettimeofday change.  And internal
helper was added (time_now).

Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
powerpc64-linux-gnu, and powerpc-linux-gnu.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2019-10-30 17:11:10 -03:00
..
bits Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
_strerror.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-addsep.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-append.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-count.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-create.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-ctsep.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-delete.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-extract.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-insert.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-next.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-replace.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz-stringify.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
argz.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
basename.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bcopy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bug-envz1.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
bug-strcoll1.c
bug-strcoll2.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bug-strncat1.c Fix string/bug-strncat1.c build with GCC 8. 2017-11-14 17:50:36 +00:00
bug-strpbrk1.c Fix bug-strspn1.c, bug-strpbrk1.c build with GCC mainline. 2018-06-20 22:18:22 +00:00
bug-strspn1.c Fix bug-strspn1.c, bug-strpbrk1.c build with GCC mainline. 2018-06-20 22:18:22 +00:00
bug-strtok1.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
byteswap.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
bzero.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Depend
endian.h string/endian.h: Restore the __USE_MISC conditionals 2019-10-02 12:26:06 -07:00
envz.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
envz.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
explicit_bzero.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ffs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ffsll.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
inl-tester.c
Makefile Split up endian.h to minimize exposure of BYTE_ORDER. 2019-10-01 14:54:46 -07:00
memccpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memcmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memfrob.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memmem.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memmove.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memory.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mempcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memrchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
memset.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
noinl-tester.c
rawmemchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stpcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stpncpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
str-two-way.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stratcliff.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcasecmp_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcasecmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcasestr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strchrnul.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcoll_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcoll.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strcspn.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strdup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strerror_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strerror.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strfry.c Change most internal uses of time to __clock_gettime. 2019-10-30 17:11:10 -03:00
string-inlines.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
string.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strings.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strlen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strncase_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strncase.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strncat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strncmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strncpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strndup.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strnlen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strpbrk.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strrchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strsep.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strsignal.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strspn.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strstr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strtok_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strtok.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strverscmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strxfrm_l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
strxfrm.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
swab.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-bcopy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-bzero.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-endian-file-scope.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-endian-sign-conversion.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-endian-types.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-explicit_bzero.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-ffs.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memccpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memcmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memmem.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memmove.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-mempcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memrchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-memset.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-rawmemchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-stpcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-stpncpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strcasecmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strcasestr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strcat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strchrnul.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strcmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strcpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strcspn.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strerror-errno.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-string.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strlen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strncasecmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strncat.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strncmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strncpy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strnlen.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strpbrk.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strrchr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strspn.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
test-strstr.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
testcopy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tester.c Disable warnings in string/tester.c at top level. 2019-10-02 17:26:14 +00:00
tst-bswap.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-cmp.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-endian.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-inlcall.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-strcoll-overflow.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-strfry.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-strlen.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-strtok_r.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
tst-strtok.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-strxfrm2.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-strxfrm.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-svc2.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-svc.c Update string tests to use the support test driver. 2017-03-23 11:32:29 -03:00
tst-svc.expect
tst-svc.input
tst-xbzero-opt.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
Versions
wordcopy.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
xpg-strerror.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00