• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/pcre/

Lines Matching refs:pcre_uchar

83   add_list_to_class(pcre_uint8 *, pcre_uchar **, int, compile_data *,
87 compile_regex(int, pcre_uchar **, const pcre_uchar **, int *, BOOL, BOOL, int, int,
272 static const pcre_uchar sub_start_of_word[] = {
276 static const pcre_uchar sub_end_of_word[] = {
334 static const pcre_uchar string_PNd[] = {
337 static const pcre_uchar string_pNd[] = {
340 static const pcre_uchar string_PXsp[] = {
343 static const pcre_uchar string_pXsp[] = {
346 static const pcre_uchar string_PXwd[] = {
349 static const pcre_uchar string_pXwd[] = {
353 static const pcre_uchar *substitutes[] = {
368 static const pcre_uchar string_pL[] = {
371 static const pcre_uchar string_pLl[] = {
374 static const pcre_uchar string_pLu[] = {
377 static const pcre_uchar string_pXan[] = {
380 static const pcre_uchar string_h[] = {
382 static const pcre_uchar string_pXps[] = {
385 static const pcre_uchar string_PL[] = {
388 static const pcre_uchar string_PLl[] = {
391 static const pcre_uchar string_PLu[] = {
394 static const pcre_uchar string_PXan[] = {
397 static const pcre_uchar string_H[] = {
399 static const pcre_uchar string_PXps[] = {
403 static const pcre_uchar *posix_substitutes[] = {
434 #define POSIX_SUBSIZE (sizeof(posix_substitutes) / sizeof(pcre_uchar *))
926 pcre_uchar *newspace;
936 memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar));
937 cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd->start_workspace);
963 is_counted_repeat(const pcre_uchar *p)
1008 check_escape(const pcre_uchar **ptrptr, pcre_uint32 *chptr, int *errorcodeptr,
1013 const pcre_uchar *ptr = *ptrptr + 1;
1045 const pcre_uchar *oldptr;
1133 const pcre_uchar *p;
1514 get_ucp(const pcre_uchar **ptrptr, BOOL *negptr, unsigned int *ptypeptr,
1517 pcre_uchar c;
1519 const pcre_uchar *ptr = *ptrptr;
1520 pcre_uchar name[32];
1537 for (i = 0; i < (int)(sizeof(name) / sizeof(pcre_uchar)) - 1; i++)
1609 static const pcre_uchar *
1610 read_repeat_counts(const pcre_uchar *p, int *minp, int *maxp, int *errorcodeptr)
1671 static const pcre_uchar*
1672 first_significant_code(const pcre_uchar *code, BOOL skipassert)
1739 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd,
1745 register pcre_uchar *cc = code + 1 + LINK_SIZE;
1753 pcre_uchar *ce, *cs;
1754 register pcre_uchar op = *cc;
1800 cs = ce = (pcre_uchar *)cd->start_code + GET(cc, 1); /* Start subpattern */
2082 const pcre_uchar *
2083 PRIV(find_bracket)(const pcre_uchar *code, BOOL utf, int number)
2087 register pcre_uchar c = *code;
2101 if (number < 0) return (pcre_uchar *)code;
2111 if (n == number) return (pcre_uchar *)code;
2245 static const pcre_uchar *
2246 find_recurse(const pcre_uchar *code, BOOL utf)
2250 register pcre_uchar c = *code;
2399 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode,
2402 register pcre_uchar c;
2409 const pcre_uchar *ccode;
2432 const pcre_uchar *scode = cd->start_code + GET(code, 1);
2433 const pcre_uchar *endgroup = scode;
2442 const pcre_uchar *tcode;
2774 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode,
2799 static pcre_uchar
2800 get_repeat_base(pcre_uchar c)
2917 static const pcre_uchar *
2918 get_chr_property_list(const pcre_uchar *code, BOOL utf,
2921 pcre_uchar c = *code;
2922 pcre_uchar base;
2923 const pcre_uchar *end;
3071 end = code + 32 / sizeof(pcre_uchar);
3123 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd,
3124 const pcre_uint32 *base_list, const pcre_uchar *base_end, int *rec_limit)
3126 pcre_uchar c;
3131 const pcre_uchar *next_code;
3133 const pcre_uchar *xclass_flags;
3662 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd)
3664 register pcre_uchar c;
3665 const pcre_uchar *end;
3666 pcre_uchar *repeat_opcode;
3736 repeat_opcode = code + 1 + (32 / sizeof(pcre_uchar));
3936 check_posix_syntax(const pcre_uchar *ptr, const pcre_uchar **endptr)
3938 pcre_uchar terminator; /* Don't combine these lines; the Solaris cc */
3975 check_posix_name(const pcre_uchar *ptr, int len)
4023 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd,
4027 pcre_uchar *hc;
4028 pcre_uchar *ptr = group;
4030 while ((ptr = (pcre_uchar *)find_recurse(ptr, utf)) != NULL)
4032 for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm;
4053 for (hc = (pcre_uchar *)cd->start_workspace + save_hwm_offset; hc < cd->hwm;
4078 static pcre_uchar *
4079 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd)
4107 complete_callout(pcre_uchar *previous_callout, const pcre_uchar *ptr, compile_data *cd)
4204 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options,
4295 pcre_uchar *uchardata = *uchardptr;
4368 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options,
4406 add_not_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr,
4455 compile_branch(int *optionsptr, pcre_uchar **codeptr,
4456 const pcre_uchar **ptrptr, int *errorcodeptr,
4476 register pcre_uchar *code = *codeptr;
4477 pcre_uchar *last_code = code;
4478 pcre_uchar *orig_code = code;
4479 pcre_uchar *tempcode;
4482 const pcre_uchar *ptr = *ptrptr;
4483 const pcre_uchar *tempptr;
4484 const pcre_uchar *nestptr = NULL;
4485 pcre_uchar *previous = NULL;
4486 pcre_uchar *previous_callout = NULL;
4498 pcre_uchar utf_chars[6];
4509 pcre_uchar *class_uchardata;
4512 pcre_uchar *class_uchardata_base;
4570 pcre_uchar mcbuffer[8];
4699 const pcre_uchar *wscptr = ptr;
4966 const pcre_uchar *oldptr;
5596 memmove(code + (32 / sizeof(pcre_uchar)), code,
5601 code = class_uchardata + (32 / sizeof(pcre_uchar));
5631 code += 32 / sizeof(pcre_uchar);
5694 const pcre_uchar *p = ptr + 1;
5790 pcre_uchar *lastchar = code - 1;
5822 pcre_uchar *oldcode;
6017 pcre_uchar *bralink = NULL;
6018 pcre_uchar *brazeroptr = NULL;
6157 pcre_uchar *hc;
6169 for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset;
6170 hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset;
6220 pcre_uchar *hc;
6250 for (hc = (pcre_uchar *)cd->start_workspace + base_hwm_offset;
6251 hc < (pcre_uchar *)cd->start_workspace + this_hwm_offset;
6268 pcre_uchar *bra = code - offset;
6304 pcre_uchar *ketcode = code - 1 - LINK_SIZE;
6305 pcre_uchar *bracode = ketcode - GET(ketcode, 1);
6327 pcre_uchar *scode = bracode;
6458 tempcode += 1 + 32/sizeof(pcre_uchar);
6581 const pcre_uchar *name = ptr + 1;
6582 const pcre_uchar *arg = NULL;
6731 const pcre_uchar *name;
6732 pcre_uchar *slot;
6888 if ((terminator > 0 && *ptr++ != (pcre_uchar)terminator) ||
7153 if (*ptr != (pcre_uchar)terminator)
7277 if (*ptr != (pcre_uchar)terminator)
7393 pcre_uchar *cslot = slot + cd->name_entry_size;
7459 const pcre_uchar *called;
7498 if (*ptr != (pcre_uchar)terminator)
7767 pcre_uchar *tc = code;
7950 const pcre_uchar *p;
7979 if (*p != (pcre_uchar)terminator)
8262 compile_regex(int options, pcre_uchar **codeptr, const pcre_uchar **ptrptr,
8269 const pcre_uchar *ptr = *ptrptr;
8270 pcre_uchar *code = *codeptr;
8271 pcre_uchar *last_branch = code;
8272 pcre_uchar *start_bracket = code;
8273 pcre_uchar *reverse_count = NULL;
8616 is_anchored(register const pcre_uchar *code, unsigned int bracket_map,
8620 const pcre_uchar *scode = first_significant_code(
8706 is_startline(const pcre_uchar *code, unsigned int bracket_map,
8710 const pcre_uchar *scode = first_significant_code(
8827 find_firstassertedchar(const pcre_uchar *code, pcre_int32 *flags,
8839 const pcre_uchar *scode = first_significant_code(code + 1+LINK_SIZE + xl,
8841 register pcre_uchar op = *scode;
8918 add_name(compile_data *cd, const pcre_uchar *name, int length,
8922 pcre_uchar *slot = cd->name_table;
9027 pcre_uchar *code;
9028 const pcre_uchar *codestart;
9029 const pcre_uchar *ptr;
9040 pcre_uchar cworkspace[COMPILE_WORK_SIZE];
9049 ptr = (const pcre_uchar *)pattern;
9321 cd->start_pattern = (const pcre_uchar *)pattern;
9322 cd->end_pattern = (const pcre_uchar *)(pattern + STRLEN_UC((const pcre_uchar *)pattern));
9359 (length + cd->names_found * cd->name_entry_size) * sizeof(pcre_uchar);
9384 re->name_table_offset = sizeof(REAL_PCRE) / sizeof(pcre_uchar);
9408 cd->name_table = (pcre_uchar *)re + re->name_table_offset;
9411 cd->hwm = (pcre_uchar *)(cd->start_workspace);
9437 ptr = (const pcre_uchar *)pattern + skipatstart;
9438 code = (pcre_uchar *)codestart;
9470 VALGRIND_MAKE_MEM_NOACCESS(code, (length - (code - codestart)) * sizeof(pcre_uchar));
9479 const pcre_uchar *groupptr = NULL;
9502 else PUT(((pcre_uchar *)codestart), offset, (int)(groupptr - codestart));
9522 "const" attribute if the cast (pcre_uchar *)codestart is used directly in the
9527 pcre_uchar *temp = (pcre_uchar *)codestart;
9541 pcre_uchar *cc = (pcre_uchar *)codestart;
9548 for (cc = (pcre_uchar *)PRIV(find_bracket)(codestart, utf, -1);
9550 cc = (pcre_uchar *)PRIV(find_bracket)(cc, utf, -1))
9555 pcre_uchar *be = cc - 1 - LINK_SIZE + GET(cc, -LINK_SIZE);
9581 *erroroffset = (int)(ptr - (const pcre_uchar *)pattern);
9691 pcre_uchar ch = re->first_char;
9700 pcre_uchar ch = re->req_char;
9722 *erroroffset = ptr - (pcre_uchar *)pattern;