/php-src/ext/intl/converter/ |
H A D | converter.c | 29 UConverter *src, *dest; member 75 if(!objval->src) { in php_converter_default_callback() 531 char *src = "utf-8"; in PHP_METHOD() local 533 char *dest = src; in PHP_METHOD() 542 php_converter_set_encoding(objval, &(objval->src), src, src_len ); in PHP_METHOD() 561 if (objval->src) { in PHP_METHOD() 601 if (!objval->src) { in PHP_METHOD() 728 char *str, *src, *dest; in PHP_METHOD() local 892 if (objval->src) { in php_converter_free_object() 935 objval->src = ucnv_clone(oldobj->src, &error); in php_converter_clone_object() [all …]
|
/php-src/ext/intl/grapheme/ |
H A D | grapheme_util.c | 106 UStringSearch* src = NULL; in grapheme_strpos_utf16() local 141 src = usearch_open(uneedle, uneedle_len, uhaystack, uhaystack_len, "", bi, &status); in grapheme_strpos_utf16() 145 UCollator *coll = usearch_getCollator(src); in grapheme_strpos_utf16() 149 usearch_reset(src); in grapheme_strpos_utf16() 160 usearch_setOffset(src, last ? 0 : offset_pos, &status); in grapheme_strpos_utf16() 167 char_pos = usearch_last(src, &status); in grapheme_strpos_utf16() 176 char_pos = usearch_next(src, &status); in grapheme_strpos_utf16() 185 char_pos = usearch_next(src, &status); in grapheme_strpos_utf16() 207 if (src) { in grapheme_strpos_utf16() 208 usearch_close (src); in grapheme_strpos_utf16()
|
/php-src/ext/intl/ |
H A D | intl_convert.c | 50 const char* src, size_t src_len, in intl_convert_utf8_to_utf16() argument 68 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status ); in intl_convert_utf8_to_utf16() 90 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status ); in intl_convert_utf8_to_utf16() 117 const UChar* src, int32_t src_len, in intl_convert_utf16_to_utf8() argument 125 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); in intl_convert_utf16_to_utf8() 139 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8()
|
H A D | intl_convert.h | 23 const char* src, size_t src_len, 27 const UChar* src, int32_t src_len,
|
/php-src/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 57 static int32_t intl_normalize(zend_long form, const UChar *src, int32_t src_len, UChar *dst, int32_… in intl_normalize() argument 64 return unorm2_normalize(norm, src, src_len, dst, dst_len, err); in intl_normalize()
|
/php-src/ext/intl/tests/ |
H A D | calendar_clear_variation1.phpt | 10 die('skip Broken for ICU >= 73.1 and < 74.1, see https://github.com/php/php-src/issues/11128');
|
/php-src/ext/mbstring/libmbfl/ |
H A D | README.md | 12 such, the libmbfl directory is directly modified in the php-src repository. 18 * Since 2017, it is forked and bundled in the php-src repository. For the list
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 331 void mbfl_filt_conv_html_dec_copy(mbfl_convert_filter *src, mbfl_convert_filter *dest) in mbfl_filt_conv_html_dec_copy() argument 333 *dest = *src; in mbfl_filt_conv_html_dec_copy() 335 memcpy(dest->opaque, src->opaque, html_enc_buffer_size+1); in mbfl_filt_conv_html_dec_copy()
|
H A D | mbfilter_htmlent.h | 45 void mbfl_filt_conv_html_dec_copy(mbfl_convert_filter *src, mbfl_convert_filter *dest);
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 165 void mbfl_convert_filter_copy(mbfl_convert_filter *src, mbfl_convert_filter *dest) in mbfl_convert_filter_copy() argument 167 if (src->filter_copy != NULL) { in mbfl_convert_filter_copy() 168 src->filter_copy(src, dest); in mbfl_convert_filter_copy() 172 *dest = *src; in mbfl_convert_filter_copy() 175 void mbfl_convert_filter_devcat(mbfl_convert_filter *filter, mbfl_memory_device *src) in mbfl_convert_filter_devcat() argument 177 mbfl_convert_filter_feed_string(filter, src->buffer, src->pos); in mbfl_convert_filter_devcat()
|
H A D | mbfl_convert.h | 49 void (*filter_copy)(mbfl_convert_filter *src, mbfl_convert_filter *dest); 74 MBFLAPI extern void mbfl_convert_filter_copy(mbfl_convert_filter *src, mbfl_convert_filter *dist); 81 MBFLAPI extern void mbfl_convert_filter_devcat(mbfl_convert_filter *filter, mbfl_memory_device *src…
|
H A D | mbfl_encoding.h | 133 void (*filter_copy)(struct _mbfl_convert_filter *src, struct _mbfl_convert_filter *dest);
|
H A D | mbfl_memory_device.c | 137 int mbfl_memory_device_devcat(mbfl_memory_device *dest, mbfl_memory_device *src) in mbfl_memory_device_devcat() argument 139 return mbfl_memory_device_strncat(dest, (const char*)src->buffer, src->pos); in mbfl_memory_device_devcat()
|
H A D | mbfl_memory_device.h | 66 MBFLAPI extern int mbfl_memory_device_devcat(mbfl_memory_device *dest, mbfl_memory_device *src);
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 335 const enum mbfl_no_encoding *src = MBSTRG(default_detect_order_list); in php_mb_parse_encoding_list() local 340 *entry++ = mbfl_no2encoding(*src++); in php_mb_parse_encoding_list() 396 const enum mbfl_no_encoding *src = MBSTRG(default_detect_order_list); in php_mb_parse_encoding_array() local 402 *entry++ = mbfl_no2encoding(*src++); in php_mb_parse_encoding_array() 5941 const enum mbfl_no_encoding *src = MBSTRG(default_detect_order_list); in php_mb_populate_current_detect_order_list() local 5946 entry[i] = mbfl_no2encoding(src[i]); in php_mb_populate_current_detect_order_list()
|
/php-src/ext/mbstring/tests/ |
H A D | illformed_utf_sequences.phpt | 8 $src = bin2hex(mb_convert_encoding($str, "UCS-4BE", $enc)); 10 if ($dst == $src) { 13 return $src;
|
/php-src/ext/odbc/tests/ |
H A D | odbc_non_persistent_connection_reuse.phpt | 9 …die('skip libmsodbcsql leaks, see https://github.com/php/php-src/pull/12132#issuecomment-171039229…
|
H A D | odbc_persistent_close.phpt | 9 …die('skip libmsodbcsql leaks, see https://github.com/php/php-src/pull/12132#issuecomment-171039229…
|
H A D | odbc_persistent_close_all.phpt | 9 …die('skip libmsodbcsql leaks, see https://github.com/php/php-src/pull/12132#issuecomment-171039229…
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 3550 dtor_func_t orig_dtor = src->pDestructor; 3554 src->pDestructor = NULL; 3555 zend_hash_extend(dst, dst->nNumUsed + src->nNumUsed, 0); 3556 ZEND_HASH_MAP_REVERSE_FOREACH_BUCKET(src, p) { 3578 zend_hash_del_bucket(src, p); 3583 src->pDestructor = orig_dtor; 3589 dtor_func_t orig_dtor = src->pDestructor; 3593 src->pDestructor = NULL; 3594 zend_hash_extend(dst, dst->nNumUsed + src->nNumUsed, 0); 3616 zend_hash_del_bucket(src, p); [all …]
|
/php-src/ext/opcache/jit/ |
H A D | Dockerfile.arm64.example | 11 ADD . /php-src/ 12 WORKDIR /php-src
|
H A D | README.md | 8 Framework is embedded into php-src. 99 docker build --network=host -t php-src-arm64-example -f ext/opcache/jit/Dockerfile.arm64.example . 100 docker run -it --rm php-src-arm64-example 107 docker run -it php-src-arms-example make test TESTS="-d opcache.jit_buffer_size=16M -d opcache.enab…
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 7417 const char*src; 7422 src<=ms.src_end; 7423 src++){ 7428 if(e==src)newstart++; 7509 ms.src_init=src; 7510 ms.src_end=src+srcl; 7514 e=match(&ms,src,p); 7519 if(e&&e>src) 7520 src=e; 7521 else if(src<ms.src_end) [all …]
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir.c | 1982 ops[pos] = src; 1992 void _ir_ENTRY(ir_ctx *ctx, ir_ref src, ir_ref num) argument 1997 || ctx->ir_base[src].op == IR_END 1999 ctx->control = ir_emit2(ctx, IR_ENTRY, src, num); 2002 void _ir_BEGIN(ir_ctx *ctx, ir_ref src) argument 2005 if (src 2006 && src + 1 == ctx->insns_count 2007 && ctx->ir_base[src].op == IR_END) { 2009 ctx->control = ctx->ir_base[src].op1; 2012 ctx->control = ir_emit1(ctx, IR_BEGIN, src); [all …]
|
H A D | ir.h | 313 _(CALL, xN, src, def, def) /* CALL(src, func, args...) */ \ 314 _(TAILCALL, xN, src, def, def) /* CALL+RETURN */ \ 317 _(ALLOCA, a2, src, def, ___) /* alloca(def) */ \ 318 _(AFREE, a2, src, def, ___) /* revert alloca(def) */ \ 319 _(BLOCK_BEGIN, a1, src, ___, ___) /* stacksave */ \ 320 _(BLOCK_END, a2, src, def, ___) /* stackrestore */ \ 322 _(VLOAD, l2, src, var, ___) /* load value of local var */ \ 323 _(VSTORE, s3, src, var, def) /* store value to local var */ \ 324 _(RLOAD, l1X2, src, num, opt) /* load value from register */ \ 353 _(MERGE, SN, src, src, src) /* control merge */ \ [all …]
|