NCBI C++ ToolKit
Classes | Macros | Functions | Variables
array_out.c File Reference
#include "common.h"
#include <common/test_assert.h>
+ Include dependency graph for array_out.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  Record
 

Macros

#define ARRAY_SIZE   10
 
#define REC(f, n)   (((char*)f)+rec_size*(n))
 
#define DESCS(n)   (rec ? (SQLCHAR*)REC(descs,n): (descs+(n)*desc_len))
 
#define IDS(n)   *(rec ? (SQLUINTEGER*)REC(ids,n) : &ids[n])
 
#define ID_LENS(n)   *(rec ? (SQLLEN*)REC(id_lens,n) : &id_lens[n])
 
#define DESC_LENS(n)   *(rec ? (SQLLEN*)REC(desc_lens,n) : &desc_lens[n])
 

Functions

static void query_test (const char *expected, const char *expected_status)
 
int main (int argc, char *argv[])
 

Variables

static const char * test_query = NULL
 
static int trunc = 0
 
static int record_bind = 0
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE   10

◆ DESC_LENS

#define DESC_LENS (   n)    *(rec ? (SQLLEN*)REC(desc_lens,n) : &desc_lens[n])

◆ DESCS

#define DESCS (   n)    (rec ? (SQLCHAR*)REC(descs,n): (descs+(n)*desc_len))

◆ ID_LENS

#define ID_LENS (   n)    *(rec ? (SQLLEN*)REC(id_lens,n) : &id_lens[n])

◆ IDS

#define IDS (   n)    *(rec ? (SQLUINTEGER*)REC(ids,n) : &ids[n])

◆ REC

#define REC (   f,
  n 
)    (((char*)f)+rec_size*(n))

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ query_test()

static void query_test ( const char *  expected,
const char *  expected_status 
)
static

Variable Documentation

◆ record_bind

int record_bind = 0
static

Definition at line 9 of file array_out.c.

Referenced by main(), and query_test().

◆ test_query

const char* test_query = NULL
static

Definition at line 7 of file array_out.c.

Referenced by main(), and query_test().

◆ trunc

int trunc = 0
static

Definition at line 8 of file array_out.c.

Referenced by CMsvcPrjFilesCollector::CollectSources(), CProjBulderApp::CreateCheckList(), CreateConfigurableFile(), CProjBulderApp::CreateFeaturesAndPackagesFiles(), CDirEntry::CreateTmpFile(), CBDB_FileDumper::Dump(), CProjBulderApp::DumpFiles(), CDbapiTestSpeedApp::FetchFile(), CCodeGenerator::GenerateCvsignore(), CProjBulderApp::GenerateUnixProjects(), CGlTextureFont::GetTextXform(), iosbase2BDB(), CArg_Ios::IosMode(), main(), CGlInfoDemoPanel::OnButtonSave(), CLZOCompressionFile::Open(), CBDB_ExtBlobStore< TBV >::Open(), CBDB_CacheIWriter::OpenOverflowFile(), CMakefilePatch::PatchTreeMakefiles(), query_test(), CPIDGuard::Release(), CProjBulderApp::ReportGeneratedFiles(), CProjBulderApp::ReportProjectWatchers(), s_CreateThirdPartyLibsInstallMakefile(), s_ReportPid(), CSimpleMakeFileContents::Save(), CGlBitmapFont::TextOut(), CGlTextureFont::TextOut(), CGlBitmapFont::Truncate(), CGlTextureFont::Truncate(), TruncateText(), TruncTextLength(), CPIDGuard::UpdatePID(), CMsvcConfigure::WriteBuildVer(), CMsvcConfigure::WriteExtraDefines(), CMsvcConfigure::WriteNcbiconfMsvcSite(), CGlRenderDebug::WriteText(), CRenderCommon::WriteText(), CGlRenderPdf::WriteText(), CSVGRenderer::WriteText(), CGlTextureFont::WriteText(), CDownloadJob::x_Download(), CTar::x_ExtractPlainFile(), CTar::x_Open(), CWorkbenchFrame::x_ShowPagerMessage(), CBDB_Cache::x_Store(), CGlBitmapFont::x_Truncate(), CGlTextureFont::x_Truncate(), CGlTextureFont::x_Truncate2(), CMacroWordSubstitutionDlg::x_UpdateSynonymFile(), and CGlTextureFont::x_WriteText().

Modified on Fri Sep 20 14:57:27 2024 by modify_doxy.py rev. 669887