Lines Matching refs:argv
185 static void call_php(char *name, PARAMDSC *r, int argc, PARAMDSC **argv) in call_php() argument
211 if (argv[i]->dsc_flags & DSC_null) { in call_php()
216 switch (argv[i]->dsc_dtype) { in call_php()
223 ZVAL_STRING(argp[i], (char*)argv[i]->dsc_address,0); in call_php()
227 ZVAL_STRINGL(argp[i], (char*)argv[i]->dsc_address, argv[i]->dsc_length,0); in call_php()
231 ZVAL_STRINGL(argp[i], ((PARAMVARY*)argv[i]->dsc_address)->vary_string, in call_php()
232 ((PARAMVARY*)argv[i]->dsc_address)->vary_length,0); in call_php()
236 if (argv[i]->dsc_scale == 0) { in call_php()
237 ZVAL_LONG(argp[i], *(short*)argv[i]->dsc_address); in call_php()
240 ((double)*(short*)argv[i]->dsc_address)/scales[-argv[i]->dsc_scale]); in call_php()
245 if (argv[i]->dsc_scale == 0) { in call_php()
246 ZVAL_LONG(argp[i], *(ISC_LONG*)argv[i]->dsc_address); in call_php()
249 ((double)*(ISC_LONG*)argv[i]->dsc_address)/scales[-argv[i]->dsc_scale]); in call_php()
254 l = *(ISC_INT64*)argv[i]->dsc_address; in call_php()
256 if (argv[i]->dsc_scale == 0 && l <= LONG_MAX && l >= LONG_MIN) { in call_php()
259 ZVAL_DOUBLE(argp[i], ((double)l)/scales[-argv[i]->dsc_scale]); in call_php()
264 ZVAL_DOUBLE(argp[i], *(float*)argv[i]->dsc_address); in call_php()
268 ZVAL_DOUBLE(argp[i], *(double*)argv[i]->dsc_address); in call_php()
272 isc_decode_sql_date((ISC_DATE*)argv[i]->dsc_address, &t); in call_php()
277 isc_decode_sql_time((ISC_TIME*)argv[i]->dsc_address, &t); in call_php()
282 isc_decode_timestamp((ISC_TIMESTAMP*)argv[i]->dsc_address, &t); in call_php()
300 switch (argv[i]->dsc_dtype) { in call_php()