Home
last modified time | relevance | path

Searched refs:dim (Results 1 – 22 of 22) sorted by relevance

/php-src/ext/standard/
H A Dimage.c77 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 Dzend_jit_helpers.c470 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 Dzend_jit_vm_helpers.c201 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 Dparse_str_basic3.phpt50 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 Dzend_execute.c1732 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 Dzend_vm_execute.h6636 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 Dzend_vm_def.h1152 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 Dzend_execute.h68 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 Dzend_compile.c11842 zval *container, *dim; in zend_eval_const_expr() local
11860 dim = zend_ast_get_zval(ast->child[1]); in zend_eval_const_expr()
11864 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
11865 el = zend_hash_index_find(Z_ARR_P(container), Z_LVAL_P(dim)); in zend_eval_const_expr()
11871 } else if (Z_TYPE_P(dim) == IS_STRING) { in zend_eval_const_expr()
11872 el = zend_symtable_find(Z_ARR_P(container), Z_STR_P(dim)); in zend_eval_const_expr()
11884 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
11885 offset = Z_LVAL_P(dim); in zend_eval_const_expr()
11886 …} 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 Dassign_dim_ref_free.phpt2 Assigning rc=1 reference to next dim
H A Dassign_dim_obj_null_return.phpt2 Various null return conditions of dim/obj assignments
/php-src/Zend/tests/gh10168/
H A Dassign_dim.phpt2 GH-10168: Assign dim
H A Dassign_dim_ref.phpt2 GH-10168: Assign dim ref
H A Dassign_dim_with_prop_ref.phpt2 GH-10168: Assign dim with prop ref
H A Dassign_dim_ref_with_prop_ref.phpt2 GH-10168: Assign dim ref with prop ref
/php-src/Zend/tests/nullsafe_operator/
H A D034.phpt2 Test nullsafe operator on delayed dim
/php-src/sapi/phpdbg/tests/
H A Dmatch_breakpoints_003.phpt2 Test match default breakpoint with dim assignment
/php-src/ext/opcache/tests/jit/
H A Dassign_dim_undef_exception.phpt2 Undef to exception for assign dim offset
/php-src/ext/dom/lexbor/lexbor/css/syntax/
H A Dtoken.c292 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 Dffi.c1376 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local
1382 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim()
1383 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim()
1404 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1419 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1434 zend_long dim; in zend_ffi_cdata_write_dim() local
1443 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim()
1445 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim()
1446 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim()
1459 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim()
[all …]
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます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 Dmagic29717 >>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

Completed in 433 milliseconds