| /freebsd-12-stable/contrib/libgnuregex/ |
| D | regex_internal.c | 21 re_string_t *pstr, 39 re_string_allocate (re_string_t *pstr, const char *str, int len, int init_len, in re_string_allocate() argument 49 re_string_construct_common (str, len, pstr, trans, icase, dfa); in re_string_allocate() 51 ret = re_string_realloc_buffers (pstr, init_buf_len); in re_string_allocate() 55 pstr->word_char = dfa->word_char; in re_string_allocate() 56 pstr->word_ops_used = dfa->word_ops_used; in re_string_allocate() 57 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; in re_string_allocate() 58 pstr->valid_len = (pstr->mbs_allocated || dfa->mb_cur_max > 1) ? 0 : len; in re_string_allocate() 59 pstr->valid_raw_len = pstr->valid_len; in re_string_allocate() 67 re_string_construct (re_string_t *pstr, const char *str, int len, in re_string_construct() argument [all …]
|
| D | regex_internal.h | 389 static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr, 393 static void build_wcs_buffer (re_string_t *pstr) internal_function; 394 static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr) 397 static void build_upper_buffer (re_string_t *pstr) internal_function; 398 static void re_string_translate_buffer (re_string_t *pstr) internal_function; 403 #define re_string_peek_byte(pstr, offset) \ argument 404 ((pstr)->mbs[(pstr)->cur_idx + offset]) 405 #define re_string_fetch_byte(pstr) \ argument 406 ((pstr)->mbs[(pstr)->cur_idx++]) 407 #define re_string_first_byte(pstr, idx) \ argument [all …]
|
| D | regexec.c | 4108 re_string_t *pstr = &mctx->input; in extend_buffers() local 4111 if (BE (INT_MAX / 2 / sizeof (re_dfastate_t *) <= pstr->bufs_len, 0)) in extend_buffers() 4115 ret = re_string_realloc_buffers (pstr, in extend_buffers() 4117 MIN (pstr->len, pstr->bufs_len * 2))); in extend_buffers() 4128 pstr->bufs_len + 1); in extend_buffers() 4135 if (pstr->icase) in extend_buffers() 4138 if (pstr->mb_cur_max > 1) in extend_buffers() 4140 ret = build_wcs_upper_buffer (pstr); in extend_buffers() 4146 build_upper_buffer (pstr); in extend_buffers() 4151 if (pstr->mb_cur_max > 1) in extend_buffers() [all …]
|
| /freebsd-12-stable/lib/libthr/thread/ |
| D | thr_printf.c | 41 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-12-stable/tools/KSE/rr/ |
| D | rr.c | 54 #define UPSTR(s) pstr(s) 84 static void pstr(const char *s); 116 pstr("\n** main() exiting **\n"); in main() 163 pstr("sysctl(CTL_KER.KERN_USRSTACK) failed.\n"); in init_uts() 236 pstr(va_arg(ap, char *)); in pfmt() 266 pstr(const char *s) in pstr() function 369 pstr("** uts() exiting **\n"); in uts()
|
| /freebsd-12-stable/tools/KSE/ksetest/ |
| D | kse_threads_test.c | 50 #define UPSTR(s) pstr(s) 87 static void pstr(const char *s); 172 pstr("\n** main() exiting **\n"); in main() 219 pstr("sysctl(CTL_KER.KERN_USRSTACK) failed.\n"); in init_uts() 296 pstr(va_arg(ap, char *)); in pfmt() 326 pstr(const char *s) in pstr() function 458 pstr("** uts() exiting **\n"); in uts()
|
| /freebsd-12-stable/usr.sbin/spi/ |
| D | spi.c | 165 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-12-stable/tools/tools/usbtest/ |
| D | usbtest.c | 91 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-12-stable/crypto/openssl/crypto/dsa/ |
| D | dsa_ameth.c | 26 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-12-stable/bin/pax/ |
| D | pat_rep.c | 243 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)
|
| D | pax.h | 171 char *pstr; /* pattern to match, user supplied */ member
|
| /freebsd-12-stable/crypto/openssl/crypto/ec/ |
| D | ec_ameth.c | 48 ASN1_STRING *pstr = NULL; in eckey_param2type() local 49 pstr = ASN1_STRING_new(); in eckey_param2type() 50 if (pstr == NULL) in eckey_param2type() 62 pstr->length = i2d_ECParameters((EC_KEY *)ec_key, &pstr->data); in eckey_param2type() 63 if (pstr->length <= 0) { in eckey_param2type() 64 ASN1_STRING_free(pstr); in eckey_param2type() 68 *ppval = pstr; in eckey_param2type() 112 const ASN1_STRING *pstr = pval; in eckey_type2param() local 113 const unsigned char *pm = pstr->data; in eckey_type2param() 114 int pmlen = pstr->length; in eckey_type2param()
|
| /freebsd-12-stable/usr.bin/fortune/fortune/ |
| D | fortune.c | 366 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() 387 i += add_file(NO_PROB, "fortunes", *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() [all …]
|
| /freebsd-12-stable/usr.bin/whois/ |
| D | whois.c | 537 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-12-stable/crypto/openssl/crypto/dh/ |
| D | dh_ameth.c | 51 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-12-stable/contrib/blacklist/bin/ |
| D | conf.c | 237 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-12-stable/crypto/openssl/crypto/x509v3/ |
| D | v3_cpols.c | 92 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-12-stable/contrib/subversion/subversion/libsvn_subr/ |
| D | string.c | 1450 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-12-stable/contrib/subversion/subversion/libsvn_client/ |
| D | add.c | 62 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-12-stable/contrib/atf/atf-c/detail/ |
| D | fs.c | 549 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-12-stable/sys/powerpc/powerpc/ |
| D | db_disasm.c | 623 char * pstr; in disasm_fields() local 630 pstr += len; \ in disasm_fields() 632 #define APP_PSTR(fmt, arg) ADD_LEN(snprintf(pstr, slen, (fmt), (arg))) in disasm_fields() 633 #define APP_PSTRS(fmt) ADD_LEN(snprintf(pstr, slen, "%s", (fmt))) in disasm_fields() 635 pstr = disasm_str; in disasm_fields()
|
| /freebsd-12-stable/contrib/subversion/subversion/svn/ |
| D | cl-conflicts.c | 373 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-12-stable/contrib/gcc/ |
| D | gensupport.c | 1253 scan_comma_elt (const char **pstr) in scan_comma_elt() argument 1256 const char *p = *pstr; in scan_comma_elt() 1271 *pstr = p; in scan_comma_elt()
|
| /freebsd-12-stable/crypto/openssl/crypto/rsa/ |
| D | rsa_ameth.c | 31 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-12-stable/contrib/gcclibs/libcpp/ |
| D | charset.c | 938 _cpp_valid_ucn (cpp_reader *pfile, const uchar **pstr, in _cpp_valid_ucn() argument 944 const uchar *str = *pstr; in _cpp_valid_ucn() 982 *pstr = str; in _cpp_valid_ucn()
|