Home
last modified time | relevance | path

Searched refs:def_unit (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Dmail_conf_time.c111 static int convert_mail_conf_time(const char *name, int *intval, int def_unit) in convert_mail_conf_time() argument
117 if (conv_time(strval, intval, def_unit) == 0) in convert_mail_conf_time()
158 int def_unit; in get_mail_conf_time() local
160 def_unit = get_def_time_unit(name, defval); in get_mail_conf_time()
161 if (convert_mail_conf_time(name, &intval, def_unit) == 0) in get_mail_conf_time()
163 if (convert_mail_conf_time(name, &intval, def_unit) == 0) in get_mail_conf_time()
172 int defval, int def_unit, int min, int max) in get_mail_conf_time2() argument
178 if (convert_mail_conf_time(name, &intval, def_unit) == 0) in get_mail_conf_time2()
180 if (convert_mail_conf_time(name, &intval, def_unit) == 0) in get_mail_conf_time2()
H A Dattr_override.c142 int def_unit; in attr_override() local
182 def_unit = tp->defval[strspn(tp->defval, "0123456789")]; in attr_override()
183 if (conv_time(value, &int_val, def_unit) == 0) in attr_override()
H A Dconv_time.c69 int conv_time(const char *strval, int *timval, int def_unit) in conv_time() argument
81 switch (*end ? *end : def_unit) { in conv_time()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dparse_bytes-test.c44 const char *def_unit; member
67 int val = parse_bytes (tests[i].str, tests[i].def_unit); in main()
72 tests[i].def_unit ? tests[i].def_unit : "none", in main()
H A Dparse_units.c51 const char *def_unit, in parse_something() argument
60 if (def_unit != NULL) { in parse_something()
64 if (strcasecmp (u->name, def_unit) == 0) { in parse_something()
156 const char *def_unit) in parse_units() argument
158 return parse_something (s, units, def_unit, acc_units, 0, 0); in parse_units()
H A Dparse_bytes.c62 parse_bytes (const char *s, const char *def_unit) in parse_bytes() argument
64 return parse_units (s, bytes_units, def_unit); in parse_bytes()
H A Dparse_time.c56 parse_time (const char *s, const char *def_unit) in parse_time() argument
58 return parse_units (s, time_units, def_unit); in parse_time()
H A Dparse_bytes.h52 parse_bytes (const char *s, const char *def_unit);
H A Dparse_time.h52 parse_time (const char *s, const char *def_unit);
H A Dparse_units.h61 const char *def_unit);