Lines Matching refs:eErrCode
52 storeError eErrCode = store_E_None; in main() local
83 eErrCode = FileLockBytes_createInstance ( in main()
85 if (eErrCode != store_E_None) in main()
88 if (eErrCode != store_E_NotExists) in main()
90 fprintf (stderr, "t_file: create() error: %d\n", eErrCode); in main()
91 return eErrCode; in main()
95 eErrCode = FileLockBytes_createInstance ( in main()
97 if (eErrCode != store_E_None) in main()
99 fprintf (stderr, "t_file: create() error: %d\n", eErrCode); in main()
100 return eErrCode; in main()
107 eErrCode = MemoryLockBytes_createInstance (xLockBytes); in main()
108 if (eErrCode != store_E_None) in main()
110 fprintf (stderr, "t_file: create() error: %d\n", eErrCode); in main()
111 return eErrCode; in main()
117 eErrCode = xLockBytes->initialize (xAllocator, TEST_PAGESIZE); in main()
118 if (eErrCode != store_E_None) in main()
120 fprintf (stderr, "t_file: initialize() error: %d\n", eErrCode); in main()
121 return eErrCode; in main()
137 eErrCode = xLockBytes->setSize (offset + TEST_PAGESIZE); in main()
138 if (eErrCode != store_E_None) in main()
140 fprintf (stderr, "t_file: setSize() error: %d\n", eErrCode); in main()
141 return eErrCode; in main()
150 eErrCode = xLockBytes->readAt ( in main()
152 if (eErrCode != store_E_None) in main()
154 fprintf (stderr, "t_file: readAt() error: %d\n", eErrCode); in main()
155 return eErrCode; in main()
165 eErrCode = xLockBytes->writeAt ( in main()
167 if (eErrCode != store_E_None) in main()
169 fprintf (stderr, "t_file: writeAt() error: %d\n", eErrCode); in main()
170 return eErrCode; in main()
174 eErrCode = xLockBytes->writeAt ( in main()
176 if (eErrCode != store_E_None) in main()
178 fprintf (stderr, "t_file: writeAt() error: %d\n", eErrCode); in main()
179 return eErrCode; in main()
184 eErrCode = xLockBytes->flush(); in main()
185 if (eErrCode != store_E_None) in main()
187 fprintf (stderr, "t_file: flush() error: %d\n", eErrCode); in main()
188 return eErrCode; in main()
196 eErrCode = xLockBytes->readAt (offset, verify, TEST_PAGESIZE); in main()
197 if (eErrCode != store_E_None) in main()
199 fprintf (stderr, "t_file: readAt() error: %d\n", eErrCode); in main()
200 return eErrCode; in main()
227 eErrCode = xLockBytes->readPageAt (xPage, offset); in main()
228 if (eErrCode != store_E_None) in main()
230 fprintf (stderr, "t_file: readPageAt() error: %d\n", eErrCode); in main()
231 return eErrCode; in main()