Lines Matching refs:dwAccess
54 bool LoadFile(const FX_WCHAR* pszSrcFileName, uint32_t dwAccess);
78 bool LoadBuffer(uint8_t* pData, int32_t iTotalSize, uint32_t dwAccess);
105 uint32_t dwAccess);
136 uint32_t dwAccess);
166 uint32_t dwAccess);
200 bool LoadFile(const FX_WCHAR* pszSrcFileName, uint32_t dwAccess);
201 bool LoadBuffer(uint8_t* pData, int32_t iTotalSize, uint32_t dwAccess);
203 uint32_t dwAccess);
205 uint32_t dwAccess);
208 uint32_t dwAccess);
225 CFX_RetainPtr<IFGAS_Stream> CreateSharedStream(uint32_t dwAccess,
263 CFX_RetainPtr<IFGAS_Stream> CreateSharedStream(uint32_t dwAccess,
331 uint32_t dwAccess) { in CreateStream() argument
333 if (!pSR->LoadFileRead(pFileRead, dwAccess)) in CreateStream()
336 if (dwAccess & FX_STREAMACCESS_Text) in CreateStream()
345 uint32_t dwAccess) { in CreateStream() argument
347 if (!pSR->LoadFileWrite(pFileWrite, dwAccess)) in CreateStream()
350 if (dwAccess & FX_STREAMACCESS_Text) in CreateStream()
359 uint32_t dwAccess) { in CreateStream() argument
361 if (!pSR->LoadBuffer(pData, length, dwAccess)) in CreateStream()
364 if (dwAccess & FX_STREAMACCESS_Text) in CreateStream()
380 uint32_t dwAccess) { in LoadFile() argument
386 if (dwAccess & FX_STREAMACCESS_Write) { in LoadFile()
387 if (dwAccess & FX_STREAMACCESS_Append) { in LoadFile()
389 } else if (dwAccess & FX_STREAMACCESS_Truncate) { in LoadFile()
400 if (dwAccess & FX_STREAMACCESS_Write) { in LoadFile()
401 if (dwAccess & FX_STREAMACCESS_Create) in LoadFile()
409 if (dwAccess & FX_STREAMACCESS_Truncate) in LoadFile()
418 if (dwAccess & FX_STREAMACCESS_Write) { in LoadFile()
419 if (dwAccess & FX_STREAMACCESS_Append) { in LoadFile()
421 } else if (dwAccess & FX_STREAMACCESS_Truncate) { in LoadFile()
430 if (dwAccess & FX_STREAMACCESS_Write) { in LoadFile()
431 if (dwAccess & FX_STREAMACCESS_Create) { in LoadFile()
439 if (dwAccess & FX_STREAMACCESS_Truncate) { in LoadFile()
448 SetAccessModes(dwAccess); in LoadFile()
449 if ((dwAccess & (FX_STREAMACCESS_Write | FX_STREAMACCESS_Truncate)) == in LoadFile()
546 uint32_t dwAccess) { in LoadFileRead() argument
548 if (dwAccess & FX_STREAMACCESS_Write) in LoadFileRead()
619 uint32_t dwAccess) { in LoadBufferRead() argument
621 if (dwAccess & FX_STREAMACCESS_Write) in LoadBufferRead()
740 uint32_t dwAccess) { in LoadFileWrite() argument
742 if (dwAccess & FX_STREAMACCESS_Read) in LoadFileWrite()
745 if (dwAccess & FX_STREAMACCESS_Append) in LoadFileWrite()
805 uint32_t dwAccess) { in LoadBuffer() argument
807 SetAccessModes(dwAccess); in LoadBuffer()
811 m_iLength = (dwAccess & FX_STREAMACCESS_Write) != 0 ? 0 : iTotalSize; in LoadBuffer()
1015 uint32_t dwAccess, in CreateSharedStream() argument
1019 m_pStreamImp->CreateSharedStream(dwAccess, iOffset, iLength); in CreateSharedStream()
1023 if (dwAccess & FX_STREAMACCESS_Text) in CreateSharedStream()
1132 bool CFGAS_Stream::LoadFile(const FX_WCHAR* pszSrcFileName, uint32_t dwAccess) { in LoadFile() argument
1140 if (!pImp->LoadFile(pszSrcFileName, dwAccess)) in LoadFile()
1145 m_dwAccess = dwAccess; in LoadFile()
1152 uint32_t dwAccess) { in LoadFileRead() argument
1160 if (!pImp->LoadFileRead(pFileRead, dwAccess)) in LoadFileRead()
1165 m_dwAccess = dwAccess; in LoadFileRead()
1172 uint32_t dwAccess) { in LoadFileWrite() argument
1180 if (!pImp->LoadFileWrite(pFileWrite, dwAccess)) in LoadFileWrite()
1185 m_dwAccess = dwAccess; in LoadFileWrite()
1192 uint32_t dwAccess) { in LoadBuffer() argument
1200 if (!pImp->LoadBuffer(pData, iTotalSize, dwAccess)) in LoadBuffer()
1205 m_dwAccess = dwAccess; in LoadBuffer()
1213 uint32_t dwAccess) { in LoadBufferRead() argument
1221 if (!pImp->LoadBufferRead(pBufferRead, iFileSize, dwAccess)) in LoadBufferRead()
1226 m_dwAccess = dwAccess; in LoadBufferRead()
1421 CFX_RetainPtr<IFGAS_Stream> CFGAS_Stream::CreateSharedStream(uint32_t dwAccess, in CreateSharedStream() argument
1429 (dwAccess & FX_STREAMACCESS_Text) == 0) { in CreateSharedStream()
1433 (dwAccess & FX_STREAMACCESS_Write) != 0) { in CreateSharedStream()
1448 pShared->m_dwAccess = dwAccess; in CreateSharedStream()
1452 pShared->m_iLength = (dwAccess & FX_STREAMACCESS_Write) != 0 ? 0 : iLength; in CreateSharedStream()
1453 if (dwAccess & FX_STREAMACCESS_Text) in CreateSharedStream()