Lines Matching refs:thing
214 if (P->thing) { in oci_bind_input_cb()
215 *bufpp = P->thing; in oci_bind_input_cb()
222 } else if (!P->thing) { in oci_bind_input_cb()
251 *bufpp = P->thing; in oci_bind_output_cb()
305 if (P && P->thing) { in oci_stmt_param_hook()
306 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, P->thing); in oci_stmt_param_hook()
307 OCIDescriptorFree(P->thing, OCI_DTYPE_LOB); in oci_stmt_param_hook()
308 P->thing = NULL; in oci_stmt_param_hook()
367 STMT_CALL(OCIDescriptorAlloc, (S->H->env, &P->thing, OCI_DTYPE_LOB, 0, NULL)); in oci_stmt_param_hook()
368 STMT_CALL(OCIAttrSet, (P->thing, OCI_DTYPE_LOB, &empty, 0, OCI_ATTR_LOBEMPTY, S->err)); in oci_stmt_param_hook()
387 } else if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB && P->thing) { in oci_stmt_param_hook()
395 stm = oci_create_lob_stream(&stmt->database_object_handle, stmt, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
397 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
408 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
418 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
427 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
428 OCILobFlushBuffer(S->H->svc, S->err, (OCILobLocator*)P->thing, 0); in oci_stmt_param_hook()
434 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
437 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
444 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
447 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, P->thing); in oci_stmt_param_hook()
448 OCIDescriptorFree(P->thing, OCI_DTYPE_LOB); in oci_stmt_param_hook()
449 P->thing = NULL; in oci_stmt_param_hook()