Searched refs:def_unit (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/external/ibm-public/postfix/dist/src/global/ |
| H A D | mail_conf_time.c | 111 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 D | attr_override.c | 142 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 D | conv_time.c | 69 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 D | parse_bytes-test.c | 44 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 D | parse_units.c | 51 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 D | parse_bytes.c | 62 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 D | parse_time.c | 56 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 D | parse_bytes.h | 52 parse_bytes (const char *s, const char *def_unit);
|
| H A D | parse_time.h | 52 parse_time (const char *s, const char *def_unit);
|
| H A D | parse_units.h | 61 const char *def_unit);
|