Home
last modified time | relevance | path

Searched refs:contextType (Results 1 – 25 of 828) sorted by relevance

12345678910>>...34

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/
H A DDirectoryContextTests.cs15 public void Ctor_ContextType(DirectoryContextType contextType) in Ctor_ContextType() argument
17 var context = new DirectoryContext(contextType); in Ctor_ContextType()
18 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType()
28 var context = new DirectoryContext(contextType, userName, password); in Ctor_ContextType_UserName_Password()
29 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType_UserName_Password()
38 … public void Ctor_NotSupportedContextType_ThrowsArgumentException(DirectoryContextType contextType) in Ctor_NotSupportedContextType_ThrowsArgumentException() argument
50 public void Ctor_ContextType_Name(DirectoryContextType contextType, string name) in Ctor_ContextType_Name() argument
52 var context = new DirectoryContext(contextType, name); in Ctor_ContextType_Name()
53 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType_Name()
66 var context = new DirectoryContext(contextType, name, userName, password); in Ctor_ContextType_Name_UserName_Password()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/context/
H A Dctx_attr.c138 switch( contextType ) in getContextAttribute()
187 switch( contextType ) in getContextAttribute()
208 switch( contextType ) in getContextAttribute()
296 contextType == CONTEXT_MAC ); in getContextAttributeS()
298 if( contextType == CONTEXT_CONV ) in getContextAttributeS()
325 contextType == CONTEXT_MAC ); in getContextAttributeS()
587 switch( contextType ) in setContextAttribute()
633 if( contextType == CONTEXT_PKC ) in setContextAttribute()
641 contextType == CONTEXT_MAC ); in setContextAttribute()
738 switch( contextType ) in setContextAttribute()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.DynamicData/System.Web.DynamicData/
H A DMetaModel.cs64 public static MetaModel GetModel (Type contextType) in GetModel() argument
66 if (contextType == null) in GetModel()
70 if (!TryGetModel (contextType, out m)) in GetModel()
168 if (contextType != null && !TryGetModel (contextType, out model)) in GetTable()
171 return GetModel (contextType).GetTable (tableName); in GetTable()
184 public void RegisterContext (Type contextType) in RegisterContext() argument
186 RegisterContext (contextType, null); in RegisterContext()
196 if (contextType == null) in RegisterContext()
200 RegisterModel (contextType, this, configuration); in RegisterContext()
252 if (registered_models.ContainsKey (contextType)) in RegisterModel()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DynamicData/DynamicData/ModelProviders/
H A DSchemaCreator.cs27 public virtual bool ValidDataContextType(Type contextType) { in ValidDataContextType() argument
29 return IsDataContext(contextType) || IsObjectContext(contextType); in ValidDataContextType()
32 internal static bool IsDataContext(Type contextType) { in IsDataContext() argument
33 return IsValidType<DataContext>(contextType); in IsDataContext()
36 internal static bool IsObjectContext(Type contextType) { in IsObjectContext() argument
37 return IsValidType<ObjectContext>(contextType); in IsObjectContext()
40 private static bool IsValidType<T>(Type contextType) where T : class {
41 return contextType != null && typeof(T).IsAssignableFrom(contextType);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/framework/egl/
H A DegluGLUtil.cpp83 const glu::ContextType& contextType, in createGLContext() argument
93 if (glu::isContextTypeES(contextType)) in createGLContext()
97 if (contextType.getMajorVersion() <= 2) in createGLContext()
100 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
108 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
115 …DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); in createGLContext()
123 attribList.push_back(contextType.getMajorVersion()); in createGLContext()
125 attribList.push_back(contextType.getMinorVersion()); in createGLContext()
131 if (contextType.getFlags() != glu::ContextFlags(0)) in createGLContext()
143 if (glu::isContextTypeES(contextType)) in createGLContext()
[all …]
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/qml/compiler/
H A Dqv4compilercontext.cpp56 Context *c = new Context(parent, contextType); in newContext()
191 if (c->contextType == ContextType::Eval) in resolveName()
194 … if (c->contextType == ContextType::Binding || c->contextType == ContextType::ScriptImportedByQML) in resolveName()
214 if (contextType == ContextType::Global) { in emitBlockHeader()
218 … } else if (contextType == ContextType::Block || (contextType == ContextType::Eval && !isStrict)) { in emitBlockHeader()
229 …} else if (contextType != ContextType::ESModule && contextType != ContextType::ScriptImportedByQML… in emitBlockHeader()
263 …if (contextType == ContextType::Global || contextType == ContextType::ScriptImportedByQML || (cont… in emitBlockHeader()
277 …if (contextType == ContextType::Function || contextType == ContextType::Binding || contextType == … in emitBlockHeader()
323 if (contextType == ContextType::Global) in emitBlockFooter()
325 … else if (contextType != ContextType::ESModule && contextType != ContextType::ScriptImportedByQML) in emitBlockFooter()
[all …]
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/qml/compiler/
H A Dqv4compilercontext.cpp56 Context *c = new Context(parent, contextType); in newContext()
191 if (c->contextType == ContextType::Eval) in resolveName()
194 … if (c->contextType == ContextType::Binding || c->contextType == ContextType::ScriptImportedByQML) in resolveName()
214 if (contextType == ContextType::Global) { in emitBlockHeader()
218 … } else if (contextType == ContextType::Block || (contextType == ContextType::Eval && !isStrict)) { in emitBlockHeader()
229 …} else if (contextType != ContextType::ESModule && contextType != ContextType::ScriptImportedByQML… in emitBlockHeader()
263 …if (contextType == ContextType::Global || contextType == ContextType::ScriptImportedByQML || (cont… in emitBlockHeader()
277 …if (contextType == ContextType::Function || contextType == ContextType::Binding || contextType == … in emitBlockHeader()
323 if (contextType == ContextType::Global) in emitBlockFooter()
325 … else if (contextType != ContextType::ESModule && contextType != ContextType::ScriptImportedByQML) in emitBlockFooter()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.DirectoryServices/src/System/DirectoryServices/ActiveDirectory/
H A DDirectoryContext.cs50 _contextType = contextType; in InitializeDirectoryContext()
65 _contextType = contextType; in DirectoryContext()
102 public DirectoryContext(DirectoryContextType contextType) in DirectoryContext() argument
108 … if (contextType != DirectoryContextType.Domain && contextType != DirectoryContextType.Forest) in DirectoryContext()
113 InitializeDirectoryContext(contextType, null, null, null); in DirectoryContext()
118 …if (contextType < DirectoryContextType.Domain || contextType > DirectoryContextType.ApplicationPar… in DirectoryContext()
133 InitializeDirectoryContext(contextType, name, null, null); in DirectoryContext()
142 … if (contextType != DirectoryContextType.Domain && contextType != DirectoryContextType.Forest) in DirectoryContext()
152 …if (contextType < DirectoryContextType.Domain || contextType > DirectoryContextType.ApplicationPar… in DirectoryContext()
194 …if ((contextType == DirectoryContextType.Domain) || ((contextType == DirectoryContextType.Forest) … in IsContextValid()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/graphics/win/
H A DQTMovieVisualContext.cpp43 …QTMovieVisualContext* parent, QTMovieVisualContextClient* client, QTPixelBuffer::Type contextType);
65 static CFDictionaryRef createPixelBufferOptionsDictionary(QTPixelBuffer::Type contextType) in createPixelBufferOptionsDictionary() argument
68 const void* value = QTPixelBuffer::createPixelBufferAttributesDictionary(contextType); in createPixelBufferOptionsDictionary()
74 static CFDictionaryRef pixelBufferCreationOptions(QTPixelBuffer::Type contextType) in pixelBufferCreationOptions() argument
76 if (contextType == QTPixelBuffer::ConfigureForCAImageQueue) { in pixelBufferCreationOptions()
77 static CFDictionaryRef imageQueueOptions = createPixelBufferOptionsDictionary(contextType); in pixelBufferCreationOptions()
81 ASSERT(contextType == QTPixelBuffer::ConfigureForCGImage); in pixelBufferCreationOptions()
82 static CFDictionaryRef cgImageOptions = createPixelBufferOptionsDictionary(contextType); in pixelBufferCreationOptions()
179 return adoptRef(new QTMovieVisualContext(client, contextType)); in create()
182 …Context::QTMovieVisualContext(QTMovieVisualContextClient* client, QTPixelBuffer::Type contextType) in QTMovieVisualContext() argument
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.DynamicData/DynamicData/
H A DMetaModel.cs119 if (contextType == null) { in GetModel()
130 contextType.FullName)); in GetModel()
138 public void RegisterContext(Type contextType) { in RegisterContext() argument
148 if (contextType == null) { in RegisterContext()
492 if (contextType == null) { in GetTable()
501 contextType.FullName)); in GetTable()
506 contextType.FullName, in GetTable()
582 Debug.Assert(contextType != null); in ContextTypeTableNamePair()
585 ContextType = contextType; in ContextTypeTableNamePair()
616 Debug.Assert(contextType != null); in AddModel()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.DirectoryServices.AccountManagement/tests/
H A DPrincipalContextTests.cs32 public void Ctor_ContextType_Name(ContextType contextType, string name) in Ctor_ContextType_Name() argument
34 var context = new PrincipalContext(contextType, name); in Ctor_ContextType_Name()
35 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType_Name()
58 public void Ctor_ContextType_Name(ContextType contextType, string name, string container) in Ctor_ContextType_Name() argument
60 var context = new PrincipalContext(contextType, name, container); in Ctor_ContextType_Name()
61 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType_Name()
86 var context = new PrincipalContext(contextType, name, container, options); in Ctor_ContextType_Name_Container_Options()
87 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType_Name_Container_Options()
113 var context = new PrincipalContext(contextType, name, userName, password); in Ctor_ContextType_Name_UserName_Password()
114 Assert.Equal(contextType, context.ContextType); in Ctor_ContextType_Name_UserName_Password()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/
H A DContext.cs26 public ContextType contextType; field
84 _contextType = contextType; in CredentialValidator()
351 … this(contextType, null, null, PrincipalContext.GetDefaultOptionForStore(contextType), null, null) in PrincipalContext()
355 … this(contextType, name, null, PrincipalContext.GetDefaultOptionForStore(contextType), null, null) in PrincipalContext()
359 …this(contextType, name, container, PrincipalContext.GetDefaultOptionForStore(contextType), null, n… in PrincipalContext()
367 …this(contextType, name, null, PrincipalContext.GetDefaultOptionForStore(contextType), userName, pa… in PrincipalContext()
371 …this(contextType, name, container, PrincipalContext.GetDefaultOptionForStore(contextType), userNam… in PrincipalContext()
391 … if ((contextType == ContextType.Domain || contextType == ContextType.ApplicationDirectory) && in PrincipalContext()
399 (contextType != ContextType.Domain) && in PrincipalContext()
402 && (contextType != ContextType.Test) in PrincipalContext()
[all …]
/dports/devel/stylua/StyLua-0.11.0/tests/inputs/
H A Dassignment-comments.lua3 contextType == nil or
4 (contextType["$$typeof"] == REACT_CONTEXT_TYPE and
5 contextType._context == nil) -- Not a <Context.Consumer>
12 contextType == nil or
13 (contextType["$$typeof"] == REACT_CONTEXT_TYPE and
14 contextType._context == nil) -- Not a <Context.Consumer>
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/Microsoft.Web.Http.Data.EntityFramework/Metadata/
H A DMetadataWorkspaceUtilities.cs26 public static MetadataWorkspace CreateMetadataWorkspace(Type contextType, bool isDbContext) in CreateMetadataWorkspace() argument
32 …pace = MetadataWorkspaceUtilities.CreateMetadataWorkspaceFromResources(contextType, typeof(ObjectC… in CreateMetadataWorkspace()
37 …f (metadataWorkspace == null && typeof(System.Data.Entity.DbContext).IsAssignableFrom(contextType)) in CreateMetadataWorkspace()
39 if (contextType.GetConstructor(Type.EmptyTypes) == null) in CreateMetadataWorkspace()
41 … throw Error.InvalidOperation(Resource.DefaultCtorNotFound, contextType.FullName); in CreateMetadataWorkspace()
46 …System.Data.Entity.DbContext dbContext = Activator.CreateInstance(contextType) as System.Data.Enti… in CreateMetadataWorkspace()
52 …hrow Error.InvalidOperation(efException, Resource.MetadataWorkspaceNotFound, contextType.FullName); in CreateMetadataWorkspace()
58 …Error.InvalidOperation(Resource.LinqToEntitiesProvider_UnableToRetrieveMetadata, contextType.Name); in CreateMetadataWorkspace()
72 …public static MetadataWorkspace CreateMetadataWorkspaceFromResources(Type contextType, Type baseCo… in CreateMetadataWorkspaceFromResources() argument
76 IEnumerable<string> metadataResourcePaths = FindMetadataResources(contextType.Assembly); in CreateMetadataWorkspaceFromResources()
[all …]
/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/tests/dotnetexample/example/Identity/src/EF/
H A DIdentityEntityFrameworkBuilderExtensions.cs31 … static void AddStores(IServiceCollection services, Type userType, Type roleType, Type contextType) in AddStores() argument
51 … var identityContext = FindGenericBaseType(contextType, typeof(IdentityDbContext<,,,,,,,>)); in AddStores()
55 … userStoreType = typeof(UserStore<,,,>).MakeGenericType(userType, roleType, contextType, keyType); in AddStores()
56 … roleStoreType = typeof(RoleStore<,,>).MakeGenericType(roleType, contextType, keyType); in AddStores()
60 … userStoreType = typeof(UserStore<,,,,,,,,>).MakeGenericType(userType, roleType, contextType, in AddStores()
67 roleStoreType = typeof(RoleStore<,,,,>).MakeGenericType(roleType, contextType, in AddStores()
78 … var identityContext = FindGenericBaseType(contextType, typeof(IdentityUserContext<,,,,>)); in AddStores()
82 … userStoreType = typeof(UserOnlyStore<,,>).MakeGenericType(userType, contextType, keyType); in AddStores()
86 … userStoreType = typeof(UserOnlyStore<,,,,,>).MakeGenericType(userType, contextType, in AddStores()
/dports/devel/stylua/StyLua-0.11.0/tests/snapshots/
H A Dtests__standard@assignment-comments.lua.snap8contextType == nil or (contextType["$$typeof"] == REACT_CONTEXT_TYPE and contextType._context == n…
15contextType == nil or (contextType["$$typeof"] == REACT_CONTEXT_TYPE and contextType._context == n…
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/dm/
H A DDMGpuTestProcs.cpp45 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local
48 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts()
49 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts()
50 if (contextType != kNativeGLType) { in RunWithGPUTestContexts()
59 ContextInfo ctxInfo = factory.getContextInfo(contextType); in RunWithGPUTestContexts()
60 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts()
64 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/dm/
H A DDMGpuTestProcs.cpp53 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts() local
56 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts()
57 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts()
58 if (contextType != kNativeGLType) { in RunWithGPUTestContexts()
67 ContextInfo ctxInfo = factory.getContextInfo(contextType); in RunWithGPUTestContexts()
68 if (contextTypeFilter && !(*contextTypeFilter)(contextType)) { in RunWithGPUTestContexts()
72 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/AdExchangeBuyer/
H A DCreativeCorrectionsContexts.php22 public $contextType; variable in Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts
34 public function setContextType($contextType) argument
36 $this->contextType = $contextType;
40 return $this->contextType;
H A DCreativeServingRestrictionsContexts.php22 public $contextType; variable in Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts
34 public function setContextType($contextType) argument
36 $this->contextType = $contextType;
40 return $this->contextType;
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/AdExchangeBuyer/
H A DCreativeCorrectionsContexts.php22 public $contextType; variable in Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts
34 public function setContextType($contextType) argument
36 $this->contextType = $contextType;
40 return $this->contextType;
H A DCreativeServingRestrictionsContexts.php22 public $contextType; variable in Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts
34 public function setContextType($contextType) argument
36 $this->contextType = $contextType;
40 return $this->contextType;
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.DynamicData/Test/Common/
H A DUtils.cs73 public static void RegisterContext (Type contextType) in RegisterContext() argument
75 RegisterContext (contextType, null); in RegisterContext()
83 public static void RegisterContext (Type contextType, ContextConfiguration config) in RegisterContext() argument
85 RegisterContext (contextType, config, true); in RegisterContext()
118 …public static void RegisterContext (Type contextType, ContextConfiguration config, bool defaultMod… in RegisterContext() argument
130 registered = MetaModel.GetModel (contextType); in RegisterContext()
138 m.RegisterContext (contextType, config); in RegisterContext()
140 m.RegisterContext (contextType); in RegisterContext()
/dports/www/firefox-esr/firefox-91.8.0/dom/canvas/
H A DCanvasRenderingContextHelper.cpp166 CanvasContextType contextType; in GetContext() local
167 if (!CanvasUtils::GetCanvasContextType(aContextId, &contextType)) in GetContext()
173 context = CreateContext(contextType); in GetContext()
188 mCurrentContextType = contextType; in GetContext()
195 if (contextType == CanvasContextType::WebGL1) in GetContext()
197 else if (contextType == CanvasContextType::WebGL2) in GetContext()
199 else if (contextType == CanvasContextType::WebGPU) { in GetContext()
204 if (contextType == CanvasContextType::WebGL1) in GetContext()
206 else if (contextType == CanvasContextType::WebGL2) in GetContext()
208 else if (contextType == CanvasContextType::WebGPU) { in GetContext()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/canvas/
H A DCanvasRenderingContextHelper.cpp168 CanvasContextType contextType; in GetContext() local
169 if (!CanvasUtils::GetCanvasContextType(aContextId, &contextType)) in GetContext()
175 context = CreateContext(contextType); in GetContext()
190 mCurrentContextType = contextType; in GetContext()
197 if (contextType == CanvasContextType::WebGL1) in GetContext()
199 else if (contextType == CanvasContextType::WebGL2) in GetContext()
201 else if (contextType == CanvasContextType::WebGPU) { in GetContext()
206 if (contextType == CanvasContextType::WebGL1) in GetContext()
208 else if (contextType == CanvasContextType::WebGL2) in GetContext()
210 else if (contextType == CanvasContextType::WebGPU) { in GetContext()
[all …]

12345678910>>...34