Searched refs:lval (Results 1 - 25 of 36) sorted by relevance

12

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int length, long *lval, double *dval, int allow_errors ) argument
245 if (lval) {
246 *lval = local_lval;
289 } else if (end_ptr_long && lval) {
290 *lval = local_lval;
H A Dcollator_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int length, long *lval, double *dval, int allow_errors );
H A Dcollator_sort.c85 result->value.lval = ucol_strcoll(
194 result->value.lval = ucol_strcoll(
H A Dcollator_convert.c377 long lval = 0; local
385 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) )
390 Z_LVAL_P(num) = lval;
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format_object.cpp50 long lval = Z_LVAL_PP(z); local
52 if ((long)valid_styles[i] == lval) {
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp177 long lval; local
180 switch (is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), &lval, &dval, 0)) {
191 Z_LVAL_PP(arg) = lval;
/PHP_TRUNK/ext/sockets/
H A Dconversions.c331 long lval; local
336 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) {
346 Z_LVAL(lzval) = lval;
368 long lval; local
371 lval = from_zval_integer_common(arr_value, ctx);
376 if (lval > INT_MAX || lval < INT_MIN) {
382 ival = (int)lval;
387 long lval; local
390 lval
406 long lval; local
425 long lval; local
444 long lval; local
463 long lval; local
1079 long lval; local
[all...]
H A Dsockaddr_conv.c64 long lval = 0; local
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) {
69 if (lval > 0 && lval <= UINT_MAX) {
70 scope_id = lval;
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass2.c178 nest_levels = ZEND_OP2_LITERAL(opline).value.lval;
H A Dpass1_5.c179 char chval = (char)ZEND_OP2_LITERAL(opline).value.lval;
202 *ptr = (char)ZEND_OP2_LITERAL(next_op).value.lval;
/PHP_TRUNK/Zend/
H A Dzend_constants.h43 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC)
50 #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (lval), (flags), module_number TSRMLS_CC)
57 #define REGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), 0 TSRMLS_CC)
73 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC);
H A Dzend_ini_scanner.l264 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC)
269 zend_ini_copy_value(lval, str, len);
272 s = t = Z_STRVAL_P(lval);
273 end = s + Z_STRLEN_P(lval);
292 Z_STRLEN_P(lval)--;
H A Dzend_list.c101 rsrc_result->value.lval = rsrc_id;
133 id = (*passed_id)->value.lval;
H A Dzend_multiply.h24 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
31 else (lval) = __tmpvar; \
36 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
43 else (lval) = __tmpvar; \
48 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
55 else (lval) = __tmpvar; \
60 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
68 else (lval) = __tmpvar; \
73 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
79 (lval)
[all...]
H A Dzend_operators.h125 * The number's value is returned into the respective pointer, *lval or *dval,
132 static inline zend_uchar is_numeric_string_ex(const char *str, int length, long *lval, double *dval, int allow_errors, int *oflow_info) argument
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, int allow_errors) { argument
270 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
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 Dzend_variables.c65 zend_list_delete(zvalue->value.lval);
115 zend_list_addref(zvalue->value.lval);
H A Dzend_constants.c170 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC) argument
174 ZVAL_LONG(&c.value, lval);
H A Dzend_operators.c595 long lval; local
623 lval = Z_LVAL_P(op);
625 Z_STRLEN_P(op) = zend_spprintf(&Z_STRVAL_P(op), 0, "%ld", lval);
818 long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2); local
822 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
826 ZVAL_LONG(result, lval);
882 long lval = Z_LVAL_P(op1) - Z_LVAL_P(op2); local
886 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
890 ZVAL_LONG(result, lval);
2007 long lval; local
2055 long lval; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dfilter.c598 long lval; local
600 PHP_FILTER_GET_LONG_OPT(filter_args, lval);
604 filter_flags = lval;
610 filter = lval;
H A Dlogical_filters.c318 long lval; local
388 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
392 Z_DVAL_P(value) = lval;
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c153 long lval = 0; local
154 if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, (zval *)a, (zval *)b, &lval TSRMLS_CC) == FAILURE) {
158 return lval;
178 long lval = 0; local
179 if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, (zval *)a, (zval *)b, &lval TSRMLS_CC) == FAILURE) {
183 return lval;
209 long lval = 0; local
210 if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, *a_priority_pp, *b_priority_pp, &lval TSRMLS_CC) == FAILURE) {
214 return lval;
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c95 int64_t lval = 0; local
97 case 8:lval = (int64_t) sint8korr(*row);break;
102 case 4:lval = (int64_t) sint4korr(*row);break;
103 case 3:lval = (int64_t) sint3korr(*row);break;
104 case 2:lval = (int64_t) sint2korr(*row);break;
105 case 1:lval = (int64_t) *(int8_t*)*row;break;
109 if ((L64(2147483647) < (int64_t) lval) || (L64(-2147483648) > (int64_t) lval)) {
111 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval);
115 ZVAL_LONG(zv, (long) lval); /* th
[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c167 long lval = Z_LVAL_P(val); local
168 if ((lval < 0) || (lval > 0x10FFFF)) {
169 php_converter_throw_failure(objval, U_ILLEGAL_ARGUMENT_ERROR TSRMLS_CC, "Invalid codepoint U+%04lx", lval);
172 if (lval > 0xFFFF) {
176 *(args->target++) = (UChar)(((lval - 0x10000) >> 10) | 0xD800);
177 *(args->target++) = (UChar)(((lval - 0x10000) & 0x3FF) | 0xDC00);
183 *(args->target++) = (UChar)lval;
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1523 ((*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE ||
1524 (*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE))) {
1682 ((*EG(opline_ptr))->op2.u.constant.value.lval != ZEND_INCLUDE_ONCE &&
1683 (*EG(opline_ptr))->op2.u.constant.value.lval != ZEND_REQUIRE_ONCE)) {
1842 (opline->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE ||
1843 opline->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE)) {
1944 ((*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE ||
1945 (*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_REQUIRE_ONCE))) {
2009 ((*EG(opline_ptr))->op2.u.constant.value.lval == ZEND_INCLUDE_ONCE ||
2010 (*EG(opline_ptr))->op2.u.constant.value.lval
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c1550 zval lval; local
1551 lval = **item;
1552 zval_copy_ctor(&lval);
1553 convert_to_long(&lval);
1554 stylearr[index++] = Z_LVAL(lval);
3364 zval lval; local
3365 lval = **var;
3366 zval_copy_ctor(&lval);
3367 convert_to_long(&lval);
3368 points[i].x = Z_LVAL(lval);
3375 zval lval; local
4990 zval lval; local
5005 zval lval; local
5020 zval lval; local
5035 zval lval; local
5193 zval lval; local
5208 zval lval; local
5223 zval lval; local
5238 zval lval; local
[all...]

Completed in 81 milliseconds

12