Lines Matching refs:i

145 	int result, remaining = b->blob_total_length, i = 0;  in exec_php()  local
150 b->blob_get_segment(b->blob_handle, &code[i++<<16],min(0x10000,remaining), &read); in exec_php()
188 int i; in call_php() local
202 for (i = 0; i < argc; ++i) { in call_php()
205 if (argv[i]->dsc_flags & DSC_null) { in call_php()
206 ZVAL_NULL(&args[i]); 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()
236 ZVAL_DOUBLE(&args[i], 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()
245 ZVAL_DOUBLE(&args[i], 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()
254 ZVAL_LONG(&args[i], (zend_long)l); 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()
270 ZVAL_STRINGL(&args[i], d, strftime(d, sizeof(d), INI_STR("ibase.dateformat"), &t),1); in call_php()
274 isc_decode_sql_time((ISC_TIME*)argv[i]->dsc_address, &t); in call_php()
275 ZVAL_STRINGL(&args[i], d, strftime(d, sizeof(d), INI_STR("ibase.timeformat"), &t),1); in call_php()
279 isc_decode_timestamp((ISC_TIMESTAMP*)argv[i]->dsc_address, &t); in call_php()
280 ZVAL_STRINGL(&args[i], d, strftime(d, sizeof(d), INI_STR("ibase.timestampformat"), &t)); in call_php()
296 for (i = 0; i < argc; ++i) { in call_php()
297 switch (argv[i]->dsc_dtype) { in call_php()
301 zval_dtor(&args[i]); in call_php()