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

/PHP_5_5/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_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_5_5/ext/intl/dateformat/
H A Ddateformat_format_object.cpp50 long lval = Z_LVAL_PP(z); local
52 if ((long)valid_styles[i] == lval) {
/PHP_5_5/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_5_5/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_5_5/ext/soap/
H A Dphp_encoding.c1030 long lval; local
1034 switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0)) {
1037 Z_DVAL_P(ret) = lval;
1071 long lval; local
1077 switch ((Z_TYPE_P(ret) = is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), &lval, &dval, 0))) {
1079 Z_LVAL_P(ret) = lval;
/PHP_5_5/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_5_5/Zend/
H A Dzend.h322 long lval; /* long value */ member in union:_zvalue_value
H A Dzend_compile.c885 if (modifiers->u.constant.value.lval & ZEND_ACC_ABSTRACT) {
886 if(modifiers->u.constant.value.lval & ZEND_ACC_PRIVATE) {
900 if (body->u.constant.value.lval == ZEND_ACC_ABSTRACT) {
5948 znode lval; local
5988 fetch_simple_variable(&lval, varname, 0 TSRMLS_CC); /* Relies on the fact that the default fetch is BP_VAR_W */
5994 zend_do_assign(&dummy, &lval, &result TSRMLS_CC);
5997 zend_do_assign_ref(NULL, &lval, &result TSRMLS_CC);
6026 znode lval; local
6050 fetch_simple_variable(&lval, varname, 0 TSRMLS_CC); /* Relies on the fact that the default fetch is BP_VAR_W */
6052 zend_do_assign_ref(NULL, &lval,
[all...]
H A Dzend_constants.c129 c.value.value.lval = 1;
135 c.value.value.lval = 0;
148 c.value.value.lval = ZTS_V;
154 c.value.value.lval = ZEND_DEBUG;
179 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC) argument
184 c.value.value.lval = lval;
H A Dzend_ini_scanner.c266 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC) argument
271 zend_ini_copy_value(lval, str, len);
274 s = t = Z_STRVAL_P(lval);
275 end = s + Z_STRLEN_P(lval);
294 Z_STRLEN_P(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);
880 long lval = Z_LVAL_P(op1) - Z_LVAL_P(op2); local
884 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
888 ZVAL_LONG(result, lval);
1868 long lval; local
1902 long lval; local
[all...]
H A Dzend_operators.h124 * The number's value is returned into the respective pointer, *lval or *dval,
131 static inline zend_uchar is_numeric_string_ex(const char *str, int length, long *lval, double *dval, int allow_errors, int *oflow_info) argument
254 if (lval) {
255 *lval = strtol(str, NULL, base);
268 static inline zend_uchar is_numeric_string(const char *str, int length, long *lval, double *dval, int allow_errors) { argument
269 return is_numeric_string_ex(str, length, lval, dval, allow_errors, NULL);
440 #define Z_LVAL(zval) (zval).value.lval
441 #define Z_BVAL(zval) ((zend_bool)(zval).value.lval)
452 #define Z_RESVAL(zval) (zval).value.lval
H A Dzend_exceptions.c469 long lval = Z_LVAL_PP(arg); local
471 int l_tmp = zend_sprintf(s_tmp, "%ld", lval); /* SAFE */
/PHP_5_5/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_5_5/ext/mysqlnd/
H A Dmysqlnd_bt.c102 long lval = Z_LVAL_PP(arg); local
104 int l_tmp = zend_sprintf(s_tmp, "%ld", lval); /* SAFE */
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_5_5/ext/gd/
H A Dgd.c1542 zval lval; local
1543 lval = **item;
1544 zval_copy_ctor(&lval);
1545 convert_to_long(&lval);
1546 stylearr[index++] = Z_LVAL(lval);
3356 zval lval; local
3357 lval = **var;
3358 zval_copy_ctor(&lval);
3359 convert_to_long(&lval);
3360 points[i].x = Z_LVAL(lval);
3367 zval lval; local
4982 zval lval; local
4997 zval lval; local
5012 zval lval; local
5027 zval lval; local
5185 zval lval; local
5200 zval lval; local
5215 zval lval; local
5230 zval lval; local
[all...]
/PHP_5_5/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_5_5/ext/interbase/
H A Dibase_query.c85 ISC_LONG lval; member in union:__anon5::__anon6

Completed in 59 milliseconds