| /external/apache-xml/src/main/java/org/apache/xml/utils/ |
| ObjectFactory.java | 92 * @return instance of factory, never null 116 * @return instance of factory, never null 143 Object instance = factoryClass.newInstance(); local 144 debugPrintln("created new instance of factory " + factoryId); 145 return instance; 222 debugPrintln("created new instance of " + providerClass + 450 * Create an instance of a class using the specified ClassLoader 459 Object instance = providerClass.newInstance(); local 460 debugPrintln("created new instance of " + providerClass + 462 return instance; [all...] |
| /external/apache-xml/src/main/java/org/apache/xpath/functions/ |
| ObjectFactory.java | 92 * @return instance of factory, never null 116 * @return instance of factory, never null 143 Object instance = factoryClass.newInstance(); local 144 debugPrintln("created new instance of factory " + factoryId); 145 return instance; 222 debugPrintln("created new instance of " + providerClass + 450 * Create an instance of a class using the specified ClassLoader 459 Object instance = providerClass.newInstance(); local 460 debugPrintln("created new instance of " + providerClass + 462 return instance; [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/api/ |
| vktApiVersionCheck.cpp | 116 instance = createDefaultInstance(m_context.getPlatformInterface(), m_context.getUsedApiVersion(), empty, empty, DE_NULL); 119 getDeviceProcAddr = reinterpret_cast<GetDeviceProcAddrFunc>(getInstanceProcAddr(*instance, "vkGetDeviceProcAddr")); 186 Move<VkInstance> instance; member in class:vkt::api::__anon18865::APIEntryPointsTestInstance 234 return vk::createDevice(vkp, *instance, vki, physicalDevice, &deviceInfo); 254 if ((getInstanceProcAddr(*instance, name) == DE_NULL) == shouldBeNonNull) 255 reportFail(log, "vkGetInstanceProcAddr", "instance", name, shouldBeNonNull, failsQuantity);
|
| /external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
| vktPipelineMultisampleBaseResolve.cpp | 47 const InstanceInterface& instance = m_context.getInstanceInterface(); local 60 validateImageSize(instance, physicalDevice, m_imageType, m_imageMSParams.imageSize); 63 validateImageFeatureFlags(instance, physicalDevice, mapTextureFormat(m_imageFormat), VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT); 86 validateImageInfo(instance, physicalDevice, imageMSInfo); 93 validateImageInfo(instance, physicalDevice, imageRSInfo);
|
| vktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp | 119 const InstanceInterface& instance = m_context.getInstanceInterface(); local 132 validateImageSize(instance, physicalDevice, m_imageType, m_imageMSParams.imageSize); 135 validateImageFeatureFlags(instance, physicalDevice, mapTextureFormat(m_imageFormat), VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT); 158 validateImageInfo(instance, physicalDevice, imageMSInfo); 166 validateImageInfo(instance, physicalDevice, imageRSInfo); 492 const VkPhysicalDeviceLimits deviceLimits = getPhysicalDeviceProperties(instance, physicalDevice).limits; [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
| vktSparseResourcesBufferMemoryAliasing.cpp | 166 const InstanceInterface& instance = m_context.getInstanceInterface(); local 177 if (!getPhysicalDeviceFeatures(instance, physicalDevice).sparseBinding) 180 if (!getPhysicalDeviceFeatures(instance, physicalDevice).sparseResidencyAliased) 225 if (bufferMemRequirements.size > getPhysicalDeviceProperties(instance, physicalDevice).limits.sparseAddressSpaceSize) 230 const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceID), bufferMemRequirements, MemoryRequirement::Any); 238 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType);
|
| vktSparseResourcesBufferSparseResidency.cpp | 150 const InstanceInterface& instance = m_context.getInstanceInterface(); local 160 const VkPhysicalDeviceProperties physicalDeviceProperties = getPhysicalDeviceProperties(instance, physicalDevice); 162 if (!getPhysicalDeviceFeatures(instance, physicalDevice).sparseResidencyBuffer) 216 const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceID), bufferMemRequirements, MemoryRequirement::Any); 224 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType);
|
| vktSparseResourcesImageSparseBinding.cpp | 127 const InstanceInterface& instance = m_context.getInstanceInterface(); local 143 if (!isImageSizeSupported(instance, physicalDevice, m_imageType, m_imageSize)) 147 if (!getPhysicalDeviceFeatures(instance, physicalDevice).sparseBinding) 183 instance.getPhysicalDeviceImageFormatProperties(physicalDevice, 204 if (imageSparseMemRequirements.size > getPhysicalDeviceProperties(instance, getPhysicalDevice(secondDeviceID)).limits.sparseAddressSpaceSize) 212 const deUint32 memoryType = findMatchingMemoryType(instance, getPhysicalDevice(secondDeviceID), imageSparseMemRequirements, MemoryRequirement::Any); 220 const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID), memoryType);
|
| vktSparseResourcesShaderIntrinsicsBase.cpp | 205 const InstanceInterface& instance = m_context.getInstanceInterface(); local 215 if (!isImageSizeSupported(instance, physicalDevice, m_imageType, m_imageSize)) 219 if (!checkSparseSupportForImageType(instance, physicalDevice, m_imageType)) 222 if (!getPhysicalDeviceFeatures(instance, physicalDevice).shaderResourceResidency) 248 instance.getPhysicalDeviceImageFormatProperties(physicalDevice, 260 if (!checkSparseSupportForImageFormat(instance, physicalDevice, imageSparseInfo)) 294 if (imageMemoryRequirements.size > getPhysicalDeviceProperties(instance, physicalDevice).limits.sparseAddressSpaceSize) 316 const deUint32 memoryType = findMatchingMemoryType(instance, physicalDevice, imageMemoryRequirements, MemoryRequirement::Any); 658 else if (getPhysicalDeviceProperties(instance, physicalDevice).sparseProperties.residencyNonResidentStrict)
|
| vktSparseResourcesShaderIntrinsicsStorage.cpp | 350 const InstanceInterface& instance = m_context.getInstanceInterface(); local 355 if (!checkImageFormatFeatureSupport(instance, physicalDevice, imageSparseInfo.format, VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) 359 if (!checkImageFormatFeatureSupport(instance, physicalDevice, mapTextureFormat(m_residencyFormat), VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT))
|
| /external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
| vktSynchronizationBasicSemaphoreTests.cpp | 166 const InstanceInterface& instance = context.getInstanceInterface(); local 193 queueFamilyProperties = getPhysicalDeviceQueueFamilyProperties(instance, physicalDevice); 229 instance.getPhysicalDeviceFeatures(physicalDevice, &deviceFeatures); 241 logicalDevice = vk::createDevice(context.getPlatformInterface(), context.getInstance(), instance, physicalDevice, &deviceInfo);
|
| /external/deqp/framework/platform/win32/ |
| tcuWin32VulkanPlatform.cpp | 70 VulkanDisplay (HINSTANCE instance) 71 : vk::wsi::Win32DisplayInterface (vk::pt::Win32InstanceHandle(instance)) 77 const HINSTANCE instance = (HINSTANCE)m_native.internal; local 81 return new VulkanWindow(MovePtr<win32::Window>(new win32::Window(instance, (int)width, (int)height))); 108 VulkanPlatform::VulkanPlatform (HINSTANCE instance) 109 : m_instance(instance)
|
| /external/desugar/test/java/com/google/devtools/build/android/desugar/ |
| DesugarJava8FunctionalTest.java | 230 final ClassWithDuplicateMethods instance = new ClassWithDuplicateMethods(); local 231 assertThat(instance.getZero()).isEqualTo(0); 232 assertThat(instance.getZeroFromStaticInterfaceMethod()).isEqualTo(1);
|
| /external/google-benchmark/src/ |
| benchmark_register.cc | 92 static BenchmarkFamilies instance; local 93 return &instance; 155 BenchmarkInstance instance; local 156 instance.name = family->name_; 157 instance.benchmark = family.get(); 158 instance.aggregation_report_mode = family->aggregation_report_mode_; 159 instance.arg = args; 160 instance.time_unit = family->time_unit_; 161 instance.range_multiplier = family->range_multiplier_; 162 instance.min_time = family->min_time_ [all...] |
| /external/google-breakpad/src/client/windows/tests/crash_generation_app/ |
| crash_generation_app.cc | 67 HINSTANCE current_instance; // Current instance. 71 ATOM MyRegisterClass(HINSTANCE instance); 92 ATOM MyRegisterClass(HINSTANCE instance) { 99 wcex.hInstance = instance; 100 wcex.hIcon = LoadIcon(instance, 111 // Saves instance handle and creates main window 113 // In this function, we save the instance handle in a global variable and 115 BOOL InitInstance(HINSTANCE instance, int command_show) { 116 current_instance = instance; 126 instance, 366 HINSTANCE instance = (HINSTANCE)GetWindowLongPtr(wnd, GWLP_HINSTANCE); local [all...] |
| /external/google-breakpad/src/client/windows/unittests/ |
| exception_handler_death_test.cc | 269 PureVirtualCall instance; local
|
| /external/grpc-grpc/src/csharp/Grpc.Core/ |
| GrpcEnvironment.cs | 42 static GrpcEnvironment instance; field in class:Grpc.Core.GrpcEnvironment 66 /// Returns a reference-counted instance of initialized gRPC environment. 67 /// Subsequent invocations return the same instance unless reference count has dropped to zero previously. 76 if (instance == null) 78 instance = new GrpcEnvironment(); 80 return instance; 96 instanceToShutdown = instance; 97 instance = null; 209 GrpcPreconditions.CheckState(instance == null, "Can only be set before GrpcEnvironment is initialized"); 226 GrpcPreconditions.CheckState(instance == null, "Can only be set before GrpcEnvironment is initialized") [all...] |
| /external/guava/guava-testlib/src/com/google/common/testing/ |
| AbstractPackageSanityTests.java | 58 * factory method to construct instances can have their instance methods checked. For example: <pre> 144 * <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will be 145 * checked to be equal to the instance before serialization. 147 * superclass, no equality check is done on the deserialized instance because it's not clear 150 * proxy will be passed to the method. It's possible that the method body expects an instance 172 Object instance = tester.instantiate(classToTest); local 173 if (instance != null) { 175 SerializableTester.reserializeAndAssert(instance); 177 SerializableTester.reserialize(instance); 194 * all visible instance methods will be checked too using the instance created by invoking th [all...] |
| ForwardingWrapperTester.java | 151 T instance = generator.newProxy(interfaceType); local 153 .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
|
| /external/guice/core/src/com/google/inject/internal/ |
| Initializer.java | 62 * Map that guarantees that no instance would get two references. New references added before 69 * Registers an instance for member injection when that step is performed. 71 * @param instance an instance that optionally has members to be injected (each annotated 78 T instance, 89 if (instance == null 93 return Initializables.of(instance); 96 if (initializablesCache.containsKey(instance)) { 98 Initializable<T> cached = (Initializable<T>) initializablesCache.get(instance); 105 instance, 160 private final T instance; field in class:Initializer.InjectableReference [all...] |
| ProviderMethod.java | 60 Object instance, 72 key, fc, method, instance, dependencies, scopeAnnotation, annotation); 86 key, method, instance, dependencies, scopeAnnotation, annotation); 89 protected final Object instance; field in class:ProviderMethod 107 Object instance, 116 this.instance = instance; 135 return instance; 140 return instance; 223 && instance.equals(o.instance [all...] |
| /external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/ |
| BoundFieldModule.java | 48 * instance and static fields. 97 private final Object instance; field in class:BoundFieldModule 102 private BoundFieldModule(Object instance) { 103 this.instance = instance; 107 * Create a BoundFieldModule which binds the {@link Bind} annotated fields of {@code instance}. 109 * @param instance the instance whose fields will be bound. 110 * @return a module which will bind the {@link Bind} annotated fields of {@code instance}. 112 public static BoundFieldModule of(Object instance) { [all...] |
| /external/harfbuzz_ng/src/ |
| hb-ot-var-fvar-table.hh | 59 * that provide subfamily names for this instance. */ 62 coordinatesZ; /* The coordinates array for this instance. */ 65 // * instance. */ 241 const InstanceRecord *instance = get_instance (instance_index); local 242 if (unlikely (!instance)) return HB_OT_NAME_ID_INVALID; 243 return instance->subfamilyNameID; 248 const InstanceRecord *instance = get_instance (instance_index); local 249 if (unlikely (!instance)) return HB_OT_NAME_ID_INVALID; 251 return StructAfter<NameID> (instance->get_coordinates (axisCount)); 259 const InstanceRecord *instance = get_instance (instance_index) local [all...] |
| /external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/ |
| JarTypeSolver.java | 38 private static JarTypeSolver instance; field in class:JarTypeSolver 53 if (instance == null) { 54 instance = new JarTypeSolver(pathToJar); 56 instance.addPathToJar(pathToJar); 58 return instance;
|
| /external/libchrome/base/memory/ |
| singleton_unittest.cc | 49 Init5Singleton* instance = new Init5Singleton(); local 50 instance->value_ = 5; 51 return instance; 65 static void Delete(Type* instance) { 66 if (instance->callback_) 67 (instance->callback_)(); 68 DefaultSingletonTraits<Type>::Delete(instance); 115 static void Delete(CallbackSingletonWithStaticTrait* instance) { 116 if (instance->callback_) 117 (instance->callback_)() [all...] |