/external/chromium_org/third_party/sqlite/src/src/ |
test_devsym.c | 134 static int devsymClose(sqlite3_file *pFile){ 135 devsym_file *p = (devsym_file *)pFile; 143 sqlite3_file *pFile, 148 devsym_file *p = (devsym_file *)pFile; 156 sqlite3_file *pFile, 161 devsym_file *p = (devsym_file *)pFile; 168 static int devsymTruncate(sqlite3_file *pFile, sqlite_int64 size){ 169 devsym_file *p = (devsym_file *)pFile; 176 static int devsymSync(sqlite3_file *pFile, int flags){ 177 devsym_file *p = (devsym_file *)pFile; [all...] |
os_win.c | 357 ** descriptor pFile 359 static BOOL winceCreateLock(const char *zFilename, winFile *pFile){ 365 ZeroMemory(&pFile->local, sizeof(pFile->local)); 375 pFile->hMutex = CreateMutexW(NULL, FALSE, zName); 376 if (!pFile->hMutex){ 377 pFile->lastErrno = GetLastError(); 383 winceMutexAcquire(pFile->hMutex); 390 pFile->hShared = CreateFileMappingW(INVALID_HANDLE_VALUE, NULL, 403 if (pFile->hShared) [all...] |
os_unix.c | [all...] |
os_os2.c | 97 os2File *pFile = (os2File*)id; 100 OSTRACE(( "CLOSE %d (%s)\n", pFile->h, pFile->zFullPathCp )); 102 rc = DosClose( pFile->h ); 104 if( pFile->flags & SQLITE_OPEN_DELETEONCLOSE ) 105 DosForceDelete( (PSZ)pFile->zFullPathCp ); 107 free( pFile->zFullPathCp ); 108 pFile->zFullPathCp = NULL; 109 pFile->locktype = NO_LOCK; 110 pFile->h = (HFILE)-1 [all...] |
test6.c | 121 CrashFile *pFile; /* File this write() applies to */ 187 ** pFile. If isCrash is true, simulate a crash. 189 static int writeListSync(CrashFile *pFile, int isCrash){ 198 ** pFile. 206 if( pWrite->pFile==pFile ){ 221 printf("Sync %s (is %s crash)\n", pFile->zName, (isCrash?"a":"not a")); 226 sqlite3_file *pRealFile = pWrite->pFile->pRealFile; 235 if( (pWrite->pFile==pFile || iDc&SQLITE_IOCAP_SEQUENTIAL) ) [all...] |
test_onefile.c | 99 sqlite3_file *pFile; 257 static int tmpClose(sqlite3_file *pFile){ 258 tmp_file *pTmp = (tmp_file *)pFile; 267 sqlite3_file *pFile, 272 tmp_file *pTmp = (tmp_file *)pFile; 284 sqlite3_file *pFile, 289 tmp_file *pTmp = (tmp_file *)pFile; 307 static int tmpTruncate(sqlite3_file *pFile, sqlite_int64 size){ 308 tmp_file *pTmp = (tmp_file *)pFile; 316 static int tmpSync(sqlite3_file *pFile, int flags) [all...] |
test_demovfs.c | 201 static int demoClose(sqlite3_file *pFile){ 203 DemoFile *p = (DemoFile*)pFile; 214 sqlite3_file *pFile, 219 DemoFile *p = (DemoFile*)pFile; 254 sqlite3_file *pFile, 259 DemoFile *p = (DemoFile*)pFile; 305 static int demoTruncate(sqlite3_file *pFile, sqlite_int64 size){ 307 if( ftruncate(((DemoFile *)pFile)->fd, size) ) return SQLITE_IOERR_TRUNCATE; 315 static int demoSync(sqlite3_file *pFile, int flags){ 316 DemoFile *p = (DemoFile*)pFile; [all...] |
test_quota.c | 109 quotaFile *pFile; /* The underlying file */ 296 quotaFile *pFile; /* Corresponding quotaFile obj */ 322 for(pFile=pGroup->pFiles; pFile && strcmp(pFile->zFilename, zName); 323 pFile=pFile->pNext){} 324 if( pFile==0 ){ 326 pFile = sqlite3_malloc( sizeof(*pFile) + nName + 1 ) [all...] |
test_journal.c | 250 static int jtClose(sqlite3_file *pFile){ 252 jt_file *p = (jt_file *)pFile; 268 sqlite3_file *pFile, 273 jt_file *p = (jt_file *)pFile; 509 sqlite3_file *pFile, 515 jt_file *p = (jt_file *)pFile; 572 static int jtTruncate(sqlite3_file *pFile, sqlite_int64 size){ 573 jt_file *p = (jt_file *)pFile; 592 static int jtSync(sqlite3_file *pFile, int flags){ 593 jt_file *p = (jt_file *)pFile; [all...] |
os.c | 129 sqlite3_file *pFile, 139 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f3f, pFlagsOut); 140 assert( rc==SQLITE_OK || pFile->pMethods==0 ); 210 sqlite3_file *pFile; 211 pFile = (sqlite3_file *)sqlite3Malloc(pVfs->szOsFile); 212 if( pFile ){ 213 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags); 215 sqlite3_free(pFile); 217 *ppFile = pFile; 222 int sqlite3OsCloseFree(sqlite3_file *pFile){ [all...] |
test_osinst.c | 151 static int vfslogShmLock(sqlite3_file *pFile, int ofst, int n, int flags); 152 static int vfslogShmMap(sqlite3_file *pFile,int,int,int,volatile void **); 154 static int vfslogShmUnmap(sqlite3_file *pFile, int deleteFlag); 251 static int vfslogClose(sqlite3_file *pFile){ 254 VfslogFile *p = (VfslogFile *)pFile; 269 sqlite3_file *pFile, 276 VfslogFile *p = (VfslogFile *)pFile; 288 sqlite3_file *pFile, 295 VfslogFile *p = (VfslogFile *)pFile; 306 static int vfslogTruncate(sqlite3_file *pFile, sqlite_int64 size) [all...] |
test_vfs.c | 48 #define tvfsGetFd(pFile) (((TestvfsFile *)pFile)->pFd) 144 TestvfsFd *pFile; /* List of open handles */ 320 static int tvfsClose(sqlite3_file *pFile){ 322 TestvfsFile *pTestfile = (TestvfsFile *)pFile; 336 if( pFile->pMethods ){ 337 ckfree((char *)pFile->pMethods); 349 sqlite3_file *pFile, 354 TestvfsFd *p = tvfsGetFd(pFile); 362 sqlite3_file *pFile, [all...] |
test_vfstrace.c | 192 static int vfstraceClose(sqlite3_file *pFile){ 193 vfstrace_file *p = (vfstrace_file *)pFile; 210 sqlite3_file *pFile, 215 vfstrace_file *p = (vfstrace_file *)pFile; 229 sqlite3_file *pFile, 234 vfstrace_file *p = (vfstrace_file *)pFile; 247 static int vfstraceTruncate(sqlite3_file *pFile, sqlite_int64 size){ 248 vfstrace_file *p = (vfstrace_file *)pFile; 261 static int vfstraceSync(sqlite3_file *pFile, int flags){ 262 vfstrace_file *p = (vfstrace_file *)pFile; [all...] |
/frameworks/compile/mclinker/include/mcld/LD/ |
DynObjReader.h | 35 virtual bool readHeader(Input& pFile) = 0; 37 virtual bool readSymbols(Input& pFile) = 0;
|
ELFObjectReader.h | 49 bool isMyFormat(Input &pFile) const; 52 bool readHeader(Input& pFile); 54 virtual bool readSections(Input& pFile); 56 virtual bool readSymbols(Input& pFile); 61 virtual bool readRelocations(Input& pFile);
|
ObjectReader.h | 41 virtual bool readHeader(Input& pFile) = 0; 43 virtual bool readSymbols(Input& pFile) = 0; 45 virtual bool readSections(Input& pFile) = 0; 50 virtual bool readRelocations(Input& pFile) = 0;
|
ELFDynObjReader.h | 38 bool isMyFormat(Input &pFile) const; 41 bool readHeader(Input& pFile);
|
BinaryReader.h | 39 virtual bool readBinary(Input& pFile) = 0;
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
ObjectLoader.cpp | 80 // contents initialized to the contents of pFile is created. 102 ObjectLoader *ObjectLoader::Load(FileBase &pFile, 107 const char *input_filename = pFile.getName().c_str(); 111 if (pFile.hasError()) { 113 input_filename, pFile.getErrorMessage().c_str()); 118 file_size = pFile.getSize(); 119 if (pFile.hasError()) { 121 pFile.getErrorMessage().c_str()); 132 file_map = pFile.createMap(0, file_size, /* pIsReadOnly */true); 133 if ((file_map == NULL) || pFile.hasError()) [all...] |
/external/sonivox/arm-wt-22k/misc/ |
eas_host.c | 87 FILE *pFile; 231 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode) 237 *pFile = NULL; 248 if (file->pFile == NULL) 252 file->pFile = fopen((const char*) locator->path, "rb"); 253 if (file->pFile == NULL) 266 *pFile = file; 287 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0) 291 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); 316 if (file->pFile == NULL [all...] |
/hardware/ti/omap4xxx/security/smc_pa_ctrl/ |
smc_pa_ctrl_linux.c | 72 FILE* pFile = NULL; 102 pFile = fopen(pFileName, "rb"); 103 if (pFile == NULL) 109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); 117 nResult = fclose(pFile); 119 pFile = NULL; 143 if (pFile != NULL) 145 fclose(pFile);
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
ObjectLoader.h | 54 static ObjectLoader *Load(FileBase &pFile,
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
EASLib.c | 73 FILE *pFile; 802 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode) 808 *pFile = NULL; 819 if (file->pFile == NULL) 824 file->pFile = fopen((const char*) locator, "rb"); 825 if (file->pFile == NULL) 845 *pFile = file; 866 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0) 870 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); 895 if (file->pFile == NULL [all...] |
EASLibVst.c | 71 FILE *pFile; 497 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode) 503 *pFile = NULL; 514 if (file->pFile == NULL) 519 file->pFile = fopen((const char*) locator, "rb"); 520 if (file->pFile == NULL) 540 *pFile = file; 561 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0) 565 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); 590 if (file->pFile == NULL [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
smc_properties_parser.c | 429 FILE* pFile = NULL; 433 if ((pFile = fopen(pFilename, "rb")) == NULL) 439 if (fseek(pFile, 0, SEEK_END) != 0) 445 nFilesize = ftell(pFile); 452 rewind(pFile); 464 if (fread(pBuff, sizeof(uint8_t), (size_t)nFilesize, pFile) != (size_t)nFilesize) 479 fclose(pFile); 525 void* pFile; 535 nError=static_readFile(pConfigFilename,&pFile,&nFileLength); 547 nError=SMCPropYacc(pFile,nFileLength,pConfFile) [all...] |