/PHP-7.3/ext/exif/tests/ |
H A D | bug76557.phpt | 11 Warning: exif_read_data(bug76557.jpg): Process tag(x010F=Make ): Illegal format code 0x3030, … 13 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 15 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 17 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 19 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 21 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 23 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 25 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 27 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … 29 Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal format code 0x3030, … [all …]
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | utf16_be.c | 151 OnigCodePoint code; in utf16be_mbc_to_code() local 159 code = p[0] * 256 + p[1]; in utf16be_mbc_to_code() 161 return code; in utf16be_mbc_to_code() 165 utf16be_code_to_mbclen(OnigCodePoint code) in utf16be_code_to_mbclen() argument 167 if (code > 0xffff) { in utf16be_code_to_mbclen() 168 if (code > 0x10ffff) in utf16be_code_to_mbclen() 183 if (code > 0xffff) { in utf16be_code_to_mbc() 186 plane = (code >> 16) - 1; in utf16be_code_to_mbc() 188 high = (code & 0xff00) >> 8; in utf16be_code_to_mbc() 191 *p = (UChar )(code & 0xff); in utf16be_code_to_mbc() [all …]
|
H A D | iso8859_8.c | 32 #define ENC_IS_ISO_8859_8_CTYPE(code,ctype) \ argument 33 ((EncISO_8859_8_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 71 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 73 if (code < 256) in is_code_ctype() 74 return ENC_IS_ISO_8859_8_CTYPE(code, ctype); in is_code_ctype()
|
H A D | iso8859_11.c | 32 #define ENC_IS_ISO_8859_11_CTYPE(code,ctype) \ argument 33 ((EncISO_8859_11_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 71 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 73 if (code < 256) in is_code_ctype() 74 return ENC_IS_ISO_8859_11_CTYPE(code, ctype); in is_code_ctype()
|
H A D | iso8859_6.c | 32 #define ENC_IS_ISO_8859_6_CTYPE(code,ctype) \ argument 33 ((EncISO_8859_6_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 71 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 73 if (code < 256) in is_code_ctype() 74 return ENC_IS_ISO_8859_6_CTYPE(code, ctype); in is_code_ctype()
|
H A D | regerror.c | 36 onig_error_code_to_format(int code) in onig_error_code_to_format() argument 40 switch (code) { in onig_error_code_to_format() 212 OnigCodePoint code; in to_ascii() local 223 if (code >= 0x80) { in to_ascii() 241 buf[len++] = (UChar )code; in to_ascii() 261 onig_is_error_code_needs_param(int code) in onig_is_error_code_needs_param() argument 263 switch (code) { in onig_is_error_code_needs_param() 288 va_start(vargs, code); in onig_error_code_to_str() 290 switch (code) { in onig_error_code_to_str() 301 q = onig_error_code_to_format(code); in onig_error_code_to_str() [all …]
|
H A D | utf16_le.c | 96 utf16le_code_to_mbclen(OnigCodePoint code) in utf16le_code_to_mbclen() argument 98 if (code > 0xffff) { in utf16le_code_to_mbclen() 99 if (code > 0x10ffff) in utf16le_code_to_mbclen() 163 OnigCodePoint code; in utf16le_mbc_to_code() local 173 code = c1 * 256 + p[0]; in utf16le_mbc_to_code() 175 return code; in utf16le_mbc_to_code() 183 if (code > 0xffff) { in utf16le_code_to_mbc() 186 plane = (code >> 16) - 1; in utf16le_code_to_mbc() 187 high = (code & 0xff00) >> 8; in utf16le_code_to_mbc() 191 *p++ = (UChar )(code & 0xff); in utf16le_code_to_mbc() [all …]
|
H A D | euc_jp.c | 114 code_to_mbclen(OnigCodePoint code) in code_to_mbclen() argument 116 if (ONIGENC_IS_CODE_ASCII(code)) return 1; in code_to_mbclen() 117 else if ((code & 0xff0000) != 0) return 3; in code_to_mbclen() 118 else if ((code & 0xff00) != 0) return 2; in code_to_mbclen() 124 code_to_mbc(OnigCodePoint code, UChar *buf) in code_to_mbc() argument 128 if ((code & 0xff0000) != 0) *p++ = (UChar )(((code >> 16) & 0xff)); in code_to_mbc() 129 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff)); in code_to_mbc() 130 *p++ = (UChar )(code & 0xff); in code_to_mbc() 229 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 232 if (code < 128) in is_code_ctype() [all …]
|
H A D | sjis.c | 113 code_to_mbclen(OnigCodePoint code) in code_to_mbclen() argument 115 if (code < 256) { in code_to_mbclen() 116 return EncLen_SJIS[(int )code] == 1; in code_to_mbclen() 118 else if (code <= 0xffff) { in code_to_mbclen() 145 code_to_mbc(OnigCodePoint code, UChar *buf) in code_to_mbc() argument 149 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff)); in code_to_mbc() 150 *p++ = (UChar )(code & 0xff); in code_to_mbc() 247 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 250 if (code < 128) in is_code_ctype() 251 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); in is_code_ctype() [all …]
|
H A D | euc_tw.c | 58 euctw_code_to_mbclen(OnigCodePoint code) in euctw_code_to_mbclen() argument 60 if ((code & 0xff000000) != 0) return 4; in euctw_code_to_mbclen() 61 else if ((code & 0xff0000) != 0) return ONIGERR_INVALID_CODE_POINT_VALUE; in euctw_code_to_mbclen() 62 else if ((code & 0xff00) != 0) return 2; in euctw_code_to_mbclen() 64 if (EncLen_EUCTW[(int )(code & 0xff)] == 1) in euctw_code_to_mbclen() 117 euctw_code_to_mbc(OnigCodePoint code, UChar *buf) in euctw_code_to_mbc() argument 119 return onigenc_mb4_code_to_mbc(ONIG_ENCODING_EUC_TW, code, buf); in euctw_code_to_mbc() 131 euctw_is_code_ctype(OnigCodePoint code, unsigned int ctype) in euctw_is_code_ctype() argument 133 return onigenc_mb4_is_code_ctype(ONIG_ENCODING_EUC_TW, code, ctype); in euctw_is_code_ctype()
|
H A D | regenc.h | 223 OnigCodePoint code; member 229 extern int onigenc_unicode_fold1_key(OnigCodePoint code[]); 230 extern int onigenc_unicode_fold2_key(OnigCodePoint code[]); 231 extern int onigenc_unicode_fold3_key(OnigCodePoint code[]); 234 extern int onig_codes_byte_at(OnigCodePoint code[], int at); 260 #define ONIGENC_IS_ASCII_CODE(code) ((code) < 0x80) argument 263 #define ONIGENC_IS_ASCII_CODE_CTYPE(code,ctype) \ argument 265 #define ONIGENC_IS_ASCII_CODE_WORD(code) \ argument 267 #define ONIGENC_IS_ASCII_CODE_CASE_AMBIG(code) \ argument 268 (ONIGENC_IS_ASCII_CODE_CTYPE(code, ONIGENC_CTYPE_UPPER) ||\ [all …]
|
H A D | big5.c | 58 big5_code_to_mbclen(OnigCodePoint code) in big5_code_to_mbclen() argument 60 if ((code & (~0xffff)) != 0) return ONIGERR_INVALID_CODE_POINT_VALUE; in big5_code_to_mbclen() 61 if ((code & 0xff00) != 0) return 2; in big5_code_to_mbclen() 62 if (EncLen_BIG5[(int )(code & 0xff)] == 1) return 1; in big5_code_to_mbclen() 99 big5_code_to_mbc(OnigCodePoint code, UChar *buf) in big5_code_to_mbc() argument 101 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_BIG5, code, buf); in big5_code_to_mbc() 113 big5_is_code_ctype(OnigCodePoint code, unsigned int ctype) in big5_is_code_ctype() argument 115 return onigenc_mb2_is_code_ctype(ONIG_ENCODING_BIG5, code, ctype); in big5_is_code_ctype()
|
H A D | euc_kr.c | 58 euckr_code_to_mbclen(OnigCodePoint code) in euckr_code_to_mbclen() argument 60 if ((code & (~0xffff)) != 0) return ONIGERR_INVALID_CODE_POINT_VALUE; in euckr_code_to_mbclen() 61 if ((code & 0xff00) != 0) return 2; in euckr_code_to_mbclen() 62 if (EncLen_EUCKR[(int )(code & 0xff)] == 1) return 1; in euckr_code_to_mbclen() 98 euckr_code_to_mbc(OnigCodePoint code, UChar *buf) in euckr_code_to_mbc() argument 100 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_EUC_KR, code, buf); in euckr_code_to_mbc() 112 euckr_is_code_ctype(OnigCodePoint code, unsigned int ctype) in euckr_is_code_ctype() argument 114 return onigenc_mb2_is_code_ctype(ONIG_ENCODING_EUC_KR, code, ctype); in euckr_is_code_ctype()
|
H A D | unicode_unfold_key.c | 94 onigenc_unicode_unfold_key(OnigCodePoint code) in onigenc_unicode_unfold_key() argument 3293 int key = hash(&code); in onigenc_unicode_unfold_key() 3297 OnigCodePoint gcode = wordlist[key].code; in onigenc_unicode_unfold_key() 3299 if (code == gcode && wordlist[key].index >= 0) in onigenc_unicode_unfold_key()
|
H A D | iso8859_7.c | 33 #define ENC_IS_ISO_8859_7_CTYPE(code,ctype) \ argument 34 ((EncISO_8859_7_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 118 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 120 if (code < 256) in is_code_ctype() 121 return ENC_IS_ISO_8859_7_CTYPE(code, ctype); in is_code_ctype()
|
H A D | cp1251.c | 34 #define ENC_IS_CP1251_CTYPE(code,ctype) \ argument 35 ((EncCP1251_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 119 cp1251_is_code_ctype(OnigCodePoint code, unsigned int ctype) in cp1251_is_code_ctype() argument 121 if (code < 256) in cp1251_is_code_ctype() 122 return ENC_IS_CP1251_CTYPE(code, ctype); in cp1251_is_code_ctype()
|
H A D | iso8859_5.c | 33 #define ENC_IS_ISO_8859_5_CTYPE(code,ctype) \ argument 34 ((EncISO_8859_5_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 118 is_code_ctype(OnigCodePoint code, unsigned int ctype) in is_code_ctype() argument 120 if (code < 256) in is_code_ctype() 121 return ENC_IS_ISO_8859_5_CTYPE(code, ctype); in is_code_ctype()
|
H A D | koi8.c | 33 #define ENC_IS_KOI8_CTYPE(code,ctype) \ argument 34 ((EncKOI8_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 119 koi8_is_code_ctype(OnigCodePoint code, unsigned int ctype) in koi8_is_code_ctype() argument 121 if (code < 256) in koi8_is_code_ctype() 122 return ENC_IS_KOI8_CTYPE(code, ctype); in koi8_is_code_ctype()
|
H A D | koi8_r.c | 33 #define ENC_IS_KOI8_R_CTYPE(code,ctype) \ argument 34 ((EncKOI8_R_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0) 118 koi8_r_is_code_ctype(OnigCodePoint code, unsigned int ctype) in koi8_r_is_code_ctype() argument 120 if (code < 256) in koi8_r_is_code_ctype() 121 return ENC_IS_KOI8_R_CTYPE(code, ctype); in koi8_r_is_code_ctype()
|
/PHP-7.3/ext/ctype/tests/ |
H A D | ctype_space_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 23 echo "character code $c is a space character\n"; 31 character code 9 is a space character 32 character code 10 is a space character 33 character code 11 is a space character 34 character code 12 is a space character 35 character code 13 is a space character 36 character code 32 is a space character
|
/PHP-7.3/ext/mbstring/ucgendat/ |
H A D | uctest.php | 75 $code = intval($fields[0], 16); 79 testSimpleCaseMap(MB_CASE_UPPER_SIMPLE, $code, $upperCase); 80 testSimpleCaseMap(MB_CASE_LOWER_SIMPLE, $code, $lowerCase); 88 $chr = mb_chr($code); 100 $code = intval($fields[0], 16); 104 testSimpleCaseMap(MB_CASE_FOLD_SIMPLE, $code, $foldCode); 107 testCaseMap(MB_CASE_FOLD, $code, $foldCodes); 116 $code = intval($fields[0], 16); 127 testCaseMap(MB_CASE_LOWER, $code, $lower); 128 testCaseMap(MB_CASE_UPPER, $code, $upper); [all …]
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug64433.phpt | 24 foreach($codes as $code) { 25 echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1"); 34 foreach($codes as $code) { 35 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",… 44 foreach($codes as $code) { 45 …echo "$code: ".file_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1",…
|
/PHP-7.3/ext/readline/ |
H A D | readline_cli.c | 187 char *code; in cli_get_prompt() local 197 efree(code); in cli_get_prompt() 222 switch(code[i]) { in cli_is_valid_code() 285 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code() 297 if (code[i] == '\\') { in cli_is_valid_code() 326 if (code[i-1] == '*' && code[i] == '/') { in cli_is_valid_code() 332 switch(code[i]) { in cli_is_valid_code() 653 code = erealloc(code, size); in readline_shell_run() 657 code[pos] = '\n'; in readline_shell_run() 658 code[++pos] = '\0'; in readline_shell_run() [all …]
|
/PHP-7.3/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 1206 code->memctl.free(code, code->memctl.memory_data); in pcre2_code_free() 4389 do code += GET(code, 1); while (*code == OP_ALT); in first_significant_code() 4390 code += PRIV(OP_lengths)[*code]; in first_significant_code() 4405 code += PRIV(OP_lengths)[*code]; in first_significant_code() 5213 code += PUTCHAR(c, code); in compile_branch() 7904 code += GET(code, 1); in is_anchored() 8037 code += GET(code, 1); in is_startline() 8094 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in find_recurse() 8110 code += code[1]; in find_recurse() 8181 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in find_recurse() [all …]
|
/PHP-7.3/ext/standard/ |
H A D | html.c | 586 *res = code; in map_from_unicode() 590 if (code <= 0xA0 || code == 0xAD /* soft hyphen */) { in map_from_unicode() 596 } else if (code >= 0x0401 && code <= 0x044F) { in map_from_unicode() 597 if (code == 0x040D || code == 0x0450 || code == 0x045D) in map_from_unicode() 606 if (code < 0xA4 || (code > 0xBE && code <= 0xFF)) { in map_from_unicode() 619 if (code <= 0x7F || (code >= 0xA0 && code <= 0xFF)) { in map_from_unicode() 668 if (code >= 0x20 && code <= 0x7D) { in map_from_unicode() 680 if (code >= 0x20 && code <= 0x7D) { in map_from_unicode() 890 *buf = code; in write_octet_sequence() 906 *buf = code; in write_octet_sequence() [all …]
|