/external/antlr/runtime/Python/tests/ |
D | t025lexerRulePropertyRef.py | 20 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/ |
D | t025lexerRulePropertyRef.py | 20 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/clang/test/Index/ |
D | properties-class-extensions.m | 1 // 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/ |
D | DefaultManifestFactoryTest.java | 5 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/icu/icu4c/source/i18n/ |
D | decimfmt.cpp | 93 fields->properties->currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat() 108 fields->properties.adoptInsteadAndCheckErrorCode(new DecimalFormatProperties(), status); in DecimalFormat() 120 if (value == fields->properties->parseAllInput) { return; } in setParseAllInput() 121 fields->properties->parseAllInput = value; in setParseAllInput() 350 if (UBOOL_TO_BOOL(enabled) == fields->properties->groupingUsed) { return; } in setGroupingUsed() 352 fields->properties->groupingUsed = enabled; in setGroupingUsed() 357 if (UBOOL_TO_BOOL(value) == fields->properties->parseIntegerOnly) { return; } in setParseIntegerOnly() 359 fields->properties->parseIntegerOnly = value; in setParseIntegerOnly() 365 …if (!fields->properties->parseMode.isNull() && mode == fields->properties->parseMode.getNoError())… in setLenient() 367 fields->properties->parseMode = mode; in setLenient() [all …]
|
D | number_patternstring.cpp | 32 DecimalFormatProperties properties; in parseToProperties() local 33 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding, status); in parseToProperties() 34 return properties; in parseToProperties() 43 …arser::parseToExistingProperties(const UnicodeString& pattern, DecimalFormatProperties& properties, in parseToExistingProperties() argument 45 parseToExistingPropertiesImpl(pattern, properties, ignoreRounding, status); in parseToExistingProperties() 461 DecimalFormatProperties& properties, in parseToExistingPropertiesImpl() argument 465 // TODO: Only overwrite the properties that "saveToProperties" normally touches? in parseToExistingPropertiesImpl() 466 properties.clear(); in parseToExistingPropertiesImpl() 473 patternInfoToProperties(properties, patternInfo, ignoreRounding, status); in parseToExistingPropertiesImpl() 477 PatternParser::patternInfoToProperties(DecimalFormatProperties& properties, ParsedPatternInfo& patt… in patternInfoToProperties() argument [all …]
|
D | number_mapper.cpp | 23 UnlocalizedNumberFormatter NumberPropertyMapper::create(const DecimalFormatProperties& properties, in create() argument 27 … return NumberFormatter::with().macros(oldToNew(properties, symbols, warehouse, nullptr, status)); in create() 30 UnlocalizedNumberFormatter NumberPropertyMapper::create(const DecimalFormatProperties& properties, in create() argument 37 properties, symbols, warehouse, &exportedProperties, status)); in create() 40 MacroProps NumberPropertyMapper::oldToNew(const DecimalFormatProperties& properties, in oldToNew() argument 58 if (!properties.currencyPluralInfo.fPtr.isNull()) { in oldToNew() 59 macros.rules = properties.currencyPluralInfo.fPtr->getPluralRules(); in oldToNew() 67 if (properties.currencyPluralInfo.fPtr.isNull()) { in oldToNew() 69 warehouse.propertiesAPP.setTo(properties, status); in oldToNew() 72 … warehouse.currencyPluralInfoAPP.setTo(*properties.currencyPluralInfo.fPtr, properties, status); in oldToNew() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkQueryUtil.cpp | 97 vector<VkPhysicalDeviceGroupProperties> properties; in enumeratePhysicalDeviceGroups() local 103 properties.resize(numDeviceGroups); in enumeratePhysicalDeviceGroups() 106 properties[i].sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHR; in enumeratePhysicalDeviceGroups() 107 properties[i].pNext = DE_NULL; in enumeratePhysicalDeviceGroups() 109 VK_CHECK(vk.enumeratePhysicalDeviceGroups(instance, &numDeviceGroups, &properties[0])); in enumeratePhysicalDeviceGroups() 111 if ((size_t)numDeviceGroups != properties.size()) in enumeratePhysicalDeviceGroups() 114 return properties; in enumeratePhysicalDeviceGroups() 120 vector<VkQueueFamilyProperties> properties; in getPhysicalDeviceQueueFamilyProperties() local 126 properties.resize(numQueues); in getPhysicalDeviceQueueFamilyProperties() 127 vk.getPhysicalDeviceQueueFamilyProperties(physicalDevice, &numQueues, &properties[0]); in getPhysicalDeviceQueueFamilyProperties() [all …]
|
/external/syzkaller/vendor/golang.org/x/text/unicode/bidi/ |
D | prop.go | 9 // Properties provides access to BiDi properties of runes. 10 type Properties struct { struct 23 // func (p Properties) CompactClass() Class { 28 func (p Properties) Class() Class { argument 37 func (p Properties) IsBracket() bool { return p.entry&0xF0 != 0 } argument 41 func (p Properties) IsOpeningBracket() bool { return p.entry&openMask != 0 } argument 44 func (p Properties) reverseBracket(r rune) rune { argument 60 // LookupRune returns properties for r. 61 func LookupRune(r rune) (p Properties, size int) { 82 // Lookup returns properties for the first rune in s and the width in bytes of [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | PatternStringParser.java | 51 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | PatternStringParser.java | 49 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/tensorflow/tensorflow/core/grappler/clusters/ |
D | utils_test.cc | 33 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 47 properties = GetLocalGPUInfo(PlatformGpuId(0)); in TEST() 48 EXPECT_EQ("GPU", properties.type()); in TEST() 50 properties = GetLocalGPUInfo(PlatformGpuId(100)); in TEST() [all …]
|
D | utils.cc | 82 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/python/google-api-python-client/docs/dyn/ |
D | androidenterprise_v1.managedconfigurationsfordevice.html | 118 …e set of managed properties that have been configured for an Android app. The app's developer woul… 120 "managedProperty": [ # The set of managed properties for this configuration. 121 …roperty of a managed configuration. The property must match one of the properties in the app restr… 128 …"valueBundleArray": [ # The list of bundles of properties - this will only be present if type of t… 129 { # A bundle of managed properties. 130 "managedProperty": [ # The list of managed properties. 135 …"valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will … 136 "managedProperty": [ # The list of managed properties. 162 …e set of managed properties that have been configured for an Android app. The app's developer woul… 164 "managedProperty": [ # The set of managed properties for this configuration. [all …]
|
D | androidenterprise_v1.managedconfigurationsforuser.html | 116 …e set of managed properties that have been configured for an Android app. The app's developer woul… 118 "managedProperty": [ # The set of managed properties for this configuration. 119 …roperty of a managed configuration. The property must match one of the properties in the app restr… 126 …"valueBundleArray": [ # The list of bundles of properties - this will only be present if type of t… 127 { # A bundle of managed properties. 128 "managedProperty": [ # The list of managed properties. 133 …"valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will … 134 "managedProperty": [ # The list of managed properties. 159 …e set of managed properties that have been configured for an Android app. The app's developer woul… 161 "managedProperty": [ # The set of managed properties for this configuration. [all …]
|
D | drive_v2.properties.html | 75 <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/tensorflow/tensorflow/core/grappler/costs/ |
D | graph_properties_test.cc | 105 // graph properties values. in ExpectTensorValues() 128 GraphProperties properties(item); in TEST_F() local 129 Status s = properties.InferStatically(true); in TEST_F() 135 EXPECT_EQ(1, properties.GetInputProperties(node.name()).size()); in TEST_F() 137 const auto props = properties.GetOutputProperties(node.name()); in TEST_F() 146 const auto in_props = properties.GetInputProperties(node.name()); in TEST_F() 154 const auto out_props = properties.GetOutputProperties(node.name()); in TEST_F() 172 GraphProperties properties(item); in TEST_F() local 173 Status s = properties.InferStatically(true); in TEST_F() 178 EXPECT_EQ(1, properties.GetInputProperties(node.name()).size()); in TEST_F() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberPropertyMapper.java | 38 /** 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/ |
D | NumberPropertyMapper.java | 37 /** 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/syzkaller/vendor/golang.org/x/text/unicode/norm/ |
D | forminfo.go | 37 // Properties provides access to normalization properties of a rune. 38 type Properties struct { struct 49 type lookupFunc func(b input, i int) Properties 93 func (p Properties) BoundaryBefore() bool { argument 105 func (p Properties) BoundaryAfter() bool { argument 120 func (p Properties) isYesC() bool { return p.flags&0x10 == 0 } argument 121 func (p Properties) isYesD() bool { return p.flags&0x4 == 0 } argument 123 func (p Properties) combinesForward() bool { return p.flags&0x20 != 0 } argument 124 func (p Properties) combinesBackward() bool { return p.flags&0x8 != 0 } // == isMaybe argument 125 func (p Properties) hasDecomposition() bool { return p.flags&0x4 != 0 } // == isNoD argument [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | Property.java | 20 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 …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | ManifestFactoryTest.java | 5 import java.util.Properties; 21 final Properties properties = new Properties(); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() local 22 properties.setProperty("android_sdk_home", ""); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 23 properties.setProperty("android_merged_manifest", "/path/to/MergedManifest.xml"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 24 properties.setProperty("android_merged_resources", "/path/to/merged-resources"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 25 properties.setProperty("android_merged_assets", "/path/to/merged-assets"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 30 protected Properties getBuildSystemApiProperties() { in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 31 return properties; in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 65 final Properties properties = new Properties(); in whenConfigSpecified_overridesValuesFromFile() local 66 properties.setProperty("android_sdk_home", ""); in whenConfigSpecified_overridesValuesFromFile() [all …]
|
/external/easymock/src/org/easymock/internal/ |
D | EasyMockProperties.java | 22 import java.util.Properties; 25 * Contains properties used by EasyMock to change its default behavior. The 26 * loading order is (any step being able to overload the properties of the 29 * <li>easymock.properties in classpath default package</li> 30 * <li>System properties</li> 41 private final Properties properties = new Properties(); field in EasyMockProperties 57 // Load the easymock.properties file in EasyMockProperties() 59 "easymock.properties"); in EasyMockProperties() 63 properties.load(in); in EasyMockProperties() 66 "Failed to read easymock.properties file"); in EasyMockProperties() [all …]
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ |
D | ConfigLoaderTest.java | 17 import java.util.Properties; 28 Properties system = new Properties(); in testResource() 29 Properties config = ConfigLoader.load( in testResource() 30 "/org/jacoco/agent/rt/internal/agent-test.properties", system); in testResource() 37 Properties system = new Properties(); in testNoResource() 38 Properties config = ConfigLoader.load("does-not-exist.properties", in testNoResource() 46 Properties system = new Properties(); in testSystemProperties() 50 Properties config = ConfigLoader.load( in testSystemProperties() 51 "/org/jacoco/agent/rt/internal/agent-test.properties", system); in testSystemProperties() 60 Properties system = new Properties(); in testSubstituteProperties() [all …]
|
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/ |
D | TimelineApplet.form | 53 <Properties> 57 </Properties> 93 <Properties> 95 </Properties> 103 <Properties> 105 </Properties> 110 <Properties> 112 </Properties> 115 <Properties> 117 </Properties> [all …]
|