Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dimage.c112 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_gif()
135 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_psd()
139 …ight = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_psd()
140 …dth = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_psd()
157 if (php_stream_read(stream, (char*)dim, sizeof(dim)) != sizeof(dim)) in php_handle_bmp()
160 …ize = (((unsigned int)dim[ 3]) << 24) + (((unsigned int)dim[ 2]) << 16) + (((unsigned int)dim[ 1… in php_handle_bmp()
168 …h = (((unsigned int)dim[ 7]) << 24) + (((unsigned int)dim[ 6]) << 16) + (((unsigned int)dim[ 5… in php_handle_bmp()
323 if((php_stream_read(stream, (char*)dim, sizeof(dim))) < sizeof(dim)) in php_handle_png()
327 …>width = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]… in php_handle_png()
328 …>height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]… in php_handle_png()
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dparse_str_basic3.phpt72 echo "\nTest string with 2-dim array with numeric keys\n";
77 echo "\nTest string with 2-dim array with null keys\n";
82 echo "\nTest string with 2-dim array with non-numeric keys\n";
87 echo "\nTest string with 3-dim array with numeric keys\n";
225 Test string with 2-dim array with numeric keys
240 Test string with 2-dim array with null keys
258 Test string with 2-dim array with non-numeric keys
276 Test string with 3-dim array with numeric keys
/PHP-7.4/Zend/
H A Dzend_execute.c1397 switch(Z_TYPE_P(dim)) { in zend_check_string_offset()
1415 dim = Z_REFVAL_P(dim); in zend_check_string_offset()
1424 offset = Z_LVAL_P(dim); in zend_check_string_offset()
2087 switch (Z_TYPE_P(dim)) { in slow_index_convert()
2134 hval = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner()
2214 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_inner()
2262 if (dim == NULL) { in zend_fetch_dimension_address()
2299 if (dim == NULL) { in zend_fetch_dimension_address()
2311 dim++; in zend_fetch_dimension_address()
2432 dim = Z_REFVAL_P(dim); in zend_fetch_dimension_address_read()
[all …]
H A Dzend_vm_execute.h5300 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CONST_HANDLER()
7412 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CONST_TMPVARCV_HANDLER()
7568 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_TMPVAR_HANDLER()
10029 dim++; in ZEND_FETCH_DIM_R_SPEC_CONST_CV_HANDLER()
14398 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CONST_HANDLER()
15220 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_CONST_HANDLER()
15273 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_TMPVAR_TMPVARCV_HANDLER()
15825 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_TMPVAR_HANDLER()
17119 dim++; in ZEND_FETCH_DIM_R_SPEC_TMPVAR_CV_HANDLER()
41717 dim++; in ZEND_FETCH_DIM_R_INDEX_SPEC_CV_CONST_HANDLER()
[all …]
H A Dzend_vm_def.h1209 zval *value, *container, *dim; variable
1266 dim++;
1958 zval *container, *dim, *value; variable
1978 dim++;
2424 zval *container, *dim; variable
2608 zval *dim; variable
2668 dim++;
9241 zval *container, *dim, *value; variable
9250 offset = Z_LVAL_P(dim);
9252 offset = zval_get_long(dim);
[all …]
H A Dzend_execute.h316 ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type);
H A Dzend_compile.c8919 zval *container, *dim; in zend_eval_const_expr() local
8942 dim = zend_ast_get_zval(ast->child[1]); in zend_eval_const_expr()
8946 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
8947 el = zend_hash_index_find(Z_ARR_P(container), Z_LVAL_P(dim)); in zend_eval_const_expr()
8953 } else if (Z_TYPE_P(dim) == IS_STRING) { in zend_eval_const_expr()
8954 el = zend_symtable_find(Z_ARR_P(container), Z_STR_P(dim)); in zend_eval_const_expr()
8966 if (Z_TYPE_P(dim) == IS_LONG) { in zend_eval_const_expr()
8967 offset = Z_LVAL_P(dim); in zend_eval_const_expr()
8968 …} 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-7.4/Zend/tests/
H A Dassign_dim_obj_null_return.phpt2 Various null return conditions of dim/obj assignments
/PHP-7.4/ext/ffi/
H A Dffi.c1273 zend_long dim = zval_get_long(offset); in zend_ffi_cdata_read_dim() local
1279 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_read_dim()
1280 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_read_dim()
1301 ptr = (void*)(((char*)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1316 ptr = (void*)((*(char**)cdata->ptr) + dim_type->size * dim); in zend_ffi_cdata_read_dim()
1331 zend_long dim; in zend_ffi_cdata_write_dim() local
1340 dim = zval_get_long(offset); in zend_ffi_cdata_write_dim()
1342 if (UNEXPECTED((zend_ulong)(dim) >= (zend_ulong)type->array.length) in zend_ffi_cdata_write_dim()
1343 && (UNEXPECTED(dim < 0) || UNEXPECTED(type->array.length != 0))) { in zend_ffi_cdata_write_dim()
1356 ptr = (void*)(((char*)cdata->ptr) + type->size * dim); in zend_ffi_cdata_write_dim()
[all …]

Completed in 207 milliseconds