Home
last modified time | relevance | path

Searched refs:pstr (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/lib/libthr/thread/
H A Dthr_printf.c38 static void pstr(int fd, const char *s);
87 pstr(fd, va_arg(ap, char *)); in _thread_vprintf()
93 pstr(fd, "0x"); in _thread_vprintf()
100 pstr(fd, "0x"); in _thread_vprintf()
145 pstr(int fd, const char *s) in pstr() function
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_lib.c25 static void init_pstring(char **pstr) in init_pstring() argument
27 if (pstr != NULL) { in init_pstring()
28 *pstr = NULL; in init_pstring()
45 static void free_pstring(char **pstr) in free_pstring() argument
47 if (pstr != NULL) { in free_pstring()
48 OPENSSL_free(*pstr); in free_pstring()
49 *pstr = NULL; in free_pstring()
/freebsd/usr.sbin/spi/
H A Dspi.c162 char *pstr; in main() local
218 opt.mode = (int)strtol(optarg, &pstr, 10); in main()
220 if (!pstr || *pstr || opt.mode < 0 || opt.mode > 3) { in main()
228 opt.speed = (int)strtol(optarg, &pstr, 10); in main()
230 if (!pstr || *pstr || opt.speed < 0) { in main()
238 opt.count = (int)strtol(optarg, &pstr, 10); in main()
240 if (!pstr || *pstr) { in main()
/freebsd/bin/pax/
H A Dpat_rep.c213 pt->pstr = str; in pat_add()
252 (void)fprintf(stderr, "%s\n", pt->pstr); in pat_chk()
321 if ((pt->pstr = strdup(arcn->name)) == NULL) { in pat_sel()
336 pt->plen = strlen(pt->pstr); in pat_sel()
342 if (*(pt->pstr + len) == '/') { in pat_sel()
343 *(pt->pstr + len) = '\0'; in pat_sel()
425 (strncmp(pt->pstr, arcn->name, pt->plen) == 0)) in pat_match()
427 } else if (fn_match(pt->pstr, arcn->name, &pt->pend) == 0) in pat_match()
H A Dpax.h168 char *pstr; /* pattern to match, user supplied */ member
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_backend.c130 const ASN1_STRING *pstr; in ossl_dsa_key_from_pkcs8() local
148 pstr = pval; in ossl_dsa_key_from_pkcs8()
149 pm = pstr->data; in ossl_dsa_key_from_pkcs8()
150 pmlen = pstr->length; in ossl_dsa_key_from_pkcs8()
H A Ddsa_ameth.c35 const ASN1_STRING *pstr; in dsa_pub_decode() local
46 pstr = pval; in dsa_pub_decode()
47 pm = pstr->data; in dsa_pub_decode()
48 pmlen = pstr->length; in dsa_pub_decode()
/freebsd/tools/tools/usbtest/
H A Dusbtest.c90 char *pstr; in usb_ts_show_menu() local
110 for (pstr = menu; *pstr; pstr++) { in usb_ts_show_menu()
115 printf("%c", *pstr); in usb_ts_show_menu()
117 if (*pstr == '\n') in usb_ts_show_menu()
/freebsd/crypto/openssl/crypto/ec/
H A Dec_ameth.c52 ASN1_STRING *pstr = NULL; in eckey_param2type() local
53 pstr = ASN1_STRING_new(); in eckey_param2type()
54 if (pstr == NULL) in eckey_param2type()
56 pstr->length = i2d_ECParameters(ec_key, &pstr->data); in eckey_param2type()
57 if (pstr->length <= 0) { in eckey_param2type()
58 ASN1_STRING_free(pstr); in eckey_param2type()
62 *ppval = pstr; in eckey_param2type()
H A Dec_backend.c775 const ASN1_STRING *pstr = pval; in ossl_ec_key_param_from_x509_algor() local
776 const unsigned char *pm = pstr->data; in ossl_ec_key_param_from_x509_algor()
777 int pmlen = pstr->length; in ossl_ec_key_param_from_x509_algor()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_backend.c194 const ASN1_STRING *pstr; in ossl_dh_key_from_pkcs8() local
210 pstr = pval; in ossl_dh_key_from_pkcs8()
211 pm = pstr->data; in ossl_dh_key_from_pkcs8()
212 pmlen = pstr->length; in ossl_dh_key_from_pkcs8()
H A Ddh_ameth.c66 const ASN1_STRING *pstr; in dh_pub_decode() local
81 pstr = pval; in dh_pub_decode()
82 pm = pstr->data; in dh_pub_decode()
83 pmlen = pstr->length; in dh_pub_decode()
/freebsd/usr.bin/fortune/fortune/
H A Dfortune.c352 char **pstr; in form_file_list() local
357 pstr = Fortune_path_arr; in form_file_list()
359 while (*pstr) { in form_file_list()
360 i += add_file(NO_PROB, *pstr++, NULL, in form_file_list()
370 pstr = Fortune_path_arr; in form_file_list()
372 while (*pstr) { in form_file_list()
373 i += add_file(NO_PROB, "fortunes", *pstr++, in form_file_list()
418 pstr = Fortune_path_arr; in form_file_list()
420 while (*pstr) { in form_file_list()
421 i += add_file(NO_PROB, *pstr++, NULL, in form_file_list()
[all …]
/freebsd/usr.bin/whois/
H A Dwhois.c522 char *pstr; in whois() local
532 pstr = ++p; in whois()
534 if (p > pstr && (p - pstr) < 6) { in whois()
536 (int)(p - pstr), pstr); in whois()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c444 void **pstr, int *pstrtype) in prepare_dh_params() argument
465 *pstr = params; in prepare_dh_params()
548 void **pstr, int *pstrtype) in encode_dsa_params() argument
566 *pstr = params; in encode_dsa_params()
571 void **pstr, int *pstrtype) in prepare_dsa_params() argument
578 return encode_dsa_params(dsa, nid, pstr, pstrtype); in prepare_dsa_params()
580 *pstr = NULL; in prepare_dsa_params()
643 void **pstr, int *pstrtype) in prepare_ec_explicit_params() argument
660 *pstr = params; in prepare_ec_explicit_params()
669 void **pstr, int *pstrtype) in prepare_ec_params() argument
[all …]
/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c118 * pstr = personalization data (Can be NULL) of length pstr_len.
125 const unsigned char *pstr, size_t pstr_len) in drbg_hmac_instantiate() argument
139 return drbg_hmac_update(drbg, ent, ent_len, nonce, nonce_len, pstr, in drbg_hmac_instantiate()
145 const unsigned char *pstr, in drbg_hmac_instantiate_wrapper() argument
154 pstr, pstr_len); in drbg_hmac_instantiate_wrapper()
H A Ddrbg_hash.c244 * pstr is a personalization string received from an application. May be NULL.
251 const unsigned char *pstr, size_t pstr_len) in drbg_hash_instantiate() argument
261 ent, ent_len, nonce, nonce_len, pstr, pstr_len) in drbg_hash_instantiate()
268 const unsigned char *pstr, in drbg_hash_instantiate_wrapper() argument
277 pstr, pstr_len); in drbg_hash_instantiate_wrapper()
/freebsd/contrib/blocklist/bin/
H A Dconf.c241 const char *pstr; in conf_gethostport() local
251 pstr = d; in conf_gethostport()
254 pstr = p; in conf_gethostport()
256 if (conf_getmask(f, l, local, &pstr, &c->c_lmask) == -1) in conf_gethostport()
272 } else if (pstr != p || strchr(p, '.') || conf_is_interface(p)) { in conf_gethostport()
273 if (pstr == p) in conf_gethostport()
274 pstr = "*"; in conf_gethostport()
307 if (conf_getport(f, l, local, &c->c_port, pstr) == -1) in conf_gethostport()
314 (*lfun)(LOG_ERR, "%s: %s, %zu: Bad address [%s]", __func__, f, l, pstr); in conf_gethostport()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_cpols.c93 char *pstr;
120 pstr = cnf->name;
121 if (strcmp(pstr, "ia5org") == 0) {
124 } else if (*pstr == '@') {
127 polsect = X509V3_get_section(ctx, pstr + 1);
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_ec.c27 const ASN1_STRING *pstr = pval; in pkey_type2param() local
28 const unsigned char *pm = pstr->data; in pkey_type2param()
29 size_t pmlen = (size_t)pstr->length; in pkey_type2param()
/freebsd/crypto/openssl/crypto/evp/
H A Devp_rand.c503 const unsigned char *pstr, size_t pstr_len, const OSSL_PARAM params[]) in evp_rand_instantiate_locked() argument
506 pstr, pstr_len, params); in evp_rand_instantiate_locked()
511 const unsigned char *pstr, size_t pstr_len, in EVP_RAND_instantiate() argument
519 pstr, pstr_len, params); in EVP_RAND_instantiate()
/freebsd/contrib/atf/atf-c/detail/
H A Dfs.c549 const char *pstr = atf_fs_path_cstring(p); in atf_fs_stat_init() local
551 if (lstat(pstr, &st->m_sb) == -1) { in atf_fs_stat_init()
553 "lstat(2) failed", pstr); in atf_fs_stat_init()
569 err = unknown_type_error(pstr, type); in atf_fs_stat_init()
/freebsd/sys/powerpc/powerpc/
H A Ddb_disasm.c604 char * pstr; in disasm_fields() local
611 pstr += len; \ in disasm_fields()
613 #define APP_PSTR(fmt, arg) ADD_LEN(snprintf(pstr, slen, (fmt), (arg))) in disasm_fields()
614 #define APP_PSTRS(fmt) ADD_LEN(snprintf(pstr, slen, "%s", (fmt))) in disasm_fields()
616 pstr = disasm_str; in disasm_fields()
/freebsd/crypto/openssl/fuzz/
H A Dfuzz_rand.c43 ossl_unused const unsigned char *pstr, in fuzz_rand_instantiate() argument
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_ameth.c30 ASN1_STRING **pstr, int *pstrtype) in rsa_param_encode() argument
34 *pstr = NULL; in rsa_param_encode()
46 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode()

12