Home
last modified time | relevance | path

Searched refs:buf (Results 201 – 225 of 337) sorted by last modified time

12345678910>>...14

/PHP-5.5/ext/mcrypt/
H A Dmcrypt_filter.c70 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 Dtestc.c40 char buf[200]; in xx() local
45 regerror(r, &reg, buf, sizeof(buf)); in xx()
46 fprintf(err_file, "ERROR: %s\n", buf); in xx()
53 regerror(r, &reg, buf, sizeof(buf)); in xx()
54 fprintf(err_file, "ERROR: %s\n", buf); in xx()
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregparse.h166 UChar buf[NODE_STR_BUF_SIZE]; member
H A Dregposerr.c72 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 Dtestc.c40 char buf[200]; in xx() local
45 regerror(r, &reg, buf, sizeof(buf)); in xx()
46 fprintf(err_file, "ERROR: %s\n", buf); in xx()
53 regerror(r, &reg, buf, sizeof(buf)); in xx()
54 fprintf(err_file, "ERROR: %s\n", buf); in xx()
H A Dtestu.c65 char buf[200]; in xx() local
73 regerror(r, &reg, buf, sizeof(buf)); in xx()
74 fprintf(err_file, "ERROR: %s\n", buf); in xx()
81 regerror(r, &reg, buf, sizeof(buf)); in xx()
82 fprintf(err_file, "ERROR: %s\n", buf); in xx()
H A Dregcomp.c77 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 Dregenc.c614 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 Dregenc.h128 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 Dregerror.c196 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 Doniguruma.h158 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 Dregexec.c1296 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 Dregint.h353 (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 Dregparse.c1570 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 Donigposix.h157 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size));
H A DHISTORY103 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 Dphp_mbregex.c161 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 Dsjis.c115 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 Dunicode.c10821 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 Dutf16_be.c100 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 Dutf16_le.c102 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 Dutf32_be.c73 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 Dutf32_le.c73 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 Dutf8.c138 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 Dbig5.c64 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()

Completed in 160 milliseconds

12345678910>>...14