Searched refs:code (Results 1 - 25 of 121) sorted by relevance

12345

/PHP_5_5/ext/ereg/regex/
H A Dcname.h4 char code; member in struct:cname
H A Dregerror.c35 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_5/ext/pcre/pcrelib/
H A Dpcre_printint.src15 * 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 Dpcre_get.c15 * 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...]
H A Dpcre_compile.c15 * 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
359 POSIX classes (e.g. graph, print, punct) a special property code is compiled
476 "internal error: code overflow\0"
536 "disallowed Unicode code point (>= 0xd800 && <= 0xdfff)\0"
554 may mark arbitrary characters as digits - but the PCRE compiling code expects
566 Then we can use ctype_digit and ctype_xdigit in the code. */
569 is much faster, and the resulting code is simpler (the compiler turns it
697 zero because property types are handled separately in the code
1644 first_significant_code(const pcre_uchar *code, BOOL skipassert) argument
1710 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd) argument
2044 find_bracket(const pcre_uchar *code, BOOL utf, int number) argument
2179 find_recurse(const pcre_uchar *code, BOOL utf) argument
2337 could_be_empty_branch(const pcre_uchar *code, const pcre_uchar *endcode, BOOL utf, compile_data *cd, recurse_check *recurses) argument
2715 could_be_empty(const pcre_uchar *code, const pcre_uchar *endcode, branch_chain *bcptr, BOOL utf, compile_data *cd) argument
2859 get_chr_property_list(const pcre_uchar *code, BOOL utf, const pcre_uint8 *fcc, pcre_uint32 *list) argument
3064 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd, const pcre_uint32 *base_list, const pcre_uchar *base_end) argument
3575 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd) argument
3983 auto_callout(pcre_uchar *code, const pcre_uchar *ptr, compile_data *cd) argument
4371 register pcre_uchar *code = *codeptr; local
7982 pcre_uchar *code = *codeptr; local
8311 is_anchored(register const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument
8401 is_startline(const pcre_uchar *code, unsigned int bracket_map, compile_data *cd, int atomcount) argument
8521 find_firstassertedchar(const pcre_uchar *code, pcre_int32 *flags, BOOL inassert) argument
8721 pcre_uchar *code; local
[all...]
/PHP_5_5/ext/pdo_mysql/
H A Dget_error_codes.php20 foreach ($codes as $code => $state) {
21 echo "#ifdef $code\n";
22 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
/PHP_5_5/ext/intl/doc/
H A Dcommon_api.php5 * 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_5/ext/intl/
H A Dintl_error.h26 #define INTL_ERROR_CODE(e) (e).code
29 UErrorCode code; member in struct:_intl_error
39 void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC );
47 void intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg TSRMLS_DC );
/PHP_5_5/ext/mbstring/libmbfl/filters/
H A Dhtml_entities.h2 * "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_5/ext/mbstring/oniguruma/enc/
H A Dascii.c11 * 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 Deuc_jp.c11 * 1. Redistributions of source code must retain the above copyright
78 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;
89 code_to_mbc_first(OnigCodePoint code)
93 if ((code & 0xff0000) != 0) {
94 first = (code >> 16) & 0xff;
96 else if ((code & 0xff00) != 0) {
97 first = (code >>
107 code_to_mbc(OnigCodePoint code, UChar *buf) argument
222 is_code_ctype(OnigCodePoint code, unsigned int ctype) argument
[all...]
H A Deuc_tw.c11 * 1. Redistributions of source code must retain the above copyright
64 euctw_code_to_mbc(OnigCodePoint code, UChar *buf) argument
66 return onigenc_mb4_code_to_mbc(ONIG_ENCODING_EUC_TW, code, buf);
78 euctw_is_code_ctype(OnigCodePoint code, unsigned int ctype) argument
80 return onigenc_mb4_is_code_ctype(ONIG_ENCODING_EUC_TW, code, ctype);
H A Diso8859_1.c11 * 1. Redistributions of source code must retain the above copyright
32 #define ENC_IS_ISO_8859_1_CTYPE(code,ctype) \
33 ((EncISO_8859_1_CtypeTable[code] & CTYPE_TO_BIT(ctype)) != 0)
121 items[0].code[0] = (OnigCodePoint )(*p + 0x20);
126 items[1].code[0] = (OnigCodePoint )0xdf;
135 items[0].code[0] = (OnigCodePoint )(*p - 0x20);
140 items[1].code[0] = (OnigCodePoint )0xdf;
149 items[0].code[0] = (OnigCodePoint )(*p + 0x20);
156 items[0].code[0] = (OnigCodePoint )'s';
157 items[0].code[
247 is_code_ctype(OnigCodePoint code, unsigned int ctype) argument
[all...]
H A Dsjis.c11 * 1. Redistributions of source code must retain the above copyright
80 code_to_mbclen(OnigCodePoint code) argument
82 if (code < 256) {
83 if (EncLen_SJIS[(int )code] == 1)
88 else if (code <= 0xffff) {
115 code_to_mbc(OnigCodePoint code, UChar *buf) argument
119 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff));
120 *p++ = (UChar )(code & 0xff);
164 is_code_ctype(OnigCodePoint code, unsigne
256 is_code_ctype(OnigCodePoint code, unsigned int ctype) argument
[all...]
H A Dutf16_be.c11 * 1. Redistributions of source code must retain the above copyright
80 OnigCodePoint code; local
83 code = ((((p[0] - 0xd8) << 2) + ((p[1] & 0xc0) >> 6) + 1) << 16)
88 code = p[0] * 256 + p[1];
90 return code;
94 utf16be_code_to_mbclen(OnigCodePoint code) argument
96 return (code > 0xffff ? 4 : 2);
100 utf16be_code_to_mbc(OnigCodePoint code, UChar *buf) argument
104 if (code > 0xffff) {
107 plane = (code >> 1
[all...]
H A Dutf16_le.c11 * 1. Redistributions of source code must retain the above copyright
52 utf16le_code_to_mbclen(OnigCodePoint code) argument
54 return (code > 0xffff ? 4 : 2);
86 OnigCodePoint code; local
91 code = ((((c1 - 0xd8) << 2) + ((c0 & 0xc0) >> 6) + 1) << 16)
96 code = c1 * 256 + p[0];
98 return code;
102 utf16le_code_to_mbc(OnigCodePoint code, UChar *buf) argument
106 if (code > 0xffff) {
109 plane = (code >> 1
[all...]
H A Dutf32_be.c11 * 1. Redistributions of source code must retain the above copyright
67 utf32be_code_to_mbclen(OnigCodePoint code ARG_UNUSED)
73 utf32be_code_to_mbc(OnigCodePoint code, UChar *buf) argument
77 *p++ = (UChar )((code & 0xff000000) >>24);
78 *p++ = (UChar )((code & 0xff0000) >>16);
79 *p++ = (UChar )((code & 0xff00) >> 8);
80 *p++ = (UChar ) (code & 0xff);
H A Dutf8.c11 * 1. Redistributions of source code must retain the above copyright
121 code_to_mbclen(OnigCodePoint code) argument
123 if ((code & 0xffffff80) == 0) return 1;
124 else if ((code & 0xfffff800) == 0) return 2;
125 else if ((code & 0xffff0000) == 0) return 3;
126 else if ((code & 0xffe00000) == 0) return 4;
127 else if ((code & 0xfc000000) == 0) return 5;
128 else if ((code & 0x80000000) == 0) return 6;
130 else if (code == INVALID_CODE_FE) return 1;
131 else if (code
138 code_to_mbc(OnigCodePoint code, UChar *buf) argument
[all...]
/PHP_5_5/ext/mbstring/oniguruma/
H A Dregenc.c11 * 1. Redistributions of source code must retain the above copyright
397 OnigCodePoint code; local
403 code = OnigAsciiLowerMap[i].to;
404 r = (*f)(OnigAsciiLowerMap[i].from, &code, 1, arg);
407 code = OnigAsciiLowerMap[i].from;
408 r = (*f)(OnigAsciiLowerMap[i].to, &code, 1, arg);
423 items[0].code[0] = (OnigCodePoint )(*p + 0x20);
429 items[0].code[0] = (OnigCodePoint )(*p - 0x20);
451 OnigCodePoint code; local
458 code
614 onigenc_single_byte_code_to_mbc(OnigCodePoint code, UChar *buf) argument
702 onigenc_mb2_code_to_mbclen(OnigCodePoint code) argument
709 onigenc_mb4_code_to_mbclen(OnigCodePoint code) argument
718 onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument
735 onigenc_mb4_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument
792 onigenc_mb2_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument
807 onigenc_mb4_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument
[all...]
H A Dregenc.h13 * 1. Redistributions of source code must retain the above copyright
127 ONIG_EXTERN int onigenc_single_byte_code_to_mbclen P_((OnigCodePoint code));
128 ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf));
136 ONIG_EXTERN int onigenc_mb2_code_to_mbclen P_((OnigCodePoint code));
137 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
140 ONIG_EXTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype));
141 ONIG_EXTERN int onigenc_mb4_code_to_mbclen P_((OnigCodePoint code));
142 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
143 ONIG_EXTERN int onigenc_mb4_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype));
147 ONIG_EXTERN int onigenc_unicode_is_code_ctype P_((OnigCodePoint code, unsigne
[all...]
H A Dregerror.c11 * 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 = "invalid meta-code syntax"; break;
90 p = "invalid 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;
146 p = "invalid code poin
200 OnigCodePoint code; local
249 onig_error_code_to_str(UChar* s, int code, ...) argument
[all...]
/PHP_5_5/ext/standard/
H A Dhtml.c78 * code points above 0x10FFFF */
330 /* character encoded in 1 code unit */
491 * Convert back big endian int representation of sequence of one or two 8-bit code units. */
508 * Convert back big endian int representation of sequence of one to three 8-bit code units.
532 * Binary search of unicode code points in unicode <--> charset mapping.
533 * Returns the code point in the target charset (whose mapping table was given) or 0 if
534 * the unicode code point is not in the table.
563 static inline int map_from_unicode(unsigned code, enum entity_charset charset, unsigned *res) argument
571 /* identity mapping of code points to unicode */
572 if (code >
685 map_to_unicode(unsigned code, const enc_to_uni *table, unsigned *res) argument
864 write_octet_sequence(unsigned char *buf, enum entity_charset charset, unsigned code) argument
943 unsigned code, code2 = 0; local
1645 unsigned code; local
[all...]
H A Dsoundex.c32 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_5/ext/mbstring/
H A Dphp_unicode.c18 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_5/ext/readline/
H A Dreadline_cli.c104 write due to -1 return code */
185 char *code; local
188 code = estrndup(prompt_spec + 1, prompt_end - prompt_spec - 1);
192 zend_eval_stringl(code, prompt_end - prompt_spec - 1, NULL, "php prompt code" TSRMLS_CC);
195 efree(code);
207 static int cli_is_valid_code(char *code, int len, char **prompt TSRMLS_DC) /* {{{ */ argument
220 switch(code[i]) {
259 if (code[i+1] == '/') {
264 if (code[
590 char *code = emalloc(size); local
[all...]

Completed in 89 milliseconds

12345