Lines Matching refs:thing
209 if (P->thing) { in oci_bind_input_cb()
210 *bufpp = P->thing; in oci_bind_input_cb()
217 } else if (!P->thing) { in oci_bind_input_cb()
246 *bufpp = P->thing; in oci_bind_output_cb()
299 if (P && P->thing) { in oci_stmt_param_hook()
300 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, P->thing); in oci_stmt_param_hook()
301 OCIDescriptorFree(P->thing, OCI_DTYPE_LOB); in oci_stmt_param_hook()
302 P->thing = NULL; in oci_stmt_param_hook()
361 STMT_CALL(OCIDescriptorAlloc, (S->H->env, &P->thing, OCI_DTYPE_LOB, 0, NULL)); in oci_stmt_param_hook()
362 STMT_CALL(OCIAttrSet, (P->thing, OCI_DTYPE_LOB, &empty, 0, OCI_ATTR_LOBEMPTY, S->err)); in oci_stmt_param_hook()
381 } else if (PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB && P->thing) { in oci_stmt_param_hook()
389 stm = oci_create_lob_stream(&stmt->database_object_handle, stmt, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
391 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
402 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
412 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
421 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
422 OCILobFlushBuffer(S->H->svc, S->err, (OCILobLocator*)P->thing, 0); in oci_stmt_param_hook()
428 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
431 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
438 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
441 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, P->thing); in oci_stmt_param_hook()
442 OCIDescriptorFree(P->thing, OCI_DTYPE_LOB); in oci_stmt_param_hook()
443 P->thing = NULL; in oci_stmt_param_hook()