/PHP-8.3/ext/standard/ |
H A D | image.c | 77 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_gif() 99 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_psd() 103 …ight = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_psd() 104 …dth = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_psd() 120 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_bmp() 123 …ize = (((unsigned int)dim[ 3]) << 24) + (((unsigned int)dim[ 2]) << 16) + (((unsigned int)dim[ 1… in php_handle_bmp() 131 …h = (((unsigned int)dim[ 7]) << 24) + (((unsigned int)dim[ 6]) << 16) + (((unsigned int)dim[ 5… in php_handle_bmp() 284 if((php_stream_read(stream, (char*)dim, sizeof(dim))) < sizeof(dim)) in php_handle_png() 288 …>width = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_png() 289 …>height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_png() [all …]
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 376 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_r_helper() 518 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_is_helper() 658 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_isset_helper() 764 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_rw_helper() 896 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_w_helper() 1053 dim = Z_REFVAL_P(dim); in zend_check_string_offset() 1131 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_str_is_helper() 1375 if (dim && UNEXPECTED(Z_ISUNDEF_P(dim))) { in zend_jit_fetch_dim_obj_helper() 1480 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper() 1553 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper() [all …]
|
H A D | zend_jit_vm_helpers.c | 206 zval *dim; in zend_jit_undefined_long_key() local 209 dim = RT_CONSTANT(opline, opline->op2); in zend_jit_undefined_long_key() 211 dim = EX_VAR(opline->op2.var); in zend_jit_undefined_long_key() 213 ZEND_ASSERT(Z_TYPE_P(dim) == IS_LONG); in zend_jit_undefined_long_key() 222 zval *dim; in zend_jit_undefined_string_key() local 226 dim = RT_CONSTANT(opline, opline->op2); in zend_jit_undefined_string_key() 228 dim = EX_VAR(opline->op2.var); in zend_jit_undefined_string_key() 796 zval *arr, *dim, *val; local 802 dim = EX_VAR(opline->op2.var); 805 if (Z_TYPE_P(dim) == IS_LONG || Z_TYPE_P(dim) == IS_STRING) { [all …]
|
H A D | zend_jit_arm64.dasc | 5111 | // if (EXPECTED(Z_TYPE_P(dim) == IS_LONG)) 5132 | // hval = Z_LVAL_P(dim); 5148 | // hval = Z_LVAL_P(dim); 5215 | // hval = Z_LVAL_P(dim); 5275 | // hval = Z_LVAL_P(dim); 5331 | // hval = Z_LVAL_P(dim); 5361 | // hval = Z_LVAL_P(dim); 5380 | // if (EXPECTED(Z_TYPE_P(dim) == IS_STRING)) 5383 | // offset_key = Z_STR_P(dim);
|
H A D | zend_jit_x86.dasc | 5631 | // if (EXPECTED(Z_TYPE_P(dim) == IS_LONG)) 5650 | // hval = Z_LVAL_P(dim); 5666 | // hval = Z_LVAL_P(dim); 5743 | // hval = Z_LVAL_P(dim); 5803 | // hval = Z_LVAL_P(dim); 5859 | // hval = Z_LVAL_P(dim); 5889 | // hval = Z_LVAL_P(dim); 5907 | // if (EXPECTED(Z_TYPE_P(dim) == IS_STRING)) 5910 | // offset_key = Z_STR_P(dim);
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | parse_str_basic3.phpt | 50 echo "\nTest string with 2-dim array with numeric keys\n"; 55 echo "\nTest string with 2-dim array with null keys\n"; 60 echo "\nTest string with 2-dim array with non-numeric keys\n"; 65 echo "\nTest string with 3-dim array with numeric keys\n"; 162 Test string with 2-dim array with numeric keys 177 Test string with 2-dim array with null keys 195 Test string with 2-dim array with non-numeric keys 213 Test string with 3-dim array with numeric keys
|
/PHP-8.3/Zend/ |
H A D | zend_execute.c | 1643 switch(Z_TYPE_P(dim)) { in zend_check_string_offset() 1645 return Z_LVAL_P(dim); in zend_check_string_offset() 1670 dim = Z_REFVAL_P(dim); in zend_check_string_offset() 2303 Z_RES_HANDLE_P(dim), Z_RES_HANDLE_P(dim)); in zend_use_resource_as_offset() 2483 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner() 2532 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_inner() 2585 if (dim == NULL) { in zend_fetch_dimension_address() 2624 if (dim == NULL) { in zend_fetch_dimension_address() 2637 dim++; in zend_fetch_dimension_address() 2804 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_read() [all …]
|
H A D | zend_vm_execute.h | 6338 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CONST_HANDLER() 8701 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CONST_TMPVARCV_HANDLER() 8858 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_TMPVAR_HANDLER() 11245 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CV_HANDLER() 15646 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CONST_HANDLER() 16517 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_CONST_HANDLER() 16572 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_TMPVARCV_HANDLER() 17091 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_TMPVAR_HANDLER() 18451 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CV_HANDLER() 44545 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CV_CONST_HANDLER() [all …]
|
H A D | zend_vm_def.h | 1155 zval *value, *container, *dim; variable 1215 dim++; 1905 zval *container, *dim, *value; variable 1925 dim++; 2365 zval *container, *dim; variable 2561 zval *dim; variable 2639 dim = ZVAL_UNDEFINED_OP2(); 2641 dim++; 9931 zval *container, *dim, *value; variable 9940 offset = Z_LVAL_P(dim); [all …]
|
H A D | zend_execute.h | 67 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_use_resource_as_offset(const zval *dim); 395 ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type);
|
H A D | zend_compile.c | 10847 zval *container, *dim; in zend_eval_const_expr() local 10870 dim = zend_ast_get_zval(ast->child[1]); in zend_eval_const_expr() 10874 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr() 10875 el = zend_hash_index_find(Z_ARR_P(container), Z_LVAL_P(dim)); in zend_eval_const_expr() 10881 } else if (Z_TYPE_P(dim) == IS_STRING) { in zend_eval_const_expr() 10882 el = zend_symtable_find(Z_ARR_P(container), Z_STR_P(dim)); in zend_eval_const_expr() 10894 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr() 10895 offset = Z_LVAL_P(dim); in zend_eval_const_expr() 10896 …} else if (Z_TYPE_P(dim) != IS_STRING || is_numeric_string(Z_STRVAL_P(dim), Z_STRLEN_P(dim), &offs… in zend_eval_const_expr()
|
/PHP-8.3/Zend/tests/ |
H A D | assign_dim_ref_free.phpt | 2 Assigning rc=1 reference to next dim
|
H A D | assign_dim_obj_null_return.phpt | 2 Various null return conditions of dim/obj assignments
|
/PHP-8.3/Zend/tests/gh10168/ |
H A D | assign_dim.phpt | 2 GH-10168: Assign dim
|
H A D | assign_dim_ref.phpt | 2 GH-10168: Assign dim ref
|
H A D | assign_dim_with_prop_ref.phpt | 2 GH-10168: Assign dim with prop ref
|
H A D | assign_dim_ref_with_prop_ref.phpt | 2 GH-10168: Assign dim ref with prop ref
|
/PHP-8.3/Zend/tests/nullsafe_operator/ |
H A D | 034.phpt | 2 Test nullsafe operator on delayed dim
|
/PHP-8.3/sapi/phpdbg/tests/ |
H A D | match_breakpoints_003.phpt | 2 Test match default breakpoint with dim assignment
|
/PHP-8.3/ext/opcache/tests/jit/ |
H A D | assign_dim_undef_exception.phpt | 2 Undef to exception for assign dim offset
|
/PHP-8.3/ext/ffi/ |
H A D | ffi.c | 1374 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local 1380 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim() 1381 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim() 1402 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim() 1417 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim() 1432 zend_long dim; in zend_ffi_cdata_write_dim() local 1441 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim() 1443 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim() 1444 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim() 1457 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim() [all …]
|
/PHP-8.3/ext/fileinfo/tests/ |
H A D | magic | 29717 >>0 use nifti1-dim-le 29726 >>0 use \^nifti1-dim-le 29741 >>0 use nifti2-dim-le 29750 >>0 use \^nifti2-dim-le 29785 0 name nifti1-dim-le 29787 >40 leshort <0 \b, INVALID dim[0]=%d 29788 >40 leshort >7 \b, INVALID dim[0]=%d 29815 0 name nifti2-dim-le 29817 >16 lequad <0 \b, INVALID dim[0]=%lld 29818 >16 lequad >7 \b, INVALID dim[0]=%lld
|
H A D | magic私はガラスを食べられます | 29717 >>0 use nifti1-dim-le 29726 >>0 use \^nifti1-dim-le 29741 >>0 use nifti2-dim-le 29750 >>0 use \^nifti2-dim-le 29785 0 name nifti1-dim-le 29787 >40 leshort <0 \b, INVALID dim[0]=%d 29788 >40 leshort >7 \b, INVALID dim[0]=%d 29815 0 name nifti2-dim-le 29817 >16 lequad <0 \b, INVALID dim[0]=%lld 29818 >16 lequad >7 \b, INVALID dim[0]=%lld
|