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

12

/macosx-10.10/postfix-255/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.10/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.10/xnu-2782.1.97/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.10/bash-94.1.2/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.10/xnu-2782.1.97/tools/lldbmacros/
H A Dutils.py219 def WriteInt64ToMemoryAddress(intval, addr):
222 intval - int - an integer value to be saved
228 sdata = struct.pack('Q', intval)
235 def WritePtrDataToMemoryAddress(intval, addr):
237 This is equivalent of doing *(&((struct pmap *)addr)) = intval
240 intval - int - an integer value to be saved
246 return WriteInt64ToMemoryAddress(intval, addr)
248 return WriteInt32ToMemoryAddress(intval, addr)
250 def WriteInt32ToMemoryAddress(intval, addr):
253 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.10/ntp-92/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.10/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.10/syslog-267/syslogd.tproj/
H A Ddaemon.c551 uint32_t intval, count, v32a, v32b, v32c; local
578 intval = (eval) ? 1 : 0;
579 config_debug(intval, NULL);
591 intval = (eval) ? 1 : 0;
592 config_debug(intval, l[1]);
681 intval = atoi(l[1]);
688 intval = DB_TYPE_FILE;
693 intval = DB_TYPE_MEMORY;
706 config_data_store(intval, v32a, v32b, v32c);
711 intval
[all...]
H A Dasl_action.c148 uint32_t count, intval; local
163 if (count < 2) intval = 1;
164 else intval = atoi(l[1]);
166 if (!eval) intval = (intval == 0) ? 1 : 0;
168 if (intval == 0) m->flags &= ~MODULE_FLAG_ENABLED;
176 if (count < 2) intval = 1;
177 else intval = atoi(l[1]);
179 if (!eval) intval = (intval
[all...]
/macosx-10.10/CPANInternal-159.1/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.10/system_cmds-643.1.1/sysctl.tproj/
H A Dsysctl.c197 int intval; local
280 if (!set_IK(newval, &intval))
285 intval = (int)strtol(newval, &endptr,
291 newval = &intval;
292 newsize = sizeof(intval);
/macosx-10.10/iodbc-42.5/iodbc/include/
H A Dsqltypes.h329 intval; member in struct:tagSQL_INTERVAL_STRUCT
/macosx-10.10/xnu-2782.1.97/bsd/netinet/
H A Din.c446 int error = 0, intval; local
450 bcopy(&ifr->ifr_intval, &intval, sizeof (intval));
453 if (intval) {
461 intval = 0; /* be safe; clear flag if set */
467 if (!intval)
482 int error = 0, intval; local
486 bcopy(&ifr->ifr_intval, &intval, sizeof (intval));
490 if (intval) {
526 int error = 0, intval; local
[all...]
/macosx-10.10/gnutar-453/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.10/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);
/macosx-10.10/syslog-267/libsystem_asl.tproj/src/
H A Dasl_msg.c894 char *intval, *extval, *newval; local
908 intval = NULL;
924 intval = page->data + page->val[slot];
925 intvallen = strlen(intval) + 1;
946 if ((intval != NULL) && (streq(val, intval)))
965 if ((intval != NULL) && ((i + intvallen) == page->data_size))
969 intval = NULL;
/macosx-10.10/tcl-105/tk/tk/generic/
H A DtkObj.c30 #define SET_SIMPLEPIXEL(objPtr, intval) \
31 (objPtr)->internalRep.twoPtrValue.ptr1 = INT2PTR(intval); \

Completed in 346 milliseconds

12