Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/
H A Dimage.c108 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_gif()
130 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_psd()
134 …ight = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_psd()
135 …dth = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_psd()
151 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_bmp()
154 …ize = (((unsigned int)dim[ 3]) << 24) + (((unsigned int)dim[ 2]) << 16) + (((unsigned int)dim[ 1… in php_handle_bmp()
162 …h = (((unsigned int)dim[ 7]) << 24) + (((unsigned int)dim[ 6]) << 16) + (((unsigned int)dim[ 5… in php_handle_bmp()
315 if((php_stream_read(stream, (char*)dim, sizeof(dim))) < sizeof(dim)) in php_handle_png()
319 …>width = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_png()
320 …>height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_png()
[all …]
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_helpers.c386 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_r_helper()
528 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_is_helper()
666 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_isset_helper()
772 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_rw_helper()
904 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_w_helper()
1059 dim = Z_REFVAL_P(dim); in zend_check_string_offset()
1134 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_str_is_helper()
1376 if (dim && UNEXPECTED(Z_ISUNDEF_P(dim))) { in zend_jit_fetch_dim_obj_helper()
1481 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
1554 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
[all …]
H A Dzend_jit_vm_helpers.c749 zval *arr, *dim, *val; local
753 dim = RT_CONSTANT(opline, opline->op2);
755 dim = EX_VAR(opline->op2.var);
758 if (Z_TYPE_P(dim) == IS_LONG || Z_TYPE_P(dim) == IS_STRING) {
771 if (Z_TYPE_P(dim) == IS_LONG) {
772 val = zend_hash_index_find(Z_ARRVAL_P(arr), Z_LVAL_P(dim));
774 val = zend_symtable_find(Z_ARRVAL_P(arr), Z_STR_P(dim));
H A Dzend_jit_x86.dasc5652 | // if (EXPECTED(Z_TYPE_P(dim) == IS_LONG))
5671 | // hval = Z_LVAL_P(dim);
5687 | // hval = Z_LVAL_P(dim);
5764 | // hval = Z_LVAL_P(dim);
5824 | // hval = Z_LVAL_P(dim);
5880 | // hval = Z_LVAL_P(dim);
5910 | // hval = Z_LVAL_P(dim);
5928 | // if (EXPECTED(Z_TYPE_P(dim) == IS_STRING))
5931 | // offset_key = Z_STR_P(dim);
H A Dzend_jit_arm64.dasc5122 | // if (EXPECTED(Z_TYPE_P(dim) == IS_LONG))
5143 | // hval = Z_LVAL_P(dim);
5159 | // hval = Z_LVAL_P(dim);
5226 | // hval = Z_LVAL_P(dim);
5286 | // hval = Z_LVAL_P(dim);
5342 | // hval = Z_LVAL_P(dim);
5372 | // hval = Z_LVAL_P(dim);
5391 | // if (EXPECTED(Z_TYPE_P(dim) == IS_STRING))
5394 | // offset_key = Z_STR_P(dim);
/PHP-8.1/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-8.1/Zend/
H A Dzend_execute.c1515 switch(Z_TYPE_P(dim)) { in zend_check_string_offset()
1517 return Z_LVAL_P(dim); in zend_check_string_offset()
1542 dim = Z_REFVAL_P(dim); in zend_check_string_offset()
2243 Z_RES_HANDLE_P(dim), Z_RES_HANDLE_P(dim)); in zend_use_resource_as_offset()
2415 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
2464 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_inner()
2517 if (dim == NULL) { in zend_fetch_dimension_address()
2556 if (dim == NULL) { in zend_fetch_dimension_address()
2569 dim++; in zend_fetch_dimension_address()
2736 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_read()
[all …]
H A Dzend_vm_execute.h6210 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CONST_HANDLER()
8379 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CONST_TMPVARCV_HANDLER()
8533 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_TMPVAR_HANDLER()
10898 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CV_HANDLER()
15305 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CONST_HANDLER()
16163 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_CONST_HANDLER()
16218 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_TMPVARCV_HANDLER()
16734 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_TMPVAR_HANDLER()
18058 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CV_HANDLER()
43328 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++;
1902 zval *container, *dim, *value; variable
1922 dim++;
2354 zval *container, *dim; variable
2542 zval *dim; variable
2616 dim = ZVAL_UNDEFINED_OP2();
2618 dim++;
9709 zval *container, *dim, *value; variable
9718 offset = Z_LVAL_P(dim);
[all …]
H A Dzend_execute.h65 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_use_resource_as_offset(const zval *dim);
362 ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type);
H A Dzend_compile.c10492 zval *container, *dim; in zend_eval_const_expr() local
10515 dim = zend_ast_get_zval(ast->child[1]); in zend_eval_const_expr()
10519 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
10520 el = zend_hash_index_find(Z_ARR_P(container), Z_LVAL_P(dim)); in zend_eval_const_expr()
10526 } else if (Z_TYPE_P(dim) == IS_STRING) { in zend_eval_const_expr()
10527 el = zend_symtable_find(Z_ARR_P(container), Z_STR_P(dim)); in zend_eval_const_expr()
10539 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
10540 offset = Z_LVAL_P(dim); in zend_eval_const_expr()
10541 …} 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.1/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-8.1/Zend/tests/nullsafe_operator/
H A D034.phpt2 Test nullsafe operator on delayed dim
/PHP-8.1/sapi/phpdbg/tests/
H A Dmatch_breakpoints_003.phpt2 Test match default breakpoint with dim assignment
/PHP-8.1/ext/opcache/tests/jit/
H A Dassign_dim_undef_exception.phpt2 Undef to exception for assign dim offset
/PHP-8.1/ext/ffi/
H A Dffi.c1310 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local
1316 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim()
1317 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim()
1338 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1353 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1368 zend_long dim; in zend_ffi_cdata_write_dim() local
1377 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim()
1379 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim()
1380 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim()
1393 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim()
[all …]

Completed in 336 milliseconds