Lines Matching refs:code

15     * Redistributions of source code must retain the above copyright notice,
61 code the compiled regex
70 pcre_get_stringnumber(const pcre *code, const char *stringname)
73 pcre16_get_stringnumber(const pcre16 *code, PCRE_SPTR16 stringname)
76 pcre32_get_stringnumber(const pcre32 *code, PCRE_SPTR32 stringname)
85 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
89 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
91 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
95 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
99 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
101 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
105 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
109 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
111 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
139 code the compiled regex
150 pcre_get_stringtable_entries(const pcre *code, const char *stringname,
154 pcre16_get_stringtable_entries(const pcre16 *code, PCRE_SPTR16 stringname,
158 pcre32_get_stringtable_entries(const pcre32 *code, PCRE_SPTR32 stringname,
168 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
172 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
174 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
178 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
182 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
184 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
188 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0)
192 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0)
194 if ((rc = pcre32_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0)
250 code the compiled regex
261 get_first_set(const pcre *code, const char *stringname, int *ovector)
264 get_first_set(const pcre16 *code, PCRE_SPTR16 stringname, int *ovector)
267 get_first_set(const pcre32 *code, PCRE_SPTR32 stringname, int *ovector)
270 const REAL_PCRE *re = (const REAL_PCRE *)code;
283 return pcre_get_stringnumber(code, stringname);
284 entrysize = pcre_get_stringtable_entries(code, stringname, &first, &last);
287 return pcre16_get_stringnumber(code, stringname);
288 entrysize = pcre16_get_stringtable_entries(code, stringname, &first, &last);
291 return pcre32_get_stringnumber(code, stringname);
292 entrysize = pcre32_get_stringtable_entries(code, stringname, &first, &last);
369 code the compiled regex
390 pcre_copy_named_substring(const pcre *code, const char *subject,
395 pcre16_copy_named_substring(const pcre16 *code, PCRE_SPTR16 subject,
400 pcre32_copy_named_substring(const pcre32 *code, PCRE_SPTR32 subject,
405 int n = get_first_set(code, stringname, ovector);
587 code the compiled regex
607 pcre_get_named_substring(const pcre *code, const char *subject,
612 pcre16_get_named_substring(const pcre16 *code, PCRE_SPTR16 subject,
617 pcre32_get_named_substring(const pcre32 *code, PCRE_SPTR32 subject,
622 int n = get_first_set(code, stringname, ovector);