Searched defs:lval (Results 1 - 20 of 20) sorted by relevance

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int length, zend_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_convert.c362 zend_long lval = 0; local
370 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) )
373 ZVAL_LONG(rv, lval);
/PHP_TRUNK/Zend/
H A Dzend_ast.h250 static zend_always_inline zend_ast *zend_ast_create_zval_from_long(zend_long lval) { argument
252 ZVAL_LONG(&zv, lval);
H A Dzend_constants.c186 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number) argument
190 ZVAL_LONG(&c.value, lval);
H A Dzend_ini_scanner.c154 zend_long lval; local
157 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
159 ZVAL_LONG(retval, lval);
310 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type) argument
315 zend_ini_copy_value(lval, str, len);
318 s = t = Z_STRVAL_P(lval);
319 end = s + Z_STRLEN_P(lval);
338 Z_STRLEN_P(lval)--;
H A Dzend_types.h92 zend_long lval; /* long value */ member in union:_zend_value
391 #define Z_LVAL(zval) (zval).value.lval
H A Dzend_operators.c794 zend_long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2); local
798 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
802 ZVAL_LONG(result, lval);
858 zend_long lval = Z_LVAL_P(op1) - Z_LVAL_P(op2); local
862 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
866 ZVAL_LONG(result, lval);
2197 zend_long lval; local
2200 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) {
2203 if (lval == ZEND_LONG_MAX) {
2205 double d = (double)lval;
2257 zend_long lval; local
2647 is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) argument
2651 _is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info) argument
[all...]
H A Dzend_operators.h81 * The number's value is returned into the respective pointer, *lval or *dval,
88 ZEND_API zend_uchar _is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info);
152 static zend_always_inline zend_uchar is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info) argument
157 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info);
160 static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors) { argument
161 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
164 ZEND_API zend_uchar is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval);
/PHP_TRUNK/ext/filter/
H A Dfilter.c595 zend_long lval = zval_get_long(filter_args); local
599 filter_flags = lval;
605 filter = lval;
H A Dlogical_filters.c335 zend_long lval; local
405 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
408 ZVAL_DOUBLE(value, (double)lval);
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c85 ISC_LONG lval; member in union:__anon91::__anon92
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c171 zend_long lval = Z_LVAL_P(val); local
172 if ((lval < 0) || (lval > 0x10FFFF)) {
173 php_converter_throw_failure(objval, U_ILLEGAL_ARGUMENT_ERROR, "Invalid codepoint U+%04lx", lval);
176 if (lval > 0xFFFF) {
180 *(args->target++) = (UChar)(((lval - 0x10000) >> 10) | 0xD800);
181 *(args->target++) = (UChar)(((lval - 0x10000) & 0x3FF) | 0xDC00);
187 *(args->target++) = (UChar)lval;
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format_object.cpp50 zend_long lval = Z_LVAL_P(z); local
52 if ((zend_long)valid_styles[i] == lval) {
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp177 zend_long lval; local
180 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) {
189 ZVAL_LONG(arg, 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, (zend_long) lval); /* th
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c2488 zend_long lval; local
2497 && is_numeric_string_ex(Z_STRVAL_P(member), Z_STRLEN_P(member), &lval, NULL, 0, NULL) == IS_LONG) {
2498 if (lval >= 0 && lval < stmt->column_count) {
2499 fetch_value(stmt, rv, lval, NULL);
2549 zend_long lval; local
2555 if (is_numeric_string_ex(Z_STRVAL_P(member), Z_STRLEN_P(member), &lval, NULL, 0, NULL) == IS_LONG) {
2556 return lval >=0 && lval < stmt->column_count;
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c984 zend_long lval; local
988 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
990 ZVAL_DOUBLE(ret, lval);
1022 zend_long lval; local
1028 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1030 ZVAL_LONG(ret, lval);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c331 zend_long lval; local
336 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) {
344 ZVAL_LONG(&lzval, lval);
366 zend_long lval; local
369 lval = from_zval_integer_common(arr_value, ctx);
374 if (lval > INT_MAX || lval < INT_MIN) {
380 ival = (int)lval;
385 zend_long lval; local
388 lval
404 zend_long lval; local
423 zend_long lval; local
442 zend_long lval; local
461 zend_long lval; local
1055 zend_long lval; local
[all...]
H A Dsockaddr_conv.c64 zend_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/spl/
H A Dspl_heap.c158 zend_long lval = 0; local
159 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) {
163 return lval > 0 ? 1 : (lval < 0 ? -1 : 0);
182 zend_long lval = 0; local
183 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) {
187 return lval > 0 ? 1 : (lval < 0 ? -1 : 0);
213 zend_long lval = 0; local
214 if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, a_priority_p, b_priority_p, &lval)
[all...]

Completed in 44 milliseconds