Home
last modified time | relevance | path

Searched refs:pFile (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/crypto/external/cpl/tpm-tools/dist/src/data_mgmt/
H A Ddata_import.c326 FILE *pFile = stdin; in readX509Cert() local
335 pFile = fopen( a_pszFile, "r" ); in readX509Cert()
336 if ( !pFile ) { in readX509Cert()
343 pX509 = PEM_read_X509( pFile, NULL, NULL, NULL ); in readX509Cert()
388 if ( a_pszFile && pFile ) in readX509Cert()
389 fclose( pFile ); in readX509Cert()
566 FILE *pFile = stdin; in readRsaKey() local
574 pFile = fopen( a_pszFile, "r" ); in readRsaKey()
575 if ( !pFile ) { in readRsaKey()
583 pRsa = PEM_read_RSAPrivateKey( pFile, NULL, NULL, NULL ); in readRsaKey()
[all …]
/netbsd-src/external/gpl3/binutils/dist/zlib/contrib/minizip/
H A Dminizip.c229 FILE* pFile = FOPEN_FUNC(filename, "rb"); in isLargeFile() local
231 if(pFile != NULL) in isLargeFile()
233 FSEEKO_FUNC(pFile, 0, SEEK_END); in isLargeFile()
234 pos = (ZPOS64_T)FTELLO_FUNC(pFile); in isLargeFile()
241 fclose(pFile); in isLargeFile()
/netbsd-src/external/gpl3/gdb/dist/zlib/contrib/minizip/
H A Dminizip.c229 FILE* pFile = FOPEN_FUNC(filename, "rb"); in isLargeFile() local
231 if(pFile != NULL) in isLargeFile()
233 FSEEKO_FUNC(pFile, 0, SEEK_END); in isLargeFile()
234 pos = (ZPOS64_T)FTELLO_FUNC(pFile); in isLargeFile()
241 fclose(pFile); in isLargeFile()
/netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/minizip/
H A Dminizip.c229 FILE* pFile = FOPEN_FUNC(filename, "rb"); in isLargeFile() local
231 if(pFile != NULL) in isLargeFile()
233 FSEEKO_FUNC(pFile, 0, SEEK_END); in isLargeFile()
234 pos = (ZPOS64_T)FTELLO_FUNC(pFile); in isLargeFile()
241 fclose(pFile); in isLargeFile()
/netbsd-src/external/public-domain/sqlite/dist/
H A Dshell.c8848 static int apndClose(sqlite3_file *pFile){ in apndClose() argument
8849 pFile = ORIGFILE(pFile); in apndClose()
8850 return pFile->pMethods->xClose(pFile); in apndClose()
8857 sqlite3_file *pFile, in apndRead() argument
8862 ApndFile *paf = (ApndFile *)pFile; in apndRead()
8863 pFile = ORIGFILE(pFile); in apndRead()
8864 return pFile->pMethods->xRead(pFile, zBuf, iAmt, paf->iPgOne+iOfst); in apndRead()
8874 sqlite3_file *pFile, in apndWriteMark() argument
8881 assert(pFile == ORIGFILE(paf)); in apndWriteMark()
8888 if( SQLITE_OK==(rc = pFile->pMethods->xWrite in apndWriteMark()
[all …]
H A Dsqlite3.c25976 sqlite3_file *pFile, in sqlite3OsOpen() argument
25987 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x1087f7f, pFlagsOut); in sqlite3OsOpen()
25988 assert( rc==SQLITE_OK || pFile->pMethods==0 ); in sqlite3OsOpen()
26074 sqlite3_file *pFile; in sqlite3OsOpenMalloc() local
26075 pFile = (sqlite3_file *)sqlite3MallocZero(pVfs->szOsFile); in sqlite3OsOpenMalloc()
26076 if( pFile ){ in sqlite3OsOpenMalloc()
26077 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags); in sqlite3OsOpenMalloc()
26079 sqlite3_free(pFile); in sqlite3OsOpenMalloc()
26082 *ppFile = pFile; in sqlite3OsOpenMalloc()
26091 SQLITE_PRIVATE void sqlite3OsCloseFree(sqlite3_file *pFile){ in sqlite3OsCloseFree() argument
[all …]