Searched refs:intval (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.9.5/postfix-252/postfix/src/global/
H A Dconv_time.c65 int intval; local
69 intval = longval = strtol(strval, &end, 10);
70 if (*strval == 0 || errno == ERANGE || longval != intval || intval < 0
76 if (intval < INT_MAX / WEEK) {
77 *timval = intval * WEEK;
83 if (intval < INT_MAX / DAY) {
84 *timval = intval * DAY;
90 if (intval < INT_MAX / HOUR) {
91 *timval = intval * HOU
[all...]
H A Dmail_conf_int.c98 static int convert_mail_conf_int(const char *name, int *intval) argument
106 *intval = longval = strtol(strval, &end, 10);
107 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != *intval)
116 static void check_mail_conf_int(const char *name, int intval, int min, int max) argument
118 if (min && intval < min)
119 msg_fatal("invalid %s parameter value %d < %d", name, intval, min);
120 if (max && intval > max)
121 msg_fatal("invalid %s parameter value %d > %d", name, intval, max);
128 int intval; local
130 if (convert_mail_conf_int(name, &intval)
141 int intval; local
159 int intval; local
[all...]
H A Dmail_conf_nint.c103 static int convert_mail_conf_nint(const char *name, int *intval) argument
111 *intval = longval = strtol(strval, &end, 10);
112 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != *intval)
121 static void check_mail_conf_nint(const char *name, int intval, int min, int max) argument
123 if (min && intval < min)
124 msg_fatal("invalid %s parameter value %d < %d", name, intval, min);
125 if (max && intval > max)
126 msg_fatal("invalid %s parameter value %d > %d", name, intval, max);
133 int intval; local
135 if (convert_mail_conf_nint(name, &intval)
148 int intval; local
168 int intval; local
[all...]
H A Dmail_conf_bool.c86 static int convert_mail_conf_bool(const char *name, int *intval) argument
94 *intval = 1;
96 *intval = 0;
108 int intval; local
110 if (convert_mail_conf_bool(name, &intval) == 0)
111 set_mail_conf_bool(name, intval = defval);
112 return (intval);
121 int intval; local
123 if (convert_mail_conf_bool(name, &intval) == 0)
124 set_mail_conf_bool(name, intval
[all...]
H A Dmail_conf_nbool.c87 static int convert_mail_conf_nbool(const char *name, int *intval) argument
95 *intval = 1;
97 *intval = 0;
109 int intval; local
111 if (convert_mail_conf_nbool(name, &intval) == 0)
113 if (convert_mail_conf_nbool(name, &intval) == 0)
115 return (intval);
124 int intval; local
126 if (convert_mail_conf_nbool(name, &intval) == 0)
128 if (convert_mail_conf_nbool(name, &intval)
[all...]
H A Dmail_conf_time.c95 static int convert_mail_conf_time(const char *name, int *intval, int def_unit) argument
101 if (conv_time(strval, intval, def_unit) == 0)
108 static void check_mail_conf_time(const char *name, int intval, int min, int max) argument
110 if (min && intval < min)
111 msg_fatal("invalid %s: %d (min %d)", name, intval, min);
112 if (max && intval > max)
113 msg_fatal("invalid %s: %d (max %d)", name, intval, max);
139 int intval; local
143 if (convert_mail_conf_time(name, &intval, def_unit) == 0)
145 if (convert_mail_conf_time(name, &intval, def_uni
156 int intval; local
[all...]
H A Dcfg_parser.c157 int intval; local
162 intval = longval = strtol(strval, &end, 10);
163 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != intval)
167 intval = defval;
168 if (min && intval < min)
170 parser->name, name, intval, min);
171 if (max && intval > max)
173 parser->name, name, intval, max);
174 return (intval);
196 int intval; local
285 int intval; local
298 int intval; local
[all...]
H A Dmail_version.c97 int intval; local
101 intval = longval = strtol(strval, &end, 10);
102 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != intval)
103 intval = (-1);
104 return (intval);
/macosx-10.9.5/iodbc-42.5/iodbc/iodbc/trace/
H A DGetData.c188 (unsigned long) i->intval.day_second.day);
197 (unsigned long) i->intval.day_second.day,
198 (unsigned long) i->intval.day_second.hour);
207 (unsigned long) i->intval.day_second.day,
208 (unsigned long) i->intval.day_second.hour,
209 (unsigned long) i->intval.day_second.minute);
218 (unsigned long) i->intval.day_second.day,
219 (unsigned long) i->intval.day_second.hour,
220 (unsigned long) i->intval.day_second.minute,
221 (unsigned long) i->intval
[all...]
/macosx-10.9.5/xnu-2422.115.4/pexpert/gen/
H A Dbootargs.c218 unsigned int radix, intval; local
226 intval = *s++-'0';
228 if (intval == 0) {
243 intval = *s-'0';
252 } else if (intval >= radix) {
285 intval *= radix;
286 intval += c;
290 *val = intval * sign;
/macosx-10.9.5/bash-92/bash-3.2/builtins/
H A Dread.c92 intmax_t intval; local
167 code = legal_number (list_optarg, &intval);
168 if (code == 0 || intval < 0 || intval != (unsigned int)intval)
176 tmout = intval;
180 code = legal_number (list_optarg, &intval);
181 if (code == 0 || intval < 0 || intval != (int)intval)
[all...]
/macosx-10.9.5/xnu-2422.115.4/tools/lldbmacros/
H A Dutils.py215 def WriteInt64ToMemoryAddress(intval, addr):
218 intval - int - an integer value to be saved
224 sdata = struct.pack('Q', intval)
231 def WritePtrDataToMemoryAddress(intval, addr):
233 This is equivalent of doing *(&((struct pmap *)addr)) = intval
236 intval - int - an integer value to be saved
242 return WriteInt64ToMemoryAddress(intval, addr)
244 return WriteInt32ToMemoryAddress(intval, addr)
246 def WriteInt32ToMemoryAddress(intval, addr):
249 intval
[all...]
H A Dpmap.py58 bits : int - number of bits in the intval (8/16/32/64)
103 def KDPWritePhysMEM(address, intval, bits):
107 intval : int - integer value to be stored in memory
108 bits : int - number of bits in the intval (8/16/32/64)
137 if not WriteInt8ToMemoryAddress(intval, int(addressof(pkt.data))):
140 if not WriteInt16ToMemoryAddress(intval, int(addressof(pkt.data))):
143 if not WriteInt32ToMemoryAddress(intval, int(addressof(pkt.data))):
146 if not WriteInt64ToMemoryAddress(intval, int(addressof(pkt.data))):
/macosx-10.9.5/ntp-88/ntpd/
H A Dntp_intres.c1166 u_long intval[NUMTOK]; local
1184 if (!atouint(token[i], &intval[i])) {
1193 if (intval[TOK_HMODE] != MODE_ACTIVE &&
1194 intval[TOK_HMODE] != MODE_CLIENT &&
1195 intval[TOK_HMODE] != MODE_BROADCAST) {
1197 intval[TOK_HMODE], name);
1201 if (intval[TOK_VERSION] > NTP_VERSION ||
1202 intval[TOK_VERSION] < NTP_OLDVERSION) {
1204 intval[TOK_VERSION], name);
1207 if (intval[TOK_MINPOL
[all...]
/macosx-10.9.5/patch_cmds-17/patch/
H A Dutil.c274 static sig_t hupval, intval; local
280 intval = signal(SIGINT, SIG_IGN);
281 if (intval != SIG_IGN)
282 intval = (sig_t) my_exit;
285 signal(SIGINT, intval);
/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/
H A Ddaemon.c517 uint32_t intval, count, v32a, v32b, v32c; local
544 intval = (eval) ? 1 : 0;
545 config_debug(intval, NULL);
557 intval = (eval) ? 1 : 0;
558 config_debug(intval, l[1]);
639 intval = atoi(l[1]);
646 intval = DB_TYPE_FILE;
651 intval = DB_TYPE_MEMORY;
656 intval = DB_TYPE_MINI;
669 config_data_store(intval, v32
[all...]
H A Dasl_action.c120 uint32_t count, intval; local
135 if (count < 2) intval = 1;
136 else intval = atoi(l[1]);
138 if (!eval) intval = (intval == 0) ? 1 : 0;
140 if (intval == 0) m->flags &= ~MODULE_FLAG_ENABLED;
147 if (count < 2) intval = 1;
148 else intval = atoi(l[1]);
150 if (!eval) intval = (intval
[all...]
/macosx-10.9.5/CPANInternal-140/Log-Log4perl/lib/Log/Log4perl/
H A DLevel.pm31 my ($prio, $intval, $syslog, $log_dispatch_level) = @_;
34 $PRIORITY{$prio} = $intval;
35 $LEVELS{$intval} = $prio;
/macosx-10.9.5/system_cmds-597.90.1/sysctl.tproj/
H A Dsysctl.c255 int intval, newsize = 0; local
453 intval = strtol(newval, NULL, 0);
454 if ((intval == 0) && (errno == EINVAL)) {
459 newval = &intval;
460 newsize = sizeof intval;
709 int intval, newsize = 0; local
782 intval = (int) strtol(newval, NULL, 0);
783 if ((intval == 0) &&
789 newval = &intval;
790 newsize = sizeof intval;
[all...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/sysctl.tproj/
H A Dsysctl.c255 int intval, newsize = 0; local
453 intval = strtol(newval, NULL, 0);
454 if ((intval == 0) && (errno == EINVAL)) {
459 newval = &intval;
460 newsize = sizeof intval;
709 int intval, newsize = 0; local
782 intval = (int) strtol(newval, NULL, 0);
783 if ((intval == 0) &&
789 newval = &intval;
790 newsize = sizeof intval;
[all...]
/macosx-10.9.5/CPANInternal-140/Log-Log4perl-1.40/lib/Log/Log4perl/
H A DLevel.pm31 my ($prio, $intval, $syslog, $log_dispatch_level) = @_;
34 $PRIORITY{$prio} = $intval;
35 $LEVELS{$intval} = $prio;
/macosx-10.9.5/iodbc-42.5/iodbc/include/
H A Dsqltypes.h329 intval; member in struct:tagSQL_INTERVAL_STRUCT
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Din.c484 int error = 0, intval; local
488 bcopy(&ifr->ifr_intval, &intval, sizeof (intval));
491 if (intval) {
499 intval = 0; /* be safe; clear flag if set */
505 if (!intval)
520 int error = 0, intval; local
524 bcopy(&ifr->ifr_intval, &intval, sizeof (intval));
528 if (intval) {
564 int error = 0, intval; local
[all...]
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dgetdate.y215 long int intval;
224 %token <intval> tDAY_UNIT
226 %token <intval> tDAY tDAYZONE tLOCAL_ZONE tMERIDIAN
227 %token <intval> tMONTH tORDINAL tZONE
232 %type <intval> o_colon_minutes o_merid
1088 lvalp->intval = tp->value;
/macosx-10.9.5/BerkeleyDB-21/db/tcl/
H A Dtcl_db.c184 int cmdindex, intval, ncache, result, ret; local
278 ret = dbp->get_byteswapped(dbp, &intval);
279 res = Tcl_NewIntObj(intval);
463 ret = dbp->get_lorder(dbp, &intval);
464 res = Tcl_NewIntObj(intval);
494 ret = dbp->get_re_delim(dbp, &intval);
497 res = Tcl_NewIntObj(intval);
514 ret = dbp->get_re_pad(dbp, &intval);
517 res = Tcl_NewIntObj((int)intval);

Completed in 274 milliseconds

12