Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eggert/tz
/ functions
Functions
241 in github.com/eggert/tz
⨍
Functions
241
◇
Types & classes
35
↓ 59 callers
Function
error
zic.c:724
↓ 31 callers
Function
warning
zic.c:734
↓ 18 callers
Function
_conv
strftime.c:661
↓ 14 callers
Function
_add
strftime.c:670
↓ 13 callers
Function
check_for_signal
If a signal has arrived, terminate zic with appropriate status. */
zic.c:1134
↓ 13 callers
Function
localtime_rz
zdump.c:209
↓ 13 callers
Function
mempcpy
private.h:851
↓ 11 callers
Function
oadd
Return T1 + T2, but diagnose any overflow and exit. */
zic.c:4067
↓ 10 callers
Function
abbr
zdump.c:1107
↓ 10 callers
Function
detzcode
localtime.c:657
↓ 10 callers
Function
tadd
Return T1 + T2, but diagnose any overflow and exit. This is like oadd, except the result must fit in min_time..max_time range, which on oddball
zic.c:4085
↓ 10 callers
Function
xstrdup
zic.c:636
↓ 9 callers
Function
eat
zic.c:699
↓ 9 callers
Function
lowerit
If A is an uppercase character in the C locale, return its lowercase counterpart. Otherwise, return A. */
zic.c:3910
↓ 8 callers
Function
byword
zic.c:3967
↓ 8 callers
Function
doabbr
zic.c:3121
↓ 8 callers
Function
getnum
localtime.c:1392
↓ 8 callers
Function
leapcount
localtime.c:520
↓ 7 callers
Function
convert
zic.c:2559
↓ 7 callers
Function
duplicate_options
zic.c:848
↓ 7 callers
Function
increment_overflow_time
localtime.c:2526
↓ 7 callers
Function
show
zdump.c:785
↓ 7 callers
Function
sumsize
Return A + B, exiting if the result would overflow either ptrdiff_t or size_t. A and B are both nonnegative. */
zdump.c:126
↓ 7 callers
Function
want_bloat
zic.c:1220
↓ 7 callers
Function
xmalloc
zic.c:624
↓ 6 callers
Function
addtype
zic.c:3779
↓ 6 callers
Function
close_file
Close STREAM. If it had an I/O error, report it against DIR/NAME, remove TEMPNAME if nonnull, and then exit. If TEMPNAME is nonnull, and if r
zic.c:826
↓ 6 callers
Function
diagdir
For diagnostics the directory, and file name relative to that directory, respectively. A diagnostic routine can name FILENAME by outputting dia
zic.c:1600
↓ 6 callers
Function
diagslash
zic.c:1605
↓ 6 callers
Function
eats
zic.c:690
↓ 6 callers
Function
errensure
date.c:145
↓ 6 callers
Function
growalloc
zic.c:660
↓ 5 callers
Function
_yconv
strftime.c:686
↓ 5 callers
Function
get_monotonic_time
If tz_change_interval is positive, return the current time as a monotonically nondecreasing value. Otherwise the return value does not matter.
localtime.c:1963
↓ 5 callers
Function
lock
Get a lock. Return 0 on success, a positive errno value on failure, negative if known to be single-threaded so no lock is needed. */
localtime.c:130
↓ 5 callers
Function
omul
Return T1 * T2, but diagnose any overflow and exit. */
zic.c:4096
↓ 5 callers
Function
puttzcode
zic.c:2581
↓ 5 callers
Function
puttzcodepass
zic.c:2590
↓ 5 callers
Function
set_leapcount
localtime.c:529
↓ 5 callers
Function
strnlen
private.h:224
↓ 5 callers
Function
tzset_unlocked
Like tzset(), but in a critical section. If THREADED && THREAD_RWLOCK the caller has a read lock, and this function might upgrade it to a write
localtime.c:1887
↓ 5 callers
Function
unlock
localtime.c:137
↓ 5 callers
Function
updateminmax
zic.c:3159
↓ 4 callers
Function
addtt
zic.c:3769
↓ 4 callers
Function
filename
Return the name of the Ith input file, for diagnostics. */
zic.c:679
↓ 4 callers
Function
gethms
zic.c:2059
↓ 4 callers
Function
gmtcheck
localtime.c:2000
↓ 4 callers
Function
init_ttinfo
Initialize *S to a value based on UTOFF, ISDST, and DESIGIDX. */
localtime.c:637
↓ 4 callers
Function
is_digit
Is C an ASCII digit? */
localtime.c:1342
↓ 4 callers
Function
leaps_thru_end_of
localtime.c:2323
↓ 4 callers
Function
mkdirs
Ensure that the directories of ARGNAME exist, by making any missing ones. If ANCESTORS, do this only for ARGNAME's ancestors; otherwise, do it
zic.c:4260
↓ 4 callers
Function
my_gmtime_r
Convert *TP to UT, storing the broken-down time into *TMP. Return TMP if successful, NULL otherwise. This is like gmtime_r(TP, TMP), except typ
zdump.c:317
↓ 4 callers
Function
random_dirent
Generate a randomish name in the same directory as *NAME. If *NAMEALLOC, put the name into *NAMEALLOC which is assumed to be that returned by a
zic.c:1549
↓ 4 callers
Function
rpytime
zic.c:4119
↓ 4 callers
Function
size_overflow
zdump.c:117
↓ 4 callers
Function
size_sum
zic.c:568
↓ 4 callers
Function
time
localtime.c:3148
↓ 4 callers
Function
tzset
zdump.c:158
↓ 4 callers
Function
usage
date.c:152
↓ 4 callers
Function
xmalloc
Return a pointer to a newly allocated buffer of size SIZE, exiting on failure. SIZE should be positive. */
zdump.c:144
↓ 3 callers
Function
addabbr
Put into CHS, which currently contains *PNCHS bytes containing NUL-terminated abbreviations none of which are suffixes of another, the abbreviat
zic.c:4223
↓ 3 callers
Function
arg2num
Convert ARG, a string in base BASE, to an unsigned long value no greater than MAXVAL. On failure, diagnose with MSGID and exit. */
zic.c:747
↓ 3 callers
Function
dolink
zic.c:1729
↓ 3 callers
Function
getoffset
localtime.c:1462
↓ 3 callers
Function
increment_overflow
localtime.c:2462
↓ 3 callers
Function
is_space
Is A a space character in the C locale? */
zic.c:3878
↓ 3 callers
Function
issetugid
Return 1 if the process is privileged, 0 otherwise. */
localtime.c:352
↓ 3 callers
Function
localtime
localtime.c:2227
↓ 3 callers
Function
memcheck
zic.c:616
↓ 3 callers
Function
memory_exhausted
zic.c:555
↓ 3 callers
Function
saveabbr
Return a time zone abbreviation. If the abbreviation needs to be saved, use *BUF (of size *BUFALLOC) to save it, and return the abbreviation in
zdump.c:354
↓ 3 callers
Function
showtrans
Show a time transition. */
zdump.c:1085
↓ 3 callers
Function
strftime
strftime.c:184
↓ 3 callers
Function
stringoffset
zic.c:3168
↓ 3 callers
Function
tformat
zdump.c:1126
↓ 3 callers
Function
time1
localtime.c:2840
↓ 3 callers
Function
time_overflow
zic.c:4059
↓ 3 callers
Function
tm_multi
Return TMP, or a thread-specific struct tm * selected by WHICH. */
localtime.c:2173
↓ 3 callers
Function
tmcomp
localtime.c:2555
↓ 3 callers
Function
ttunspecified
Return true if SP's time type I does not specify local time. */
localtime.c:649
↓ 3 callers
Function
tzalloc
zdump.c:220
↓ 3 callers
Function
tzparse
localtime.c:1631
↓ 3 callers
Function
usage
zic.c:855
↓ 3 callers
Function
utoff_diff
Return A - B, where both are in the range -2**31 + 1 .. 2**31 - 1. The result cannot overflow. */
localtime.c:2548
↓ 3 callers
Function
zoneinit
Initialize *SP to a value appropriate for the TZ setting NAME. Respect TZLOADFLAGS. Return 0 on success, an errno value on failure. */
localtime.c:1841
↓ 2 callers
Function
adjusted_yday
Return A->tm_yday, adjusted to compare it fairly to B->tm_yday. Assume A and B differ by at most one year. */
zdump.c:744
↓ 2 callers
Function
asctime_r
asctime.c:64
↓ 2 callers
Function
ciprefix
zic.c:3955
↓ 2 callers
Function
close_file
zdump.c:375
↓ 2 callers
Function
componentcheck
zic.c:1413
↓ 2 callers
Function
delta
zdump.c:733
↓ 2 callers
Function
delta_nonneg
zdump.c:714
↓ 2 callers
Function
detzcode64
localtime.c:678
↓ 2 callers
Function
dminus
Return -X as a double. Using this avoids casting to 'double'. */
difftime.c:13
↓ 2 callers
Function
dounlock
localtime.c:121
↓ 2 callers
Function
dumptime
zdump.c:1166
↓ 2 callers
Function
format_quoted_string
Store into BUF (of size SIZE) a quoted string representation of P. If the representation's length is less than SIZE, return the length; the repr
zdump.c:965
↓ 2 callers
Function
getleapdatetime
zic.c:2297
↓ 2 callers
Function
getqzname
localtime.c:1375
↓ 2 callers
Function
getrule
localtime.c:1488
next →
1–100 of 241, ranked by callers