Searched refs:def_unit (Results 1 - 9 of 9) sorted by relevance

/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmail_conf_time.c28 /* int get_mail_conf_time2(name1, name2, defval, def_unit, min, max);
32 /* int def_unit;
97 static int convert_mail_conf_time(const char *name, int *intval, int def_unit) argument
103 if (conv_time(strval, intval, def_unit) == 0)
142 int def_unit; local
144 def_unit = get_def_time_unit(name, defval);
145 if (convert_mail_conf_time(name, &intval, def_unit) == 0)
147 if (convert_mail_conf_time(name, &intval, def_unit) == 0)
156 int defval, int def_unit, int min, int max)
162 if (convert_mail_conf_time(name, &intval, def_unit)
155 get_mail_conf_time2(const char *name1, const char *name2, int defval, int def_unit, int min, int max) argument
[all...]
H A Dconv_time.c11 /* int conv_time(strval, timval, def_unit);
14 /* int def_unit;
26 /* .IP def_unit
64 int conv_time(const char *strval, int *timval, int def_unit) argument
76 switch (*end ? *end : def_unit) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dparse_bytes.c62 parse_bytes (const char *s, const char *def_unit) argument
64 return parse_units (s, bytes_units, def_unit);
H A Dparse_time.c56 parse_time (const char *s, const char *def_unit) argument
58 return parse_units (s, time_units, def_unit);
H A Dparse_bytes-test.c44 const char *def_unit; member in struct:testcase
67 int val = parse_bytes (tests[i].str, tests[i].def_unit);
73 tests[i].def_unit ? tests[i].def_unit : "none",
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);
H A Dparse_units.c46 * def_unit defines the default unit.
51 const char *def_unit,
60 if (def_unit != NULL) {
64 if (strcasecmp (u->name, def_unit) == 0) {
156 const char *def_unit)
158 return parse_something (s, units, def_unit, acc_units, 0, 0);
50 parse_something(const char *s, const struct units *units, const char *def_unit, int (*func)(int res, int val, unsigned mult), int init, int accept_no_val_p) argument
155 parse_units(const char *s, const struct units *units, const char *def_unit) argument

Completed in 109 milliseconds