/php-src/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-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 470 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_r_helper() 612 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_is_helper() 752 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_isset_helper() 858 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_rw_helper() 990 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_w_helper() 1147 dim = Z_REFVAL_P(dim); in zend_check_string_offset() 1225 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_str_is_helper() 1462 if (dim && UNEXPECTED(Z_ISUNDEF_P(dim))) { in zend_jit_fetch_dim_obj_helper() 1567 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper() 1640 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper() [all …]
|
H A D | zend_jit_vm_helpers.c | 201 zval *dim; in zend_jit_undefined_long_key() local 204 dim = RT_CONSTANT(opline, opline->op2); in zend_jit_undefined_long_key() 206 dim = EX_VAR(opline->op2.var); in zend_jit_undefined_long_key() 208 ZEND_ASSERT(Z_TYPE_P(dim) == IS_LONG); in zend_jit_undefined_long_key() 226 zval *dim; in zend_jit_undefined_string_key() local 230 dim = RT_CONSTANT(opline, opline->op2); in zend_jit_undefined_string_key() 232 dim = EX_VAR(opline->op2.var); in zend_jit_undefined_string_key() 814 zval *arr, *dim, *val; local 820 dim = EX_VAR(opline->op2.var); 823 if (Z_TYPE_P(dim) == IS_LONG || Z_TYPE_P(dim) == IS_STRING) { [all …]
|
/php-src/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-src/Zend/ |
H A D | zend_execute.c | 1732 switch(Z_TYPE_P(dim)) { in zend_check_string_offset() 1734 return Z_LVAL_P(dim); in zend_check_string_offset() 1759 dim = Z_REFVAL_P(dim); in zend_check_string_offset() 2494 Z_RES_HANDLE_P(dim), Z_RES_HANDLE_P(dim)); in zend_use_resource_as_offset() 2679 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner() 2728 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_inner() 2781 if (dim == NULL) { in zend_fetch_dimension_address() 2820 if (dim == NULL) { in zend_fetch_dimension_address() 2833 dim++; in zend_fetch_dimension_address() 3000 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_read() [all …]
|
H A D | zend_vm_execute.h | 6636 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CONST_HANDLER() 9053 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CONST_TMPVARCV_HANDLER() 9210 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_TMPVAR_HANDLER() 11702 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CV_HANDLER() 16153 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CONST_HANDLER() 17072 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_CONST_HANDLER() 17127 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_TMPVARCV_HANDLER() 17646 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_TMPVAR_HANDLER() 19053 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CV_HANDLER() 45902 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CV_CONST_HANDLER() [all …]
|
H A D | zend_vm_def.h | 1152 zval *value, *container, *dim; variable 1212 dim++; 1901 zval *container, *dim, *value; variable 1921 dim++; 2411 zval *container, *dim; variable 2628 zval *dim; variable 2706 dim = ZVAL_UNDEFINED_OP2(); 2708 dim++; 10217 zval *container, *dim, *value; variable 10226 offset = Z_LVAL_P(dim); [all …]
|
H A D | zend_execute.h | 68 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_use_resource_as_offset(const zval *dim); 413 ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type);
|
H A D | zend_compile.c | 11793 zval *container, *dim; in zend_eval_const_expr() local 11811 dim = zend_ast_get_zval(ast->child[1]); in zend_eval_const_expr() 11815 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr() 11816 el = zend_hash_index_find(Z_ARR_P(container), Z_LVAL_P(dim)); in zend_eval_const_expr() 11822 } else if (Z_TYPE_P(dim) == IS_STRING) { in zend_eval_const_expr() 11823 el = zend_symtable_find(Z_ARR_P(container), Z_STR_P(dim)); in zend_eval_const_expr() 11835 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr() 11836 offset = Z_LVAL_P(dim); in zend_eval_const_expr() 11837 …} 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-src/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-src/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-src/Zend/tests/nullsafe_operator/ |
H A D | 034.phpt | 2 Test nullsafe operator on delayed dim
|
/php-src/sapi/phpdbg/tests/ |
H A D | match_breakpoints_003.phpt | 2 Test match default breakpoint with dim assignment
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_dim_undef_exception.phpt | 2 Undef to exception for assign dim offset
|
/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | token.c | 292 const lxb_css_syntax_token_dimension_t *dim; in lxb_css_syntax_token_serialize() local 497 dim = &token->types.dimension; in lxb_css_syntax_token_serialize() 499 return cb(dim->str.data, dim->str.length, ctx); in lxb_css_syntax_token_serialize()
|
/php-src/ext/ffi/ |
H A D | ffi.c | 1375 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local 1381 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim() 1382 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim() 1403 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim() 1418 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim() 1433 zend_long dim; in zend_ffi_cdata_write_dim() local 1442 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim() 1444 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim() 1445 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim() 1458 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim() [all …]
|
/php-src/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
|