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

/PHP_TRUNK/Zend/
H A Dzend_compile.c6548 znode lval; local
6584 fetch_simple_variable(&lval, varname, 0 TSRMLS_CC); /* Relies on the fact that the default fetch is BP_VAR_W */
6590 zend_do_assign(&dummy, &lval, &result TSRMLS_CC);
6593 zend_do_assign_ref(NULL, &lval, &result TSRMLS_CC);
6619 znode lval; local
6651 fetch_simple_variable(&lval, varname, 0 TSRMLS_CC); /* Relies on the fact that the default fetch is BP_VAR_W */
6653 zend_do_assign_ref(NULL, &lval, &result TSRMLS_CC);
H A Dzend_constants.c186 ZEND_API void zend_register_int_constant(const char *name, uint name_len, zend_int_t lval, int flags, int module_number TSRMLS_DC) argument
190 ZVAL_INT(&c.value, lval);
H A Dzend_exceptions.c462 zend_int_t lval = Z_RES_HANDLE_P(arg); local
464 int l_tmp = zend_sprintf(s_tmp, "%ld", lval); /* SAFE */
471 zend_int_t lval = Z_IVAL_P(arg); local
473 int l_tmp = zend_sprintf(s_tmp, "%ld", lval); /* SAFE */
H A Dzend_ini_scanner.c263 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC) argument
268 zend_ini_copy_value(lval, str, len);
271 s = t = Z_STRVAL_P(lval);
272 end = s + Z_STRSIZE_P(lval);
291 Z_STRSIZE_P(lval)--;
H A Dzend_operators.c929 zend_int_t lval = Z_IVAL_P(op1) + Z_IVAL_P(op2); local
933 && (Z_IVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
937 ZVAL_INT(result, lval);
993 zend_int_t lval = Z_IVAL_P(op1) - Z_IVAL_P(op2); local
997 && (Z_IVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
1001 ZVAL_INT(result, lval);
2153 zend_int_t lval; local
2156 switch (is_numeric_string(Z_STRVAL_P(op1), Z_STRSIZE_P(op1), &lval, &dval, 0)) {
2159 if (lval == ZEND_INT_MAX) {
2161 double d = (double)lval;
2203 zend_int_t lval; local
2570 is_numeric_str_function(const zend_string *str, zend_int_t *lval, double *dval) argument
[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, zend_size_t length, zend_int_t *lval, double *dval, int allow_errors, int *oflow_info) argument
255 if (lval) {
256 *lval = ZEND_STRTOI(str, NULL, base);
269 static inline zend_uchar is_numeric_string(const char *str, zend_size_t length, zend_int_t *lval, double *dval, int allow_errors) { argument
270 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
273 ZEND_API zend_uchar is_numeric_str_function(const zend_string *str, zend_int_t *lval, double *dval);
H A Dzend_types.h107 zend_int_t lval; /* long value */ member in union:_zend_value
401 #define Z_IVAL(zval) (zval).value.lval
/PHP_TRUNK/ext/filter/
H A Dfilter.c584 php_int_t lval; local
586 PHP_FILTER_GET_LONG_OPT(filter_args, lval);
590 filter_flags = lval;
596 filter = lval;
H A Dlogical_filters.c330 php_int_t lval; local
400 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) {
403 ZVAL_DOUBLE(value, lval);
/PHP_TRUNK/ext/gd/
H A Dgd.c1542 zval lval; local
1543 ZVAL_COPY(&lval, item);
1544 convert_to_int(&lval);
1545 stylearr[index++] = Z_IVAL(lval);
3358 zval lval; local
3359 ZVAL_COPY(&lval, var);
3360 convert_to_int(&lval);
3361 points[i].x = Z_IVAL(lval);
3368 zval lval; local
3369 ZVAL_COPY(&lval, va
4976 zval lval; local
4990 zval lval; local
5004 zval lval; local
5018 zval lval; local
5174 zval lval; local
5188 zval lval; local
5202 zval lval; local
5216 zval lval; local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c85 ISC_LONG lval; member in union:__anon71::__anon72
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c362 php_int_t lval = 0; local
370 if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRSIZE_P(str) ), &lval, &dval, 1 ) ) )
373 ZVAL_INT(rv, lval);
H A Dcollator_is_numeric.c225 zend_uchar collator_is_numeric( UChar *str, int length, php_int_t *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;
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c174 php_int_t lval = Z_IVAL_P(val); local
175 if ((lval < 0) || (lval > 0x10FFFF)) {
176 php_converter_throw_failure(objval, U_ILLEGAL_ARGUMENT_ERROR TSRMLS_CC, "Invalid codepoint U+%04lx", lval);
179 if (lval > 0xFFFF) {
183 *(args->target++) = (UChar)(((lval - 0x10000) >> 10) | 0xD800);
184 *(args->target++) = (UChar)(((lval - 0x10000) & 0x3FF) | 0xDC00);
190 *(args->target++) = (UChar)lval;
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format_object.cpp50 php_int_t lval = Z_IVAL_P(z); local
52 if ((php_int_t)valid_styles[i] == lval) {
/PHP_TRUNK/ext/intl/timezone/
H A Dtimezone_methods.cpp177 php_int_t lval; local
180 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRSIZE_P(arg), &lval, &dval, 0)) {
189 ZVAL_INT(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_INT(zv, (php_int_t) lval); /* th
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c989 php_int_t lval; local
993 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
995 ZVAL_DOUBLE(ret, lval);
1027 php_int_t lval; local
1033 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1035 ZVAL_INT(ret, lval);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c331 php_int_t lval; local
336 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRSIZE(lzval), &lval, &dval, 0)) {
344 ZVAL_INT(&lzval, lval);
366 php_int_t lval; local
369 lval = from_zval_integer_common(arr_value, ctx);
374 if (lval > INT_MAX || lval < INT_MIN) {
380 ival = (int)lval;
385 php_int_t lval; local
388 lval
404 php_int_t lval; local
423 php_int_t lval; local
442 php_int_t lval; local
461 php_int_t lval; local
1075 php_int_t lval; local
[all...]
H A Dsockaddr_conv.c64 php_int_t lval = 0; local
68 if (IS_INT == 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 php_int_t lval = 0; local
159 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval TSRMLS_CC) == FAILURE) {
163 return lval;
182 php_int_t lval = 0; local
183 if (spl_ptr_heap_cmp_cb_helper(object, heap_object, a, b, &lval TSRMLS_CC) == FAILURE) {
187 return lval;
213 php_int_t lval = 0; local
214 if (spl_ptr_heap_cmp_cb_helper((zval *)object, heap_object, a_priority_p, b_priority_p, &lval TSRMLS_CC) == FAILURE) {
218 return lval;

Completed in 61 milliseconds