/PHP-5.5/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 439 unsigned char *p; in mbfl_convert_filter_devcat() local 441 p = src->buffer; in mbfl_convert_filter_devcat() 444 if ((*filter->filter_function)(*p++, filter) < 0) { in mbfl_convert_filter_devcat() 453 int mbfl_convert_filter_strcat(mbfl_convert_filter *filter, const unsigned char *p) in mbfl_convert_filter_strcat() argument 457 while ((c = *p++) != '\0') { in mbfl_convert_filter_strcat()
|
H A D | mbfl_convert.h | 95 MBFLAPI extern int mbfl_convert_filter_strcat(mbfl_convert_filter *filter, const unsigned char *p);
|
H A D | mbfl_memory_device.c | 218 const unsigned char *p; in mbfl_memory_device_strcat() local 221 p = (const unsigned char*)psrc; in mbfl_memory_device_strcat() 222 while (*p) { in mbfl_memory_device_strcat() 223 p++; in mbfl_memory_device_strcat() 238 p = (const unsigned char*)psrc; in mbfl_memory_device_strcat() 242 *w++ = *p++; in mbfl_memory_device_strcat() 279 unsigned char *p, *w; in mbfl_memory_device_devcat() local 292 p = src->buffer; in mbfl_memory_device_devcat() 297 *w++ = *p++; in mbfl_memory_device_devcat()
|
/PHP-5.5/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 410 char *p = buf; in main() local 424 if (*p == '\0' || *p == '#' || *p == 0x0a) { in main() 427 } else if (*p != ' ' && *p != '\t') { in main() 430 ++p; in main() 436 q = p; in main() 439 if (*p == '\0' || *p == '#' || *p == 0x0a) { in main() 442 } else if (*p == ' ' || *p == '\t') { in main() 445 ++p; in main() 448 *p = '\0'; in main() 453 ++p; in main()
|
/PHP-5.5/ext/mbstring/libmbfl/tests/ |
H A D | conv_kana.c | 46 const char *p; in main() local 48 for (p= argv[2] + strlen(argv[2]); p > argv[2]; ) { in main() 49 switch (*(--p)) { in main()
|
/PHP-5.5/ext/mbstring/ |
H A D | mbstring.c | 718 p--; in php_mb_parse_encoding_list() 719 while (p > p1 && (*p == ' ' || *p == '\t')) { in php_mb_parse_encoding_list() 721 p--; in php_mb_parse_encoding_list() 1607 if ((MBSTRG(func_overload) & p->type) == p->type && in PHP_RINIT_FUNCTION() 1626 p++; in PHP_RINIT_FUNCTION() 1666 if ((MBSTRG(func_overload) & p->type) == p->type && in PHP_RSHUTDOWN_FUNCTION() 1673 p++; in PHP_RSHUTDOWN_FUNCTION() 2095 char *p; in PHP_FUNCTION() local 4104 ++p; in PHP_FUNCTION() 4105 } while (*p == ' ' || *p == '\t'); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | HISTORY | 206 invalid \p{Alnum}, \p{ASCII}, [:alnum:], [:ascii:]. 211 \p{Word} doesn't work. 307 (p < s) 782 2004/11/30: [inst] add "cp -p st.[ch] st.[ch].ruby_orig" to "make 19". 825 p(Regexp.new(s, nil, "u") =~ "\xC3\xBE") 1114 2004/03/16: [spec] allow prefix 'Is' for \p{...} in ONIG_SYNTAX_PERL. 1117 2004/03/15: [spec] support NOT op. in char property. \p{^...}, \P{^...}. 1144 ex. /\g<p>(?@<p>\(\g<s>\)){0}(?<s>(?:\g<p>)*|){0}/ 1236 2004/01/20: [spec] add \p{...}, \P{...} in char class. 1237 2004/01/20: [new] character property operators \p{...}, \P{...}. [all …]
|
/PHP-5.5/ext/mbstring/oniguruma/doc/ |
H A D | API | 213 normal return: match position offset (i.e. p - str >= 0)
|
H A D | RE | 75 * \p{property-name} 76 * \p{^property-name} (negative) 295 p r.match('<foo>f<bar>bbb</bar>f</foo>').captures 385 + add character property (\p{property}, \P{property})
|
/PHP-5.5/ext/mbstring/oniguruma/enc/ |
H A D | big5.c | 52 big5_mbc_enc_len(const UChar* p) in big5_mbc_enc_len() argument 54 return EncLen_BIG5[*p]; in big5_mbc_enc_len() 117 const UChar *p; in big5_left_adjust_char_head() local 121 p = s; in big5_left_adjust_char_head() 123 if (BIG5_ISMB_TRAIL(*p)) { in big5_left_adjust_char_head() 124 while (p > start) { in big5_left_adjust_char_head() 125 if (! BIG5_ISMB_FIRST(*--p)) { in big5_left_adjust_char_head() 126 p++; in big5_left_adjust_char_head() 132 if (p + len > s) return (UChar* )p; in big5_left_adjust_char_head() 133 p += len; in big5_left_adjust_char_head() [all …]
|
H A D | cp1251.c | 111 const UChar* p = *pp; in cp1251_mbc_case_fold() local 113 *lower = ENC_CP1251_TO_LOWER_CASE(*p); in cp1251_mbc_case_fold() 176 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in cp1251_get_case_fold_codes_by_str() argument 180 flag, p, end, items); in cp1251_get_case_fold_codes_by_str()
|
H A D | euc_jp.c | 71 c = *p++; in mbc_to_code() 109 UChar *p = buf; in code_to_mbc() local 119 return p - buf; in code_to_mbc() 127 const UChar* p = *pp; in mbc_case_fold() local 139 *lower++ = *p++; in mbc_case_fold() 152 const UChar *p; in left_adjust_char_head() local 156 p = s; in left_adjust_char_head() 158 while (!eucjp_islead(*p) && p > start) p--; in left_adjust_char_head() 160 if (p + len > s) return (UChar* )p; in left_adjust_char_head() 161 p += len; in left_adjust_char_head() [all …]
|
H A D | euc_kr.c | 52 euckr_mbc_enc_len(const UChar* p) in euckr_mbc_enc_len() argument 54 return EncLen_EUCKR[*p]; in euckr_mbc_enc_len() 58 euckr_mbc_to_code(const UChar* p, const UChar* end) in euckr_mbc_to_code() argument 60 return onigenc_mbn_mbc_to_code(ONIG_ENCODING_EUC_KR, p, end); in euckr_mbc_to_code() 100 const UChar *p; in euckr_left_adjust_char_head() local 104 p = s; in euckr_left_adjust_char_head() 106 while (!euckr_islead(*p) && p > start) p--; in euckr_left_adjust_char_head() 107 len = enclen(ONIG_ENCODING_EUC_KR, p); in euckr_left_adjust_char_head() 108 if (p + len > s) return (UChar* )p; in euckr_left_adjust_char_head() 109 p += len; in euckr_left_adjust_char_head() [all …]
|
H A D | euc_tw.c | 52 euctw_mbc_enc_len(const UChar* p) in euctw_mbc_enc_len() argument 54 return EncLen_EUCTW[*p]; in euctw_mbc_enc_len() 58 euctw_mbc_to_code(const UChar* p, const UChar* end) in euctw_mbc_to_code() argument 60 return onigenc_mbn_mbc_to_code(ONIG_ENCODING_EUC_TW, p, end); in euctw_mbc_to_code() 91 const UChar *p; in euctw_left_adjust_char_head() local 95 p = s; in euctw_left_adjust_char_head() 97 while (!euctw_islead(*p) && p > start) p--; in euctw_left_adjust_char_head() 98 len = enclen(ONIG_ENCODING_EUC_TW, p); in euctw_left_adjust_char_head() 99 if (p + len > s) return (UChar* )p; in euctw_left_adjust_char_head() 100 p += len; in euctw_left_adjust_char_head() [all …]
|
H A D | gb18030.c | 68 if (GB18030_MAP[*p] != CM) in gb18030_mbc_enc_len() 70 p++; in gb18030_mbc_enc_len() 71 if (GB18030_MAP[*p] == C4) in gb18030_mbc_enc_len() 73 if (GB18030_MAP[*p] == C1) in gb18030_mbc_enc_len() 150 const UChar *p; in gb18030_left_adjust_char_head() local 154 for (p = s; p >= start; p--) { in gb18030_left_adjust_char_head() 158 switch (GB18030_MAP[*p]) { in gb18030_left_adjust_char_head() 173 switch (GB18030_MAP[*p]) { in gb18030_left_adjust_char_head() 184 switch (GB18030_MAP[*p]) { in gb18030_left_adjust_char_head() 195 switch (GB18030_MAP[*p]) { in gb18030_left_adjust_char_head() [all …]
|
H A D | iso8859_1.c | 118 if (0x41 <= *p && *p <= 0x5a) { in get_case_fold_codes_by_str() 122 if (*p == 0x53 && end > p + 1 in get_case_fold_codes_by_str() 123 && (*(p+1) == 0x53 || *(p+1) == 0x73)) { /* SS */ in get_case_fold_codes_by_str() 132 else if (0x61 <= *p && *p <= 0x7a) { in get_case_fold_codes_by_str() 136 if (*p == 0x73 && end > p + 1 in get_case_fold_codes_by_str() 137 && (*(p+1) == 0x73 || *(p+1) == 0x53)) { /* ss */ in get_case_fold_codes_by_str() 146 else if (0xc0 <= *p && *p <= 0xcf) { in get_case_fold_codes_by_str() 152 else if (0xd0 <= *p && *p <= 0xdf) { in get_case_fold_codes_by_str() 183 else if (0xe0 <= *p && *p <= 0xef) { in get_case_fold_codes_by_str() 189 else if (0xf0 <= *p && *p <= 0xfe) { in get_case_fold_codes_by_str() [all …]
|
H A D | iso8859_10.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_10_TO_LOWER_CASE(*p); in mbc_case_fold() 129 const UChar* p = *pp; 131 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 137 v = (EncISO_8859_10_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 215 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 219 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_13.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_13_TO_LOWER_CASE(*p); in mbc_case_fold() 129 const UChar* p = *pp; 131 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 137 v = (EncISO_8859_13_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 140 if (*p == 0xb5) 204 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 208 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_14.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_14_TO_LOWER_CASE(*p); in mbc_case_fold() 130 const UChar* p = *pp; 132 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 138 v = (EncISO_8859_14_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 217 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 221 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_15.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_15_TO_LOWER_CASE(*p); in mbc_case_fold() 130 const UChar* p = *pp; 132 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 138 v = (EncISO_8859_15_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 141 if (*p == 0xaa || *p == 0xb5 || *p == 0xba) 211 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 215 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_16.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_16_TO_LOWER_CASE(*p); in mbc_case_fold() 129 const UChar* p = *pp; 131 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 137 v = (EncISO_8859_16_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 213 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 217 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_2.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_2_TO_LOWER_CASE(*p); in mbc_case_fold() 129 const UChar* p = *pp; 131 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 137 v = (EncISO_8859_2_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 202 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 206 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_3.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_3_TO_LOWER_CASE(*p); in mbc_case_fold() 129 const UChar* p = *pp; 131 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 137 v = (EncISO_8859_3_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 140 if (*p == 0xb5) 211 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 215 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_4.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { in mbc_case_fold() 119 *lower = ENC_ISO_8859_4_TO_LOWER_CASE(*p); in mbc_case_fold() 129 const UChar* p = *pp; 131 if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { 137 v = (EncISO_8859_4_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 139 if (*p == 0xa2) 213 const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) in get_case_fold_codes_by_str() argument 217 flag, p, end, items); in get_case_fold_codes_by_str()
|
H A D | iso8859_5.c | 110 const UChar* p = *pp; in mbc_case_fold() local 112 *lower = ENC_ISO_8859_5_TO_LOWER_CASE(*p); in mbc_case_fold() 122 const UChar* p = *pp; 125 v = (EncISO_8859_5_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); 201 const OnigUChar* p, const OnigUChar* end, in get_case_fold_codes_by_str() argument 206 flag, p, end, items); in get_case_fold_codes_by_str()
|