/external/sonivox/arm-wt-22k/misc/ |
D | eas_host.c | 87 FILE *pFile; member 231 …EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mod… in EAS_HWOpenFile() argument 237 *pFile = NULL; in EAS_HWOpenFile() 248 if (file->pFile == NULL) in EAS_HWOpenFile() 252 file->pFile = fopen((const char*) locator->path, "rb"); in EAS_HWOpenFile() 253 if (file->pFile == NULL) in EAS_HWOpenFile() 266 *pFile = file; in EAS_HWOpenFile() 287 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0) in EAS_HWFillBuffer() 291 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); in EAS_HWFillBuffer() 316 if (file->pFile == NULL) in EAS_HWReadFile() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdfattachment.cpp | 86 CPDF_Dictionary* pFile = pDoc->NewIndirect<CPDF_Dictionary>(); in FPDFDoc_AddAttachment() local 87 pFile->SetNewFor<CPDF_Name>("Type", "Filespec"); in FPDFDoc_AddAttachment() 88 pFile->SetNewFor<CPDF_String>("UF", wsName); in FPDFDoc_AddAttachment() 89 pFile->SetNewFor<CPDF_String>("F", wsName); in FPDFDoc_AddAttachment() 94 pdfium::MakeUnique<CPDF_Reference>(pDoc, pFile->GetObjNum()), in FPDFDoc_AddAttachment() 99 return pFile; in FPDFDoc_AddAttachment() 133 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_GetName() local 134 if (!pFile) in FPDFAttachment_GetName() 137 return Utf16EncodeMaybeCopyAndReturnLength(CPDF_FileSpec(pFile).GetFileName(), in FPDFAttachment_GetName() 143 CPDF_Object* pFile = CPDFObjectFromFPDFAttachment(attachment); in FPDFAttachment_HasKey() local [all …]
|
D | fpdfeditimg.cpp | 54 RetainPtr<IFX_SeekableReadStream> pFile = MakeSeekableReadStream(fileAccess); in LoadJpegHelper() local 66 pImgObj->GetImage()->SetJpegImageInline(pFile); in LoadJpegHelper() 68 pImgObj->GetImage()->SetJpegImage(pFile); in LoadJpegHelper()
|
/external/pdfium/core/fxge/ |
D | cfx_folderfontinfo.cpp | 46 ByteString FPDF_ReadStringFromFile(FILE* pFile, uint32_t size) { in FPDF_ReadStringFromFile() argument 48 if (!fread(buffer.GetBuffer(size), size, 1, pFile)) in FPDF_ReadStringFromFile() 54 ByteString FPDF_LoadTableFromTT(FILE* pFile, in FPDF_LoadTableFromTT() argument 65 offset + size > fileSize || fseek(pFile, offset, SEEK_SET) < 0) { in FPDF_LoadTableFromTT() 68 return FPDF_ReadStringFromFile(pFile, size); in FPDF_LoadTableFromTT() 161 FILE* pFile = fopen(path.c_str(), "rb"); in ScanFile() local 162 if (!pFile) in ScanFile() 165 fseek(pFile, 0, SEEK_END); in ScanFile() 167 uint32_t filesize = ftell(pFile); in ScanFile() 169 fseek(pFile, 0, SEEK_SET); in ScanFile() [all …]
|
D | cfx_font.cpp | 50 IFX_SeekableReadStream* pFile = in FTStreamRead() local 52 return pFile && pFile->ReadBlock(buffer, offset, count) ? count : 0; in FTStreamRead() 59 const RetainPtr<IFX_SeekableReadStream>& pFile, in LoadFileImp() argument 64 stream1->size = static_cast<unsigned long>(pFile->GetSize()); in LoadFileImp() 66 stream1->descriptor.pointer = static_cast<void*>(pFile.Get()); in LoadFileImp() 280 bool CFX_Font::LoadFile(const RetainPtr<IFX_SeekableReadStream>& pFile, in LoadFile() argument 289 if (!LoadFileImp(library, &m_Face, pFile, nFaceIndex, &stream)) in LoadFile()
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
D | EASLibVst.c | 71 FILE *pFile; member 497 …EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mod… in EAS_HWOpenFile() argument 503 *pFile = NULL; in EAS_HWOpenFile() 514 if (file->pFile == NULL) in EAS_HWOpenFile() 519 file->pFile = fopen((const char*) locator, "rb"); in EAS_HWOpenFile() 520 if (file->pFile == NULL) in EAS_HWOpenFile() 540 *pFile = file; in EAS_HWOpenFile() 561 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0) in EAS_HWFillBuffer() 565 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); in EAS_HWFillBuffer() 590 if (file->pFile == NULL) in EAS_HWReadFile() [all …]
|
D | EASLib.c | 73 FILE *pFile; member 802 …EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mod… in EAS_HWOpenFile() argument 808 *pFile = NULL; in EAS_HWOpenFile() 819 if (file->pFile == NULL) in EAS_HWOpenFile() 824 file->pFile = fopen((const char*) locator, "rb"); in EAS_HWOpenFile() 825 if (file->pFile == NULL) in EAS_HWOpenFile() 845 *pFile = file; in EAS_HWOpenFile() 866 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0) in EAS_HWFillBuffer() 870 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile); in EAS_HWFillBuffer() 895 if (file->pFile == NULL) in EAS_HWReadFile() [all …]
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_interrupt/ |
D | ht_interrupt.c | 29 FILE *pFile; in HT_InterruptDistribution() local 40 if ((pFile = fopen(INTERRUPT_NAME, "r")) == NULL) { in HT_InterruptDistribution() 44 fgets(buf, 255, pFile); in HT_InterruptDistribution() 45 fscanf(pFile, "%s %d %d %d %d %d %d %d %d \ in HT_InterruptDistribution() 49 fclose(pFile); in HT_InterruptDistribution() 56 if ((pFile = fopen(INTERRUPT_NAME, "r")) == NULL) { in HT_InterruptDistribution() 60 fgets(buf, 255, pFile); in HT_InterruptDistribution() 61 fscanf(pFile, "%s %d %d %d %d %d %d %d %d \ in HT_InterruptDistribution() 65 fclose(pFile); in HT_InterruptDistribution()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTModelPOD.cpp | 579 static bool WriteFileSafe(FILE *pFile, const void * const lpBuffer, const unsigned int nNumberOfByt… in WriteFileSafe() argument 583 size_t count = fwrite(lpBuffer, nNumberOfBytesToWrite, 1, pFile); in WriteFileSafe() 589 static bool WriteFileSafe16(FILE *pFile, const unsigned short * const lpBuffer, const unsigned int … in WriteFileSafe16() argument 601 bRet &= (fwrite(ub, 2, 1, pFile) == 1); in WriteFileSafe16() 609 static bool WriteFileSafe32(FILE *pFile, const unsigned int * const lpBuffer, const unsigned int nS… in WriteFileSafe32() argument 623 bRet &= (fwrite(ub, 4, 1, pFile) == 1); in WriteFileSafe32() 641 FILE * const pFile, in WriteMarker() argument 652 bRet = WriteFileSafe32(pFile, &nMarker, 1); in WriteMarker() 653 bRet &= WriteFileSafe32(pFile, &nLen, 1); in WriteMarker() 669 FILE * const pFile, in WriteData() argument [all …]
|
D | PVRTResourceFile.cpp | 31 FILE* pFile = fopen(pFilename, "rb"); in LoadFileFunc() local 33 if (pFile) in LoadFileFunc() 36 fseek(pFile, 0, SEEK_END); in LoadFileFunc() 37 size = ftell(pFile); in LoadFileFunc() 38 fseek(pFile, 0, SEEK_SET); in LoadFileFunc() 42 size_t BytesRead = fread(pTmp, 1, size, pFile); in LoadFileFunc() 53 fclose(pFile); in LoadFileFunc()
|
/external/sqlite/dist/ |
D | Android.patch | 56 if( osFstat(pFile->h, &buf) ){ 58 + return unixLogError(SQLITE_IOERR_FSTAT, "fstat", pFile->zPath); 61 nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
|
D | shell.c | 3588 static int apndClose(sqlite3_file *pFile){ in apndClose() argument 3589 pFile = ORIGFILE(pFile); in apndClose() 3590 return pFile->pMethods->xClose(pFile); in apndClose() 3597 sqlite3_file *pFile, in apndRead() argument 3602 ApndFile *p = (ApndFile *)pFile; in apndRead() 3603 pFile = ORIGFILE(pFile); in apndRead() 3604 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead() 3610 static int apndWriteMark(ApndFile *p, sqlite3_file *pFile){ in apndWriteMark() argument 3617 return pFile->pMethods->xWrite(pFile, a, APND_MARK_SIZE, p->iMark); in apndWriteMark() 3624 sqlite3_file *pFile, in apndWrite() argument [all …]
|
D | sqlite3.c | 21015 sqlite3_file *pFile, in sqlite3OsOpen() argument 21025 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f7f, pFlagsOut); in sqlite3OsOpen() 21026 assert( rc==SQLITE_OK || pFile->pMethods==0 ); in sqlite3OsOpen() 21102 sqlite3_file *pFile; in sqlite3OsOpenMalloc() local 21103 pFile = (sqlite3_file *)sqlite3MallocZero(pVfs->szOsFile); in sqlite3OsOpenMalloc() 21104 if( pFile ){ in sqlite3OsOpenMalloc() 21105 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags); in sqlite3OsOpenMalloc() 21107 sqlite3_free(pFile); in sqlite3OsOpenMalloc() 21109 *ppFile = pFile; in sqlite3OsOpenMalloc() 21116 SQLITE_PRIVATE void sqlite3OsCloseFree(sqlite3_file *pFile){ in sqlite3OsCloseFree() argument [all …]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 125 void CPDF_Image::SetJpegImage(const RetainPtr<IFX_SeekableReadStream>& pFile) { in SetJpegImage() argument 126 uint32_t size = pdfium::base::checked_cast<uint32_t>(pFile->GetSize()); in SetJpegImage() 132 if (!pFile->ReadBlock(data.data(), 0, dwEstimateSize)) in SetJpegImage() 139 pFile->ReadBlock(data.data(), 0, size); in SetJpegImage() 145 m_pStream->InitStreamFromFile(pFile, std::move(pDict)); in SetJpegImage() 149 const RetainPtr<IFX_SeekableReadStream>& pFile) { in SetJpegImageInline() argument 150 uint32_t size = pdfium::base::checked_cast<uint32_t>(pFile->GetSize()); in SetJpegImageInline() 155 if (!pFile->ReadBlock(data.data(), 0, size)) in SetJpegImageInline()
|
D | cpdf_image.h | 48 void SetJpegImage(const RetainPtr<IFX_SeekableReadStream>& pFile); 49 void SetJpegImageInline(const RetainPtr<IFX_SeekableReadStream>& pFile);
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_action.cpp | 73 CPDF_Object* pFile = m_pDict->GetDirectObjectFor("F"); in GetFilePath() local 74 if (pFile) in GetFilePath() 75 return CPDF_FileSpec(pFile).GetFileName(); in GetFilePath()
|
/external/sqlite/dist/orig/ |
D | shell.c | 3582 static int apndClose(sqlite3_file *pFile){ in apndClose() argument 3583 pFile = ORIGFILE(pFile); in apndClose() 3584 return pFile->pMethods->xClose(pFile); in apndClose() 3591 sqlite3_file *pFile, in apndRead() argument 3596 ApndFile *p = (ApndFile *)pFile; in apndRead() 3597 pFile = ORIGFILE(pFile); in apndRead() 3598 return pFile->pMethods->xRead(pFile, zBuf, iAmt, iOfst+p->iPgOne); in apndRead() 3604 static int apndWriteMark(ApndFile *p, sqlite3_file *pFile){ in apndWriteMark() argument 3611 return pFile->pMethods->xWrite(pFile, a, APND_MARK_SIZE, p->iMark); in apndWriteMark() 3618 sqlite3_file *pFile, in apndWrite() argument [all …]
|
/external/zlib/src/contrib/minizip/ |
D | minizip.c | 228 FILE* pFile = FOPEN_FUNC(filename, "rb"); in isLargeFile() local 230 if(pFile != NULL) in isLargeFile() 232 int n = FSEEKO_FUNC(pFile, 0, SEEK_END); in isLargeFile() 233 pos = FTELLO_FUNC(pFile); in isLargeFile() 240 fclose(pFile); in isLargeFile()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_stream.cpp | 63 const RetainPtr<IFX_SeekableReadStream>& pFile, in InitStreamFromFile() argument 68 m_pFile = pFile; in InitStreamFromFile() 69 m_dwSize = pdfium::base::checked_cast<uint32_t>(pFile->GetSize()); in InitStreamFromFile()
|
D | cfdf_document.cpp | 40 const RetainPtr<IFX_SeekableReadStream>& pFile) { in ParseStream() argument 41 m_pFile = pFile; in ParseStream()
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_saxreader.cpp | 57 bool CFX_SAXFile::StartFile(const RetainPtr<IFX_SeekableReadStream>& pFile, in StartFile() argument 60 ASSERT(!m_pFile && pFile); in StartFile() 61 uint32_t dwSize = pFile->GetSize(); in StartFile() 73 if (!pFile->ReadBlock(m_pBuf, dwStart, m_dwBufSize)) in StartFile() 79 m_pFile = pFile; in StartFile() 189 const RetainPtr<IFX_SeekableReadStream>& pFile, in StartParse() argument 194 if (!m_File.StartFile(pFile, dwStart, dwLen)) in StartParse()
|
D | cfx_saxreader.h | 48 bool StartFile(const RetainPtr<IFX_SeekableReadStream>& pFile, 102 int32_t StartParse(const RetainPtr<IFX_SeekableReadStream>& pFile,
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_host.h | 63 …EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mod… 72 …SULT EAS_HWDupHandle (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE file, EAS_FILE_HANDLE* pFile);
|
D | eas_hostmm.c | 236 …EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mod… in EAS_HWOpenFile() argument 243 *pFile = NULL; in EAS_HWOpenFile() 260 *pFile = file; in EAS_HWOpenFile()
|
/external/swiftshader/third_party/PowerVR_SDK/Shell/ |
D | PVRShell.cpp | 899 FILE *pFile = fopen(pFileName, "rb"); in PrefixFromFile() local 901 if(pFile) in PrefixFromFile() 904 fseek(pFile, 0, SEEK_END); in PrefixFromFile() 905 long m_Size = ftell(pFile) + 2; in PrefixFromFile() 906 fseek(pFile, 0, SEEK_SET); in PrefixFromFile() 913 while(fgets(pFullFile + offset, (int) (m_Size - offset), pFile)) in PrefixFromFile() 929 fclose(pFile); in PrefixFromFile() 933 fclose(pFile); in PrefixFromFile()
|