/PHP-5.6/Zend/ |
H A D | zend_multiply.h | 24 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \ argument 31 else (lval) = __tmpvar; \ 36 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \ argument 43 else (lval) = __tmpvar; \ 48 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \ argument 55 else (lval) = __tmpvar; \ 60 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \ argument 68 else (lval) = __tmpvar; \ 73 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \ argument 79 (lval) = (long) __result; \ [all …]
|
H A D | zend_constants.h | 43 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)… argument 50 …_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(… argument 57 #define REGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(… argument 73 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, in…
|
H A D | zend_ini_scanner.l | 154 long lval; in convert_to_number() local 157 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) { in convert_to_number() 159 ZVAL_LONG(retval, lval); in convert_to_number() 311 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC) in zend_ini_escape_string() argument 316 zend_ini_copy_value(lval, str, len); in zend_ini_escape_string() 319 s = t = Z_STRVAL_P(lval); in zend_ini_escape_string() 320 end = s + Z_STRLEN_P(lval); in zend_ini_escape_string() 339 Z_STRLEN_P(lval)--; in zend_ini_escape_string()
|
H A D | zend_variables.c | 65 zend_list_delete(zvalue->value.lval); in _zval_dtor_func() 115 zend_list_addref(zvalue->value.lval); in _zval_copy_ctor_func()
|
H A D | zend_operators.c | 595 long lval; in _convert_to_string() local 623 lval = Z_LVAL_P(op); in _convert_to_string() 826 ZVAL_LONG(result, lval); in add_function() 890 ZVAL_LONG(result, lval); in sub_function() 2024 long lval; in increment_function() local 2030 if (lval == LONG_MAX) { in increment_function() 2035 ZVAL_LONG(op1, lval+1); in increment_function() 2072 long lval; in decrement_function() local 2096 if (lval == LONG_MIN) { in decrement_function() 2097 double d = (double)lval; in decrement_function() [all …]
|
H A D | zend_operators.h | 132 static inline zend_uchar is_numeric_string_ex(const char *str, int length, long *lval, double *dval… 255 if (lval) { 256 *lval = strtol(str, NULL, base); 269 static inline zend_uchar is_numeric_string(const char *str, int length, long *lval, double *dval, i… in is_numeric_string() argument 270 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL); in is_numeric_string() 441 #define Z_LVAL(zval) (zval).value.lval 442 #define Z_BVAL(zval) ((zend_bool)(zval).value.lval) 454 #define Z_RESVAL(zval) (zval).value.lval
|
H A D | zend_list.c | 101 rsrc_result->value.lval = rsrc_id; in zend_register_resource() 133 id = (*passed_id)->value.lval; in zend_fetch_resource()
|
/PHP-5.6/ext/sockets/ |
H A D | sockaddr_conv.c | 64 long lval = 0; in php_set_inet6_addr() local 68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr() 69 if (lval > 0 && lval <= UINT_MAX) { in php_set_inet6_addr() 70 scope_id = lval; in php_set_inet6_addr()
|
H A D | conversions.c | 368 long lval; in from_zval_write_int() local 376 if (lval > INT_MAX || lval < INT_MIN) { in from_zval_write_int() 387 long lval; in from_zval_write_uint32() local 406 long lval; in from_zval_write_net_uint16() local 414 if (lval < 0 || lval > 0xFFFF) { in from_zval_write_net_uint16() 425 long lval; in from_zval_write_sa_family() local 444 long lval; in from_zval_write_pid_t() local 452 if (lval < 0 || (pid_t)lval != lval) { /* pid_t is signed */ in from_zval_write_pid_t() 463 long lval; in from_zval_write_uid_t() local 473 if (sizeof(long) > sizeof(uid_t) && (lval < 0 || (uid_t)lval != lval)) { in from_zval_write_uid_t() [all …]
|
/PHP-5.6/ext/intl/collator/ |
H A D | collator_is_numeric.c | 225 zend_uchar collator_is_numeric( UChar *str, int length, long *lval, double *dval, int allow_errors ) in collator_is_numeric() argument 245 if (lval) { in collator_is_numeric() 246 *lval = local_lval; in collator_is_numeric() 289 } else if (end_ptr_long && lval) { in collator_is_numeric() 290 *lval = local_lval; in collator_is_numeric()
|
H A D | collator_is_numeric.h | 24 zend_uchar collator_is_numeric( UChar *str, int length, long *lval, double *dval, int allow_errors …
|
H A D | collator_convert.c | 377 long lval = 0; in collator_convert_string_to_number_if_possible() local 385 …if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval… in collator_convert_string_to_number_if_possible() 390 Z_LVAL_P(num) = lval; in collator_convert_string_to_number_if_possible()
|
H A D | collator_sort.c | 85 result->value.lval = ucol_strcoll( in collator_regular_compare_function() 194 result->value.lval = ucol_strcoll( in collator_icu_compare_function()
|
/PHP-5.6/ext/gd/ |
H A D | gd.c | 1585 zval lval; in PHP_FUNCTION() local 3408 zval lval; in php_imagepolygon() local 3419 zval lval; in php_imagepolygon() local 5053 zval lval; in PHP_FUNCTION() local 5068 zval lval; in PHP_FUNCTION() local 5083 zval lval; in PHP_FUNCTION() local 5098 zval lval; in PHP_FUNCTION() local 5275 zval lval; in PHP_FUNCTION() local 5290 zval lval; in PHP_FUNCTION() local 5305 zval lval; in PHP_FUNCTION() local [all …]
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 96 int64_t lval = 0; in ps_fetch_from_1_to_8_bytes() local 98 case 8:lval = (int64_t) sint8korr(*row);break; in ps_fetch_from_1_to_8_bytes() 103 case 4:lval = (int64_t) sint4korr(*row);break; in ps_fetch_from_1_to_8_bytes() 104 case 3:lval = (int64_t) sint3korr(*row);break; in ps_fetch_from_1_to_8_bytes() 105 case 2:lval = (int64_t) sint2korr(*row);break; in ps_fetch_from_1_to_8_bytes() 106 case 1:lval = (int64_t) *(int8_t*)*row;break; in ps_fetch_from_1_to_8_bytes() 110 if ((L64(2147483647) < (int64_t) lval) || (L64(-2147483648) > (int64_t) lval)) { in ps_fetch_from_1_to_8_bytes() 112 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval); in ps_fetch_from_1_to_8_bytes() 116 ZVAL_LONG(zv, (long) lval); /* the cast is safe, we are in the range */ in ps_fetch_from_1_to_8_bytes()
|
H A D | mysqlnd_bt.c | 102 long lval = Z_LVAL_PP(arg); in mysqlnd_build_trace_args() local 104 int l_tmp = zend_sprintf(s_tmp, "%ld", lval); /* SAFE */ in mysqlnd_build_trace_args()
|
/PHP-5.6/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 50 long lval = Z_LVAL_PP(z); in valid_format() local 52 if ((long)valid_styles[i] == lval) { in valid_format()
|
/PHP-5.6/ext/spl/ |
H A D | spl_heap.c | 153 long lval = 0; in spl_ptr_heap_zval_max_cmp() local 154 …if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, (zval *)a, (zval *)b, &lval TSRMLS_CC)… in spl_ptr_heap_zval_max_cmp() 158 return lval; in spl_ptr_heap_zval_max_cmp() 178 long lval = 0; in spl_ptr_heap_zval_min_cmp() local 179 …if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, (zval *)a, (zval *)b, &lval TSRMLS_CC)… in spl_ptr_heap_zval_min_cmp() 183 return lval; in spl_ptr_heap_zval_min_cmp() 209 long lval = 0; in spl_ptr_pqueue_zval_cmp() local 210 …p_cb_helper((zval *)object, heap_object, *a_priority_pp, *b_priority_pp, &lval TSRMLS_CC) == FAILU… in spl_ptr_pqueue_zval_cmp() 214 return lval; in spl_ptr_pqueue_zval_cmp()
|
/PHP-5.6/ext/intl/converter/ |
H A D | converter.c | 167 long lval = Z_LVAL_P(val); in php_converter_append_toUnicode_target() local 168 if ((lval < 0) || (lval > 0x10FFFF)) { in php_converter_append_toUnicode_target() 169 …erter_throw_failure(objval, U_ILLEGAL_ARGUMENT_ERROR TSRMLS_CC, "Invalid codepoint U+%04lx", lval); in php_converter_append_toUnicode_target() 172 if (lval > 0xFFFF) { in php_converter_append_toUnicode_target() 176 *(args->target++) = (UChar)(((lval - 0x10000) >> 10) | 0xD800); in php_converter_append_toUnicode_target() 177 *(args->target++) = (UChar)(((lval - 0x10000) & 0x3FF) | 0xDC00); in php_converter_append_toUnicode_target() 183 *(args->target++) = (UChar)lval; in php_converter_append_toUnicode_target()
|
/PHP-5.6/ |
H A D | .gdbinit | 106 printf "%ld", $zvalue->value.lval 112 if $zvalue->value.lval 128 printf "resource(#%d)", $zvalue->value.lval 185 printf "long: %ld", $zvalue->value.lval 192 if $zvalue->value.lval 257 printf "resource: #%d", $zvalue->value.lval
|
/PHP-5.6/ext/filter/ |
H A D | logical_filters.c | 318 long lval; in php_filter_float() local 388 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float() 392 Z_DVAL_P(value) = lval; in php_filter_float()
|
H A D | filter.c | 605 long lval; in php_filter_call() local 607 PHP_FILTER_GET_LONG_OPT(filter_args, lval); in php_filter_call() 611 filter_flags = lval; in php_filter_call() 617 filter = lval; in php_filter_call()
|
/PHP-5.6/ext/intl/timezone/ |
H A D | timezone_methods.cpp | 177 long lval; in PHP_FUNCTION() local 180 switch (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), &lval, &dval, 0)) { in PHP_FUNCTION() 191 Z_LVAL_PP(arg) = lval; in PHP_FUNCTION()
|
/PHP-5.6/ext/opcache/Optimizer/ |
H A D | pass2.c | 167 nest_levels = ZEND_OP2_LITERAL(opline).value.lval;
|
/PHP-5.6/ext/opcache/ |
H A D | ZendAccelerator.c | 1526 ((*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE || 1527 (*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE))) { 1707 ((*EG(opline_ptr))->op2.u.constant.value.lval != ZEND_INCLUDE_ONCE && 1708 (*EG(opline_ptr))->op2.u.constant.value.lval != ZEND_REQUIRE_ONCE)) { 1889 (opline->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE || 1890 opline->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE)) { 1991 ((*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE || 1992 (*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE))) { 2056 ((*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE || 2057 (*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE))) { [all …]
|