Home
last modified time | relevance | path

Searched full:properties (Results 1 – 25 of 9268) sorted by relevance

12345678910>>...371

/external/swiftshader/src/Vulkan/
DVkPhysicalDevice.cpp540 VkPhysicalDeviceProperties properties = { in getProperties() local
553 snprintf(properties.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, in getProperties()
556 return properties; in getProperties()
559 static const VkPhysicalDeviceProperties properties = getProperties(); in getProperties() local
560 return properties; in getProperties()
564 static void getIdProperties(T *properties) in getIdProperties() argument
566 memset(properties->deviceUUID, 0, VK_UUID_SIZE); in getIdProperties()
567 memset(properties->driverUUID, 0, VK_UUID_SIZE); in getIdProperties()
568 memset(properties->deviceLUID, 0, VK_LUID_SIZE); in getIdProperties()
570 memcpy(properties->deviceUUID, SWIFTSHADER_UUID, VK_UUID_SIZE); in getIdProperties()
[all …]
DVkPhysicalDevice.hpp42 void getProperties(VkPhysicalDeviceIDProperties *properties) const;
43 void getProperties(VkPhysicalDeviceMaintenance3Properties *properties) const;
44 void getProperties(VkPhysicalDeviceMultiviewProperties *properties) const;
45 void getProperties(VkPhysicalDevicePointClippingProperties *properties) const;
46 void getProperties(VkPhysicalDeviceProtectedMemoryProperties *properties) const;
47 void getProperties(VkPhysicalDeviceSubgroupProperties *properties) const;
48 …VkExternalMemoryHandleTypeFlagBits *handleType, VkExternalImageFormatProperties *properties) const;
49 …onst VkExternalMemoryHandleTypeFlagBits *handleType, VkExternalBufferProperties *properties) const;
50 void getProperties(VkSamplerYcbcrConversionImageFormatProperties *properties) const;
52 void getProperties(VkPhysicalDevicePresentationPropertiesANDROID *properties) const;
[all …]
/external/antlr/runtime/Python/tests/
Dt025lexerRulePropertyRef.py20 assert len(lexer.properties) == 3, lexer.properties
22 text, type, line, pos, index, channel, start, stop = lexer.properties[0]
23 assert text == 'foobar', lexer.properties[0]
24 assert type == self.lexerModule.IDENTIFIER, lexer.properties[0]
25 assert line == 1, lexer.properties[0]
26 assert pos == 0, lexer.properties[0]
27 assert index == -1, lexer.properties[0]
28 assert channel == antlr3.DEFAULT_CHANNEL, lexer.properties[0]
29 assert start == 0, lexer.properties[0]
30 assert stop == 5, lexer.properties[0]
[all …]
/external/antlr/runtime/Python3/tests/
Dt025lexerRulePropertyRef.py20 self.assertEqual(len(lexer.properties), 3, lexer.properties)
22 text, type, line, pos, index, channel, start, stop = lexer.properties[0]
23 self.assertEqual(text, 'foobar', lexer.properties[0])
24 self.assertEqual(type, self.lexerModule.IDENTIFIER, lexer.properties[0])
25 self.assertEqual(line, 1, lexer.properties[0])
26 self.assertEqual(pos, 0, lexer.properties[0])
27 self.assertEqual(index, -1, lexer.properties[0])
28 self.assertEqual(channel, antlr3.DEFAULT_CHANNEL, lexer.properties[0])
29 self.assertEqual(start, 0, lexer.properties[0])
30 self.assertEqual(stop, 5, lexer.properties[0])
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dutils_test.cc33 DeviceProperties properties; in TEST() local
36 properties = GetLocalGPUInfo(PlatformGpuId(100)); in TEST()
37 EXPECT_EQ("UNKNOWN", properties.type()); in TEST()
40 properties = GetLocalGPUInfo(PlatformGpuId(0)); in TEST()
41 EXPECT_EQ("GPU", properties.type()); in TEST()
42 EXPECT_EQ("NVIDIA", properties.vendor()); in TEST()
45 DeviceProperties properties; in TEST() local
48 properties = GetLocalGPUInfo(PlatformGpuId(100)); in TEST()
49 EXPECT_EQ("UNKNOWN", properties.type()); in TEST()
52 properties = GetLocalGPUInfo(PlatformGpuId(0)); in TEST()
[all …]
Dutils.cc82 cudaDeviceProp properties; in GetLocalGPUInfo() local
84 cudaGetDeviceProperties(&properties, platform_gpu_id.value()); in GetLocalGPUInfo()
87 LOG(ERROR) << "Failed to get device properties, error code: " << error; in GetLocalGPUInfo()
92 device.set_model(properties.name); in GetLocalGPUInfo()
93 device.set_frequency(properties.clockRate * 1e-3); in GetLocalGPUInfo()
94 device.set_num_cores(properties.multiProcessorCount); in GetLocalGPUInfo()
95 device.set_num_registers(properties.regsPerMultiprocessor); in GetLocalGPUInfo()
101 device.set_l1_cache_size((properties.major < 5) ? 16 * 1024 : 24 * 1024); in GetLocalGPUInfo()
102 device.set_l2_cache_size(properties.l2CacheSize); in GetLocalGPUInfo()
105 properties.sharedMemPerMultiprocessor); in GetLocalGPUInfo()
[all …]
/external/rust/crates/criterion-plot/src/
Daxis.rs12 /// Properties of the coordinate axes
14 pub struct Properties { struct
15 grids: map::grid::Map<grid::Properties>, argument
24 impl Default for Properties { argument
25 fn default() -> Properties { in default()
26 Properties { in default()
38 impl Properties { implementation
42 pub fn hide(&mut self) -> &mut Properties { in hide() argument
50 pub fn show(&mut self) -> &mut Properties { in show() argument
56 impl Configure<Grid> for Properties { implementation
[all …]
/external/clang/test/Index/
Dproperties-class-extensions.m1 // Test that @properties within class extensions are visited by
46 // CHECK: properties-class-extensions.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 4:23]
47 // CHECK-NOT: properties-class-extensions.m:9:15: ObjCInstanceMethodDecl=setB::9:15 Extent=[9:15 - …
48 // CHECK-NOT: properties-class-extensions.m:9:15: ParmDecl=b:9:15 (Definition) Extent=[9:15 - 9:16]
49 // CHECK: properties-class-extensions.m:5:12: ObjCCategoryDecl=Cat:5:12 Extent=[5:1 - 7:5]
50 // CHECK: properties-class-extensions.m:5:12: ObjCClassRef=Foo:4:12 Extent=[5:12 - 5:15]
51 // CHECK: properties-class-extensions.m:6:15: ObjCPropertyDecl=a:6:15 Extent=[6:1 - 6:16]
52 // CHECK: properties-class-extensions.m:6:15: ObjCInstanceMethodDecl=a:6:15 Extent=[6:15 - 6:16]
53 // CHECK: properties-class-extensions.m:6:15: ObjCInstanceMethodDecl=setA::6:15 Extent=[6:15 - 6:16]
54 // CHECK: properties-class-extensions.m:6:15: ParmDecl=a:6:15 (Definition) Extent=[6:15 - 6:16]
[all …]
/external/llvm-project/clang/test/Index/
Dproperties-class-extensions.m1 // Test that @properties within class extensions are visited by
46 // CHECK: properties-class-extensions.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 4:23]
47 // CHECK-NOT: properties-class-extensions.m:9:15: ObjCInstanceMethodDecl=setB::9:15 Extent=[9:15 - …
48 // CHECK-NOT: properties-class-extensions.m:9:15: ParmDecl=b:9:15 (Definition) Extent=[9:15 - 9:16]
49 // CHECK: properties-class-extensions.m:5:12: ObjCCategoryDecl=Cat:5:12 Extent=[5:1 - 7:5]
50 // CHECK: properties-class-extensions.m:5:12: ObjCClassRef=Foo:4:12 Extent=[5:12 - 5:15]
51 // CHECK: properties-class-extensions.m:6:15: ObjCPropertyDecl=a:6:15 Extent=[6:1 - 6:16]
52 // CHECK: properties-class-extensions.m:6:15: ObjCInstanceMethodDecl=a:6:15 Extent=[6:15 - 6:16]
53 // CHECK: properties-class-extensions.m:6:15: ObjCInstanceMethodDecl=setA::6:15 Extent=[6:15 - 6:16]
54 // CHECK: properties-class-extensions.m:6:15: ParmDecl=a:6:15 (Definition) Extent=[6:15 - 6:16]
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp98 vector<VkPhysicalDeviceGroupProperties> properties; in enumeratePhysicalDeviceGroups() local
104 properties.resize(numDeviceGroups); in enumeratePhysicalDeviceGroups()
107 properties[i].sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES; in enumeratePhysicalDeviceGroups()
108 properties[i].pNext = DE_NULL; in enumeratePhysicalDeviceGroups()
110 VK_CHECK(vk.enumeratePhysicalDeviceGroups(instance, &numDeviceGroups, &properties[0])); in enumeratePhysicalDeviceGroups()
112 if ((size_t)numDeviceGroups != properties.size()) in enumeratePhysicalDeviceGroups()
115 return properties; in enumeratePhysicalDeviceGroups()
121 vector<VkQueueFamilyProperties> properties; in getPhysicalDeviceQueueFamilyProperties() local
127 properties.resize(numQueues); in getPhysicalDeviceQueueFamilyProperties()
128 vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, &numQueues, &properties[0]); in getPhysicalDeviceQueueFamilyProperties()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DDefaultManifestFactoryTest.java5 import java.util.Properties;
20 Properties properties = new Properties(); in identify() local
21 properties.put("android_merged_manifest", "/gradle/AndroidManifest.xml"); in identify()
22 properties.put("android_merged_resources", "/gradle/res"); in identify()
23 properties.put("android_merged_assets", "/gradle/assets"); in identify()
24 DefaultManifestFactory factory = new DefaultManifestFactory(properties); in identify()
44 Properties properties = new Properties(); in identify_withResourceApk() local
45 properties.put("android_merged_manifest", "/gradle/AndroidManifest.xml"); in identify_withResourceApk()
46 properties.put("android_merged_resources", "/gradle/res"); in identify_withResourceApk()
47 properties.put("android_merged_assets", "/gradle/assets"); in identify_withResourceApk()
[all …]
/external/angle/src/gpu_info_util/
DSystemInfo_vulkan.cpp152 VkPhysicalDeviceProperties properties; in GetSystemInfoVulkan() local
153 pfnGetPhysicalDeviceProperties(physicalDevices[i], &properties); in GetSystemInfoVulkan()
156 gpu.vendorId = properties.vendorID; in GetSystemInfoVulkan()
157 gpu.deviceId = properties.deviceID; in GetSystemInfoVulkan()
158 // Need to parse/re-format properties.driverVersion. in GetSystemInfoVulkan()
162 switch (properties.vendorID) in GetSystemInfoVulkan()
166 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
167 gpu.detailedDriverVersion.major = properties.driverVersion; in GetSystemInfoVulkan()
171 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkan()
172 gpu.detailedDriverVersion.major = properties.driverVersion; in GetSystemInfoVulkan()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringParser.java49 DecimalFormatProperties properties = new DecimalFormatProperties(); in parseToProperties() local
50 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding); in parseToProperties()
51 return properties; in parseToProperties()
59 … * Parses a pattern string into an existing property bag. All properties that can be encoded into a
61 * the pattern string. Properties that cannot be encoded into a pattern string, such as rounding
66 * @param properties
75 DecimalFormatProperties properties, in parseToExistingProperties() argument
77 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding); in parseToExistingProperties()
80 … public static void parseToExistingProperties(String pattern, DecimalFormatProperties properties) { in parseToExistingProperties() argument
81 parseToExistingProperties(pattern, properties, PatternStringParser.IGNORE_ROUNDING_NEVER); in parseToExistingProperties()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPatternStringParser.java51 DecimalFormatProperties properties = new DecimalFormatProperties(); in parseToProperties() local
52 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding); in parseToProperties()
53 return properties; in parseToProperties()
61 … * Parses a pattern string into an existing property bag. All properties that can be encoded into a
63 * the pattern string. Properties that cannot be encoded into a pattern string, such as rounding
68 * @param properties
77 DecimalFormatProperties properties, in parseToExistingProperties() argument
79 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding); in parseToExistingProperties()
82 … public static void parseToExistingProperties(String pattern, DecimalFormatProperties properties) { in parseToExistingProperties() argument
83 parseToExistingProperties(pattern, properties, PatternStringParser.IGNORE_ROUNDING_NEVER); in parseToExistingProperties()
[all …]
/external/autotest/server/cros/bluetooth/
Dbluetooth_gatt_client_utils.py129 PROPERTIES = ['UUID', 'Primary', 'Device', 'Includes'] variable in GATT_Service
145 self.properties = dict()
159 """Read all properties in this service"""
160 for prop_name in self.PROPERTIES:
161 self.properties[prop_name] = self.read_property(prop_name)
162 return self.properties
208 for prop_name in GATT_Service.PROPERTIES:
209 if serv_a.properties[prop_name] != serv_b.properties[prop_name]:
212 serv_a.properties[prop_name],
213 serv_b.properties[prop_name]))
[all …]
/external/openscreen/cast/streaming/
Dreceiver_session.cc143 auto properties = std::make_unique<SessionProperties>(); in OnOffer() local
144 properties->sequence_number = message.sequence_number; in OnOffer()
148 properties->selected_audio = in OnOffer()
153 properties->selected_video = in OnOffer()
157 if (!properties->IsValid()) { in OnOffer()
172 InitializeSession(*properties); in OnOffer()
175 // Else we need to store the properties we just created until we get a in OnOffer()
178 pending_session_ = std::move(properties); in OnOffer()
183 void ReceiverSession::InitializeSession(const SessionProperties& properties) { in InitializeSession() argument
184 Answer answer = ConstructAnswer(properties); in InitializeSession()
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp98 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat()
129 if (value == fields->properties.parseAllInput) { return; } in setParseAllInput()
130 fields->properties.parseAllInput = value; in setParseAllInput()
375 if (UBOOL_TO_BOOL(enabled) == fields->properties.groupingUsed) { return; } in setGroupingUsed()
377 fields->properties.groupingUsed = enabled; in setGroupingUsed()
385 if (UBOOL_TO_BOOL(value) == fields->properties.parseIntegerOnly) { return; } in setParseIntegerOnly()
387 fields->properties.parseIntegerOnly = value; in setParseIntegerOnly()
396 …if (!fields->properties.parseMode.isNull() && mode == fields->properties.parseMode.getNoError()) {… in setLenient()
398 fields->properties.parseMode = mode; in setLenient()
437 fields = new DecimalFormatFields(source.fields->properties); in DecimalFormat()
[all …]
Dnumber_mapper.cpp22 UnlocalizedNumberFormatter NumberPropertyMapper::create(const DecimalFormatProperties& properties, in create() argument
26 … return NumberFormatter::with().macros(oldToNew(properties, symbols, warehouse, nullptr, status)); in create()
29 UnlocalizedNumberFormatter NumberPropertyMapper::create(const DecimalFormatProperties& properties, in create() argument
36 properties, symbols, warehouse, &exportedProperties, status)); in create()
39 MacroProps NumberPropertyMapper::oldToNew(const DecimalFormatProperties& properties, in oldToNew() argument
57 if (!properties.currencyPluralInfo.fPtr.isNull()) { in oldToNew()
58 macros.rules = properties.currencyPluralInfo.fPtr->getPluralRules(); in oldToNew()
65 warehouse.affixProvider.setTo(properties, status); in oldToNew()
73 !properties.currency.isNull() || in oldToNew()
74 !properties.currencyPluralInfo.fPtr.isNull() || in oldToNew()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.h76 Status MaterializeShapes(const GraphProperties& properties);
79 const GraphProperties& properties);
81 const GraphProperties& properties);
83 const GraphProperties& properties);
85 const GraphProperties& properties);
86 Status MaterializeConstants(const GraphProperties& properties);
88 bool IsFoldable(const NodeDef& node, const GraphProperties* properties);
90 const GraphProperties* properties) const;
92 const GraphProperties* properties) const;
108 const GraphProperties& properties,
[all …]
/external/arm-trusted-firmware/docs/components/fconf/
Dindex.rst21 Accessing properties
24 Properties defined in the |FCONF| are grouped around namespaces and
31 - GICv3 properties: hw_config.gicv3_config.gicr_base
33 Properties can be accessed with the ``FCONF_GET_PROPERTY(a,b,property)`` macro.
35 Defining properties
38 Properties composing the |FCONF| have to be stored in C structures. If
39 properties originate from a different backend source such as a device tree,
49 configuration properties which is usually a device tree file.
52 - FW_CONFIG: properties related to base address, maximum size and image id
54 - TB_FW: properties related to trusted firmware such as IO policies,
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberPropertyMapper.java38 /** Convenience method to create a NumberFormatter directly from Properties. */
40 DecimalFormatProperties properties, in create() argument
42 MacroProps macros = oldToNew(properties, symbols, null); in create()
46 /** Convenience method to create a NumberFormatter directly from Properties. */
48 DecimalFormatProperties properties, in create() argument
51 MacroProps macros = oldToNew(properties, symbols, exportedProperties); in create()
62 DecimalFormatProperties properties = PatternStringParser.parseToProperties(pattern); in create() local
63 return create(properties, symbols); in create()
68 * object. In other words, maps Properties to MacroProps. This function is used by the
71 * @param properties
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberPropertyMapper.java37 /** Convenience method to create a NumberFormatter directly from Properties. */
39 DecimalFormatProperties properties, in create() argument
41 MacroProps macros = oldToNew(properties, symbols, null); in create()
45 /** Convenience method to create a NumberFormatter directly from Properties. */
47 DecimalFormatProperties properties, in create() argument
50 MacroProps macros = oldToNew(properties, symbols, exportedProperties); in create()
61 DecimalFormatProperties properties = PatternStringParser.parseToProperties(pattern); in create() local
62 return create(properties, symbols); in create()
67 * object. In other words, maps Properties to MacroProps. This function is used by the
70 * @param properties
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties_test.cc123 // graph properties values. in ExpectTensorValues()
159 GraphProperties properties(item); in TEST_F() local
160 Status s = properties.InferStatically(true); in TEST_F()
166 EXPECT_EQ(1, properties.GetInputProperties(node.name()).size()); in TEST_F()
168 const auto props = properties.GetOutputProperties(node.name()); in TEST_F()
177 const auto in_props = properties.GetInputProperties(node.name()); in TEST_F()
185 const auto out_props = properties.GetOutputProperties(node.name()); in TEST_F()
200 GraphProperties properties(item); in TEST_F() local
201 Status s = properties.InferStatically(true); in TEST_F()
206 EXPECT_EQ(1, properties.GetInputProperties(node.name()).size()); in TEST_F()
[all …]
/external/python/google-api-python-client/docs/dyn/
Ddrive_v2.properties.html75 <h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.properties.html">properties</a></h1>
88 <p class="firstline">Lists a file's properties.</p>
120 # The following limits apply to file properties:
121 # - Maximum of 100 properties total per file
122 # - Maximum of 30 private properties per app
123 # - Maximum of 30 public properties
144 # The following limits apply to file properties:
145 # - Maximum of 100 properties total per file
146 # - Maximum of 30 private properties per app
147 # - Maximum of 30 public properties
[all …]
/external/emma/core/java12/com/vladium/util/
DProperty.java20 import java.util.Properties;
56 public static Properties combine (final Properties overrides, final Properties base) in combine()
74 final Properties result = new XProperties (base); in combine()
91 * Creates a set of properties for an application with a given namespace.
97 * @return application properties [never null, a new instance is created
100 public static Properties getAppProperties (final String namespace, final ClassLoader loader) in getAppProperties()
103 throw new IllegalArgumentException ("null properties: appNameLC"); in getAppProperties()
105 … final Properties appDefaults = Property.getProperties (namespace + "_default.properties", loader); in getAppProperties()
106 final Properties systemFileOverrides; in getAppProperties()
108 final String fileName = Property.getSystemProperty (namespace + ".properties"); in getAppProperties()
[all …]

12345678910>>...371