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

1234

/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dconv_time.c72 int intval; local
76 intval = longval = strtol(strval, &end, 10);
77 if (*strval == 0 || errno == ERANGE || longval != intval || intval < 0
83 if (intval < INT_MAX / WEEK) {
84 *timval = intval * WEEK;
90 if (intval < INT_MAX / DAY) {
91 *timval = intval * DAY;
97 if (intval < INT_MAX / HOUR) {
98 *timval = intval * HOU
[all...]
H A Dmail_conf_nint.c110 static int convert_mail_conf_nint(const char *name, int *intval) argument
118 *intval = longval = strtol(strval, &end, 10);
119 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != *intval)
128 static void check_mail_conf_nint(const char *name, int intval, int min, int max) argument
130 if (min && intval < min)
131 msg_fatal("invalid %s parameter value %d < %d", name, intval, min);
132 if (max && intval > max)
133 msg_fatal("invalid %s parameter value %d > %d", name, intval, max);
140 int intval; local
142 if (convert_mail_conf_nint(name, &intval)
155 int intval; local
175 int intval; local
[all...]
H A Dmail_conf_int.c40 /* void check_mail_conf_int(name, intval, min, max)
42 /* int intval;
114 static int convert_mail_conf_int(const char *name, int *intval) argument
122 *intval = longval = strtol(strval, &end, 10);
123 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != *intval)
132 void check_mail_conf_int(const char *name, int intval, int min, int max) argument
134 if (min && intval < min)
135 msg_fatal("invalid %s parameter value %d < %d", name, intval, min);
136 if (max && intval > max)
137 msg_fatal("invalid %s parameter value %d > %d", name, intval, ma
144 int intval; local
157 int intval; local
175 int intval; local
[all...]
H A Dmail_conf_bool.c88 static int convert_mail_conf_bool(const char *name, int *intval) argument
96 *intval = 1;
98 *intval = 0;
110 int intval; local
112 if (convert_mail_conf_bool(name, &intval) == 0)
113 set_mail_conf_bool(name, intval = defval);
114 return (intval);
123 int intval; local
125 if (convert_mail_conf_bool(name, &intval) == 0)
126 set_mail_conf_bool(name, intval
[all...]
H A Dmail_conf_nbool.c89 static int convert_mail_conf_nbool(const char *name, int *intval) argument
97 *intval = 1;
99 *intval = 0;
111 int intval; local
113 if (convert_mail_conf_nbool(name, &intval) == 0)
115 if (convert_mail_conf_nbool(name, &intval) == 0)
117 return (intval);
126 int intval; local
128 if (convert_mail_conf_nbool(name, &intval) == 0)
130 if (convert_mail_conf_nbool(name, &intval)
[all...]
H A Dmail_conf_time.c36 /* void check_mail_conf_time(name, intval, min, max)
38 /* int intval;
111 static int convert_mail_conf_time(const char *name, int *intval, int def_unit) argument
117 if (conv_time(strval, intval, def_unit) == 0)
124 void check_mail_conf_time(const char *name, int intval, int min, int max) argument
126 if (min && intval < min)
127 msg_fatal("invalid %s: %d (min %d)", name, intval, min);
128 if (max && intval > max)
129 msg_fatal("invalid %s: %d (max %d)", name, intval, max);
157 int intval; local
174 int intval; local
[all...]
H A Dcfg_parser.c159 int intval; local
164 intval = longval = strtol(strval, &end, 10);
165 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != intval)
169 intval = defval;
170 if (min && intval < min)
172 parser->name, name, intval, min);
173 if (max && intval > max)
175 parser->name, name, intval, max);
176 return (intval);
198 int intval; local
287 int intval; local
300 int intval; local
[all...]
H A Dmail_version.c99 int intval; local
103 intval = longval = strtol(strval, &end, 10);
104 if (*strval == 0 || *end != 0 || errno == ERANGE || longval != intval)
105 intval = (-1);
106 return (intval);
/netbsd-current/external/apache2/llvm/dist/llvm/utils/lit/lit/builtin_commands/
H A Dcat.py13 for intval in data:
14 if intval == 9 or intval == 10:
15 newdata.write(chr(intval))
17 if intval > 127:
18 intval = intval -128
20 if intval < 32:
22 newdata.write(chr(intval+64))
23 elif intval
[all...]
/netbsd-current/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dscan.l101 "class" { yylval.intval = CLNAME; notype=1; return(C_STRUCT); }
104 "const_cast" { yylval.intval = CONST_CAST; return(CXX_CASTS); }
110 "dynamic_cast" { yylval.intval = DYN_CAST; return(CXX_CASTS); }
125 "reinterpret_cast" { yylval.intval = REINT_CAST; return(CXX_CASTS); }
132 "static_cast" { yylval.intval = STATIC_CAST; return(CXX_CASTS); }
133 "struct" { yylval.intval = STNAME; notype=1; return(C_STRUCT); }
138 "union" { yylval.intval = UNAME; notype=1; return(C_STRUCT); }
162 ">>=" { yylval.intval = RSEQ; return(C_ASOP); }
163 "<<=" { yylval.intval = LSEQ; return(C_ASOP); }
164 "+=" { yylval.intval
[all...]
/netbsd-current/usr.bin/rdist/
H A Dgram.y71 int intval;
77 %type <intval> OPTION, options
311 yylval.intval = COMPARE;
315 yylval.intval = REMOVE;
319 yylval.intval = VERIFY;
323 yylval.intval = WHOLE;
327 yylval.intval = YOUNGER;
331 yylval.intval = FOLLOW;
335 yylval.intval = IGNLNKS;
/netbsd-current/sys/arch/arm/nxp/
H A Dimx6_platform.c185 fdt32_t intval[3]; local
222 intval[0] = cpu_to_fdt32(1);
223 intval[1] = cpu_to_fdt32(13);
224 intval[2] = cpu_to_fdt32(0xf01);
226 intval, sizeof(intval));
/netbsd-current/external/bsd/wpa/dist/wpa_supplicant/
H A Dwnm_sta.h57 u8 action, u16 intval, struct wpabuf *tfs_req);
/netbsd-current/usr.bin/patch/
H A Dutil.c289 static sig_t hupval, intval; local
295 intval = signal(SIGINT, SIG_IGN);
296 if (intval != SIG_IGN)
297 intval = my_exit;
300 signal(SIGINT, intval);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dia64-libunwind-tdep.c323 unw_word_t intval; local
372 ret = unw_get_reg_p (&cache->cursor, uw_regnum, &intval);
375 val = frame_unwind_got_constant (this_frame, regnum, intval);
456 unw_word_t intval; local
485 ret = unw_get_reg_p (&cursor, uw_regnum, &intval);
486 ptr = &intval;
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dia64-libunwind-tdep.c314 unw_word_t intval; local
363 ret = unw_get_reg_p (&cache->cursor, uw_regnum, &intval);
366 val = frame_unwind_got_constant (this_frame, regnum, intval);
447 unw_word_t intval; local
476 ret = unw_get_reg_p (&cursor, uw_regnum, &intval);
477 ptr = &intval;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-const.c42 gfc_build_const (tree type, tree intval) argument
50 val = convert (type, intval);
54 val = build_real_from_int_cst (type, intval);
58 val = build_real_from_int_cst (TREE_TYPE (type), intval);
/netbsd-current/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-const.cc42 gfc_build_const (tree type, tree intval) argument
50 val = convert (type, intval);
54 val = build_real_from_int_cst (type, intval);
58 val = build_real_from_int_cst (TREE_TYPE (type), intval);
/netbsd-current/sbin/iscsid/
H A Discsid_lists.c402 elem = find_id(&list[par->list_kind].list, par->intval);
437 (!par->intval ||
438 p->addr.port == par->intval))
448 (!par->intval ||
449 t->addr.port == par->intval))
458 (!par->intval || i->port == par->intval))
/netbsd-current/external/gpl3/gdb/dist/gdb/python/
H A Dpy-param.c59 int intval; member in union:parmpy_variable
102 return setting (s->type, &s->value.intval);
299 self->value.intval = (int) l;
576 &self->value.intval, set_doc,
614 &self->value.intval, set_doc,
629 &self->value.intval,
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddsl_prop.c616 uint64_t zapobj, intval, dummy; local
626 isint = (dodefault(zfs_name_to_prop(propname), 8, 1, &intval) == 0);
723 VERIFY0(dsl_prop_get_int_ds(ds, propname, &intval));
737 cbr->cbr_func(cbr->cbr_arg, intval);
742 ds->ds_dir->dd_object, propname, intval, TRUE);
746 "%lld", (longlong_t)intval);
874 uint64_t intval = fnvpair_value_uint64(pair); local
876 source, sizeof (intval), 1, &intval, tx);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/h8300/
H A Dh8300.c2947 HOST_WIDE_INT intval = INTVAL (operands[2]);
2949 if (TARGET_H8300SX && (intval >= 1 && intval <= 7))
2951 if (TARGET_H8300SX && (intval >= -7 && intval <= -1))
2956 switch ((unsigned int) intval & 0xffffffff)
2970 operands[2] = GEN_INT (intval >> 16);
2975 operands[2] = GEN_INT (intval >> 16);
2980 if ((intval & 0xffff) == 0)
2982 operands[2] = GEN_INT (intval >> 1
2937 HOST_WIDE_INT intval = INTVAL (operands[2]); local
3021 HOST_WIDE_INT intval = INTVAL (operands[2]); local
3085 HOST_WIDE_INT intval = INTVAL (operands[2]); local
3132 const unsigned HOST_WIDE_INT intval = local
3313 const unsigned HOST_WIDE_INT intval = local
3459 const unsigned HOST_WIDE_INT intval = local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/python/
H A Dpy-param.c62 int intval; member in union:parmpy_variable
287 self->value.intval = (int) l;
506 &self->value.intval, set_doc, show_doc,
541 &self->value.intval, set_doc, show_doc,
555 &self->value.intval, set_doc,
/netbsd-current/external/gpl3/gcc/dist/gcc/config/h8300/
H A Dh8300.cc2746 HOST_WIDE_INT intval = INTVAL (operands[2]);
2748 if (TARGET_H8300SX && (intval >= 1 && intval <= 7))
2750 if (TARGET_H8300SX && (intval >= -7 && intval <= -1))
2755 switch ((unsigned int) intval & 0xffffffff)
2798 operands[2] = GEN_INT (intval >> 16);
2808 operands[2] = GEN_INT (intval >> 16);
2817 if ((intval & 0xffff) == 0)
2819 operands[2] = GEN_INT (intval >> 1
2736 HOST_WIDE_INT intval = INTVAL (operands[2]); local
2836 HOST_WIDE_INT intval = INTVAL (operands[2]); local
2907 HOST_WIDE_INT intval = INTVAL (operands[2]); local
2951 const unsigned HOST_WIDE_INT intval = local
3122 const unsigned HOST_WIDE_INT intval = local
[all...]
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_pool.c247 uint64_t intval; local
266 intval = zpool_get_prop_int(zhp, prop, &src);
267 (void) snprintf(buf, len, "%llu", intval);
302 intval = zpool_get_prop_int(zhp, prop, &src);
312 (u_longlong_t)intval);
314 (void) zfs_nicenum(intval, buf, len);
318 if (intval == 0) {
322 (u_longlong_t)intval);
324 (void) zfs_nicenum(intval, buf, len);
330 (u_longlong_t)intval);
431 uint64_t intval; local
[all...]

Completed in 402 milliseconds

1234