Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dimage.c107 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_gif()
129 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_psd()
133 …ight = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_psd()
134 …dth = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_psd()
150 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_bmp()
153 …ize = (((unsigned int)dim[ 3]) << 24) + (((unsigned int)dim[ 2]) << 16) + (((unsigned int)dim[ 1… in php_handle_bmp()
161 …h = (((unsigned int)dim[ 7]) << 24) + (((unsigned int)dim[ 6]) << 16) + (((unsigned int)dim[ 5… in php_handle_bmp()
314 if((php_stream_read(stream, (char*)dim, sizeof(dim))) < sizeof(dim)) in php_handle_png()
318 …>width = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_png()
319 …>height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_png()
[all …]
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c463 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_r_helper()
564 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_is_helper()
660 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_isset_helper()
744 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_rw_helper()
842 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_w_helper()
957 dim = Z_REFVAL_P(dim); in zend_check_string_offset()
1032 dim = Z_REFVAL_P(dim); in zend_jit_fetch_dim_str_is_helper()
1374 if (dim && UNEXPECTED(Z_ISUNDEF_P(dim))) { in zend_jit_fetch_dim_obj_helper()
1453 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
1485 if (dim && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_assign_dim_helper()
[all …]
H A Dzend_jit_x86.dasc5526 | // if (EXPECTED(Z_TYPE_P(dim) == IS_LONG))
5545 | // hval = Z_LVAL_P(dim);
5561 | // hval = Z_LVAL_P(dim);
5630 | // hval = Z_LVAL_P(dim);
5690 | // hval = Z_LVAL_P(dim);
5740 | // hval = Z_LVAL_P(dim);
5760 | // hval = Z_LVAL_P(dim);
5780 | // hval = Z_LVAL_P(dim);
5798 | // if (EXPECTED(Z_TYPE_P(dim) == IS_STRING))
5801 | // offset_key = Z_STR_P(dim);
/PHP-8.0/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.0/Zend/
H A Dzend_execute.c1371 switch(Z_TYPE_P(dim)) { in zend_check_string_offset()
1373 return Z_LVAL_P(dim); in zend_check_string_offset()
1397 dim = Z_REFVAL_P(dim); in zend_check_string_offset()
1549 offset = Z_LVAL_P(dim); in zend_assign_to_string_offset()
2145 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
2225 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_inner()
2273 if (dim == NULL) { in zend_fetch_dimension_address()
2312 if (dim == NULL) { in zend_fetch_dimension_address()
2325 dim++; in zend_fetch_dimension_address()
2477 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_read()
[all …]
H A Dzend_vm_execute.h6009 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CONST_HANDLER()
8148 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CONST_TMPVARCV_HANDLER()
8302 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_TMPVAR_HANDLER()
10690 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CV_HANDLER()
15083 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CONST_HANDLER()
15938 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_CONST_HANDLER()
15990 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_TMPVARCV_HANDLER()
16506 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_TMPVAR_HANDLER()
17821 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CV_HANDLER()
42822 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CV_CONST_HANDLER()
[all …]
H A Dzend_vm_def.h1152 zval *value, *container, *dim; variable
1211 dim = ZVAL_UNDEFINED_OP2();
1213 dim++;
1885 zval *container, *dim, *value; variable
1905 dim++;
2337 zval *container, *dim; variable
2528 zval *dim; variable
2602 dim = ZVAL_UNDEFINED_OP2();
2604 dim++;
9570 offset = Z_LVAL_P(dim);
[all …]
H A Dzend_execute.h333 ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type);
H A Dzend_compile.c9858 zval *container, *dim; in zend_eval_const_expr() local
9881 dim = zend_ast_get_zval(ast->child[1]); in zend_eval_const_expr()
9885 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
9886 el = zend_hash_index_find(Z_ARR_P(container), Z_LVAL_P(dim)); in zend_eval_const_expr()
9892 } else if (Z_TYPE_P(dim) == IS_STRING) { in zend_eval_const_expr()
9893 el = zend_symtable_find(Z_ARR_P(container), Z_STR_P(dim)); in zend_eval_const_expr()
9905 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
9906 offset = Z_LVAL_P(dim); in zend_eval_const_expr()
9907 …} 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.0/Zend/tests/nullsafe_operator/
H A D034.phpt2 Test nullsafe operator on delayed dim
/PHP-8.0/sapi/phpdbg/tests/
H A Dmatch_breakpoints_003.phpt2 Test match default breakpoint with dim assignment
/PHP-8.0/ext/opcache/tests/jit/
H A Dassign_dim_undef_exception.phpt2 Undef to exception for assign dim offset
/PHP-8.0/Zend/tests/
H A Dassign_dim_obj_null_return.phpt2 Various null return conditions of dim/obj assignments
/PHP-8.0/ext/ffi/
H A Dffi.c1303 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local
1309 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim()
1310 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim()
1331 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1346 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1361 zend_long dim; in zend_ffi_cdata_write_dim() local
1370 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim()
1372 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim()
1373 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim()
1386 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim()
[all …]

Completed in 249 milliseconds