Lines Matching refs:paramno
383 param->paramno = ZEND_ATOL(ZSTR_VAL(param->name) + 1); in pgsql_stmt_param_hook()
390 param->paramno = ZEND_ATOL(ZSTR_VAL(namevar) + 1); in pgsql_stmt_param_hook()
391 param->paramno--; in pgsql_stmt_param_hook()
404 if (!zend_hash_index_exists(stmt->bound_param_map, param->paramno)) { in pgsql_stmt_param_hook()
433 if (param->paramno >= 0) { in pgsql_stmt_param_hook()
463 S->param_values[param->paramno] = (char*)&P->oid; in pgsql_stmt_param_hook()
464 S->param_lengths[param->paramno] = sizeof(P->oid); in pgsql_stmt_param_hook()
465 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook()
466 S->param_types[param->paramno] = OIDOID; in pgsql_stmt_param_hook()
485 S->param_values[param->paramno] = NULL; in pgsql_stmt_param_hook()
486 S->param_lengths[param->paramno] = 0; in pgsql_stmt_param_hook()
488 S->param_values[param->paramno] = Z_TYPE_P(parameter) == IS_TRUE ? "t" : "f"; in pgsql_stmt_param_hook()
489 S->param_lengths[param->paramno] = 1; in pgsql_stmt_param_hook()
490 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook()
493 S->param_values[param->paramno] = Z_STRVAL_P(parameter); in pgsql_stmt_param_hook()
494 S->param_lengths[param->paramno] = Z_STRLEN_P(parameter); in pgsql_stmt_param_hook()
495 S->param_formats[param->paramno] = 0; in pgsql_stmt_param_hook()
499 S->param_types[param->paramno] = 0; in pgsql_stmt_param_hook()
500 S->param_formats[param->paramno] = 1; in pgsql_stmt_param_hook()
502 S->param_types[param->paramno] = 0; in pgsql_stmt_param_hook()