Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libthr/thread/
H A Dthr_printf.c41 static void pstr(int fd, const char *s);
90 pstr(fd, va_arg(ap, char *)); in _thread_vprintf()
96 pstr(fd, "0x"); in _thread_vprintf()
103 pstr(fd, "0x"); in _thread_vprintf()
148 pstr(int fd, const char *s) in pstr() function
/freebsd-13.1/usr.sbin/spi/
H A Dspi.c165 char *pstr; in main() local
221 opt.mode = (int)strtol(optarg, &pstr, 10); in main()
223 if (!pstr || *pstr || opt.mode < 0 || opt.mode > 3) { in main()
231 opt.speed = (int)strtol(optarg, &pstr, 10); in main()
233 if (!pstr || *pstr || opt.speed < 0) { in main()
241 opt.count = (int)strtol(optarg, &pstr, 10); in main()
243 if (!pstr || *pstr) { in main()
/freebsd-13.1/tools/tools/usbtest/
H A Dusbtest.c91 char *pstr; in usb_ts_show_menu() local
111 for (pstr = menu; *pstr; pstr++) { in usb_ts_show_menu()
116 printf("%c", *pstr); in usb_ts_show_menu()
118 if (*pstr == '\n') in usb_ts_show_menu()
/freebsd-13.1/bin/pax/
H A Dpat_rep.c243 pt->pstr = str;
282 (void)fprintf(stderr, "%s\n", pt->pstr);
351 if ((pt->pstr = strdup(arcn->name)) == NULL) {
366 pt->plen = strlen(pt->pstr);
372 if (*(pt->pstr + len) == '/') {
373 *(pt->pstr + len) = '\0';
455 (strncmp(pt->pstr, arcn->name, pt->plen) == 0))
457 } else if (fn_match(pt->pstr, arcn->name, &pt->pend) == 0)
H A Dpax.h171 char *pstr; /* pattern to match, user supplied */ member
/freebsd-13.1/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c26 const ASN1_STRING *pstr; in dsa_pub_decode() local
37 pstr = pval; in dsa_pub_decode()
38 pm = pstr->data; in dsa_pub_decode()
39 pmlen = pstr->length; in dsa_pub_decode()
143 const ASN1_STRING *pstr; in dsa_priv_decode() local
161 pstr = pval; in dsa_priv_decode()
162 pm = pstr->data; in dsa_priv_decode()
163 pmlen = pstr->length; in dsa_priv_decode()
/freebsd-13.1/crypto/openssl/crypto/ec/
H A Dec_ameth.c49 ASN1_STRING *pstr = NULL; in eckey_param2type() local
50 pstr = ASN1_STRING_new(); in eckey_param2type()
51 if (pstr == NULL) in eckey_param2type()
63 pstr->length = i2d_ECParameters((EC_KEY *)ec_key, &pstr->data); in eckey_param2type()
64 if (pstr->length <= 0) { in eckey_param2type()
65 ASN1_STRING_free(pstr); in eckey_param2type()
69 *ppval = pstr; in eckey_param2type()
115 const ASN1_STRING *pstr = pval; in eckey_type2param() local
116 const unsigned char *pm = pstr->data; in eckey_type2param()
117 int pmlen = pstr->length; in eckey_type2param()
/freebsd-13.1/usr.bin/fortune/fortune/
H A Dfortune.c366 char **pstr; in form_file_list() local
371 pstr = Fortune_path_arr; in form_file_list()
373 while (*pstr) { in form_file_list()
374 i += add_file(NO_PROB, *pstr++, NULL, in form_file_list()
384 pstr = Fortune_path_arr; in form_file_list()
386 while (*pstr) { in form_file_list()
432 pstr = Fortune_path_arr; in form_file_list()
434 while (*pstr) { in form_file_list()
435 i += add_file(NO_PROB, *pstr++, NULL, in form_file_list()
521 char **pstr = Fortune_path_arr; in add_file() local
[all …]
/freebsd-13.1/usr.bin/whois/
H A Dwhois.c537 char *pstr; in whois() local
547 pstr = ++p; in whois()
549 if (p > pstr && (p - pstr) < 6) { in whois()
551 (int)(p - pstr), pstr); in whois()
/freebsd-13.1/crypto/openssl/crypto/dh/
H A Ddh_ameth.c51 const ASN1_STRING *pstr; in dh_pub_decode() local
66 pstr = pval; in dh_pub_decode()
67 pm = pstr->data; in dh_pub_decode()
68 pmlen = pstr->length; in dh_pub_decode()
156 const ASN1_STRING *pstr; in dh_priv_decode() local
172 pstr = pval; in dh_priv_decode()
173 pm = pstr->data; in dh_priv_decode()
174 pmlen = pstr->length; in dh_priv_decode()
/freebsd-13.1/contrib/blacklist/bin/
H A Dconf.c237 const char *pstr; in gethostport() local
247 pstr = d; in gethostport()
250 pstr = p; in gethostport()
252 if (getmask(f, l, local, &pstr, &c->c_lmask) == -1) in gethostport()
268 } else if (pstr != p || strchr(p, '.') || conf_is_interface(p)) { in gethostport()
269 if (pstr == p) in gethostport()
270 pstr = "*"; in gethostport()
303 if (getport(f, l, local, &c->c_port, pstr) == -1) in gethostport()
310 (*lfun)(LOG_ERR, "%s: %s, %zu: Bad address [%s]", __func__, f, l, pstr); in gethostport()
/freebsd-13.1/crypto/openssl/crypto/x509v3/
H A Dv3_cpols.c92 char *pstr;
121 pstr = cnf->name;
122 if (strcmp(pstr, "ia5org") == 0) {
125 } else if (*pstr == '@') {
127 polsect = X509V3_get_section(ctx, pstr + 1);
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dstring.c1450 const char *pstr; in svn_string__similarity() local
1455 pstr = stra; in svn_string__similarity()
1457 strb = pstr; in svn_string__similarity()
1459 pstr = enda; in svn_string__similarity()
1461 endb = pstr; in svn_string__similarity()
1472 for (pstr = stra; pstr < enda; ++pstr) in svn_string__similarity()
1477 if (*pstr == strb[i-1]) in svn_string__similarity()
/freebsd-13.1/contrib/subversion/subversion/libsvn_client/
H A Dadd.c62 trim_string(char **pstr) in trim_string() argument
64 char *str = *pstr; in trim_string()
69 *pstr = str; in trim_string()
79 unquote_string(char **pstr) in unquote_string() argument
81 char *str = *pstr; in unquote_string()
90 *pstr = str; in unquote_string()
/freebsd-13.1/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-13.1/sys/powerpc/powerpc/
H A Ddb_disasm.c607 char * pstr; in disasm_fields() local
614 pstr += len; \ in disasm_fields()
616 #define APP_PSTR(fmt, arg) ADD_LEN(snprintf(pstr, slen, (fmt), (arg))) in disasm_fields()
617 #define APP_PSTRS(fmt) ADD_LEN(snprintf(pstr, slen, "%s", (fmt))) in disasm_fields()
619 pstr = disasm_str; in disasm_fields()
/freebsd-13.1/contrib/subversion/subversion/svn/
H A Dcl-conflicts.c373 add_conflict_version_xml(svn_stringbuf_t **pstr, in add_conflict_version_xml() argument
398 svn_xml_make_open_tag_hash(pstr, pool, svn_xml_self_closing, in add_conflict_version_xml()
/freebsd-13.1/crypto/openssl/crypto/rsa/
H A Drsa_ameth.c31 ASN1_STRING **pstr, int *pstrtype) in rsa_param_encode() argument
35 *pstr = NULL; in rsa_param_encode()
47 if (ASN1_item_pack(rsa->pss, ASN1_ITEM_rptr(RSA_PSS_PARAMS), pstr) == NULL) in rsa_param_encode()
/freebsd-13.1/crypto/heimdal/lib/hx509/
H A Dname.c633 const char *pstr = p + (q - p) + 1; in hx509_parse_name() local
643 memcpy(r, pstr, pstr_len); in hx509_parse_name()
/freebsd-13.1/crypto/heimdal/kdc/
H A Dkrb5tgs.c596 const char *pstr) in verify_flags() argument
599 kdc_log(context, config, 0, "Ticket expired (%s)", pstr); in verify_flags()
603 kdc_log(context, config, 0, "Ticket not valid (%s)", pstr); in verify_flags()
/freebsd-13.1/contrib/unbound/sldns/
H A Dstr2wire.c2722 const char* pstr = str; in sldns_str2wire_long_str_buf() local
2726 while (sldns_parse_char(&ch, &pstr)) { in sldns_str2wire_long_str_buf()
2731 if(!pstr) in sldns_str2wire_long_str_buf()
/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h532 GTEST_API_ bool SkipPrefix(const char* prefix, const char** pstr);
/freebsd-13.1/contrib/ntp/ntpd/
H A Dntp_config.c5171 const char ** pstr, in get_pfxmatch() argument
5176 if (strncmp(*pstr, m->name, strlen(m->name)) == 0) { in get_pfxmatch()
5177 *pstr += strlen(m->name); in get_pfxmatch()
/freebsd-13.1/contrib/googletest/googletest/src/
H A Dgtest.cc5653 bool SkipPrefix(const char* prefix, const char** pstr) { in SkipPrefix() argument
5655 if (strncmp(*pstr, prefix, prefix_len) == 0) { in SkipPrefix()
5656 *pstr += prefix_len; in SkipPrefix()