Lines Matching refs:pIoStreamOps
85 #define RTVFSIOSTREAM_ASSERT_OPS(pIoStreamOps, a_enmType) \
87 RTVFSOBJ_ASSERT_OPS(&(pIoStreamOps)->Obj, a_enmType); \
88 Assert((pIoStreamOps)->uVersion == RTVFSIOSTREAMOPS_VERSION); \
89 Assert(!((pIoStreamOps)->fFeatures & ~RTVFSIOSTREAMOPS_FEAT_VALID_MASK)); \
90 AssertPtr((pIoStreamOps)->pfnRead); \
91 AssertPtr((pIoStreamOps)->pfnWrite); \
92 AssertPtr((pIoStreamOps)->pfnFlush); \
93 AssertPtr((pIoStreamOps)->pfnPollOne); \
94 AssertPtr((pIoStreamOps)->pfnTell); \
95 AssertPtrNull((pIoStreamOps)->pfnSkip); \
96 AssertPtrNull((pIoStreamOps)->pfnZeroFill); \
97 Assert((pIoStreamOps)->uEndMarker == RTVFSIOSTREAMOPS_VERSION); \
1946 RTDECL(int) RTVfsNewIoStream(PCRTVFSIOSTREAMOPS pIoStreamOps, size_t cbInstance, uint32_t fOpen, RTVFS hVfs, RTVFSLOCK hLock,
1952 AssertPtr(pIoStreamOps);
1953 AssertReturn(pIoStreamOps->uVersion == RTVFSIOSTREAMOPS_VERSION, VERR_VERSION_MISMATCH);
1954 AssertReturn(pIoStreamOps->uEndMarker == RTVFSIOSTREAMOPS_VERSION, VERR_VERSION_MISMATCH);
1955 Assert(!(pIoStreamOps->fFeatures & ~RTVFSIOSTREAMOPS_FEAT_VALID_MASK));
1956 RTVFSIOSTREAM_ASSERT_OPS(pIoStreamOps, RTVFSOBJTYPE_IO_STREAM);
1972 int rc = rtVfsObjInitNewObject(&pThis->Base, &pIoStreamOps->Obj, hVfs, hLock,
1982 pThis->pOps = pIoStreamOps;
1990 RTDECL(void *) RTVfsIoStreamToPrivate(RTVFSIOSTREAM hVfsIos, PCRTVFSIOSTREAMOPS pIoStreamOps)
1995 if (pThis->pOps != pIoStreamOps)