/PHP-5.5/ext/mcrypt/ |
H A D | mcrypt_filter.c | 70 memcpy(outchunk + data->block_used, bucket->buf, bucket->buflen); in php_mcrypt_filter() 94 mcrypt_generic(data->module, bucket->buf, bucket->buflen); in php_mcrypt_filter() 96 mdecrypt_generic(data->module, bucket->buf, bucket->buflen); in php_mcrypt_filter()
|
/PHP-5.5/ext/mbstring/oniguruma/win32/ |
H A D | testc.c | 40 char buf[200]; in xx() local 45 regerror(r, ®, buf, sizeof(buf)); in xx() 46 fprintf(err_file, "ERROR: %s\n", buf); in xx() 53 regerror(r, ®, buf, sizeof(buf)); in xx() 54 fprintf(err_file, "ERROR: %s\n", buf); in xx()
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | regparse.h | 166 UChar buf[NODE_STR_BUF_SIZE]; member
|
H A D | regposerr.c | 72 regerror(int posix_ecode, const regex_t* reg ARG_UNUSED, char* buf, in regerror() argument 93 if (buf != NULL && size > 0) { in regerror() 94 strncpy(buf, s, size - 1); in regerror() 95 buf[size - 1] = '\0'; in regerror()
|
H A D | testc.c | 40 char buf[200]; in xx() local 45 regerror(r, ®, buf, sizeof(buf)); in xx() 46 fprintf(err_file, "ERROR: %s\n", buf); in xx() 53 regerror(r, ®, buf, sizeof(buf)); in xx() 54 fprintf(err_file, "ERROR: %s\n", buf); in xx()
|
H A D | testu.c | 65 char buf[200]; in xx() local 73 regerror(r, ®, buf, sizeof(buf)); in xx() 74 fprintf(err_file, "ERROR: %s\n", buf); in xx() 81 regerror(r, ®, buf, sizeof(buf)); in xx() 82 fprintf(err_file, "ERROR: %s\n", buf); in xx()
|
H A D | regcomp.c | 77 sn->s = sn->buf; in swap_node() 86 sn->s = sn->buf; in swap_node() 139 onig_bbuf_init(BBuf* buf, int size) in onig_bbuf_init() argument 143 buf->p = NULL; in onig_bbuf_init() 146 buf->p = (UChar* )xmalloc(size); in onig_bbuf_init() 150 buf->alloc = size; in onig_bbuf_init() 151 buf->used = 0; in onig_bbuf_init() 3207 q = buf; in update_string_node_case_fold() 3217 *sp++ = buf[i]; in update_string_node_case_fold() 3260 UChar buf[ONIGENC_CODE_TO_MBC_MAXLEN]; in expand_case_fold_string_alt() local [all …]
|
H A D | regenc.c | 614 onigenc_single_byte_code_to_mbc(OnigCodePoint code, UChar *buf) in onigenc_single_byte_code_to_mbc() argument 616 *buf = (UChar )(code & 0xff); in onigenc_single_byte_code_to_mbc() 718 onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) in onigenc_mb2_code_to_mbc() argument 720 UChar *p = buf; in onigenc_mb2_code_to_mbc() 728 if (enclen(enc, buf) != (p - buf)) in onigenc_mb2_code_to_mbc() 731 return p - buf; in onigenc_mb2_code_to_mbc() 737 UChar *p = buf; in onigenc_mb4_code_to_mbc() 742 if ((code & 0xff0000) != 0 || p != buf) { in onigenc_mb4_code_to_mbc() 745 if ((code & 0xff00) != 0 || p != buf) { in onigenc_mb4_code_to_mbc() 751 if (enclen(enc, buf) != (p - buf)) in onigenc_mb4_code_to_mbc() [all …]
|
H A D | regenc.h | 128 ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf)); 137 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 142 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
|
H A D | regerror.c | 196 UChar buf[], int buf_size, int *is_over) in to_ascii() argument 212 sprint_byte((char*)(&(buf[len+8])), (unsigned int)code); in to_ascii() 216 sprint_byte_with_x((char*)(&(buf[len])), (unsigned int)(code >> 8)); in to_ascii() 217 sprint_byte((char*)(&(buf[len+4])), (unsigned int)code); in to_ascii() 225 buf[len++] = (UChar )code; in to_ascii() 236 xmemcpy(buf, s, (size_t )len); in to_ascii() 317 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, in onig_snprintf_with_pattern() argument 321 UChar buf[]; in onig_snprintf_with_pattern() 336 n = xvsnprintf((char* )buf, bufsize, (const char* )fmt, args); 342 strcat((char* )buf, ": /"); [all …]
|
H A D | oniguruma.h | 158 int (*code_to_mbc)(OnigCodePoint code, OnigUChar *buf); 275 #define ONIGENC_MBC_CASE_FOLD(enc,flag,pp,end,buf) \ argument 276 (enc)->mbc_case_fold(flag,(const OnigUChar** )pp,end,buf) 295 #define ONIGENC_CODE_TO_MBC(enc,code,buf) (enc)->code_to_mbc(code,buf) argument
|
H A D | regexec.c | 1296 UChar *q, *bp, buf[50]; in match_at() local 1299 bp = buf; in match_at() 1307 fputs((char* )buf, stderr); in match_at() 1308 for (i = 0; i < 20 - (bp - buf); i++) fputc(' ', stderr); in match_at()
|
H A D | regint.h | 353 (buf)->p = (UChar* )xrealloc((buf)->p, (buf)->alloc);\ 359 (buf)->p = (UChar* )xrealloc((buf)->p, (buf)->alloc);\ 367 (buf)->p = (UChar* )xrealloc((buf)->p, new_alloc);\ 387 #define BBUF_ADD(buf,bytes,n) BBUF_WRITE((buf),(buf)->used,(bytes),(n)) argument 388 #define BBUF_ADD1(buf,byte) BBUF_WRITE1((buf),(buf)->used,(byte)) argument 389 #define BBUF_GET_ADD_ADDRESS(buf) ((buf)->p + (buf)->used) argument 390 #define BBUF_GET_OFFSET_POS(buf) ((buf)->used) argument 395 xmemmove((buf)->p + (to), (buf)->p + (from), (n));\ 401 xmemmove((buf)->p + (to), (buf)->p + (from), (n));\ 406 xmemmove((buf)->p + (to), (buf)->p + (from), (buf)->used - (from));\ [all …]
|
H A D | regparse.c | 1570 onig_strcpy(&(sn->s[num]), buf, buf + len); in node_str_head_pad() 2813 UChar buf[WARN_BUFSIZE]; in CC_ESC_WARN() local 2817 (*onig_warn)((char* )buf); in CC_ESC_WARN() 2827 UChar buf[WARN_BUFSIZE]; in CLOSE_BRACKET_WITHOUT_ESC_WARN() local 4244 buf[0] = tok->u.c; in parse_char_class() 4252 buf[i] = tok->u.c; in parse_char_class() 4260 len = enclen(env->enc, buf); in parse_char_class() 5009 snode = onig_node_new_str(buf, buf + len); in i_apply_case_fold() 5017 r = onig_node_str_cat(snode, buf, buf + len); in i_apply_case_fold() 5149 *np = node_new_str_raw(buf, buf + num); in parse_exp() [all …]
|
H A D | onigposix.h | 157 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size));
|
H A D | HISTORY | 103 2007/03/02: [bug] invalid optimization for semi-end-buf in onig_search(). 1856 2003/01/10: [bug] local variable name was wrong. buf -> tbuf (regerror()) 1964 2002/03/08: [spec] allow use of "\A"(begin-buf) in look-behind.
|
/PHP-5.5/ext/mbstring/ |
H A D | php_mbregex.c | 161 char buf[32]; in PHP_MINFO_FUNCTION() local 164 snprintf(buf, sizeof(buf), "%d.%d.%d", in PHP_MINFO_FUNCTION() 175 php_info_print_table_row(2, "Multibyte regex (oniguruma) version", buf); in PHP_MINFO_FUNCTION() 1439 char buf[16]; in PHP_FUNCTION() local 1454 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax); in PHP_FUNCTION() 1456 RETVAL_STRING(buf, 1); in PHP_FUNCTION()
|
/PHP-5.5/ext/mbstring/oniguruma/enc/ |
H A D | sjis.c | 115 code_to_mbc(OnigCodePoint code, UChar *buf) in code_to_mbc() argument 117 UChar *p = buf; in code_to_mbc() 123 if (enclen(ONIG_ENCODING_SJIS, buf) != (p - buf)) in code_to_mbc() 126 return p - buf; in code_to_mbc()
|
H A D | unicode.c | 10821 UChar buf[PROPERTY_NAME_MAX_SIZE]; in onigenc_unicode_property_name_to_ctype() local 10832 buf[len++] = (UChar )code; in onigenc_unicode_property_name_to_ctype() 10839 buf[len] = 0; in onigenc_unicode_property_name_to_ctype() 10843 if (onig_st_lookup_strend(NameCtypeTable, buf, buf + len, &ctype) == 0) { in onigenc_unicode_property_name_to_ctype()
|
H A D | utf16_be.c | 100 utf16be_code_to_mbc(OnigCodePoint code, UChar *buf) in utf16be_code_to_mbc() argument 102 UChar* p = buf; in utf16be_code_to_mbc()
|
H A D | utf16_le.c | 102 utf16le_code_to_mbc(OnigCodePoint code, UChar *buf) in utf16le_code_to_mbc() argument 104 UChar* p = buf; in utf16le_code_to_mbc()
|
H A D | utf32_be.c | 73 utf32be_code_to_mbc(OnigCodePoint code, UChar *buf) in utf32be_code_to_mbc() argument 75 UChar* p = buf; in utf32be_code_to_mbc()
|
H A D | utf32_le.c | 73 utf32le_code_to_mbc(OnigCodePoint code, UChar *buf) in utf32le_code_to_mbc() argument 75 UChar* p = buf; in utf32le_code_to_mbc()
|
H A D | utf8.c | 138 code_to_mbc(OnigCodePoint code, UChar *buf) in code_to_mbc() argument 144 *buf = (UChar )code; in code_to_mbc() 148 UChar *p = buf; in code_to_mbc() 190 return p - buf; in code_to_mbc()
|
H A D | big5.c | 64 big5_code_to_mbc(OnigCodePoint code, UChar *buf) in big5_code_to_mbc() argument 66 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_BIG5, code, buf); in big5_code_to_mbc()
|