Home
last modified time | relevance | path

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

/netbsd/src/crypto/external/cpl/tpm-tools/dist/src/data_mgmt/
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/common/dist/zlib/contrib/minizip/
Dminizip.c220 FILE* pFile = FOPEN_FUNC(filename, "rb"); in isLargeFile() local
222 if(pFile != NULL) in isLargeFile()
224 FSEEKO_FUNC(pFile, 0, SEEK_END); in isLargeFile()
225 pos = (ZPOS64_T)FTELLO_FUNC(pFile); in isLargeFile()
232 fclose(pFile); in isLargeFile()
/netbsd/src/external/public-domain/sqlite/dist/
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 …]
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 …]