Home
last modified time | relevance | path

Searched refs:num (Results 226 – 250 of 269) sorted by relevance

1234567891011

/PHP-7.4/
H A D.gdbinit230 set $num = $ht->nNumUsed
231 while $k < $num
340 set $num = $ht->nNumUsed
343 while $i < $num
/PHP-7.4/ext/standard/tests/strings/
H A Dget_html_translation_table_basic6.phpt60 [#] => &num;
H A Dprintf.phpt117 foreach( $int_numbers as $num )
120 printf( "%e", $num );
H A Dprintf_64bit.phpt117 foreach( $int_numbers as $num )
120 printf( "%e", $num );
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_out.c77 #define STR_TO_DEC( str, num ) \ argument
78 num = NUM( *str++ ) ; \
81 num *= 10 ; \
82 num += NUM( *str++ ) ; \
H A Dphpdbg.c158 pg->frame.num = 0; in php_phpdbg_globals_ctor()
703 zval *num = zend_hash_index_find(insert_ht, insert_idx); in PHP_FUNCTION() local
704 if (!num) { in PHP_FUNCTION()
705 num = zend_hash_index_add_new(insert_ht, insert_idx, &zero); in PHP_FUNCTION()
707 Z_LVAL_P(num)++; in PHP_FUNCTION()
H A Dphpdbg_watch.c1151 zend_ulong num = zend_hash_num_elements(&hti->watches); local
1153 if (num == 1) { /* prevent access into freed memory */
1330 if ((element = zend_hash_index_find_ptr(&PHPDBG_G(watch_elements), param->num))) {
1332 phpdbg_notice("watchdelete", "variable=\"%.*s\"", "Removed watchpoint %d", (int) param->num);
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_inference.c1416 (int)opline->op1.num-1 < func_info->num_args && in zend_inference_calc_range()
1421 opline->op1.num <= op_array->num_args) { in zend_inference_calc_range()
2364 int fetch_type = opline->op2.num & ZEND_FETCH_CLASS_MASK; in zend_fetch_static_prop_info()
3139 arg_info = &op_array->arg_info[opline->op1.num-1]; in zend_update_type_info()
3168 opline->op1.num <= op_array->num_args && in zend_update_type_info()
3170 !op_array->arg_info[opline->op1.num-1].type_hint) { in zend_update_type_info()
3176 (int)opline->op1.num-1 < func_info->num_args && in zend_update_type_info()
3177 func_info->arg_info[opline->op1.num-1].info.ce) { in zend_update_type_info()
3179 func_info->arg_info[opline->op1.num-1].info.ce, in zend_update_type_info()
3198 switch (opline->op1.num & ZEND_FETCH_CLASS_MASK) { in zend_update_type_info()
[all …]
/PHP-7.4/Zend/
H A Dzend_alloc.c288 uint32_t num; member
323 #define _BIN_DATA_SIZE(num, size, elements, pages, x, y) size, argument
328 #define _BIN_DATA_ELEMENTS(num, size, elements, pages, x, y) elements, argument
333 #define _BIN_DATA_PAGES(num, size, elements, pages, x, y) pages, argument
794 chunk->num = chunk->prev->num + 1;
1082 if (!heap->cached_chunks || chunk->num > heap->cached_chunks->num) {
1863 chunk->num = 0;
2298 p->num = 0;
2921 chunk->num = 0;
H A Dzend_API.c263 …class_name, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_… in zend_wrong_parameter_type_error()
295 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_parameter_class_error()
309 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_parameter_class_exception()
313 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int num, char *error) /* {{{ */ in zend_wrong_callback_error() argument
323 class_name, space, get_active_function_name(), num, error); in zend_wrong_callback_error()
328 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_exception(int num, char *error) /* {{{ */ in zend_wrong_callback_exception() argument
338 class_name, space, get_active_function_name(), num, error); in zend_wrong_callback_exception()
343 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_deprecated(int num, char *error) /* {{{ */ in zend_wrong_callback_deprecated() argument
349 class_name, space, get_active_function_name(), num, error); in zend_wrong_callback_deprecated()
374 class_name, space, get_active_function_name(), num, in zend_parse_arg_class()
[all …]
H A Dzend_vm_execute.h1860 uint32_t arg_num = opline->op2.num; in zend_cannot_pass_by_ref_helper_SPEC()
3057 arg_num = opline->op1.num; in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
3158 uint32_t arg_num = opline->op1.num; in ZEND_RECV_SPEC_UNUSED_HANDLER()
3179 uint32_t arg_num = opline->op1.num; in ZEND_RECV_VARIADIC_SPEC_UNUSED_HANDLER()
3805 uint32_t arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_CONST_HANDLER()
3831 uint32_t arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_CONST_QUICK_HANDLER()
9256 ce = CACHED_PTR(opline->op2.num); in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER()
9264 CACHE_PTR(opline->op2.num, ce); in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER()
27657 CACHE_PTR(opline->op2.num, ce); in ZEND_NEW_SPEC_VAR_UNUSED_HANDLER()
30424 fetch_type = opline->op1.num; in ZEND_FETCH_CLASS_NAME_SPEC_UNUSED_HANDLER()
[all …]
H A Dzend_execute.c3022 ce = zend_fetch_class(NULL, opline->op2.num); in zend_fetch_static_property_address_ex()
3329 list->num = 1; in zend_ref_add_type_source()
3330 } else if (list->num_allocated == list->num) { in zend_ref_add_type_source()
3331 list->num_allocated = list->num * 2; in zend_ref_add_type_source()
3335 list->ptr[list->num++] = prop; in zend_ref_add_type_source()
3350 if (list->num == 1) { in zend_ref_del_type_source()
3360 end = ptr + list->num; in zend_ref_del_type_source()
3367 *ptr = list->ptr[--list->num]; in zend_ref_del_type_source()
3369 if (list->num >= 4 && list->num * 4 == list->num_allocated) { in zend_ref_del_type_source()
3370 list->num_allocated = list->num * 2; in zend_ref_del_type_source()
[all …]
H A Dzend_API.h1124 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_type_error(int num, zend_expected_type e…
1125 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_type_exception(int num, zend_expected_ty…
1126 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_error(int num, char *name, zval *a…
1127 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_parameter_class_exception(int num, char *name, zva…
1128 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int num, char *error);
1129 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_deprecated(int num, char *error);
1130 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_exception(int num, char *error);
1545 ZEND_API int ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, int num, int che…
H A Dzend_hash.c407 uint32_t num = ht->nNumOfElements; in zend_array_recalc_elements() local
412 num--; in zend_array_recalc_elements()
416 return num; in zend_array_recalc_elements()
422 uint32_t num; in zend_array_count() local
424 num = zend_array_recalc_elements(ht); in zend_array_count()
425 if (UNEXPECTED(ht->nNumOfElements == num)) { in zend_array_count()
429 num = zend_array_recalc_elements(ht); in zend_array_count()
431 num = zend_hash_num_elements(ht); in zend_array_count()
433 return num; in zend_array_count()
/PHP-7.4/ext/session/
H A Dsession.c367 zend_long num = -1; in php_session_gc() local
372 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &num); in php_session_gc()
373 return num; in php_session_gc()
377 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &num); in php_session_gc()
380 return num; in php_session_gc()
2559 zend_long num; in PHP_FUNCTION() local
2570 num = php_session_gc(1); in PHP_FUNCTION()
2571 if (num < 0) { in PHP_FUNCTION()
2575 RETURN_LONG(num); in PHP_FUNCTION()
/PHP-7.4/ext/standard/
H A Dcrypt_sha256.c357 const char *num = salt + sizeof(sha256_rounds_prefix) - 1; in php_sha256_crypt_r() local
359 zend_ulong srounds = ZEND_STRTOUL(num, &endp, 10); in php_sha256_crypt_r()
H A Dcrypt_sha512.c390 const char *num = salt + sizeof(sha512_rounds_prefix) - 1; in php_sha512_crypt_r() local
392 zend_ulong srounds = ZEND_STRTOUL(num, &endp, 10); in php_sha512_crypt_r()
H A Dvar_unserializer.re143 static zend_always_inline zval *tmp_var(php_unserialize_data_t *var_hashx, zend_long num)
148 if (!var_hashx || !*var_hashx || num < 1) {
153 if (!var_hash || var_hash->used_slots + num > VAR_DTOR_ENTRIES_MAX) {
166 …for (used_slots = var_hash->used_slots; var_hash->used_slots < used_slots + num; var_hash->used_sl…
H A Dbasic_functions.c331 ZEND_ARG_INFO(0, num)
4555 zend_long num; local
4558 Z_PARAM_LONG(num)
4561 if (num < 0) {
4566 RETURN_LONG(php_sleep((unsigned int)num));
4568 php_sleep((unsigned int)num);
4579 zend_long num; local
4582 Z_PARAM_LONG(num)
4585 if (num < 0) {
4589 usleep((unsigned int)num);
/PHP-7.4/ext/phar/
H A Dtar.c24 uint32_t num = 0; in phar_tar_number() local
32 num = num * 8 + (buf[i] - '0'); in phar_tar_number()
36 return num; in phar_tar_number()
/PHP-7.4/ext/sockets/
H A Dsockets.c910 int num = 0; local
923 num++;
926 return num ? 1 : 0;
936 int num = 0; local
959 num++;
967 return num ? 1 : 0;
/PHP-7.4/ext/intl/
H A Dphp_intl.c260 ZEND_ARG_INFO(0, num)
266 ZEND_ARG_INFO(0, num)
/PHP-7.4/ext/standard/tests/array/
H A Darray_slice.phpt20 $num = 4;
37 array_slice($num, 2);
/PHP-7.4/ext/phar/tests/files/
H A Dpear2coverage.phar268 foreach ($source->source() as $num => $line) {
269 $coverage = $source->coverage($num);
273 $output->text(str_pad($num, 8, ' ', STR_PAD_LEFT));
289 $output->writeAttribute('href', $this->getLineLink($source->name(), $num));
294 $this->renderLineSummary($source->name(), $num, $source->testpath(),
295 $source->getLineLinks($num));
/PHP-7.4/ext/zip/
H A Dphp_zip.c451 zip_int64_t num = zip_get_num_entries(za, 0); in php_zip_get_num_files() local
452 return MIN(num, ZEND_LONG_MAX); in php_zip_get_num_files()
1575 zip_int64_t num; local
1579 num = zip_get_num_entries(intern, 0);
1580 RETVAL_LONG(MIN(num, ZEND_LONG_MAX));

Completed in 298 milliseconds

1234567891011