Home
last modified time | relevance | path

Searched refs:propertyName (Results 1 – 25 of 59) sorted by relevance

123

/external/testng/src/main/java/org/testng/internal/
DConstants.java48 private static TestNGProperty getProperty(String propertyName) { in getProperty() argument
49 TestNGProperty result = m_propertiesByName.get(propertyName); in getProperty()
50 assert null != result : "Unknown property : " + propertyName; in getProperty()
55 public static String getPropertyValue(Properties p, String propertyName) { in getPropertyValue() argument
56 TestNGProperty r= getProperty(propertyName); in getPropertyValue()
57 assert null != r : "Unknown property : " + propertyName; in getPropertyValue()
64 public static boolean getBooleanPropertyValue(Properties properties, String propertyName) { in getBooleanPropertyValue() argument
65 TestNGProperty p = getProperty(propertyName); in getBooleanPropertyValue()
66 String r = properties.getProperty(propertyName, p.getDefault()); in getBooleanPropertyValue()
72 public static int getIntegerPropertyValue(Properties properties, String propertyName) { in getIntegerPropertyValue() argument
[all …]
DPropertyUtils.java38 public Class getPropertyType(Class instanceClass, String propertyName) { in getPropertyType() argument
40 …LOGGER.warn("Cannot retrieve property class for " + propertyName + ". Target instance class is nul… in getPropertyType()
42 PropertyDescriptor propDesc = getPropertyDescriptor(instanceClass, propertyName); in getPropertyType()
46 private static PropertyDescriptor getPropertyDescriptor(Class targetClass, String propertyName) { in getPropertyDescriptor() argument
49 LOGGER.warn("Cannot retrieve property " + propertyName + ". Class is null"); in getPropertyDescriptor()
55 if (propDesc.getName().equals(propertyName)) { in getPropertyDescriptor()
61 LOGGER.warn("Cannot retrieve property " + propertyName + ". Cause is: " + ie); in getPropertyDescriptor()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DProperties.java34 public static boolean isOverrideSet(String propertyName) in isOverrideSet() argument
38 String p = fetchProperty(propertyName); in isOverrideSet()
60 public static boolean setThreadOverride(String propertyName, boolean enable) in setThreadOverride() argument
62 boolean isSet = isOverrideSet(propertyName); in setThreadOverride()
70 localProps.put(propertyName, enable ? "true" : "false"); in setThreadOverride()
83 public static boolean removeThreadOverride(String propertyName) in removeThreadOverride() argument
85 boolean isSet = isOverrideSet(propertyName); in removeThreadOverride()
93 localProps.remove(propertyName); in removeThreadOverride()
107 public static BigInteger asBigInteger(String propertyName) in asBigInteger() argument
109 String p = fetchProperty(propertyName); in asBigInteger()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DProperties.java32 public static boolean isOverrideSet(String propertyName) in isOverrideSet() argument
36 String p = fetchProperty(propertyName); in isOverrideSet()
58 public static boolean setThreadOverride(String propertyName, boolean enable) in setThreadOverride() argument
60 boolean isSet = isOverrideSet(propertyName); in setThreadOverride()
68 localProps.put(propertyName, enable ? "true" : "false"); in setThreadOverride()
81 public static boolean removeThreadOverride(String propertyName) in removeThreadOverride() argument
83 boolean isSet = isOverrideSet(propertyName); in removeThreadOverride()
91 localProps.remove(propertyName); in removeThreadOverride()
105 public static BigInteger asBigInteger(String propertyName) in asBigInteger() argument
107 String p = fetchProperty(propertyName); in asBigInteger()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/props/
DUnicodePropertySymbolTable.java52 public boolean applyPropertyAlias(String propertyName, in applyPropertyAlias() argument
56 int posNotEqual = propertyName.indexOf('\u2260'); in applyPropertyAlias()
57 int posColon = propertyName.indexOf(':'); in applyPropertyAlias()
59 if (posNotEqual < 0) posNotEqual = propertyName.length(); in applyPropertyAlias()
60 if (posColon < 0) posColon = propertyName.length(); in applyPropertyAlias()
62 propertyValue = propertyValue.length() == 0 ? propertyName.substring(opPos+1) in applyPropertyAlias()
63 : propertyName.substring(opPos+1) + "=" + propertyValue; in applyPropertyAlias()
64 propertyName = propertyName.substring(0,opPos); in applyPropertyAlias()
69 if (propertyName.endsWith("!")) { in applyPropertyAlias()
70 propertyName = propertyName.substring(0, propertyName.length() - 1); in applyPropertyAlias()
[all …]
DRandomStringGenerator.java47 public RandomStringGenerator(UnicodeProperty.Factory factory, String propertyName) { in RandomStringGenerator() argument
48 this(factory, propertyName, false, false); in RandomStringGenerator()
51 …public RandomStringGenerator(UnicodeProperty.Factory factory, String propertyName, boolean useShor… in RandomStringGenerator() argument
53 this(factory, factory.getProperty(propertyName).getUnicodeMap(), in RandomStringGenerator()
54 … useShortName ? ICUPropertyFactory.make().getProperty(propertyName).getUnicodeMap(true) : null, in RandomStringGenerator()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DSystemProps.common.kt19 propertyName: String, in systemProp()
21 ): Boolean = systemProp(propertyName)?.toBoolean() ?: defaultValue in systemProp()
31 propertyName: String, in systemProp()
35 ): Int = systemProp(propertyName, defaultValue.toLong(), minValue.toLong(), maxValue.toLong()).toIn… in systemProp()
45 propertyName: String, in systemProp()
50 val value = systemProp(propertyName) ?: return defaultValue in systemProp()
52 ?: error("System property '$propertyName' has unrecognized value '$value'") in systemProp()
54 … error("System property '$propertyName' should be in range $minValue..$maxValue, but is '$parsed'") in systemProp()
65 internal expect fun systemProp(propertyName: String): String?
/external/autotest/client/deps/webgl_mpd/src/debug/
Dwebgl-debug.js164 for (var propertyName in ctx) {
165 if (typeof ctx[propertyName] == 'number') {
166 glEnums[ctx[propertyName]] = propertyName;
255 function makePropertyWrapper(wrapper, original, propertyName) { argument
257 wrapper.__defineGetter__(propertyName, function() {
258 return original[propertyName];
262 wrapper.__defineSetter__(propertyName, function(value) {
264 original[propertyName] = value;
331 for (var propertyName in ctx) {
332 if (typeof ctx[propertyName] == 'function') {
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureEnumTest.java50 for (String propertyName : new String[] {"value", "absent"}) { in assertGoodTesterAnnotation()
53 method = annotationClass.getMethod(propertyName); in assertGoodTesterAnnotation()
56 rootLocaleFormat("%s must have a property named '%s'.", annotationClass, propertyName)); in assertGoodTesterAnnotation()
60 rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName), in assertGoodTesterAnnotation()
65 annotationClass, propertyName, annotationClass.getDeclaringClass()), in assertGoodTesterAnnotation()
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureEnumTest.java50 for (String propertyName : new String[] {"value", "absent"}) { in assertGoodTesterAnnotation()
53 method = annotationClass.getMethod(propertyName); in assertGoodTesterAnnotation()
56 rootLocaleFormat("%s must have a property named '%s'.", annotationClass, propertyName)); in assertGoodTesterAnnotation()
60 rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName), in assertGoodTesterAnnotation()
65 annotationClass, propertyName, annotationClass.getDeclaringClass()), in assertGoodTesterAnnotation()
/external/angle/src/libANGLE/renderer/d3d/d3d11/winrt/
DInspectableNativeWindow.cpp132 const wchar_t *propertyName, in GetOptionalPropertyValue() argument
144 HRESULT result = propertyMap->HasKey(HStringReference(propertyName).Get(), hasKey); in GetOptionalPropertyValue()
154 result = propertyMap->Lookup(HStringReference(propertyName).Get(), &propertyValue); in GetOptionalPropertyValue()
174 const wchar_t *propertyName, in GetOptionalSizePropertyValue() argument
193 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSizePropertyValue()
240 const wchar_t *propertyName, in GetOptionalSinglePropertyValue() argument
259 HRESULT result = GetOptionalPropertyValue(propertyMap, propertyName, &hasKey, propertyValue); in GetOptionalSinglePropertyValue()
DInspectableNativeWindow.h132 const wchar_t *propertyName,
138 const wchar_t *propertyName,
144 const wchar_t *propertyName,
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DDummyExoMediaDrm.java119 public String getPropertyString(String propertyName) { in getPropertyString() argument
124 public byte[] getPropertyByteArray(String propertyName) { in getPropertyByteArray() argument
129 public void setPropertyString(String propertyName, String value) { in setPropertyString() argument
134 public void setPropertyByteArray(String propertyName, byte[] value) { in setPropertyByteArray() argument
DExoMediaDrm.java347 String getPropertyString(String propertyName); in getPropertyString() argument
352 byte[] getPropertyByteArray(String propertyName); in getPropertyByteArray() argument
357 void setPropertyString(String propertyName, String value); in setPropertyString() argument
362 void setPropertyByteArray(String propertyName, byte[] value); in setPropertyByteArray() argument
DFrameworkMediaDrm.java266 public String getPropertyString(String propertyName) { in getPropertyString() argument
267 return mediaDrm.getPropertyString(propertyName); in getPropertyString()
271 public byte[] getPropertyByteArray(String propertyName) { in getPropertyByteArray() argument
272 return mediaDrm.getPropertyByteArray(propertyName); in getPropertyByteArray()
276 public void setPropertyString(String propertyName, String value) { in setPropertyString() argument
277 mediaDrm.setPropertyString(propertyName, value); in setPropertyString()
281 public void setPropertyByteArray(String propertyName, byte[] value) { in setPropertyByteArray() argument
282 mediaDrm.setPropertyByteArray(propertyName, value); in setPropertyByteArray()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs48 private readonly string propertyName; // Annoyingly, needed in Crosslink. field in Google.Protobuf.Reflection.FieldDescriptor
72 … MessageDescriptor parent, int index, string propertyName, Extension extension) in FieldDescriptor() argument
102 this.propertyName = propertyName; in FieldDescriptor()
384 if (propertyName == null) in CreateAccessor()
393 var property = ContainingType.ClrType.GetProperty(propertyName); in CreateAccessor()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DAnnotationInfo.java73 public Class<?> getPropertyType(String propertyName) { in getPropertyType() argument
74 Class<?> type = propertyTypes.get(propertyName); in getPropertyType()
77 String.format("Unknown property: %s in %s", propertyName, name)); in getPropertyType()
/external/guice/core/src/com/google/inject/name/
DNames.java58 String propertyName = (String) e.nextElement(); in bindProperties() local
59 String value = properties.getProperty(propertyName); in bindProperties()
60 binder.bind(Key.get(String.class, new NamedImpl(propertyName))).toInstance(value); in bindProperties()
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DAbstractAgentMojo.java53 String propertyName; field in AbstractAgentMojo
232 return propertyName; in getEffectivePropertyName()
241 return propertyName != null && !"".equals(propertyName); in isPropertyNameSpecified()
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceProperties.cpp44 const char* propertyName = propertyStructCreatorMap[i].name; in DeviceProperties() local
46 if (de::contains(deviceExtensions.begin(), deviceExtensions.end(), propertyName)) in DeviceProperties()
48 PropertyStruct* p = createPropertyStructWrapper(propertyName); in DeviceProperties()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DSystemProps.kt14 propertyName: String in systemProp()
17 System.getProperty(propertyName) in systemProp()
/external/angle/src/gpu_info_util/
DSystemInfo_android.cpp24 bool GetAndroidSystemProperty(const std::string &propertyName, std::string *value) in GetAndroidSystemProperty() argument
28 int len = __system_property_get(propertyName.c_str(), propertyBuf.data()); in GetAndroidSystemProperty()
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetBuilder.java96 private String propertyName; field in UnicodeSetBuilder.MyObjectBuilder
153 propertyName = string.toString().substring(lastPosition + 2, position); in handle()
154 propSet = new UnicodeSet().applyPropertyAlias(propertyName, "", null); in handle()
161 propertyName = string.toString().substring(lastPosition + 2, position); in handle()
168 propSet = new UnicodeSet().applyPropertyAlias(propertyName, valueName, null); in handle()
/external/grpc-grpc/src/csharp/Grpc.Core/
DAuthContext.cs103 public IEnumerable<AuthProperty> FindPropertiesByName(string propertyName) in FindPropertiesByName() argument
106 if (!properties.TryGetValue(propertyName, out result)) in FindPropertiesByName()
/external/emma/core/java12/com/vladium/util/exception/
DExceptionCommon.java373 private static String lookup (Class namespace, final String propertyName) in lookup() argument
375 if (propertyName == null) return null; in lookup()
406 propertyValue = rb.getString (propertyName); in lookup()
423 propertyValue = ROOT_RESOURCE_BUNDLE.getString (propertyName); in lookup()

123