Lines Matching refs:p
38 char *p; in onig_error_code_to_format() local
42 p = "mismatch"; break; in onig_error_code_to_format()
44 p = "no support in this configuration"; break; in onig_error_code_to_format()
46 p = "abort"; break; in onig_error_code_to_format()
48 p = "fail to memory allocation"; break; in onig_error_code_to_format()
50 p = "match-stack limit over"; break; in onig_error_code_to_format()
52 p = "parse depth limit over"; break; in onig_error_code_to_format()
54 p = "retry-limit-in-match over"; break; in onig_error_code_to_format()
56 p = "undefined type (bug)"; break; in onig_error_code_to_format()
58 p = "internal parser error (bug)"; break; in onig_error_code_to_format()
60 p = "stack error (bug)"; break; in onig_error_code_to_format()
62 p = "undefined bytecode (bug)"; break; in onig_error_code_to_format()
64 p = "unexpected bytecode (bug)"; break; in onig_error_code_to_format()
66 p = "default multibyte-encoding is not setted"; break; in onig_error_code_to_format()
68 p = "can't convert to wide-char on specified multibyte-encoding"; break; in onig_error_code_to_format()
70 p = "fail to initialize"; break; in onig_error_code_to_format()
72 p = "invalid argument"; break; in onig_error_code_to_format()
74 p = "end pattern at left brace"; break; in onig_error_code_to_format()
76 p = "end pattern at left bracket"; break; in onig_error_code_to_format()
78 p = "empty char-class"; break; in onig_error_code_to_format()
80 p = "premature end of char-class"; break; in onig_error_code_to_format()
82 p = "end pattern at escape"; break; in onig_error_code_to_format()
84 p = "end pattern at meta"; break; in onig_error_code_to_format()
86 p = "end pattern at control"; break; in onig_error_code_to_format()
88 p = "invalid meta-code syntax"; break; in onig_error_code_to_format()
90 p = "invalid control-code syntax"; break; in onig_error_code_to_format()
92 p = "char-class value at end of range"; break; in onig_error_code_to_format()
94 p = "char-class value at start of range"; break; in onig_error_code_to_format()
96 p = "unmatched range specifier in char-class"; break; in onig_error_code_to_format()
98 p = "target of repeat operator is not specified"; break; in onig_error_code_to_format()
100 p = "target of repeat operator is invalid"; break; in onig_error_code_to_format()
102 p = "nested repeat operator"; break; in onig_error_code_to_format()
104 p = "unmatched close parenthesis"; break; in onig_error_code_to_format()
106 p = "end pattern with unmatched parenthesis"; break; in onig_error_code_to_format()
108 p = "end pattern in group"; break; in onig_error_code_to_format()
110 p = "undefined group option"; break; in onig_error_code_to_format()
112 p = "invalid POSIX bracket type"; break; in onig_error_code_to_format()
114 p = "invalid pattern in look-behind"; break; in onig_error_code_to_format()
116 p = "invalid repeat range {lower,upper}"; break; in onig_error_code_to_format()
118 p = "too big number"; break; in onig_error_code_to_format()
120 p = "too big number for repeat range"; break; in onig_error_code_to_format()
122 p = "upper is smaller than lower in repeat range"; break; in onig_error_code_to_format()
124 p = "empty range in char class"; break; in onig_error_code_to_format()
126 p = "mismatch multibyte code length in char-class range"; break; in onig_error_code_to_format()
128 p = "too many multibyte code ranges are specified"; break; in onig_error_code_to_format()
130 p = "too short multibyte code string"; break; in onig_error_code_to_format()
132 p = "too big backref number"; break; in onig_error_code_to_format()
134 p = "invalid backref number/name"; break; in onig_error_code_to_format()
136 p = "numbered backref/call is not allowed. (use name)"; break; in onig_error_code_to_format()
138 p = "too many captures"; break; in onig_error_code_to_format()
140 p = "too big wide-char value"; break; in onig_error_code_to_format()
142 p = "too long wide-char value"; break; in onig_error_code_to_format()
144 p = "invalid code point value"; break; in onig_error_code_to_format()
146 p = "group name is empty"; break; in onig_error_code_to_format()
148 p = "invalid group name <%n>"; break; in onig_error_code_to_format()
150 p = "invalid char in group name <%n>"; break; in onig_error_code_to_format()
152 p = "undefined name <%n> reference"; break; in onig_error_code_to_format()
154 p = "undefined group <%n> reference"; break; in onig_error_code_to_format()
156 p = "multiplex defined name <%n>"; break; in onig_error_code_to_format()
158 p = "multiplex definition name <%n> call"; break; in onig_error_code_to_format()
160 p = "never ending recursion"; break; in onig_error_code_to_format()
162 p = "group number is too big for capture history"; break; in onig_error_code_to_format()
164 p = "invalid character property name {%n}"; break; in onig_error_code_to_format()
166 p = "invalid if-else syntax"; break; in onig_error_code_to_format()
168 p = "invalid absent group pattern"; break; in onig_error_code_to_format()
170 p = "invalid absent group generator pattern"; break; in onig_error_code_to_format()
172 p = "invalid callout pattern"; break; in onig_error_code_to_format()
174 p = "invalid callout name"; break; in onig_error_code_to_format()
176 p = "undefined callout name"; break; in onig_error_code_to_format()
178 p = "invalid callout body"; break; in onig_error_code_to_format()
180 p = "invalid callout tag name"; break; in onig_error_code_to_format()
182 p = "invalid callout arg"; break; in onig_error_code_to_format()
184 p = "not supported encoding combination"; break; in onig_error_code_to_format()
186 p = "invalid combination of options"; break; in onig_error_code_to_format()
188 p = "library is not initialized"; break; in onig_error_code_to_format()
191 p = "undefined error code"; break; in onig_error_code_to_format()
194 return (UChar* )p; in onig_error_code_to_format()
211 UChar *p; in to_ascii() local
219 p = s; in to_ascii()
221 while (p < end) { in to_ascii()
222 code = ONIGENC_MBC_TO_CODE(enc, p, end); in to_ascii()
244 p += enclen(enc, p); in to_ascii()
248 *is_over = p < end; in to_ascii()
282 UChar *p, *q; in onig_error_code_to_str() local
302 p = s; in onig_error_code_to_str()
307 xmemcpy(p, parbuf, len); in onig_error_code_to_str()
308 p += len; in onig_error_code_to_str()
310 xmemcpy(p, "...", 3); in onig_error_code_to_str()
311 p += 3; in onig_error_code_to_str()
320 *p++ = *q++; in onig_error_code_to_str()
323 *p = '\0'; in onig_error_code_to_str()
324 len = (int )(p - s); in onig_error_code_to_str()
344 UChar *p, *s, *bp; in onig_snprintf_with_pattern() local
358 p = pat; in onig_snprintf_with_pattern()
359 while (p < pat_end) { in onig_snprintf_with_pattern()
360 if (ONIGENC_IS_MBC_HEAD(enc, p)) { in onig_snprintf_with_pattern()
361 len = enclen(enc, p); in onig_snprintf_with_pattern()
363 while (len-- > 0) *s++ = *p++; in onig_snprintf_with_pattern()
369 sprint_byte_with_x((char* )bs, (unsigned int )(*p++)); in onig_snprintf_with_pattern()
376 else if (*p == '\\') { in onig_snprintf_with_pattern()
377 *s++ = *p++; in onig_snprintf_with_pattern()
378 len = enclen(enc, p); in onig_snprintf_with_pattern()
379 while (len-- > 0) *s++ = *p++; in onig_snprintf_with_pattern()
381 else if (*p == '/') { in onig_snprintf_with_pattern()
383 *s++ = *p++; in onig_snprintf_with_pattern()
385 else if (!ONIGENC_IS_CODE_PRINT(enc, *p) && in onig_snprintf_with_pattern()
386 !ONIGENC_IS_CODE_SPACE(enc, *p)) { in onig_snprintf_with_pattern()
387 sprint_byte_with_x((char* )bs, (unsigned int )(*p++)); in onig_snprintf_with_pattern()
393 *s++ = *p++; in onig_snprintf_with_pattern()