Lines Matching refs:argv
183 static void call_php(char *name, PARAMDSC *r, int argc, PARAMDSC **argv) in call_php() argument
205 if (argv[i]->dsc_flags & DSC_null) { in call_php()
210 switch (argv[i]->dsc_dtype) { in call_php()
218 ZVAL_STRING(&args[i], (char*)argv[i]->dsc_address); in call_php()
223 ZVAL_STRINGL(&args[i], (char*)argv[i]->dsc_address, argv[i]->dsc_length); in call_php()
228 ZVAL_STRINGL(&args[i], ((PARAMVARY*)argv[i]->dsc_address)->vary_string, in call_php()
229 ((PARAMVARY*)argv[i]->dsc_address)->vary_length); in call_php()
233 if (argv[i]->dsc_scale == 0) { in call_php()
234 ZVAL_LONG(&args[i], *(short*)argv[i]->dsc_address); in call_php()
237 ((double)*(short*)argv[i]->dsc_address)/scales[-argv[i]->dsc_scale]); in call_php()
242 if (argv[i]->dsc_scale == 0) { in call_php()
243 ZVAL_LONG(&args[i], *(ISC_LONG*)argv[i]->dsc_address); in call_php()
246 ((double)*(ISC_LONG*)argv[i]->dsc_address)/scales[-argv[i]->dsc_scale]); in call_php()
251 l = *(ISC_INT64*)argv[i]->dsc_address; in call_php()
253 if (argv[i]->dsc_scale == 0 && l <= ZEND_LONG_MAX && l >= ZEND_LONG_MIN) { in call_php()
256 ZVAL_DOUBLE(&args[i], ((double)l)/scales[-argv[i]->dsc_scale]); in call_php()
261 ZVAL_DOUBLE(&args[i], *(float*)argv[i]->dsc_address); in call_php()
265 ZVAL_DOUBLE(&args[i], *(double*)argv[i]->dsc_address); in call_php()
269 isc_decode_sql_date((ISC_DATE*)argv[i]->dsc_address, &t); in call_php()
274 isc_decode_sql_time((ISC_TIME*)argv[i]->dsc_address, &t); in call_php()
279 isc_decode_timestamp((ISC_TIMESTAMP*)argv[i]->dsc_address, &t); in call_php()
297 switch (argv[i]->dsc_dtype) { in call_php()