Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 334) sorted by last modified time

12345678910>>...14

/PHP-8.0/ext/openssl/
H A Dopenssl.c2092 long i, length, num; in openssl_x509v3_subjectAltName() local
2114 num = sk_GENERAL_NAME_num(names); in openssl_x509v3_subjectAltName()
2115 for (i = 0; i < num; i++) { in openssl_x509v3_subjectAltName()
2145 if (i < (num - 1)) { in openssl_x509v3_subjectAltName()
H A Dxp_ssl.c111 #define GET_VER_OPT_LONG(name, num) \ argument
112 if (GET_VER_OPT(name)) { num = zval_get_long(val); }
601 static int php_openssl_passwd_callback(char *buf, int num, int verify, void *data) /* {{{ */ in php_openssl_passwd_callback() argument
611 if (Z_STRLEN_P(val) < (size_t)num - 1) { in php_openssl_passwd_callback()
/PHP-8.0/Zend/
H A Dzend_execute.c3037 ce = zend_fetch_class(NULL, opline->op2.num); in zend_fetch_static_property_address_ex()
3373 list->num = 1; in zend_ref_add_type_source()
3374 } else if (list->num_allocated == list->num) { in zend_ref_add_type_source()
3375 list->num_allocated = list->num * 2; in zend_ref_add_type_source()
3379 list->ptr[list->num++] = prop; in zend_ref_add_type_source()
3395 if (list->num == 1) { in zend_ref_del_type_source()
3405 end = ptr + list->num; in zend_ref_del_type_source()
3412 *ptr = list->ptr[--list->num]; in zend_ref_del_type_source()
3414 if (list->num >= 4 && list->num * 4 == list->num_allocated) { in zend_ref_del_type_source()
3415 list->num_allocated = list->num * 2; in zend_ref_del_type_source()
[all …]
H A Dzend_execute.h360 #define CACHE_ADDR(num) \ argument
361 ((void**)((char*)EX(run_time_cache) + (num)))
363 #define CACHED_PTR(num) \ argument
364 ((void**)((char*)EX(run_time_cache) + (num)))[0]
366 #define CACHE_PTR(num, ptr) do { \ argument
370 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
372 ((void**)((char*)EX(run_time_cache) + (num)))[1] : \
375 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
401 #define ENCODE_SPECIAL_CACHE_NUM(num) \ argument
402 ((void*)((((uintptr_t)(num)) << 1) | CACHE_SPECIAL))
[all …]
H A Dzend_exceptions.c542 static void _build_trace_string(smart_str *str, HashTable *ht, uint32_t num) /* {{{ */ in _build_trace_string() argument
547 smart_str_append_long(str, num); in _build_trace_string()
611 uint32_t num = 0; in ZEND_METHOD() local
631 _build_trace_string(&str, Z_ARRVAL_P(frame), num++); in ZEND_METHOD()
635 smart_str_append_long(&str, num); in ZEND_METHOD()
H A Dzend_vm_execute.h3572 arg_num = opline->op1.num; in ZEND_RECV_INIT_SPEC_CONST_HANDLER()
6826 arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_CONST_CONST_HANDLER()
9869 arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_CONST_UNUSED_HANDLER()
9906 arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_CONST_UNUSED_QUICK_HANDLER()
19392 arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_TMP_CONST_HANDLER()
20218 arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_TMP_UNUSED_HANDLER()
20255 arg_num = opline->op2.num; in ZEND_SEND_VAL_EX_SPEC_TMP_UNUSED_QUICK_HANDLER()
24140 arg_num = opline->op2.num; in ZEND_SEND_VAR_NO_REF_EX_SPEC_VAR_CONST_HANDLER()
24238 arg_num = opline->op2.num; in ZEND_SEND_VAR_EX_SPEC_VAR_CONST_HANDLER()
28190 arg_num = opline->op2.num; in ZEND_SEND_VAR_NO_REF_EX_SPEC_VAR_UNUSED_HANDLER()
[all …]
H A Dzend_vm_def.h4672 arg_num = opline->op2.num;
4787 arg_num = opline->op2.num;
4885 arg_num = opline->op2.num;
4950 arg_num = opline->op2.num;
5429 uint32_t arg_num = opline->op1.num;
5448 uint32_t arg_num = opline->op1.num;
5465 arg_num = opline->op1.num;
5509 uint32_t arg_num = opline->op1.num;
5684 ce = CACHED_PTR(opline->op2.num);
5691 CACHE_PTR(opline->op2.num, ce);
[all …]
H A Dzend_compile.c3370 opline->op2.num = arg_count; in zend_compile_args()
3475 opline->op2.num = arg_num; in zend_compile_args()
3931 opline->op2.num = i; in zend_compile_func_cuf()
4922 opline->op2.num = depth; in zend_compile_break_continue()
5825 opline->op1.num = try_catch_offset; in zend_compile_try()
6471 opline->op1.num = i + 1; in zend_compile_params()
6483 opline->op2.num = type_ast ? in zend_compile_params()
9025 if (num == 0) { in zend_compile_rope_add_ex()
9035 opline->extended_value = num; in zend_compile_rope_add_ex()
9044 if (num == 0) { in zend_compile_rope_add()
[all …]
H A Dzend_operators.c2973 ZEND_API zend_string* ZEND_FASTCALL zend_long_to_str(zend_long num) /* {{{ */ argument
2975 if ((zend_ulong)num <= 9) {
2976 return ZSTR_CHAR((zend_uchar)'0' + (zend_uchar)num);
2979 char *res = zend_print_long_to_buf(buf + sizeof(buf) - 1, num);
H A Dzend_operators.h909 static zend_always_inline char *zend_print_ulong_to_buf(char *buf, zend_ulong num) { in zend_print_ulong_to_buf() argument
912 *--buf = (char) (num % 10) + '0'; in zend_print_ulong_to_buf()
913 num /= 10; in zend_print_ulong_to_buf()
914 } while (num > 0); in zend_print_ulong_to_buf()
919 static zend_always_inline char *zend_print_long_to_buf(char *buf, zend_long num) { in zend_print_long_to_buf() argument
920 if (num < 0) { in zend_print_long_to_buf()
921 char *result = zend_print_ulong_to_buf(buf, ~((zend_ulong) num) + 1); in zend_print_long_to_buf()
925 return zend_print_ulong_to_buf(buf, num); in zend_print_long_to_buf()
929 ZEND_API zend_string* ZEND_FASTCALL zend_long_to_str(zend_long num);
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit.c1205 uint32_t num; in zend_jit_compute_liveness() local
1212 num = n - 1; in zend_jit_compute_liveness()
1214 num = n; in zend_jit_compute_liveness()
1246 if (zend_jit_add_range(intervals, op->op1_use, b->start, num) != SUCCESS) { in zend_jit_compute_liveness()
2212 if (opline->op1.num <= op_array->num_args) { in zend_jit()
2213 arg_info = &op_array->arg_info[opline->op1.num - 1]; in zend_jit()
2797 && opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit()
2826 && opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit()
2847 if (opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit()
3578 func_info->num = 0; in zend_jit_cleanup_func_info()
[all …]
H A Dzend_jit_trace.c458 uint32_t arg_num = opline->op2.num; in zend_jit_trace_send_type()
486 jit_extension->func_info.num = 0; in zend_jit_trace_build_ssa()
1813 if (opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit_trace_build_tssa()
1831 && opline->op2.num <= frame->call->func->op_array.num_args) { in zend_jit_trace_build_tssa()
1864 SET_STACK_INFO(frame->call->stack, opline->op2.num - 1, info); in zend_jit_trace_build_tssa()
1896 || opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit_trace_build_tssa()
1901 if (ARG_SHOULD_BE_SENT_BY_REF(frame->call->func, opline->op2.num)) { in zend_jit_trace_build_tssa()
4844 && opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit_trace()
4892 && opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit_trace()
4937 || opline->op2.num > MAX_ARG_FLAG_NUM) { in zend_jit_trace()
[all …]
H A Dzend_jit_x86.dasc1975 | mov FCARG1d, dword OP:r0->op2.num
9566 | // if (CACHED_PTR(opline->result.num))
9568 | mov r0, aword [r0 + opline->result.num]
10641 uint32_t arg_num = opline->op2.num;
10802 uint32_t arg_num = opline->op2.num;
11023 uint32_t arg_num = opline->op2.num;
12851 uint32_t arg_num = opline->op1.num;
12909 uint32_t arg_num = opline->op1.num;
15112 | lea CARG4, aword [r0+opline->op2.num]
15117 | add r0, opline->op2.num
[all …]
/PHP-8.0/ext/standard/
H A Darray.c2605 zend_long start_key, num; local
2609 Z_PARAM_LONG(num)
2613 if (EXPECTED(num > 0)) {
2614 if (sizeof(num) > 4 && UNEXPECTED(EXPECTED(num > 0x7fffffff))) {
2642 while (num--) {
2656 while (--num) {
5298 uint32_t num; local
5315 if (num == 0) {
5323 } else if (num == 1) {
5373 num = 0;
[all …]
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()
/PHP-8.0/ext/session/
H A Dsession.c365 zend_long num = -1; in php_session_gc() local
370 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &num); in php_session_gc()
371 return num; in php_session_gc()
375 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &num); in php_session_gc()
378 return num; in php_session_gc()
2583 zend_long num; in PHP_FUNCTION() local
2594 num = php_session_gc(1); in PHP_FUNCTION()
2595 if (num < 0) { in PHP_FUNCTION()
2599 RETURN_LONG(num); in PHP_FUNCTION()
/PHP-8.0/ext/sockets/
H A Dsockets.c651 int num = 0; local
673 num++;
676 return num ? 1 : 0;
686 int num = 0; local
711 num++;
719 return num ? 1 : 0;
/PHP-8.0/ext/gmp/
H A Dgmp.c74 mpz_t num; member
102 GET_GMP_OBJECT_FROM_OBJ(Z_OBJ_P(zval))->num
125 mpz_clear(temp.num); \
240 mpz_clear(intern->num); in gmp_free_object_storage()
252 mpz_init(intern->num); in gmp_create_object_ex()
253 *gmpnum_target = intern->num; in gmp_create_object_ex()
278 gmpnum = GET_GMP_OBJECT_FROM_OBJ(readobj)->num; in gmp_cast_object()
282 gmpnum = GET_GMP_OBJECT_FROM_OBJ(readobj)->num; in gmp_cast_object()
286 gmpnum = GET_GMP_OBJECT_FROM_OBJ(readobj)->num; in gmp_cast_object()
290 gmpnum = GET_GMP_OBJECT_FROM_OBJ(readobj)->num; in gmp_cast_object()
[all …]
/PHP-8.0/ext/gmp/tests/
H A Dgh9308.phpt19 gmp_init(): Argument #1 ($num) must be of type string|int, GMP given
/PHP-8.0/ext/intl/tests/
H A Dformatter_format_and_parse_errors.phpt9 $num = 5;
14 numfmt_format($o, $num, -20);
19 $o->format($num, -20);
36 numfmt_format($o, $num, NumberFormatter::TYPE_CURRENCY);
41 $o->format($num, NumberFormatter::TYPE_CURRENCY);
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c596 || op->opcode == ZEND_RECV_VARIADIC) && op->op1.num == offset) in get_recv_op()
/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_inference.c1256 opline->op1.num <= op_array->num_args) { in zend_inference_propagate_range()
1257 zend_type type = op_array->arg_info[opline->op1.num-1].type; in zend_inference_propagate_range()
2137 int fetch_type = opline->op2.num & ZEND_FETCH_CLASS_MASK; in zend_fetch_static_prop_info()
2932 zend_arg_info *arg_info = &op_array->arg_info[opline->op1.num-1]; in _zend_update_type_info()
2966 switch (opline->op1.num & ZEND_FETCH_CLASS_MASK) { in _zend_update_type_info()
4565 uint32_t arg_num = opline->op1.num; in zend_may_throw_ex()
H A Ddfa_pass.c487 call_info->caller_call_opline->op1.num = send_needly->op1.num; in zend_dfa_optimize_calls()
804 opline->op2.num = 0; in zend_dfa_optimize_jmps()
811 opline->op2.num = 0; in zend_dfa_optimize_jmps()
835 opline->op2.num = 0; in zend_dfa_optimize_jmps()
842 opline->op2.num = 0; in zend_dfa_optimize_jmps()
868 opline->op2.num = 0; in zend_dfa_optimize_jmps()
875 opline->op2.num = 0; in zend_dfa_optimize_jmps()
884 opline->op1.num = opline->op2.num; in zend_dfa_optimize_jmps()
1252 opline->op2.num = 0; in zend_dfa_optimize_op_array()
1283 opline->op2.num = 0; in zend_dfa_optimize_op_array()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg.c158 pg->frame.num = 0; in php_phpdbg_globals_ctor()
722 zval *num = zend_hash_index_find(insert_ht, insert_idx); in PHP_FUNCTION() local
723 if (!num) { in PHP_FUNCTION()
724 num = zend_hash_index_add_new(insert_ht, insert_idx, &zero); in PHP_FUNCTION()
726 Z_LVAL_P(num)++; in PHP_FUNCTION()

Completed in 534 milliseconds

12345678910>>...14