/PHP-5.3/ext/ctype/tests/ |
H A D | ctype_alpha_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 65 is alphabetic 33 character code 66 is alphabetic 34 character code 67 is alphabetic 35 character code 68 is alphabetic 36 character code 69 is alphabetic 37 character code 70 is alphabetic 38 character code 71 is alphabetic 39 character code 72 is alphabetic 40 character code 73 is alphabetic [all …]
|
H A D | ctype_print_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 32 is a printable character 33 character code 33 is a printable character 34 character code 34 is a printable character 35 character code 35 is a printable character 36 character code 36 is a printable character 37 character code 37 is a printable character 38 character code 38 is a printable character 39 character code 39 is a printable character 40 character code 40 is a printable character [all …]
|
H A D | ctype_graph_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 33 is a printable character 33 character code 34 is a printable character 34 character code 35 is a printable character 35 character code 36 is a printable character 36 character code 37 is a printable character 37 character code 38 is a printable character 38 character code 39 is a printable character 39 character code 40 is a printable character 40 character code 41 is a printable character [all …]
|
H A D | ctype_alnum_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 48 is alpha numeric 33 character code 49 is alpha numeric 34 character code 50 is alpha numeric 35 character code 51 is alpha numeric 36 character code 52 is alpha numeric 37 character code 53 is alpha numeric 38 character code 54 is alpha numeric 39 character code 55 is alpha numeric 40 character code 56 is alpha numeric [all …]
|
H A D | ctype_punct_variation2.phpt | 10 * Source code: ext/ctype/ctype.c 33 character code 33 is punctuation 34 character code 34 is punctuation 35 character code 35 is punctuation 36 character code 36 is punctuation 37 character code 37 is punctuation 38 character code 38 is punctuation 39 character code 39 is punctuation 40 character code 40 is punctuation 41 character code 41 is punctuation [all …]
|
H A D | ctype_cntrl_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 0 is control character 33 character code 1 is control character 34 character code 2 is control character 35 character code 3 is control character 36 character code 4 is control character 37 character code 5 is control character 38 character code 6 is control character 39 character code 7 is control character 40 character code 8 is control character [all …]
|
H A D | ctype_upper_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 31 character code 65 is a uppercase character 32 character code 66 is a uppercase character 33 character code 67 is a uppercase character 34 character code 68 is a uppercase character 35 character code 69 is a uppercase character 36 character code 70 is a uppercase character 37 character code 71 is a uppercase character 38 character code 72 is a uppercase character 39 character code 73 is a uppercase character [all …]
|
H A D | ctype_lower_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 97 is a lower case character 33 character code 98 is a lower case character 34 character code 99 is a lower case character 35 character code 100 is a lower case character 36 character code 101 is a lower case character 37 character code 102 is a lower case character 38 character code 103 is a lower case character 39 character code 104 is a lower case character 40 character code 105 is a lower case character [all …]
|
H A D | ctype_xdigit_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 48 is a hexadecimal 'digit' 33 character code 49 is a hexadecimal 'digit' 34 character code 50 is a hexadecimal 'digit' 35 character code 51 is a hexadecimal 'digit' 36 character code 52 is a hexadecimal 'digit' 37 character code 53 is a hexadecimal 'digit' 38 character code 54 is a hexadecimal 'digit' 39 character code 55 is a hexadecimal 'digit' 40 character code 56 is a hexadecimal 'digit' [all …]
|
H A D | ctype_digit_variation2.phpt | 9 * Source code: ext/ctype/ctype.c 32 character code 48 is a numeric digit 33 character code 49 is a numeric digit 34 character code 50 is a numeric digit 35 character code 51 is a numeric digit 36 character code 52 is a numeric digit 37 character code 53 is a numeric digit 38 character code 54 is a numeric digit 39 character code 55 is a numeric digit 40 character code 56 is a numeric digit [all …]
|
/PHP-5.3/ext/mbstring/oniguruma/enc/ |
H A D | utf8.c | 123 if (code <= 0xff && code >= 0xfe) in utf8_code_to_mbclen() 143 if ((code & 0xffffff80) == 0) 144 return code; 146 if ((code & 0xfffff800) == 0) 166 #define UTF8_TRAILS(code, shift) (UChar )((((code) >> (shift)) & 0x3f) | 0x80) in utf8_code_to_mbc() argument 167 #define UTF8_TRAIL0(code) (UChar )(((code) & 0x3f) | 0x80) in utf8_code_to_mbc() argument 169 if ((code & 0xffffff80) == 0) { in utf8_code_to_mbc() 170 *buf = (UChar )code; in utf8_code_to_mbc() 181 *p++ = UTF8_TRAILS(code, 6); in utf8_code_to_mbc() 215 *p++ = UTF8_TRAIL0(code); in utf8_code_to_mbc() [all …]
|
H A D | euc_jp.c | 78 eucjp_code_to_mbclen(OnigCodePoint code) in eucjp_code_to_mbclen() argument 88 eucjp_code_to_mbc_first(OnigCodePoint code) 92 if ((code & 0xff0000) != 0) { 93 first = (code >> 16) & 0xff; 95 else if ((code & 0xff00) != 0) { 96 first = (code >> 8) & 0xff; 99 return (int )code; 110 if ((code & 0xff0000) != 0) *p++ = (UChar )(((code >> 16) & 0xff)); in eucjp_code_to_mbc() 111 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff)); in eucjp_code_to_mbc() 112 *p++ = (UChar )(code & 0xff); in eucjp_code_to_mbc() [all …]
|
H A D | unicode.c | 3274 if (code < 256) { in onigenc_unicode_is_code_ctype() 3282 return onig_is_in_code_range((UChar* )CRAlpha, code); in onigenc_unicode_is_code_ctype() 3285 return onig_is_in_code_range((UChar* )CRBlank, code); in onigenc_unicode_is_code_ctype() 3288 return onig_is_in_code_range((UChar* )CRCntrl, code); in onigenc_unicode_is_code_ctype() 3291 return onig_is_in_code_range((UChar* )CRDigit, code); in onigenc_unicode_is_code_ctype() 3294 return onig_is_in_code_range((UChar* )CRGraph, code); in onigenc_unicode_is_code_ctype() 3297 return onig_is_in_code_range((UChar* )CRLower, code); in onigenc_unicode_is_code_ctype() 3300 return onig_is_in_code_range((UChar* )CRPrint, code); in onigenc_unicode_is_code_ctype() 3303 return onig_is_in_code_range((UChar* )CRPunct, code); in onigenc_unicode_is_code_ctype() 3306 return onig_is_in_code_range((UChar* )CRSpace, code); in onigenc_unicode_is_code_ctype() [all …]
|
H A D | utf16_be.c | 79 OnigCodePoint code; in utf16be_mbc_to_code() local 87 code = p[0] * 256 + p[1]; in utf16be_mbc_to_code() 89 return code; in utf16be_mbc_to_code() 93 utf16be_code_to_mbclen(OnigCodePoint code) in utf16be_code_to_mbclen() argument 95 return (code > 0xffff ? 4 : 2); in utf16be_code_to_mbclen() 103 if (code > 0xffff) { in utf16be_code_to_mbc() 106 plane = code >> 16; in utf16be_code_to_mbc() 108 high = (code & 0xff00) >> 8; in utf16be_code_to_mbc() 111 *p = (UChar )(code & 0xff); in utf16be_code_to_mbc() 115 *p++ = (UChar )((code & 0xff00) >> 8); in utf16be_code_to_mbc() [all …]
|
/PHP-5.3/ext/com_dotnet/tests/ |
H A D | variants.phpt | 77 code 80020005 83 code 80020005 88 code 80020005 93 code 80020005 98 code 80020005 103 code 80020005 108 code 80020005 113 code 80020005 118 code 80020005 123 code 80020005 [all …]
|
/PHP-5.3/ext/standard/ |
H A D | soundex.c | 32 int i, _small, str_len, code, last; in PHP_FUNCTION() local 77 code = toupper((int)(unsigned char)str[i]); in PHP_FUNCTION() 78 if (code >= 'A' && code <= 'Z') { in PHP_FUNCTION() 81 soundex[_small++] = code; in PHP_FUNCTION() 82 last = soundex_table[code - 'A']; in PHP_FUNCTION() 88 code = soundex_table[code - 'A']; in PHP_FUNCTION() 89 if (code != last) { in PHP_FUNCTION() 90 if (code != 0) { in PHP_FUNCTION() 91 soundex[_small++] = code; in PHP_FUNCTION() 93 last = code; in PHP_FUNCTION()
|
/PHP-5.3/ext/mbstring/ |
H A D | php_unicode.c | 94 else if (code >= _ucprop_ranges[m] && code <= _ucprop_ranges[m + 1]) in prop_lookup() 136 if (code > _uccase_map[m]) in case_lookup() 144 return code; in case_lookup() 149 if (code == 0x0069L) { in php_turkish_toupper() 157 if (code == 0x0049L) { in php_turkish_tolower() 168 if (php_unicode_is_upper(code)) in php_unicode_toupper() 169 return code; in php_unicode_toupper() 199 if (php_unicode_is_lower(code)) in php_unicode_tolower() 200 return code; in php_unicode_tolower() 230 if (php_unicode_is_title(code)) in php_unicode_totitle() [all …]
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regenc.c | 662 return (code & 0xff); in onigenc_single_byte_code_to_mbc_first() 668 *buf = (UChar )(code & 0xff); in onigenc_single_byte_code_to_mbc() 779 if ((code & 0xff00) != 0) { in onigenc_mb2_code_to_mbc_first() 780 first = (code >> 8) & 0xff; in onigenc_mb2_code_to_mbc_first() 783 return (int )code; in onigenc_mb2_code_to_mbc_first() 803 return (int )code; in onigenc_mb4_code_to_mbc_first() 813 if ((code & 0xff00) != 0) { in onigenc_mb2_code_to_mbc() 816 *p++ = (UChar )(code & 0xff); in onigenc_mb2_code_to_mbc() 852 if (code < 128) in onigenc_mb2_is_code_ctype() 868 if (code < 128) in onigenc_mb4_is_code_ctype() [all …]
|
H A D | oniguruma.h | 275 #define ONIGENC_IS_CODE_ASCII(code) ((code) < 128) argument 277 (ONIGENC_IS_CODE_ASCII(code) && ONIGENC_IS_CODE_WORD(enc,code)) 319 # define ONIGENC_IS_CODE_BLANK(enc,code) isblank((int )code) argument 321 # define ONIGENC_IS_CODE_BLANK(enc,code) ((code) == ' ' || (code) == '\t') argument 324 # define ONIGENC_IS_CODE_GRAPH(enc,code) isgraph((int )code) argument 327 (isprint((int )code) && !isspace((int )code)) 330 #define ONIGENC_IS_CODE_PRINT(enc,code) m17n_isprint(enc,code) argument 331 #define ONIGENC_IS_CODE_ALNUM(enc,code) m17n_isalnum(enc,code) argument 332 #define ONIGENC_IS_CODE_ALPHA(enc,code) m17n_isalpha(enc,code) argument 333 #define ONIGENC_IS_CODE_LOWER(enc,code) m17n_islower(enc,code) argument [all …]
|
H A D | regenc.h | 86 ONIG_EXTERN int onigenc_single_byte_code_to_mbclen P_((OnigCodePoint code)); 97 ONIG_EXTERN int onigenc_mb2_code_to_mbclen P_((OnigCodePoint code)); 98 ONIG_EXTERN int onigenc_mb2_code_to_mbc_first P_((OnigCodePoint code)); 101 ONIG_EXTERN int onigenc_mb4_code_to_mbclen P_((OnigCodePoint code)); 102 ONIG_EXTERN int onigenc_mb4_code_to_mbc_first P_((OnigCodePoint code)); 117 #define ONIGENC_IS_UNICODE_ISO_8859_1_CTYPE(code,ctype) \ argument 118 ((OnigEnc_Unicode_ISO_8859_1_CtypeTable[code] & ctype) != 0) 133 extern int onig_is_in_code_range P_((const UChar* p, OnigCodePoint code)); 142 #define ONIGENC_IS_ASCII_CODE_CTYPE(code,ctype) \ argument 143 ((OnigEncAsciiCtypeTable[code] & ctype) != 0) [all …]
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_printint.src | 218 fprintf(f, " %.2x %s", code[1], OP_names[*code]); 225 code++; 226 code += 1 + print_char(f, code, utf8); 236 code++; 237 code += 1 + print_char(f, code, utf8); 320 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) 348 if (code[3] == OP_PROP || code[3] == OP_NOTPROP) 402 ccode = code + _pcre_OP_lengths[*code]; 406 fprintf(f, " %s %d %d %d", OP_names[*code], code[1], GET(code,2), 412 fprintf(f, " %s %s", OP_names[*code], get_ucpname(code[1], code[2])); [all …]
|
H A D | pcre_compile.c | 1682 do code += GET(code, 1); while (*code == OP_ALT); in first_significant_code() 2132 code += code[1]; in PRIV() 2136 code += code[1]; in PRIV() 2252 code += code[1]; in find_recurse() 2256 code += code[1]; in find_recurse() 2378 do code += GET(code, 1); while (*code == OP_ALT); in could_be_empty_branch() 2429 do code += GET(code, 1); while (*code == OP_ALT); in could_be_empty_branch() 2440 do code += GET(code, 1); while (*code == OP_ALT); in could_be_empty_branch() 2619 code += code[1]; in could_be_empty_branch() 2623 code += code[1]; in could_be_empty_branch() [all …]
|
H A D | pcre_get.c | 70 pcre_get_stringnumber(const pcre *code, const char *stringname) in pcre_get_stringnumber() argument 73 pcre16_get_stringnumber(const pcre16 *code, PCRE_SPTR16 stringname) in pcre_get_stringnumber() 76 pcre32_get_stringnumber(const pcre32 *code, PCRE_SPTR32 stringname) in pcre_get_stringnumber() 270 const REAL_PCRE *re = (const REAL_PCRE *)code; in get_first_set() 283 return pcre_get_stringnumber(code, stringname); in get_first_set() 287 return pcre16_get_stringnumber(code, stringname); in get_first_set() 291 return pcre32_get_stringnumber(code, stringname); in get_first_set() 390 pcre_copy_named_substring(const pcre *code, const char *subject, in pcre_copy_named_substring() argument 405 int n = get_first_set(code, stringname, ovector); in pcre_copy_named_substring() 607 pcre_get_named_substring(const pcre *code, const char *subject, in pcre_get_named_substring() argument [all …]
|
/PHP-5.3/sapi/cli/ |
H A D | php_cli_readline.c | 90 switch(code[i]) { in cli_is_valid_code() 159 if (i + 2 < len && code[i+1] == '<' && code[i+2] == '<') { in cli_is_valid_code() 171 if (code[i] == '\\') { in cli_is_valid_code() 174 if (code[i] == '\'') { in cli_is_valid_code() 183 if (code[i] == '\\') { in cli_is_valid_code() 186 if (code[i] == '"') { in cli_is_valid_code() 195 if (code[i] == '\n') { in cli_is_valid_code() 200 if (code[i-1] == '*' && code[i] == '/') { in cli_is_valid_code() 206 switch(code[i]) { in cli_is_valid_code() 223 …if (code[i - (heredoc_len + 1)] == '\n' && !strncmp(code + i - heredoc_len, heredoc_tag, heredoc_l… in cli_is_valid_code() [all …]
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_errmode.phpt | 48 if ($code != '42000') 49 printf("[005] Expecting SQL code 42000 got '%s'\n", $code); 50 if ($code !== $info[0]) 52 $code, $info[0]); 64 if ($code != '42000') 65 printf("[009] Expecting SQL code 42000 got '%s'\n", $code); 68 $code, $info[0]); 84 printf("[013] Expecting SQL code 42000 got '%s'\n", $code); 87 $code, $info[0]); 122 printf("[021] Expecting SQL code 42000 got '%s'\n", $code); [all …]
|