HomeSort by relevance Sort by last modified time
    Searched defs:pFile (Results 1 - 25 of 33) sorted by null

1 2

  /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/av/libvideoeditor/vss/stagefrightshells/inc/
VideoEditorMain.h 38 M4OSA_Void *pFile; /** PCM file path */
  /frameworks/base/media/jni/mediaeditor/
VideoEditorPropertiesMain.cpp 71 M4OSA_Char* pFile,
86 M4OSA_Char* pFile = M4OSA_NULL;
121 pFile = (M4OSA_Char *)videoEditJava_getString(
124 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead);
128 videoEditOsal_free(pFile);
129 pFile = M4OSA_NULL;
150 pExtension = (M4OSA_Char *)strrchr((const char *)pFile, (int)'.');
205 pEnv, thiz, pFile, clipType, pClipProperties);
293 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead);
316 videoEditOsal_free(pFile);
    [all...]
  /frameworks/base/media/tests/omxjpegdecoder/
omx_jpeg_decoder.cpp 44 FILE *pFile = fopen(filename, "w+");
46 if (pFile == NULL) {
52 int numChars = fwrite(data, sizeof(char), 1024, pFile);
57 fclose(pFile);
  /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...]
delegation_client.c 654 FILE* pFile;
659 pFile = g_pPartitionFiles[nPartitionID];
661 if (pFile == NULL)
667 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0)
675 pFile) != 1)
677 if (feof(pFile))
698 FILE* pFile;
703 pFile = g_pPartitionFiles[nPartitionID];
705 if (pFile == NULL)
711 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
backup.c 294 ** If pFile is currently larger than iSize bytes, then truncate it to
295 ** exactly iSize bytes. If pFile is not larger than iSize bytes, then
301 static int backupTruncateFile(sqlite3_file *pFile, i64 iSize){
303 int rc = sqlite3OsFileSize(pFile, &iCurrent);
305 rc = sqlite3OsTruncate(pFile, iSize);
458 sqlite3_file * const pFile = sqlite3PagerFile(pDestPager);
462 assert( pFile );
488 rc = sqlite3OsWrite(pFile, zData, pgszSrc, iOff);
493 rc = backupTruncateFile(pFile, iSize);
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...]
pragma.c 789 sqlite3_file *pFile = sqlite3PagerFile(pPager);
790 sqlite3OsFileControl(pFile, SQLITE_GET_LOCKPROXYFILE,
802 sqlite3_file *pFile = sqlite3PagerFile(pPager);
805 res=sqlite3OsFileControl(pFile, SQLITE_SET_LOCKPROXYFILE,
808 res=sqlite3OsFileControl(pFile, SQLITE_SET_LOCKPROXYFILE,
    [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_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...]
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...]
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...]
  /external/chromium_org/third_party/zlib/contrib/minizip/
minizip.c 214 FILE* pFile = fopen64(filename, "rb");
216 if(pFile != NULL)
218 int n = fseeko64(pFile, 0, SEEK_END);
220 pos = ftello64(pFile);
227 fclose(pFile);
  /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...]
  /external/zlib/src/contrib/minizip/
minizip.c 228 FILE* pFile = FOPEN_FUNC(filename, "rb");
230 if(pFile != NULL)
232 int n = FSEEKO_FUNC(pFile, 0, SEEK_END);
233 pos = FTELLO_FUNC(pFile);
240 fclose(pFile);
  /hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/
omx_proxy_camera.c 553 FILE *pFile;
582 pFile = fopen(temp, "rb");
583 if (pFile == NULL)
589 fseek(pFile, 0, SEEK_END);
590 lSize = ftell(pFile);
591 rewind(pFile);
599 lSize, pFile);
613 fclose(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...]
  /frameworks/av/libvideoeditor/vss/inc/
M4VSS3GPP_API.h 361 M4OSA_Void *pFile; /**< Clip file descriptor */
486 * @note WARNING: pClipSettings->pFile will be allocated in this function.
489 * @param pFile (IN) Clip file name
497 M4OSA_Void* pFile, M4OSA_UInt32 filePathSize,
519 * @brief Free the pointers allocated in the ClipSetting structure (pFile, Effects).
    [all...]
M4VSS3GPP_Extended_API.h 65 M4OSA_Void *pFile; /**< Input file path */
  /external/chromium_org/third_party/sqlite/src/ext/async/
sqlite3async.c 475 ** false, variables AsyncLock.pFile and AsyncLock.eLock are never used.
476 ** Otherwise, pFile is a file handle opened on the file in question and
486 sqlite3_file *pFile;
627 static int asyncClose(sqlite3_file *pFile){
628 AsyncFileData *p = ((AsyncFile *)pFile)->pData;
646 sqlite3_file *pFile,
651 AsyncFileData *p = ((AsyncFile *)pFile)->pData;
663 sqlite3_file *pFile,
668 AsyncFileData *p = ((AsyncFile *)pFile)->pData;
743 static int asyncTruncate(sqlite3_file *pFile, sqlite3_int64 nByte)
    [all...]
  /external/speex/libspeex/
mdf.c 387 static FILE *rFile=NULL, *pFile=NULL, *oFile=NULL;
391 if (!(rFile && pFile && oFile))
396 fwrite(play, sizeof(spx_int16_t), len, pFile);
417 if (rFile || pFile || oFile)
420 pFile = fopen("aec_play.sw", "wb");
630 fclose(pFile);
632 rFile = pFile = oFile = NULL;
    [all...]
  /external/svox/pico/tts/
com_svox_picottsengine.cpp 254 FILE * pFile;
260 pFile = fopen(fileName, "r");
261 if (pFile != NULL) {
263 fclose (pFile);
267 pFile = fopen(fileName, "r");
268 if (pFile != NULL) {
270 fclose(pFile);
280 pFile = fopen(fileName, "r");
281 if (pFile == NULL) {
285 fclose (pFile);
    [all...]

Completed in 1586 milliseconds

1 2