Lines Matching +defs:string +defs:h
15 #include "version.h"
16 #include "private.h"
17 #include "tzdir.h"
18 #include "tzfile.h"
20 #include <fcntl.h>
21 #include <locale.h>
22 #include <signal.h>
23 #include <stdarg.h>
24 #include <stdio.h>
45 # include <direct.h>
46 # include <io.h>
53 # if __has_include(<sys/random.h>)
54 # include <sys/random.h>
57 # include <sys/random.h>
61 # include <sys/random.h>
65 # include <sys/stat.h>
75 <stdalign.h> even though __STDC_VERSION__ == 201112. */
79 # include <stdalign.h>
181 static zic_t gethms(const char * string, const char * errstring);
364 static struct lookup const * byword(const char * string,
610 verror(const char *const string, va_list args)
620 vfprintf(stderr, string, args);
628 error(const char *const string, ...)
631 va_start(args, string);
632 verror(string, args);
638 warning(const char *const string, ...)
642 va_start(args, string);
643 verror(string, args);
723 /* Compare the string KEY to the link B, for bsearch. */
1437 freshly allocated string. TARGET should be a relative file name, and
1805 ** Convert a string of one of the forms
1806 ** h -h hh:mm -hh:mm hh:mm:ss -hh:mm:ss
1808 ** A null string maps to zero.
1813 gethms(char const *string, char const *errstring)
1821 if (string == NULL || *string == '\0')
1823 if (*string == '-') {
1825 ++string;
1827 switch (sscanf(string,
2417 writezone(const char *const name, const char *const string, char version,
2647 int h = (i == old0 ? thisdefaulttype
2649 if (!omittype[h]) {
2650 if (isdsts[h])
2743 putc(0, fp); /* empty-string abbreviation */
2767 int h = (i == old0 ? thisdefaulttype
2769 if (!omittype[h]) {
2770 puttzcode(utoffs[h], fp);
2771 putc(isdsts[h], fp);
2772 putc(indmap[desigidx[h]], fp);
2820 fprintf(fp, "\n%s\n", string);
3037 /* Store into RESULT a proleptic TZ string that represent the future
3040 negative integer if no such TZ string exists. */
3062 /* Internet RFC 8536 section 5.1 says to use an empty TZ string if
3232 _("no proleptic TZ string for zone"),
3469 /* The earliest transition into a time governed by the TZ string. */
3479 /* Omit trailing transitions deducible from the TZ string,
3654 case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n':
3670 case 'G': return 'g'; case 'H': return 'h'; case 'I': return 'i';
3929 newabbr(const char *string)
3933 if (strcmp(string, GRANDPARENTED) != 0) {
3937 cp = string;
3942 if (noise && cp - string < 3)
3944 if (cp - string > ZIC_MAX_ABBR_LEN_WO_WARN)
3949 warning("%s (%s)", mp, string);
3951 i = strlen(string) + 1;
3956 strcpy(&chars[charcnt], string);
4023 #include <grp.h>
4024 #include <pwd.h>