Home
last modified time | relevance | path

Searched refs:ishex (Results 1 – 8 of 8) sorted by relevance

/freebsd/crypto/openssl/crypto/
H A Dparams_from_text.c28 const OSSL_PARAM **paramdef, int *ishex, in prepare_from_text() argument
39 *ishex = CHECK_AND_SKIP_PREFIX(key, "hex"); in prepare_from_text()
50 if (*ishex) in prepare_from_text()
111 if (*ishex) { in prepare_from_text()
118 if (*ishex) { in prepare_from_text()
136 const char *value, size_t value_n, int ishex, in construct_from_text() argument
181 if (ishex) { in construct_from_text()
312 int ishex = 0; in OSSL_PARAM_allocate_from_text() local
322 &paramdef, &ishex, &buf_n, &tmpbn, found)) in OSSL_PARAM_allocate_from_text()
328 ok = construct_from_text(to, paramdef, value, value_n, ishex, in OSSL_PARAM_allocate_from_text()
/freebsd/crypto/openssl/apps/
H A Dgenpkey.c74 static const char *param_datatype_2name(unsigned int type, int *ishex) in param_datatype_2name() argument
76 *ishex = 0; in param_datatype_2name()
86 *ishex = 1; in param_datatype_2name()
99 int i, ishex = 0; in show_gen_pkeyopt() local
115 const char *name = param_datatype_2name(params[i].data_type, &ishex); in show_gen_pkeyopt()
118 BIO_printf(bio_err, " %s%s:%s\n", ishex ? "hex" : "", params[i].key, name); in show_gen_pkeyopt()
/freebsd/contrib/nvi/vi/
H A Dv_increment.c97 #undef ishex in v_increment()
98 #define ishex(c) (ISXDIGIT(c)) in v_increment() macro
113 if (!ishex(p[end])) in v_increment()
155 if (ishex(p[end])) in v_increment()
/freebsd/sbin/ipf/common/
H A Dlexer.c29 #define ishex(c) (ISDIGIT(c) || ((c) >= 'a' && (c) <= 'f') || \ macro
442 (ishex(c) || isdigit(c) || c == ':')) { in yylex()
464 } while ((ishex(c) || c == ':' || c == '.') && in yylex()
485 for (s = yystr; *s && ishex(*s); s++) in yylex()
511 } while (ishex(n)); in yylex()
/freebsd/lib/libc/stdio/
H A Dvfwscanf.c858 _Bool gotmantdig = 0, ishex = 0; in parsefloat() local
946 ishex = 1; in parsefloat()
953 if ((ishex && iswxdigit(c)) || iswdigit(c)) in parsefloat()
964 if (((c == 'E' || c == 'e') && !ishex) || in parsefloat()
965 ((c == 'P' || c == 'p') && ishex)) { in parsefloat()
970 } else if ((ishex && iswxdigit(c)) || iswdigit(c)) { in parsefloat()
H A Dvfscanf.c990 _Bool gotmantdig = 0, ishex = 0; in parsefloat() local
1071 ishex = 1; in parsefloat()
1078 if ((ishex && isxdigit(c)) || isdigit(c)) { in parsefloat()
1107 if (((c == 'E' || c == 'e') && !ishex) || in parsefloat()
1108 ((c == 'P' || c == 'p') && ishex)) { in parsefloat()
1113 } else if ((ishex && isxdigit(c)) || isdigit(c)) { in parsefloat()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_utl.c200 int isneg, ishex; in s2i_ASN1_INTEGER() local
221 ishex = 1; in s2i_ASN1_INTEGER()
223 ishex = 0; in s2i_ASN1_INTEGER()
226 if (ishex) in s2i_ASN1_INTEGER()
/freebsd/crypto/openssl/crypto/evp/
H A Dctrl_params_translate.c195 int ishex; member
567 if (ctx->ishex) { in default_fixup_args()
2793 ctx.ishex = (tmpl.ctrl_hexstr != NULL); in evp_pkey_ctx_ctrl_str_to_param()