Home
last modified time | relevance | path

Searched refs:lval (Results 1 – 25 of 58) sorted by relevance

123

/PHP-8.3/ext/opcache/jit/libudis86/
H A Dsyn.c161 v = (int64_t)op->lval.sbyte; in ud_syn_print_imm()
164 v = (int64_t)op->lval.sdword; in ud_syn_print_imm()
171 case 8 : v = op->lval.ubyte; break; in ud_syn_print_imm()
172 case 16: v = op->lval.uword; break; in ud_syn_print_imm()
173 case 32: v = op->lval.udword; break; in ud_syn_print_imm()
174 case 64: v = op->lval.uqword; break; in ud_syn_print_imm()
205 case 16: v = op->lval.uword; break; in ud_syn_print_mem_disp()
206 case 32: v = op->lval.udword; break; in ud_syn_print_mem_disp()
207 case 64: v = op->lval.uqword; break; in ud_syn_print_mem_disp()
229 case 8 : v = op->lval.sbyte; break; in ud_syn_print_mem_disp()
[all …]
H A Dsyn-att.c56 ud_asmprintf(u, "$0x%x", op->lval.udword); in gen_operand()
104 ud_asmprintf(u, "$0x%x, $0x%x", op->lval.ptr.seg, in gen_operand()
105 op->lval.ptr.off & 0xFFFF); in gen_operand()
108 ud_asmprintf(u, "$0x%x, $0x%x", op->lval.ptr.seg, in gen_operand()
109 op->lval.ptr.off); in gen_operand()
172 ud_asmprintf(u, ".byte 0x%x", u->operand[0].lval.ubyte); in ud_translate_att()
H A Dsyn-intel.c103 ud_asmprintf(u, "word 0x%x:0x%x", op->lval.ptr.seg, in gen_operand()
104 op->lval.ptr.off & 0xFFFF); in gen_operand()
107 ud_asmprintf(u, "dword 0x%x:0x%x", op->lval.ptr.seg, in gen_operand()
108 op->lval.ptr.off); in gen_operand()
115 ud_asmprintf(u, "%d", op->lval.udword); in gen_operand()
H A Ddecode.c386 op->lval.ptr.off = inp_uint16(u); in decode_a()
387 op->lval.ptr.seg = inp_uint16(u); in decode_a()
392 op->lval.ptr.off = inp_uint32(u); in decode_a()
393 op->lval.ptr.seg = inp_uint16(u); in decode_a()
478 case 8: op->lval.sbyte = inp_uint8(u); break; in decode_imm()
498 op->lval.ubyte = inp_uint8(u); in decode_mem_disp()
502 op->lval.uword = inp_uint16(u); in decode_mem_disp()
506 op->lval.udword = inp_uint32(u); in decode_mem_disp()
510 op->lval.uqword = inp_uint64(u); in decode_mem_disp()
765 operand->lval.udword = 1; in decode_operand()
[all …]
/PHP-8.3/Zend/
H A Dzend_multiply.h32 else (lval) = __tmpvar; \
42 else (lval) = __tmpvar; \
54 else (lval) = __tmpvar; \
66 else (lval) = __tmpvar; \
79 else (lval) = __tmpvar; \
91 (lval) = __low; \
104 (lval) = __low; \
118 (lval) = __lres; \
135 (lval) = __low; \
148 (lval) = (long) __result; \
[all …]
H A Dzend_constants.h51 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)… argument
58 …LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(Z… argument
65 …define REGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(… argument
83 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int fl…
H A Dzend_ini_scanner.l282 static void zend_ini_escape_string(zval *lval, const char *str, int len, char quote_type) in zend_ini_escape_string() argument
287 zend_ini_copy_value(lval, str, len); in zend_ini_escape_string()
290 s = t = Z_STRVAL_P(lval); in zend_ini_escape_string()
291 end = s + Z_STRLEN_P(lval); in zend_ini_escape_string()
311 Z_STRLEN_P(lval)--; in zend_ini_escape_string()
H A Dzend_operators.c396 return lval; in zendi_try_get_long()
401 zend_long lval; in zendi_try_get_long() local
419 return lval; in zendi_try_get_long()
433 return lval; in zendi_try_get_long()
925 return lval; in zval_get_long_func()
930 zend_long lval; in zval_get_long_func() local
935 return lval; in zval_get_long_func()
949 return lval; in zval_get_long_func()
2201 return lval > str_lval ? 1 : lval < str_lval ? -1 : 0; in compare_long_to_string()
2701 zend_long lval; in decrement_function() local
[all …]
H A Dzend_ini_parser.y295 zend_long lval; in convert_to_number() local
298 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow, NULL)) != 0) { in convert_to_number()
300 ZVAL_LONG(retval, lval); in convert_to_number()
H A Dzend_execute.c722 zend_long lval; in zend_verify_weak_scalar_type_hint() local
783 zend_long lval; in zend_verify_weak_scalar_type_hint_no_sideeffect() local
2390 value->lval = 0; in slow_index_convert()
2393 value->lval = 1; in slow_index_convert()
2464 value->lval = 0; in slow_index_convert_w()
2467 value->lval = 1; in slow_index_convert_w()
2547 hval = val.lval; in zend_fetch_dimension_address_inner()
2943 zend_long lval; in zend_isset_dim_slow() local
2951 if (EXPECTED(lval >= 0) && (size_t)lval < Z_STRLEN_P(container)) { in zend_isset_dim_slow()
2982 zend_long lval; in zend_isempty_dim_slow() local
[all …]
/PHP-8.3/ext/sockets/
H A Dsockaddr_conv.c64 zend_long lval = 0; in php_set_inet6_addr() local
70 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr()
71 if (lval > 0 && (zend_ulong)lval <= UINT_MAX) { in php_set_inet6_addr()
72 scope_id = lval; in php_set_inet6_addr()
H A Dconversions.c371 zend_long lval; in from_zval_write_int() local
379 if (lval > INT_MAX || lval < INT_MIN) { in from_zval_write_int()
390 zend_long lval; in from_zval_write_uint32() local
409 zend_long lval; in from_zval_write_net_uint16() local
417 if (lval < 0 || lval > 0xFFFF) { in from_zval_write_net_uint16()
428 zend_long lval; in from_zval_write_sa_family() local
449 zend_long lval; in from_zval_write_pid_t() local
457 if (lval < 0 || (pid_t)lval != lval) { /* pid_t is signed */ in from_zval_write_pid_t()
468 zend_long lval; in from_zval_write_uid_t() local
478 if (sizeof(zend_long) > sizeof(uid_t) && (lval < 0 || (uid_t)lval != lval)) { in from_zval_write_uid_t()
[all …]
/PHP-8.3/ext/intl/collator/
H A Dcollator_is_numeric.c207 uint8_t collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, bool allow_… in collator_is_numeric() argument
221 if (lval) { in collator_is_numeric()
222 *lval = local_lval; in collator_is_numeric()
257 } else if (end_ptr_long && lval) { in collator_is_numeric()
258 *lval = local_lval; in collator_is_numeric()
H A Dcollator_is_numeric.h23 uint8_t collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, bool allow_…
H A Dcollator_convert.c312 zend_long lval = 0; in collator_convert_string_to_number_if_possible() local
320 …ollator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, /* allow_er… in collator_convert_string_to_number_if_possible()
323 ZVAL_LONG(rv, lval); in collator_convert_string_to_number_if_possible()
/PHP-8.3/ext/pdo_dblib/
H A Ddblib_driver.c276 zend_long lval; in dblib_set_attr() local
281 if (!pdo_get_long_param(&lval, val)) { in dblib_set_attr()
284 H->assume_national_character_set_strings = lval == PDO_PARAM_STR_NATL ? 1 : 0; in dblib_set_attr()
288 if (!pdo_get_long_param(&lval, val)) { in dblib_set_attr()
291 return SUCCEED == dbsettime(lval); in dblib_set_attr()
293 if (!pdo_get_long_param(&lval, val)) { in dblib_set_attr()
296 H->stringify_uniqueidentifier = lval; in dblib_set_attr()
305 if (!pdo_get_long_param(&lval, val)) { in dblib_set_attr()
308 H->datetime_convert = lval; in dblib_set_attr()
/PHP-8.3/ext/pdo/
H A Dpdo_dbh.c693 *lval = zval_get_long(value); in pdo_get_long_param()
727 zend_long lval; in pdo_dbh_attribute_set() local
732 if (!pdo_get_long_param(&lval, value)) { in pdo_dbh_attribute_set()
735 switch (lval) { in pdo_dbh_attribute_set()
739 dbh->error_mode = lval; in pdo_dbh_attribute_set()
751 switch (lval) { in pdo_dbh_attribute_set()
755 dbh->desired_case = lval; in pdo_dbh_attribute_set()
768 dbh->oracle_nulls = lval; in pdo_dbh_attribute_set()
780 lval = zval_get_long(value); in pdo_dbh_attribute_set()
786 if (lval == PDO_FETCH_USE_DEFAULT) { in pdo_dbh_attribute_set()
[all …]
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c95 int64_t lval = 0; in ps_fetch_from_1_to_8_bytes() local
97 case 8:lval = (int64_t) sint8korr(*row);break; in ps_fetch_from_1_to_8_bytes()
102 case 4:lval = (int64_t) sint4korr(*row);break; in ps_fetch_from_1_to_8_bytes()
103 case 3:lval = (int64_t) sint3korr(*row);break; in ps_fetch_from_1_to_8_bytes()
104 case 2:lval = (int64_t) sint2korr(*row);break; in ps_fetch_from_1_to_8_bytes()
105 case 1:lval = (int64_t) *(int8_t*)*row;break; in ps_fetch_from_1_to_8_bytes()
109 if ((L64(2147483647) < (int64_t) lval) || (L64(-2147483648) > (int64_t) lval)) { in ps_fetch_from_1_to_8_bytes()
111 ZVAL_STR(zv, zend_i64_to_str(lval)); in ps_fetch_from_1_to_8_bytes()
115 ZVAL_LONG(zv, (zend_long) lval); /* the cast is safe, we are in the range */ in ps_fetch_from_1_to_8_bytes()
/PHP-8.3/ext/intl/dateformat/
H A Ddateformat_format_object.cpp54 zend_long lval = Z_LVAL_P(z); in valid_format() local
56 if ((zend_long)valid_styles[i] == lval) { in valid_format()
/PHP-8.3/ext/intl/converter/
H A Dconverter.c156 zend_long lval = Z_LVAL_P(val); in php_converter_append_toUnicode_target() local
157 if ((lval < 0) || (lval > 0x10FFFF)) { in php_converter_append_toUnicode_target()
158 … php_converter_throw_failure(objval, U_ILLEGAL_ARGUMENT_ERROR, "Invalid codepoint U+%04lx", lval); in php_converter_append_toUnicode_target()
161 if (lval > 0xFFFF) { in php_converter_append_toUnicode_target()
165 *(args->target++) = (UChar)(((lval - 0x10000) >> 10) | 0xD800); in php_converter_append_toUnicode_target()
166 *(args->target++) = (UChar)(((lval - 0x10000) & 0x3FF) | 0xDC00); in php_converter_append_toUnicode_target()
172 *(args->target++) = (UChar)lval; in php_converter_append_toUnicode_target()
/PHP-8.3/ext/spl/
H A Dspl_heap.c176 zend_long lval = 0; in spl_ptr_heap_zval_max_cmp() local
177 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) { in spl_ptr_heap_zval_max_cmp()
181 return ZEND_NORMALIZE_BOOL(lval); in spl_ptr_heap_zval_max_cmp()
199 zend_long lval = 0; in spl_ptr_heap_zval_min_cmp() local
200 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) { in spl_ptr_heap_zval_min_cmp()
204 return ZEND_NORMALIZE_BOOL(lval); in spl_ptr_heap_zval_min_cmp()
225 zend_long lval = 0; in spl_ptr_pqueue_elem_cmp() local
226 …if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a_priority_p, b_priority_p, &lval) == FAILURE)… in spl_ptr_pqueue_elem_cmp()
230 return ZEND_NORMALIZE_BOOL(lval); in spl_ptr_pqueue_elem_cmp()
/PHP-8.3/ext/filter/
H A Dlogical_filters.c357 zend_long lval; in php_filter_float() local
445 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float()
447 if ((min_range_set && (lval < min_range)) || (max_range_set && (lval > max_range))) { in php_filter_float()
451 ZVAL_DOUBLE(value, (double)lval); in php_filter_float()
/PHP-8.3/ext/pdo_sqlite/
H A Dsqlite_driver.c288 zend_long lval; in pdo_sqlite_set_attr() local
292 if (!pdo_get_long_param(&lval, val)) { in pdo_sqlite_set_attr()
295 sqlite3_busy_timeout(H->db, lval * 1000); in pdo_sqlite_set_attr()
298 if (!pdo_get_long_param(&lval, val)) { in pdo_sqlite_set_attr()
301 sqlite3_extended_result_codes(H->db, lval); in pdo_sqlite_set_attr()
/PHP-8.3/ext/pdo_mysql/
H A Dmysql_driver.c411 zend_long lval; in pdo_mysql_set_attribute() local
432 if (!pdo_get_long_param(&lval, val)) { in pdo_mysql_set_attribute()
435 …((pdo_mysql_db_handle *)dbh->driver_data)->assume_national_character_set_strings = lval == PDO_PAR… in pdo_mysql_set_attribute()
476 if (!pdo_get_long_param(&lval, val)) { in pdo_mysql_set_attribute()
479 if (lval < 0) { in pdo_mysql_set_attribute()
484 ((pdo_mysql_db_handle *)dbh->driver_data)->max_buffer_size = lval; in pdo_mysql_set_attribute()
/PHP-8.3/ext/dom/
H A Dphp_dom.c1709 static bool dom_nodemap_or_nodelist_process_offset_as_named(zval *offset, zend_long *lval) in dom_nodemap_or_nodelist_process_offset_as_named() argument
1715 …if (0 == (is_numeric_string_type = is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), lval,… in dom_nodemap_or_nodelist_process_offset_as_named()
1718 *lval = zend_dval_to_lval_cap(dval); in dom_nodemap_or_nodelist_process_offset_as_named()
1721 *lval = zval_get_long(offset); in dom_nodemap_or_nodelist_process_offset_as_named()
1735 zend_long lval; in dom_nodelist_read_dimension() local
1736 if (dom_nodemap_or_nodelist_process_offset_as_named(offset, &lval)) { in dom_nodelist_read_dimension()
1742 php_dom_nodelist_get_item_into_zval(php_dom_obj_from_obj(object)->ptr, lval, rv); in dom_nodelist_read_dimension()
1811 zend_long lval; in dom_nodemap_read_dimension() local
1812 if (dom_nodemap_or_nodelist_process_offset_as_named(offset, &lval)) { in dom_nodemap_read_dimension()
1819 if (UNEXPECTED(lval < 0 || ZEND_LONG_INT_OVFL(lval))) { in dom_nodemap_read_dimension()
[all …]

Completed in 122 milliseconds

123