Searched refs:pstr (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-11-stable/contrib/libgnuregex/
H A Dregex_internal.c21 re_string_t *pstr,
40 re_string_allocate (re_string_t *pstr, const char *str, int len, int init_len,
50 re_string_construct_common (str, len, pstr, trans, icase, dfa);
52 ret = re_string_realloc_buffers (pstr, init_buf_len);
56 pstr->word_char = dfa->word_char;
57 pstr->word_ops_used = dfa->word_ops_used;
58 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str;
59 pstr
39 re_string_allocate(re_string_t *pstr, const char *str, int len, int init_len, RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa) argument
67 re_string_construct(re_string_t *pstr, const char *str, int len, RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa) argument
130 re_string_realloc_buffers(re_string_t *pstr, int new_buf_len) argument
170 re_string_construct_common(const char *str, int len, re_string_t *pstr, RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa) argument
202 build_wcs_buffer(re_string_t *pstr) argument
271 build_wcs_upper_buffer(re_string_t *pstr) argument
490 re_string_skip_chars(re_string_t *pstr, int new_raw_idx, wint_t *last_wc) argument
531 build_upper_buffer(re_string_t *pstr) argument
554 re_string_translate_buffer(re_string_t *pstr) argument
575 re_string_reconstruct(re_string_t *pstr, int idx, int eflags) argument
835 re_string_peek_byte_case(const re_string_t *pstr, int idx) argument
871 re_string_fetch_byte_case(re_string_t *pstr) argument
908 re_string_destruct(re_string_t *pstr) argument
[all...]
H A Dregex_internal.h389 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) \
404 ((pstr)->mbs[(pstr)->cur_idx + offset])
405 #define re_string_fetch_byte(pstr) \
406 ((pstr)
720 re_string_char_size_at(const re_string_t *pstr, int idx) argument
733 re_string_wchar_at(const re_string_t *pstr, int idx) argument
743 re_string_elem_size_at(const re_string_t *pstr, int idx) argument
[all...]
H A Dregexec.c4112 re_string_t *pstr = &mctx->input;
4115 if (BE (INT_MAX / 2 / sizeof (re_dfastate_t *) <= pstr->bufs_len, 0))
4119 ret = re_string_realloc_buffers (pstr,
4121 MIN (pstr->len, pstr->bufs_len * 2)));
4132 pstr->bufs_len + 1);
4139 if (pstr->icase)
4142 if (pstr->mb_cur_max > 1)
4144 ret = build_wcs_upper_buffer (pstr);
4150 build_upper_buffer (pstr);
4108 re_string_t *pstr = &mctx->input; local
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_printf.c39 static void pstr(int fd, const char *s);
88 pstr(fd, va_arg(ap, char *));
94 pstr(fd, "0x");
100 pstr(fd, "0x");
145 pstr(int fd, const char *s) function
/freebsd-11-stable/tools/KSE/ksetest/
H A Dkse_threads_test.c50 #define UPSTR(s) pstr(s)
87 static void pstr(const char *s);
172 pstr("\n** main() exiting **\n");
219 pstr("sysctl(CTL_KER.KERN_USRSTACK) failed.\n");
296 pstr(va_arg(ap, char *));
326 pstr(const char *s) function
458 pstr("** uts() exiting **\n");
/freebsd-11-stable/tools/KSE/rr/
H A Drr.c54 #define UPSTR(s) pstr(s)
84 static void pstr(const char *s);
116 pstr("\n** main() exiting **\n");
163 pstr("sysctl(CTL_KER.KERN_USRSTACK) failed.\n");
236 pstr(va_arg(ap, char *));
266 pstr(const char *s) function
369 pstr("** uts() exiting **\n");
/freebsd-11-stable/tools/tools/usbtest/
H A Dusbtest.c91 char *pstr; local
111 for (pstr = menu; *pstr; pstr++) {
116 printf("%c", *pstr);
118 if (*pstr == '\n')
/freebsd-11-stable/bin/pax/
H A Dpax.h169 char *pstr; /* pattern to match, user supplied */ member in struct:pattern
172 int plen; /* length of pstr */
H A Dpat_rep.c241 pt->pstr = str;
280 (void)fprintf(stderr, "%s\n", pt->pstr);
349 if ((pt->pstr = strdup(arcn->name)) == NULL) {
364 pt->plen = strlen(pt->pstr);
370 if (*(pt->pstr + len) == '/') {
371 *(pt->pstr + len) = '\0';
453 (strncmp(pt->pstr, arcn->name, pt->plen) == 0))
455 } else if (fn_match(pt->pstr, arcn->name, &pt->pend) == 0)
/freebsd-11-stable/usr.sbin/spi/
H A Dspi.c165 char *pstr; local
221 opt.mode = (int)strtol(optarg, &pstr, 10);
223 if (!pstr || *pstr || opt.mode < 0 || opt.mode > 3) {
231 opt.speed = (int)strtol(optarg, &pstr, 10);
233 if (!pstr || *pstr || opt.speed < 0) {
241 opt.count = (int)strtol(optarg, &pstr, 10);
243 if (!pstr || *pstr) {
[all...]
/freebsd-11-stable/usr.bin/fortune/fortune/
H A Dfortune.c366 char **pstr; local
371 pstr = Fortune_path_arr;
373 while (*pstr) {
374 i += add_file(NO_PROB, *pstr++, NULL,
384 pstr = Fortune_path_arr;
386 while (*pstr) {
387 i += add_file(NO_PROB, "fortunes", *pstr++,
431 pstr = Fortune_path_arr;
433 while (*pstr) {
434 i += add_file(NO_PROB, *pstr
520 char **pstr = Fortune_path_arr; local
[all...]
/freebsd-11-stable/tools/tools/bus_autoconf/
H A Dbus_sections.c57 format_info_new(char *pstr, uint16_t bo, uint16_t bs) argument
69 strlcpy(pfi->name, pstr, sizeof(pfi->name));
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c76 ASN1_STRING *pstr; local
87 pstr = pval;
88 pm = pstr->data;
89 pmlen = pstr->length;
190 ASN1_STRING *pstr; local
245 pstr = pval;
246 pm = pstr->data;
247 pmlen = pstr->length;
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_cpols.c139 char *pstr;
164 pstr = cnf->name;
165 if (!strcmp(pstr, "ia5org")) {
168 } else if (*pstr == '@') {
170 polsect = X509V3_get_section(ctx, pstr + 1);
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_ameth.c92 ASN1_STRING *pstr = NULL; local
93 pstr = ASN1_STRING_new();
94 if (!pstr)
96 pstr->length = i2d_ECParameters(ec_key, &pstr->data);
97 if (pstr->length <= 0) {
98 ASN1_STRING_free(pstr);
102 *ppval = pstr;
149 const ASN1_STRING *pstr = pval; local
150 const unsigned char *pm = pstr
[all...]
/freebsd-11-stable/contrib/blacklist/bin/
H A Dconf.c237 const char *pstr; local
247 pstr = d;
250 pstr = p;
252 if (getmask(f, l, local, &pstr, &c->c_lmask) == -1)
268 } else if (pstr != p || strchr(p, '.') || conf_is_interface(p)) {
269 if (pstr == p)
270 pstr = "*";
303 if (getport(f, l, local, &c->c_port, pstr) == -1)
310 (*lfun)(LOG_ERR, "%s: %s, %zu: Bad address [%s]", __func__, f, l, pstr);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dstring.c1455 const char *pstr;
1460 pstr = stra;
1462 strb = pstr;
1464 pstr = enda;
1466 endb = pstr;
1477 for (pstr = stra; pstr < enda; ++pstr)
1482 if (*pstr == strb[i-1])
1450 const char *pstr; local
/freebsd-11-stable/crypto/openssl/crypto/dh/
H A Ddh_ameth.c103 ASN1_STRING *pstr; local
118 pstr = pval;
119 pm = pstr->data;
120 pmlen = pstr->length;
212 ASN1_STRING *pstr; local
229 pstr = pval;
230 pm = pstr->data;
231 pmlen = pstr->length;
/freebsd-11-stable/contrib/atf/atf-c/detail/
H A Dfs.c549 const char *pstr = atf_fs_path_cstring(p); local
551 if (lstat(pstr, &st->m_sb) == -1) {
553 "lstat(2) failed", pstr);
569 err = unknown_type_error(pstr, type);
/freebsd-11-stable/crypto/openssl/apps/
H A Ds_apps.h201 int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr,
H A Ds_cb.c1510 int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr,
1544 if (!*pstr)
1545 *pstr = sk_OPENSSL_STRING_new_null();
1546 if (!*pstr || !sk_OPENSSL_STRING_push(*pstr, arg) ||
1547 !sk_OPENSSL_STRING_push(*pstr, argn)) {
1509 args_ssl(char ***pargs, int *pargc, SSL_CONF_CTX *cctx, int *badarg, BIO *err, STACK_OF(OPENSSL_STRING) **pstr, int *no_prot_opt) argument
/freebsd-11-stable/contrib/subversion/subversion/libsvn_client/
H A Dadd.c64 trim_string(char **pstr)
66 char *str = *pstr;
71 *pstr = str;
81 unquote_string(char **pstr)
83 char *str = *pstr;
92 *pstr = str;
62 trim_string(char **pstr) argument
79 unquote_string(char **pstr) argument
/freebsd-11-stable/contrib/subversion/subversion/svn/
H A Dcl-conflicts.c373 add_conflict_version_xml(svn_stringbuf_t **pstr, argument
398 svn_xml_make_open_tag_hash(pstr, pool, svn_xml_self_closing,
/freebsd-11-stable/sys/powerpc/powerpc/
H A Ddb_disasm.c621 char * pstr; local
628 pstr += len; \
630 #define APP_PSTR(fmt, arg) ADD_LEN(snprintf(pstr, slen, (fmt), (arg)))
631 #define APP_PSTRS(fmt) ADD_LEN(snprintf(pstr, slen, "%s", (fmt)))
633 pstr = disasm_str;
/freebsd-11-stable/contrib/gcc/
H A Dgensupport.c1258 scan_comma_elt (const char **pstr)
1261 const char *p = *pstr;
1276 *pstr = p;
1253 scan_comma_elt(const char **pstr) argument

Completed in 199 milliseconds

12