Lines Matching refs:val
87 static void php_pack(zval **val, int size, int *map, char *output) in php_pack() argument
92 convert_to_long_ex(val); in php_pack()
93 v = (char *) &Z_LVAL_PP(val); in php_pack()
321 zval **val; in PHP_FUNCTION() local
329 val = argv[currentarg++]; in PHP_FUNCTION()
330 if (Z_ISREF_PP(val)) { in PHP_FUNCTION()
331 SEPARATE_ZVAL(val); in PHP_FUNCTION()
333 convert_to_string_ex(val); in PHP_FUNCTION()
334 memcpy(&output[outputpos], Z_STRVAL_PP(val), in PHP_FUNCTION()
335 (Z_STRLEN_PP(val) < arg_cp) ? Z_STRLEN_PP(val) : arg_cp); in PHP_FUNCTION()
346 val = argv[currentarg++]; in PHP_FUNCTION()
347 if (Z_ISREF_PP(val)) { in PHP_FUNCTION()
348 SEPARATE_ZVAL(val); in PHP_FUNCTION()
350 convert_to_string_ex(val); in PHP_FUNCTION()
351 v = Z_STRVAL_PP(val); in PHP_FUNCTION()
353 if(arg > Z_STRLEN_PP(val)) { in PHP_FUNCTION()
355 arg = Z_STRLEN_PP(val); in PHP_FUNCTION()
444 val = argv[currentarg++]; in PHP_FUNCTION()
445 convert_to_double_ex(val); in PHP_FUNCTION()
446 v = (float) Z_DVAL_PP(val); in PHP_FUNCTION()
457 val = argv[currentarg++]; in PHP_FUNCTION()
458 convert_to_double_ex(val); in PHP_FUNCTION()
459 v = (double) Z_DVAL_PP(val); in PHP_FUNCTION()
973 zval val; in PHP_MINIT_FUNCTION() local
974 int size = sizeof(Z_LVAL(val)); in PHP_MINIT_FUNCTION()
975 Z_LVAL(val)=0; /*silence a warning*/ in PHP_MINIT_FUNCTION()