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

12

/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int32_t 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_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allow_errors );
H A Dcollator_convert.c355 zend_long lval = 0; local
363 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval, &dval, 1 ) ) )
366 ZVAL_LONG(rv, lval);
/PHP_TRUNK/Zend/
H A Dzend_constants.h42 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
49 #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (lval), (flags), module_number)
56 #define REGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), 0)
73 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number);
H A Dzend_ast.h255 static zend_always_inline zend_ast *zend_ast_create_zval_from_long(zend_long lval) { argument
257 ZVAL_LONG(&zv, lval);
H A Dzend_constants.c187 ZEND_API void zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number) argument
191 ZVAL_LONG(&c.value, lval);
H A Dzend_multiply.h27 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
34 else (lval) = __tmpvar; \
39 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
46 else (lval) = __tmpvar; \
51 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
59 else (lval) = __tmpvar; \
64 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
71 (lval) = __lres; \
77 #define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
87 (lval)
[all...]
H A Dzend_ini_scanner.c158 zend_long lval; local
161 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
163 ZVAL_LONG(retval, lval);
314 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type) argument
319 zend_ini_copy_value(lval, str, len);
322 s = t = Z_STRVAL_P(lval);
323 end = s + Z_STRLEN_P(lval);
342 Z_STRLEN_P(lval)--;
H A Dzend_ini_scanner.l156 zend_long lval;
159 if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
161 ZVAL_LONG(retval, lval);
312 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type)
317 zend_ini_copy_value(lval, str, len);
320 s = t = Z_STRVAL_P(lval);
321 end = s + Z_STRLEN_P(lval);
340 Z_STRLEN_P(lval)--;
H A Dzend_operators.c865 zend_long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2); local
869 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
873 ZVAL_LONG(result, lval);
929 zend_long lval = Z_LVAL_P(op1) - Z_LVAL_P(op2); local
933 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
937 ZVAL_LONG(result, lval);
2231 zend_long lval; local
2234 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), &lval, &dval, 0)) {
2237 if (lval == ZEND_LONG_MAX) {
2239 double d = (double)lval;
2291 zend_long lval; local
2732 is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) argument
2737 _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.h84 * The number's value is returned into the respective pointer, *lval or *dval,
91 ZEND_API zend_uchar ZEND_FASTCALL _is_numeric_string_ex(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors, int *oflow_info);
130 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
135 return _is_numeric_string_ex(str, length, lval, dval, allow_errors, oflow_info);
138 static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *lval, double *dval, int allow_errors) { argument
139 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
142 ZEND_API zend_uchar ZEND_FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval);
H A Dzend_types.h102 zend_long lval; /* long value */ member in union:_zend_value
506 #define Z_LVAL(zval) (zval).value.lval
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c96 int64_t lval = 0; local
98 case 8:lval = (int64_t) sint8korr(*row);break;
103 case 4:lval = (int64_t) sint4korr(*row);break;
104 case 3:lval = (int64_t) sint3korr(*row);break;
105 case 2:lval = (int64_t) sint2korr(*row);break;
106 case 1:lval = (int64_t) *(int8_t*)*row;break;
110 if ((L64(2147483647) < (int64_t) lval) || (L64(-2147483648) > (int64_t) lval)) {
112 tmp_len = sprintf((char *)&tmp, MYSQLND_LL_SPEC, lval);
116 ZVAL_LONG(zv, (zend_long) lval); /* th
[all...]
/PHP_TRUNK/ext/filter/
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);
H A Dfilter.c590 zend_long lval = zval_get_long(filter_args); local
594 filter_flags = lval;
600 filter = lval;
/PHP_TRUNK/ext/sockets/
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;
H A Dconversions.c332 zend_long lval; local
337 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) {
345 ZVAL_LONG(&lzval, lval);
367 zend_long lval; local
370 lval = from_zval_integer_common(arr_value, ctx);
375 if (lval > INT_MAX || lval < INT_MIN) {
381 ival = (int)lval;
386 zend_long lval; local
389 lval
405 zend_long lval; local
424 zend_long lval; local
443 zend_long lval; local
462 zend_long lval; local
1056 zend_long lval; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c2491 zend_long lval; local
2500 && is_numeric_string_ex(Z_STRVAL_P(member), Z_STRLEN_P(member), &lval, NULL, 0, NULL) == IS_LONG) {
2501 if (lval >= 0 && lval < stmt->column_count) {
2502 fetch_value(stmt, rv, lval, NULL);
2553 zend_long lval; local
2559 if (is_numeric_string_ex(Z_STRVAL_P(member), Z_STRLEN_P(member), &lval, NULL, 0, NULL) == IS_LONG) {
2560 return lval >=0 && lval < stmt->column_count;
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c154 zend_long lval = 0; local
155 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) {
159 return lval > 0 ? 1 : (lval < 0 ? -1 : 0);
178 zend_long lval = 0; local
179 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval) == FAILURE) {
183 return lval > 0 ? 1 : (lval < 0 ? -1 : 0);
209 zend_long lval = 0; local
210 if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, a_priority_p, b_priority_p, &lval)
[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c172 zend_long lval = Z_LVAL_P(val); local
173 if ((lval < 0) || (lval > 0x10FFFF)) {
174 php_converter_throw_failure(objval, U_ILLEGAL_ARGUMENT_ERROR, "Invalid codepoint U+%04lx", lval);
177 if (lval > 0xFFFF) {
181 *(args->target++) = (UChar)(((lval - 0x10000) >> 10) | 0xD800);
182 *(args->target++) = (UChar)(((lval - 0x10000) & 0x3FF) | 0xDC00);
188 *(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.cpp176 zend_long lval; local
179 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) {
188 ZVAL_LONG(arg, lval);
/PHP_TRUNK/ext/standard/
H A Dfilters.c1239 zend_long lval = zval_get_long(tmpval); local
1241 if (lval < 0) {
1244 *pretval = lval;
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c986 zend_long lval; local
990 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
992 ZVAL_DOUBLE(ret, lval);
1024 zend_long lval; local
1030 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1032 ZVAL_LONG(ret, lval);
/PHP_TRUNK/ext/curl/
H A Dinterface.c2012 zend_long lval; local
2017 lval = zval_get_long(zvalue);
2018 if (lval == 1) {
2172 lval = zval_get_long(zvalue);
2175 (PG(open_basedir) && *PG(open_basedir)) && (lval & CURLPROTO_FILE)) {
2180 error = curl_easy_setopt(ch->cp, option, lval);
2183 lval = zval_get_long(zvalue);
2184 if (lval == 0) {
2474 lval = zval_get_long(zvalue);
2477 if (lval !
[all...]

Completed in 143 milliseconds

12