Home
last modified time | relevance | path

Searched refs:fakeContext (Results 1 – 2 of 2) sorted by relevance

/external/syzkaller/vendor/golang.org/x/net/http2/
Dnot_go17.go21 type fakeContext struct{} struct
23 func (fakeContext) Done() <-chan struct{} { return nil } argument
24 func (fakeContext) Err() error { panic("should not be called") } argument
26 func reqContext(r *http.Request) fakeContext {
27 return fakeContext{}
/external/pdfium/third_party/lcms/src/
Dcmsplugin.c755 struct _cmsContext_struct fakeContext; in cmsCreateContext() local
757 _cmsInstallAllocFunctions(_cmsFindMemoryPlugin(Plugin), &fakeContext.DefaultMemoryManager); in cmsCreateContext()
759 fakeContext.chunks[UserPtr] = UserData; in cmsCreateContext()
760 fakeContext.chunks[MemPlugin] = &fakeContext.DefaultMemoryManager; in cmsCreateContext()
763 ctx = (struct _cmsContext_struct*) _cmsMalloc(&fakeContext, sizeof(struct _cmsContext_struct)); in cmsCreateContext()
771 …memcpy(&ctx->DefaultMemoryManager, &fakeContext.DefaultMemoryManager, sizeof(_cmsMemPluginChunk)); in cmsCreateContext()
906 struct _cmsContext_struct fakeContext; in cmsDeleteContext() local
909 …memcpy(&fakeContext.DefaultMemoryManager, &ctx->DefaultMemoryManager, sizeof(ctx->DefaultMemoryMan… in cmsDeleteContext()
911 fakeContext.chunks[UserPtr] = ctx ->chunks[UserPtr]; in cmsDeleteContext()
912 fakeContext.chunks[MemPlugin] = &fakeContext.DefaultMemoryManager; in cmsDeleteContext()
[all …]