Home
last modified time | relevance | path

Searched refs:extensionMap (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/objectivec/
DGPBExtensionRegistry.m70 CFMutableDictionaryRef extensionMap = (CFMutableDictionaryRef)
72 if (extensionMap == nil) {
75 extensionMap = CFDictionaryCreateMutable(kCFAllocatorDefault, 0, NULL,
77 [mutableClassMap_ setObject:(id)extensionMap
79 CFRelease(extensionMap);
83 CFDictionarySetValue(extensionMap, (const void *)key, extension);
89 CFMutableDictionaryRef extensionMap = (CFMutableDictionaryRef)
93 (extensionMap
94 ? CFDictionaryGetValue(extensionMap, (const void *)key)
100 CFMutableDictionaryRef extensionMap = (CFMutableDictionaryRef)context;
[all …]
DGPBMessage.m112 static NSMutableDictionary *CloneExtensionMap(NSDictionary *extensionMap,
157 static NSMutableDictionary *CloneExtensionMap(NSDictionary *extensionMap,
159 if (extensionMap.count == 0) {
163 initWithCapacity:extensionMap.count];
165 for (GPBExtensionDescriptor *extension in extensionMap) {
166 id value = [extensionMap objectForKey:extension];
/external/mesa3d/src/glx/
Ddriwindows_glx.c410 } extensionMap[] = { in driwindowsBindExtensions() local
431 for (i = 0; i < ARRAY_SIZE(extensionMap); i++) { in driwindowsBindExtensions()
432 if (strstr(wgl_extensions, extensionMap[i].wglext)) { in driwindowsBindExtensions()
433 __glXEnableDirectExtension(&psc->base, extensionMap[i].glxext); in driwindowsBindExtensions()
434 InfoMessageF("enabled %s\n", extensionMap[i].glxext); in driwindowsBindExtensions()
436 else if (extensionMap[i].mandatory) { in driwindowsBindExtensions()
437 ErrorMessageF("required WGL extension %s is missing\n", extensionMap[i].wglext); in driwindowsBindExtensions()
/external/golang-protobuf/proto/
Dextensions.go137 extensionMap map[int32]Extension
146 extensionMap map[int32]Extension
148 e.p.extensionMap = make(map[int32]Extension)
150 return e.p.extensionMap
159 return e.p.extensionMap, &e.p.mu