| /PHP_5_3/ext/ereg/regex/ |
| H A D | cname.h | 4 char code; member in struct:cname
|
| H A D | regerror.c | 35 int code; member in struct:rerr 56 {-1, "", "*** unknown regexp error code ***"}, 80 for (r = rerrs; r->code >= 0; r++) 81 if (r->code == target) 85 if (r->code >= 0) { 122 for (r = rerrs; r->code >= 0; r++) 125 if (r->code < 0) 128 snprintf(localbuf, bufsize, "%d", r->code);
|
| /PHP_5_3/ext/pcre/pcrelib/ |
| H A D | pcre_printint.src | 15 * Redistributions of source code must retain the above copyright notice, 158 uschar *codestart, *code; 177 code = codestart = (uschar *)re + offset + count * size; 187 fprintf(f, "%3d ", (int)(code - codestart)); 191 switch(*code) 213 fprintf(f, " %s\n", OP_names[*code]); 218 fprintf(f, " %.2x %s", code[1], OP_names[*code]); 225 code++; 226 code [all...] |
| H A D | pcre_compile.c | 15 * Redistributions of source code must retain the above copyright notice, 100 soon as they can be, so that hopefully there will never be an overrun. The code 109 /(?1){0,1999}(b)/, and one user did hit the limit. The code has been changed so 445 "internal error: code overflow\0" 505 "disallowed Unicode code point (>= 0xd800 && <= 0xdfff)\0" 515 may mark arbitrary characters as digits - but the PCRE compiling code expects 527 Then we can use ctype_digit and ctype_xdigit in the code. */ 530 is much faster, and the resulting code is simpler (the compiler turns it 886 the ESC_g code (cf \k). */ 1022 larger first octal digit. The original code use 1672 first_significant_code(const pcre_uchar *code, BOOL skipassert) argument 1739 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd) argument 2068 find_bracket(const pcre_uchar *code, BOOL utf, int number) argument 2206 find_recurse(const pcre_uchar *code, BOOL utf) argument 2361 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, BOOL utf, compile_data *cd) argument 2660 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, branch_chain *bcptr, BOOL utf, compile_data *cd) argument 2862 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) argument 3715 register pcre_uchar *code = *codeptr; local 7104 pcre_uchar *code = *codeptr; local 7433 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument 7523 is_startline(const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument 7642 find_firstassertedchar(const pcre_uchar *code, pcre_int32 *flags, BOOL inassert) argument 7785 pcre_uchar *code; local [all...] |
| H A D | pcre_get.c | 15 * Redistributions of source code must retain the above copyright notice, 61 code the compiled regex 70 pcre_get_stringnumber(const pcre *code, const char *stringname) argument 73 pcre16_get_stringnumber(const pcre16 *code, PCRE_SPTR16 stringname) 76 pcre32_get_stringnumber(const pcre32 *code, PCRE_SPTR32 stringname) 85 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0) 89 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMEENTRYSIZE, &entrysize)) != 0) 91 if ((rc = pcre_fullinfo(code, NULL, PCRE_INFO_NAMETABLE, &nametable)) != 0) 95 if ((rc = pcre16_fullinfo(code, NULL, PCRE_INFO_NAMECOUNT, &top)) != 0) 99 if ((rc = pcre16_fullinfo(code, NUL 150 pcre_get_stringtable_entries(const pcre *code, const char *stringname, char **firstptr, char **lastptr) argument 261 get_first_set(const pcre *code, const char *stringname, int *ovector) argument 390 pcre_copy_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int size) argument 607 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr) argument [all...] |
| /PHP_5_3/ext/pdo_mysql/ |
| H A D | get_error_codes.php | 20 foreach ($codes as $code => $state) { 21 echo "#ifdef $code\n"; 22 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
|
| /PHP_5_3/ext/intl/doc/ |
| H A D | common_api.php | 5 * when there's no object to get error code/message from. 8 * <code> 12 * </code> 15 * <code> 18 * </code> 22 * Get the last error code. 24 * @return int Error code returned by the last 38 * Check whether the given error code indicates failure. 40 * @param int $code ICU error code [all...] |
| /PHP_5_3/ext/intl/ |
| H A D | intl_error.c | 77 err->code = U_ZERO_ERROR; 84 * Set last error code to 0 and unset last error message 91 err->code = U_ZERO_ERROR; 133 uErrorName = u_errorName( err->code ); 150 * Set last error code. 157 err->code = err_code; 162 * Return last error code. 169 return err->code; 173 /* {{{ void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg ) 174 * Set error code an 176 intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) argument 186 intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ) argument [all...] |
| H A D | intl_error.h | 24 #define INTL_ERROR_CODE(e) (e).code 27 UErrorCode code; member in struct:_intl_error 37 void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC ); 45 void intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC );
|
| /PHP_5_3/ext/mbstring/libmbfl/filters/ |
| H A D | html_entities.h | 2 * "streamable kanji code filter and converter" 7 * This file is part of "streamable kanji code filter and converter", 17 * License along with "streamable kanji code filter and converter"; 25 * The source code included in this files was separated from mbfilter.h 35 int code; member in struct:_mbfl_html_entity_entry
|
| /PHP_5_3/ext/mbstring/oniguruma/enc/ |
| H A D | ascii.c | 11 * 1. Redistributions of source code must retain the above copyright 33 ascii_is_code_ctype(OnigCodePoint code, unsigned int ctype) argument 35 if (code < 128) 36 return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype);
|
| H A D | euc_jp.c | 11 * 1. Redistributions of source code must retain the above copyright 78 eucjp_code_to_mbclen(OnigCodePoint code) argument 80 if (ONIGENC_IS_CODE_ASCII(code)) return 1; 81 else if ((code & 0xff0000) != 0) return 3; 82 else if ((code & 0xff00) != 0) return 2; 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 >> 106 eucjp_code_to_mbc(OnigCodePoint code, UChar *buf) argument 159 eucjp_is_code_ctype(OnigCodePoint code, unsigned int ctype) argument [all...] |
| H A D | sjis.c | 11 * 1. Redistributions of source code must retain the above copyright 80 sjis_code_to_mbclen(OnigCodePoint code) argument 82 if (code < 256) { 83 if (EncLen_SJIS[(int )code] == 1) 88 else if (code <= 0xffff) { 115 sjis_code_to_mbc(OnigCodePoint code, UChar *buf) argument 119 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff)); 120 *p++ = (UChar )(code & 0xff); 168 sjis_is_code_ctype(OnigCodePoint code, unsigne argument [all...] |
| H A D | utf16_be.c | 11 * 1. Redistributions of source code must retain the above copyright 79 OnigCodePoint code; local 82 code = ((((p[0] - 0xd8) << 2) + ((p[1] & 0xc0) >> 6) + 1) << 16) 87 code = p[0] * 256 + p[1]; 89 return code; 93 utf16be_code_to_mbclen(OnigCodePoint code) argument 95 return (code > 0xffff ? 4 : 2); 99 utf16be_code_to_mbc(OnigCodePoint code, UChar *buf) argument 103 if (code > 0xffff) { 106 plane = code >> 1 [all...] |
| H A D | utf16_le.c | 11 * 1. Redistributions of source code must retain the above copyright 55 utf16le_code_to_mbclen(OnigCodePoint code) argument 57 return (code > 0xffff ? 4 : 2); 85 OnigCodePoint code; local 90 code = ((((c1 - 0xd8) << 2) + ((c0 & 0xc0) >> 6) + 1) << 16) 95 code = c1 * 256 + p[0]; 97 return code; 101 utf16le_code_to_mbc(OnigCodePoint code, UChar *buf) argument 105 if (code > 0xffff) { 108 plane = code >> 1 [all...] |
| H A D | utf32_be.c | 11 * 1. Redistributions of source code must retain the above copyright 63 utf32be_code_to_mbclen(OnigCodePoint code) argument 69 utf32be_code_to_mbc(OnigCodePoint code, UChar *buf) argument 73 *p++ = (UChar )((code & 0xff000000) >>24); 74 *p++ = (UChar )((code & 0xff0000) >>16); 75 *p++ = (UChar )((code & 0xff00) >> 8); 76 *p++ = (UChar ) (code & 0xff);
|
| H A D | utf32_le.c | 11 * 1. Redistributions of source code must retain the above copyright 63 utf32le_code_to_mbclen(OnigCodePoint code) argument 69 utf32le_code_to_mbc(OnigCodePoint code, UChar *buf) argument 73 *p++ = (UChar ) (code & 0xff); 74 *p++ = (UChar )((code & 0xff00) >> 8); 75 *p++ = (UChar )((code & 0xff0000) >>16); 76 *p++ = (UChar )((code & 0xff000000) >>24);
|
| /PHP_5_3/ext/mbstring/oniguruma/ |
| H A D | oniguruma.h | 13 * 1. Redistributions of source code must retain the above copyright 120 /* code range */ 127 OnigCodePoint code[ONIGENC_MAX_COMP_AMBIG_CODE_LEN]; member in struct:__anon198 132 OnigCodePoint code; member in struct:__anon199 167 int (*code_to_mbclen)(OnigCodePoint code); 168 int (*code_to_mbc)(OnigCodePoint code, OnigUChar *buf); 173 int (*is_code_ctype)(OnigCodePoint code, unsigned int ctype); 275 #define ONIGENC_IS_CODE_ASCII(code) ((code) < 128) 276 #define ONIGENC_IS_CODE_SB_WORD(enc,code) \ [all...] |
| H A D | regenc.c | 11 * 1. Redistributions of source code must retain the above copyright 654 onigenc_single_byte_code_to_mbclen(OnigCodePoint code) argument 660 onigenc_single_byte_code_to_mbc_first(OnigCodePoint code) argument 662 return (code & 0xff); 666 onigenc_single_byte_code_to_mbc(OnigCodePoint code, UChar *buf) argument 668 *buf = (UChar )(code & 0xff); 759 onigenc_mb2_code_to_mbclen(OnigCodePoint code) argument 761 if ((code & 0xff00) != 0) return 2; 766 onigenc_mb4_code_to_mbclen(OnigCodePoint code) argument 768 if ((code 775 onigenc_mb2_code_to_mbc_first(OnigCodePoint code) argument 789 onigenc_mb4_code_to_mbc_first(OnigCodePoint code) argument 809 onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument 826 onigenc_mb4_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument 849 onigenc_mb2_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument 865 onigenc_mb4_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument 902 onigenc_is_code_ctype(OnigEncoding enc, OnigCodePoint code, int ctype) argument 959 onigenc_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument [all...] |
| H A D | regenc.h | 13 * 1. Redistributions of source code must retain the above copyright 86 ONIG_EXTERN int onigenc_single_byte_code_to_mbclen P_((OnigCodePoint code)); 87 ONIG_EXTERN int onigenc_single_byte_code_to_mbc_first P_((OnigCodePoint code)); 88 ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf)); 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)); 99 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 100 ONIG_EXTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype)); 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)); [all...] |
| H A D | regerror.c | 11 * 1. Redistributions of source code must retain the above copyright 42 onig_error_code_to_format(int code) argument 46 if (code >= 0) return (UChar* )0; 48 switch (code) { 88 p = "illegal meta-code syntax"; break; 90 p = "illegal control-code syntax"; break; 126 p = "mismatch multibyte code length in char-class range"; break; 128 p = "too many multibyte code ranges are specified"; break; 130 p = "too short multibyte code string"; break; 179 p = "undefined error code"; brea 191 OnigCodePoint code; local 233 onig_error_code_to_str(UChar* s, int code, ...) argument [all...] |
| /PHP_5_3/ext/mbstring/ucgendat/ |
| H A D | ucgendat.c | 121 ac_uint4 code; member in struct:__anon254 197 ac_uint4 code; member in struct:__anon257 268 * If this is the first code for this property list, just add it 357 * Have a match, so insert the code in order. 376 * If this is the first code for this property list, just add it 413 * The code is a duplicate of a code in the last range, so just return. 418 * The code should be inserted somewhere before the last range in the 448 add_decomp(ac_uint4 code, short compat) argument 466 * Add the code t 533 add_title(ac_uint4 code) argument 573 add_upper(ac_uint4 code) argument 620 add_lower(ac_uint4 code) argument 769 add_number(ac_uint4 code, short num, short denom) argument 822 ac_uint4 i, lineno, skip, code, ccl_code; local 1217 ac_uint4 code; local [all...] |
| /PHP_5_3/ext/mbstring/ |
| H A D | php_unicode.c | 18 Based on code from ucdata-2.5, which has the following Copyright: 62 static int prop_lookup(unsigned long code, unsigned long n) argument 90 if (code > _ucprop_ranges[m + 1]) 92 else if (code < _ucprop_ranges[m]) 94 else if (code >= _ucprop_ranges[m] && code <= _ucprop_ranges[m + 1]) 101 MBSTRING_API int php_unicode_is_prop(unsigned long code, unsigned long mask1, argument 110 if ((mask1 & masks32[i]) && prop_lookup(code, i)) 115 if ((mask2 & masks32[i & 31]) && prop_lookup(code, i)) 122 static unsigned long case_lookup(unsigned long code, lon argument 147 php_turkish_toupper(unsigned long code, long l, long r, int field) argument 155 php_turkish_tolower(unsigned long code, long l, long r, int field) argument 163 php_unicode_toupper(unsigned long code, enum mbfl_no_encoding enc TSRMLS_DC) argument 194 php_unicode_tolower(unsigned long code, enum mbfl_no_encoding enc TSRMLS_DC) argument 225 php_unicode_totitle(unsigned long code, enum mbfl_no_encoding enc TSRMLS_DC) argument [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | soundex.c | 32 int i, _small, str_len, code, last; local 77 code = toupper((int)(unsigned char)str[i]); 78 if (code >= 'A' && code <= 'Z') { 81 soundex[_small++] = code; 82 last = soundex_table[code - 'A']; 86 /* code in trail, and vowels unless they separate */ 88 code = soundex_table[code - 'A']; 89 if (code ! [all...] |
| /PHP_5_3/sapi/cli/ |
| H A D | php_cli_readline.h | 23 int cli_is_valid_code(char *code, int len, char **prompt TSRMLS_DC);
|