/PHP-7.0/Zend/ |
H A D | zend_operators.h | 293 if (Z_LVAL_P(op)) { in i_zend_is_true() 468 Z_LVAL_P(op1)++; in fast_long_increment_function() 506 Z_LVAL_P(op1)--; in fast_long_decrement_function() 570 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != ((Z_LVAL_P(op1) + Z_LVAL_P(op2)) & LONG_SIGN_MASK))) { in fast_long_add_function() 571 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in fast_long_add_function() 573 ZVAL_LONG(result, Z_LVAL_P(op1) + Z_LVAL_P(op2)); in fast_long_add_function() 660 ZVAL_LONG(result, Z_LVAL_P(op1) - Z_LVAL_P(op2)); in fast_long_sub_function() 663 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (Z_LVAL_P(result) & LONG_SIGN_MASK))) { in fast_long_sub_function() 664 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in fast_long_sub_function() 679 return Z_LVAL_P(op1) == Z_LVAL_P(op2); in fast_equal_check_function() [all …]
|
H A D | zend_operators.c | 887 zend_long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2); in add_function() 956 zend_long lval = Z_LVAL_P(op1) - Z_LVAL_P(op2); in sub_function() 1016 …ZEND_SIGNED_MULTIPLY_LONG(Z_LVAL_P(op1),Z_LVAL_P(op2), Z_LVAL_P(result),Z_DVAL_P(result),overflow); in mul_function() 1067 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function() 1173 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function() 1174 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function() 1380 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function() 1456 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function() 1532 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function() 1891 ZVAL_LONG(result, Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0)); in compare_function() [all …]
|
H A D | zend_vm_execute.h | 4679 result = (Z_LVAL_P(op1) == Z_LVAL_P(op2)); 4747 result = (Z_LVAL_P(op1) != Z_LVAL_P(op2)); 4815 result = (Z_LVAL_P(op1) < Z_LVAL_P(op2)); 4865 result = (Z_LVAL_P(op1) <= Z_LVAL_P(op2)); 5891 result = (Z_LVAL_P(op1) == Z_LVAL_P(op2)); 8715 result = (Z_LVAL_P(op1) == Z_LVAL_P(op2)); 8783 result = (Z_LVAL_P(op1) != Z_LVAL_P(op2)); 8851 result = (Z_LVAL_P(op1) < Z_LVAL_P(op2)); 8901 result = (Z_LVAL_P(op1) <= Z_LVAL_P(op2)); 9741 result = (Z_LVAL_P(op1) == Z_LVAL_P(op2)); [all …]
|
/PHP-7.0/ext/ctype/ |
H A D | ctype.c | 150 if (Z_LVAL_P(c) <= 255 && Z_LVAL_P(c) >= 0) { \ 151 RETURN_BOOL(iswhat((int)Z_LVAL_P(c))); \ 152 } else if (Z_LVAL_P(c) >= -128 && Z_LVAL_P(c) < 0) { \ 153 RETURN_BOOL(iswhat((int)Z_LVAL_P(c) + 256)); \
|
/PHP-7.0/ext/intl/dateformat/ |
H A D | dateformat_format.c | 80 if (Z_LVAL_P(ele_value) > INT32_MAX || in internal_get_arr_ele() 81 Z_LVAL_P(ele_value) < INT32_MIN) { in internal_get_arr_ele() 84 Z_LVAL_P(ele_value), key_name); in internal_get_arr_ele() 88 result = Z_LVAL_P(ele_value); in internal_get_arr_ele()
|
H A D | dateformat_format_object.cpp | 50 zend_long lval = Z_LVAL_P(z); in valid_format() 113 dateStyle = (DateFormat::EStyle)Z_LVAL_P(z); in PHP_FUNCTION() 129 timeStyle = (DateFormat::EStyle)Z_LVAL_P(z); in PHP_FUNCTION() 137 dateStyle = timeStyle = (DateFormat::EStyle)Z_LVAL_P(format); in PHP_FUNCTION()
|
H A D | dateformat_helpers.cpp | 52 zend_long v = Z_LVAL_P(calendar_zv); in datefmt_process_calendar_arg() 69 cal_int_type = Z_LVAL_P(calendar_zv); in datefmt_process_calendar_arg()
|
H A D | dateformat_parse.c | 150 parse_pos = (int32_t)Z_LVAL_P(z_parse_pos); in PHP_FUNCTION() 189 parse_pos = (int32_t)Z_LVAL_P(z_parse_pos); in PHP_FUNCTION()
|
/PHP-7.0/ext/mysqli/ |
H A D | mysqli_driver.c | 42 MyG(value) = Z_LVAL_P(value) > 0; \ 56 MyG(value) = Z_LVAL_P(value); \ 77 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
|
/PHP-7.0/ext/intl/formatter/ |
H A D | formatter_format.c | 77 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION() 82 formatted_len = unum_format(FORMATTER_OBJECT(nfo), (int32_t)Z_LVAL_P(number), in PHP_FUNCTION() 93 int64_t value = (Z_TYPE_P(number) == IS_DOUBLE)?(int64_t)Z_DVAL_P(number):Z_LVAL_P(number); in PHP_FUNCTION()
|
H A D | formatter_parse.c | 72 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION() 160 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION()
|
/PHP-7.0/ext/sockets/ |
H A D | multicast.c | 93 if (Z_LVAL_P(val) < 0 || Z_LVAL_P(val) > UINT_MAX) { in php_get_if_index_from_zval() 96 " given %pd", UINT_MAX, Z_LVAL_P(val)); in php_get_if_index_from_zval() 99 *out = Z_LVAL_P(val); in php_get_if_index_from_zval() 292 if (Z_LVAL_P(arg4) < 0L || Z_LVAL_P(arg4) > 255L) { in php_do_setsockopt_ip_mcast() 297 ipv4_mcast_ttl_lback = (unsigned char) Z_LVAL_P(arg4); in php_do_setsockopt_ip_mcast() 357 if (Z_LVAL_P(arg4) < -1L || Z_LVAL_P(arg4) > 255L) { in php_do_setsockopt_ipv6_mcast() 362 ov = (int) Z_LVAL_P(arg4); in php_do_setsockopt_ipv6_mcast()
|
/PHP-7.0/ext/spl/ |
H A D | spl_engine.c | 55 return Z_LVAL_P(offset); in spl_offset_convert_to_long()
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 221 …"<frame %r id=\"%d\" file=\"%s\" line=\"" ZEND_LONG_FMT "\"", i, Z_STRVAL_P(file), Z_LVAL_P(line)); in phpdbg_dump_backtrace() 223 phpdbg_out(" at %s:%ld\n", Z_STRVAL_P(file), Z_LVAL_P(line)); in phpdbg_dump_backtrace() 237 …n}\" file=\"%s\" line=\"%d\"", "frame #%d: {main} at %s:%ld", i, Z_STRVAL_P(file), Z_LVAL_P(line)); in phpdbg_dump_backtrace()
|
/PHP-7.0/ext/sysvmsg/ |
H A D | sysvmsg.c | 177 stat.msg_perm.uid = Z_LVAL_P(item); in PHP_FUNCTION() 181 stat.msg_perm.gid = Z_LVAL_P(item); in PHP_FUNCTION() 185 stat.msg_perm.mode = Z_LVAL_P(item); in PHP_FUNCTION() 189 stat.msg_qbytes = Z_LVAL_P(item); in PHP_FUNCTION() 438 message_len = spprintf(&p, 0, "%pd", Z_LVAL_P(message)); in PHP_FUNCTION()
|
/PHP-7.0/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 474 d = (double)Z_LVAL_P(elem); in umsg_format_helper() 480 : (double)Z_LVAL_P(elem); in umsg_format_helper() 499 if (Z_LVAL_P(elem) > INT32_MAX || in umsg_format_helper() 500 Z_LVAL_P(elem) < INT32_MIN) { in umsg_format_helper() 505 tInt32 = (int32_t)Z_LVAL_P(elem); in umsg_format_helper() 530 tInt64 = (int64_t)Z_LVAL_P(elem); in umsg_format_helper() 577 formattable.setInt64((int64_t)Z_LVAL_P(elem)); in umsg_format_helper()
|
/PHP-7.0/ext/gmp/ |
H A D | gmp.c | 803 res = mpz_cmp_si(gmpnum_a, Z_LVAL_P(b_arg)); in gmp_cmp() 836 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op() 885 b_is_zero = (Z_LVAL_P(b_arg) == 0); in gmp_zval_binary_ui_op2() 1398 mpz_ui_pow_ui(gmpnum_result, Z_LVAL_P(base_arg), exp); in ZEND_FUNCTION() 1423 if (Z_TYPE_P(exp_arg) == IS_LONG && Z_LVAL_P(exp_arg) >= 0) { in ZEND_FUNCTION() 1800 if (Z_TYPE_P(seed) == IS_LONG && Z_LVAL_P(seed) >= 0) { in ZEND_FUNCTION() 1801 gmp_randseed_ui(GMPG(rand_state), Z_LVAL_P(seed)); in ZEND_FUNCTION() 1853 if (Z_TYPE_P(min_arg) == IS_LONG && Z_LVAL_P(min_arg) >= 0) { in ZEND_FUNCTION() 1854 if (mpz_cmp_ui(gmpnum_max, Z_LVAL_P(min_arg)) <= 0) { in ZEND_FUNCTION() 1863 if (Z_LVAL_P(min_arg) != 0) { in ZEND_FUNCTION() [all …]
|
/PHP-7.0/ext/soap/ |
H A D | php_http.c | 179 port = Z_LVAL_P(proxy_port); in http_connect() 186 Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) > 0) { in http_connect() 187 tv.tv_sec = Z_LVAL_P(tmp); in http_connect() 200 switch (Z_LVAL_P(tmp)) { in http_connect() 287 switch (Z_LVAL_P(tmp)) { in http_connect() 376 int level = Z_LVAL_P(tmp) & 0x0f; in make_http_soap_request() 377 int kind = Z_LVAL_P(tmp) & SOAP_COMPRESSION_DEFLATE; in make_http_soap_request() 422 use_proxy = Z_LVAL_P(tmp); in make_http_soap_request() 441 redirect_max = Z_LVAL_P(tmp); in make_http_soap_request() 660 Z_LVAL_P(tmp)++; in make_http_soap_request() [all …]
|
H A D | soap.c | 1170 (Z_LVAL_P(tmp) == SOAP_1_1 || Z_LVAL_P(tmp) == SOAP_1_2)) { in PHP_METHOD() 1171 version = Z_LVAL_P(tmp); in PHP_METHOD() 1214 service->features = Z_LVAL_P(tmp); in PHP_METHOD() 1219 cache_wsdl = Z_LVAL_P(tmp); in PHP_METHOD() 2361 (Z_LVAL_P(tmp) == SOAP_RPC || Z_LVAL_P(tmp) == SOAP_DOCUMENT)) { 2367 (Z_LVAL_P(tmp) == SOAP_LITERAL || Z_LVAL_P(tmp) == SOAP_ENCODED)) { 2389 (Z_LVAL_P(tmp) == SOAP_1_1 && Z_LVAL_P(tmp) == SOAP_1_2)) { 2390 soap_version = Z_LVAL_P(tmp); 2490 if (Z_LVAL_P(tmp) > 0) { 2501 cache_wsdl = Z_LVAL_P(tmp); [all …]
|
/PHP-7.0/ext/sysvsem/ |
H A D | sysvsem.c | 322 …, E_WARNING, "SysV semaphore %ld (key 0x%x) is not currently acquired", Z_LVAL_P(arg_id), sem_ptr-… in php_sysvsem_semop() 391 …php_error_docref(NULL, E_WARNING, "SysV semaphore %ld does not (any longer) exist", Z_LVAL_P(arg_i… 400 …php_error_docref(NULL, E_WARNING, "failed for SysV sempphore %ld: %s", Z_LVAL_P(arg_id), strerror(…
|
/PHP-7.0/ext/standard/ |
H A D | math.c | 314 if (Z_LVAL_P(value) == ZEND_LONG_MIN) { in PHP_FUNCTION() 317 RETURN_LONG(Z_LVAL_P(value) < 0 ? -Z_LVAL_P(value) : Z_LVAL_P(value)); in PHP_FUNCTION() 397 RETURN_DOUBLE((double) Z_LVAL_P(value)); in PHP_FUNCTION() 402 return_val = (Z_TYPE_P(value) == IS_LONG) ? (double)Z_LVAL_P(value) : Z_DVAL_P(value); in PHP_FUNCTION() 933 value = Z_LVAL_P(arg); in _php_math_longtobase()
|
/PHP-7.0/ext/simplexml/ |
H A D | simplexml.c | 298 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_read() 300 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_read() 332 if (member && Z_LVAL_P(member) > 0) { in sxe_prop_dim_read() 343 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read() 564 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_write() 566 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_write() 598 if (member && Z_LVAL_P(member) > 0) { in sxe_prop_dim_write() 646 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_write() 774 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_exists() 776 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_exists() [all …]
|
/PHP-7.0/ext/opcache/Optimizer/ |
H A D | compact_literals.c | 398 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 412 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals() 449 Z_TYPE(op_array->literals[i]) == Z_TYPE(op_array->literals[Z_LVAL_P(pos)]) && in zend_optimizer_compact_literals() 450 info[i].flags == info[Z_LVAL_P(pos)].flags) { in zend_optimizer_compact_literals() 453 map[i] = Z_LVAL_P(pos); in zend_optimizer_compact_literals()
|
/PHP-7.0/ext/readline/ |
H A D | readline.c | 288 rl_done = Z_LVAL_P(value); in PHP_FUNCTION() 308 rl_erase_empty_line = Z_LVAL_P(value); in PHP_FUNCTION() 326 rl_attempted_completion_over = Z_LVAL_P(value); in PHP_FUNCTION()
|
/PHP-7.0/ext/com_dotnet/ |
H A D | com_saproxy.c | 152 if (Z_LVAL_P(offset) < lbound || Z_LVAL_P(offset) > ubound) { in saproxy_read_dimension() 174 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension() 249 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()
|