| /src/lib/libthr/thread/ |
| H A D | thr_printf.c | 38 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
|
| /src/crypto/openssl/crypto/http/ |
| H A D | http_lib.c | 25 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()
|
| /src/usr.sbin/spi/ |
| H A D | spi.c | 163 char *pstr; in main() local 220 opt.mode = (int)strtol(optarg, &pstr, 10); in main() 222 if (!pstr || *pstr || opt.mode < 0 || opt.mode > 3) { in main() 230 opt.speed = (int)strtol(optarg, &pstr, 10); in main() 232 if (!pstr || *pstr || opt.speed < 0) { in main() 240 opt.count = (int)strtol(optarg, &pstr, 10); in main() 242 if (!pstr || *pstr) { in main()
|
| /src/bin/pax/ |
| H A D | pat_rep.c | 213 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 D | pax.h | 168 char *pstr; /* pattern to match, user supplied */ member
|
| /src/crypto/openssl/crypto/dsa/ |
| H A D | dsa_backend.c | 128 const ASN1_STRING *pstr; in ossl_dsa_key_from_pkcs8() local 146 pstr = pval; in ossl_dsa_key_from_pkcs8() 147 pm = pstr->data; in ossl_dsa_key_from_pkcs8() 148 pmlen = pstr->length; in ossl_dsa_key_from_pkcs8()
|
| H A D | dsa_ameth.c | 35 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()
|
| /src/crypto/openssl/crypto/dh/ |
| H A D | dh_backend.c | 187 const ASN1_STRING *pstr; in ossl_dh_key_from_pkcs8() local 203 pstr = pval; in ossl_dh_key_from_pkcs8() 204 pm = pstr->data; in ossl_dh_key_from_pkcs8() 205 pmlen = pstr->length; in ossl_dh_key_from_pkcs8()
|
| H A D | dh_ameth.c | 66 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()
|
| /src/tools/tools/usbtest/ |
| H A D | usbtest.c | 90 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()
|
| /src/crypto/krb5/src/plugins/preauth/otp/ |
| H A D | otp_state.c | 180 char *server = NULL, *name_copy = NULL, *secret = NULL, *pstr = NULL; in token_type_decode() local 200 retval = profile_get_string(profile, "otp", name, "server", NULL, &pstr); in token_type_decode() 203 if (pstr != NULL) { in token_type_decode() 204 server = strdup(pstr); in token_type_decode() 205 profile_release_string(pstr); in token_type_decode() 216 retval = profile_get_string(profile, "otp", name, "secret", NULL, &pstr); in token_type_decode() 219 if (pstr != NULL) { in token_type_decode() 220 retval = read_secret_file(pstr, &secret); in token_type_decode() 221 profile_release_string(pstr); in token_type_decode()
|
| /src/crypto/openssl/crypto/ec/ |
| H A D | ec_ameth.c | 52 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()
|
| /src/usr.bin/fortune/fortune/ |
| H A D | fortune.c | 352 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 …]
|
| /src/usr.bin/whois/ |
| H A D | whois.c | 522 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()
|
| /src/crypto/openssl/providers/implementations/rands/ |
| H A D | drbg_hmac.c | 120 const unsigned char *pstr, size_t pstr_len) in ossl_drbg_hmac_init() argument 132 return drbg_hmac_update(hmac, ent, ent_len, nonce, nonce_len, pstr, in ossl_drbg_hmac_init() 138 const unsigned char *pstr, size_t pstr_len) in drbg_hmac_instantiate() argument 141 nonce, nonce_len, pstr, pstr_len); in drbg_hmac_instantiate() 146 const unsigned char *pstr, in drbg_hmac_instantiate_wrapper() argument 160 pstr, pstr_len); in drbg_hmac_instantiate_wrapper()
|
| H A D | drbg_hash.c | 256 const unsigned char *pstr, size_t pstr_len) in drbg_hash_instantiate() argument 266 ent, ent_len, nonce, nonce_len, pstr, pstr_len) in drbg_hash_instantiate() 273 const unsigned char *pstr, in drbg_hash_instantiate_wrapper() argument 287 pstr, pstr_len); in drbg_hash_instantiate_wrapper()
|
| /src/crypto/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2any.c | 454 void **pstr, int *pstrtype) in prepare_dh_params() argument 475 *pstr = params; in prepare_dh_params() 559 void **pstr, int *pstrtype) in encode_dsa_params() argument 577 *pstr = params; in encode_dsa_params() 582 void **pstr, int *pstrtype) in prepare_dsa_params() argument 589 return encode_dsa_params(dsa, nid, pstr, pstrtype); in prepare_dsa_params() 591 *pstr = NULL; in prepare_dsa_params() 659 void **pstr, int *pstrtype) in k2d_NOCTX() 676 *pstr = params; in k2d_NOCTX() 685 void **pstr, int *pstrtype) in prepare_ec_params() argument [all …]
|
| /src/contrib/blocklist/bin/ |
| H A D | conf.c | 244 const char *pstr; in conf_gethostport() local 254 pstr = d; in conf_gethostport() 257 pstr = p; in conf_gethostport() 259 if (conf_getmask(f, l, local, &pstr, &c->c_lmask) == -1) in conf_gethostport() 275 if (!*pstr) in conf_gethostport() 276 pstr = "*"; in conf_gethostport() 277 } else if (pstr != p || strchr(p, '.') || conf_is_interface(p)) { in conf_gethostport() 278 if (pstr == p) in conf_gethostport() 279 pstr = "*"; in conf_gethostport() 312 if (conf_getport(f, l, local, &c->c_port, pstr) == -1) in conf_gethostport()
|
| /src/crypto/openssl/crypto/x509/ |
| H A D | v3_cpols.c | 92 char *pstr; 119 pstr = cnf->name; 120 if (strcmp(pstr, "ia5org") == 0) { 123 } else if (*pstr == '@') { 126 polsect = X509V3_get_section(ctx, pstr + 1);
|
| /src/crypto/openssl/crypto/cms/ |
| H A D | cms_ec.c | 28 const ASN1_STRING *pstr = pval; in pkey_type2param() local 29 const unsigned char *pm = pstr->data; in pkey_type2param() 30 size_t pmlen = (size_t)pstr->length; in pkey_type2param()
|
| /src/crypto/openssl/providers/implementations/include/prov/ |
| H A D | hmac_drbg.h | 28 const unsigned char *pstr, size_t pstr_len);
|
| /src/contrib/atf/atf-c/detail/ |
| H A D | fs.c | 474 const char *pstr = atf_fs_path_cstring(p); in atf_fs_stat_init() local 476 if (lstat(pstr, &st->m_sb) == -1) { in atf_fs_stat_init() 478 "lstat(2) failed", pstr); in atf_fs_stat_init() 494 err = unknown_type_error(pstr, type); in atf_fs_stat_init()
|
| /src/crypto/openssl/crypto/evp/ |
| H A D | evp_rand.c | 512 const unsigned char *pstr, size_t pstr_len, const OSSL_PARAM params[]) in evp_rand_instantiate_locked() argument 515 pstr, pstr_len, params); in evp_rand_instantiate_locked() 520 const unsigned char *pstr, size_t pstr_len, in EVP_RAND_instantiate() argument 528 pstr, pstr_len, params); in EVP_RAND_instantiate()
|
| /src/sys/powerpc/powerpc/ |
| H A D | db_disasm.c | 604 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()
|
| /src/crypto/openssl/fuzz/ |
| H A D | fuzz_rand.c | 43 ossl_unused const unsigned char *pstr, in fuzz_rand_instantiate() argument
|