HomeSort by relevance Sort by last modified time
    Searched refs:valueName (Results 1 - 25 of 267) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/core/java/com/android/internal/util/
Preconditions.java 281 * @param valueName the name of the argument to use if the check fails
287 public static float checkArgumentFinite(final float value, final String valueName) {
289 throw new IllegalArgumentException(valueName + " must not be NaN");
291 throw new IllegalArgumentException(valueName + " must not be infinite");
306 * @param valueName the name of the argument to use if the check fails
313 String valueName) {
315 throw new IllegalArgumentException(valueName + " must not be NaN");
319 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper));
323 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper));
335 * @param valueName the name of the argument to use if the check fail
    [all...]
  /external/swiftshader/src/Common/
Configurator.hpp 32 std::string getValue(std::string sectionName, std::string valueName, std::string defaultValue = "") const;
33 int getInteger(std::string sectionName, std::string valueName, int defaultValue = 0) const;
34 bool getBoolean(std::string sectionName, std::string valueName, bool defaultValue = false) const;
35 double getFloat(std::string sectionName, std::string valueName, double defaultValue = 0.0) const;
36 unsigned int getFormatted(std::string sectionName, std::string valueName, char *format,
42 void addValue(std::string sectionName, std::string valueName, std::string value);
51 int findValue(unsigned int sectionID, std::string valueName) const;
Configurator.cpp 93 string valueName = line.substr(0, pLeft);
95 addValue(keyName, valueName, value);
159 int Configurator::findValue(unsigned int keyID, string valueName) const
168 if(sections[keyID].names[valueID] == valueName)
184 void Configurator::addValue(string const keyName, string const valueName, string const value)
193 int valueID = findValue(keyID, valueName);
197 sections[keyID].names.resize(sections[keyID].names.size() + 1, valueName);
206 string Configurator::getValue(string keyName, string valueName, string defaultValue) const
210 int valueID = findValue((unsigned int)keyID, valueName);
216 int Configurator::getInteger(string keyName, string valueName, int defaultValue) cons
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/util/
Preconditions.java 249 * @param valueName the name of the argument to use if the check fails
255 public static float checkArgumentFinite(final float value, final String valueName) {
257 throw new IllegalArgumentException(valueName + " must not be NaN");
259 throw new IllegalArgumentException(valueName + " must not be infinite");
274 * @param valueName the name of the argument to use if the check fails
281 String valueName) {
283 throw new IllegalArgumentException(valueName + " must not be NaN");
287 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper));
291 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper));
303 * @param valueName the name of the argument to use if the check fail
    [all...]
  /cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
Preconditions.java 132 * @param valueName the name of the argument to use if the check fails
139 final String valueName) {
141 throw new NullPointerException(valueName + " must not be null");
148 String.format("%s[%d] must not be null", valueName, ctr));
160 * @param valueName the name of the argument to use if the check fails.
168 final String valueName) {
170 throw new NullPointerException(valueName + " must not be null");
173 throw new IllegalArgumentException(valueName + " is empty");
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
Preconditions.java 136 * @param valueName the name of the argument to use if the check fails
143 final String valueName) {
145 throw new NullPointerException(valueName + " must not be null");
152 String.format("%s[%d] must not be null", valueName, ctr));
164 * @param valueName the name of the argument to use if the check fails.
172 final String valueName) {
174 throw new NullPointerException(valueName + " must not be null");
177 throw new IllegalArgumentException(valueName + " is empty");
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DeletedEphemeralSsidsStoreData.java 65 String[] valueName = new String[1];
66 Object value = XmlUtil.readCurrentValue(in, valueName);
67 if (valueName[0] == null) {
70 switch (valueName[0]) {
77 + ": " + valueName[0]);
SsidSetStoreData.java 103 String[] valueName = new String[1];
104 Object value = XmlUtil.readCurrentValue(in, valueName);
105 if (TextUtils.isEmpty(valueName[0])) {
108 switch (valueName[0]) {
114 + mTagName + ": " + valueName[0]);
WakeupConfigStoreData.java 197 String[] valueName = new String[1];
198 Object value = XmlUtil.readCurrentValue(in, valueName);
199 if (valueName[0] == null) {
202 switch (valueName[0]) {
213 throw new XmlPullParserException("Unknown value found: " + valueName[0]);
235 String[] valueName = new String[1];
236 Object value = XmlUtil.readCurrentValue(in, valueName);
237 if (valueName[0] == null) {
240 switch (valueName[0]) {
249 + valueName[0])
    [all...]
WifiBackupDataV1Parser.java 280 String[] valueName = new String[1];
281 Object value = XmlUtil.readCurrentValue(in, valueName);
282 String tagName = valueName[0];
348 "Unknown value name found: " + valueName[0]);
423 String[] valueName = new String[1];
424 Object value = XmlUtil.readCurrentValue(in, valueName);
425 String tagName = valueName[0];
475 "Unknown value name found: " + valueName[0]);
  /external/skia/include/core/
SkTraceMemoryDump.h 40 * valueName: a string indicating the name of the column.
49 const char* valueName,
54 const char* /*valueName*/,
  /external/skqp/include/core/
SkTraceMemoryDump.h 40 * valueName: a string indicating the name of the column.
49 const char* valueName,
  /external/lzma/CPP/Windows/
Registry.h 12 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value);
47 LONG SetValue(LPCTSTR valueName, UInt32 value) throw();
48 LONG SetValue(LPCTSTR valueName, bool value) throw();
49 LONG SetValue(LPCTSTR valueName, LPCTSTR value) throw();
50 // LONG SetValue(LPCTSTR valueName, const CSysString &value);
58 LONG SetValue_Strings(LPCTSTR valueName, const UStringVector &strings);
59 LONG GetValue_Strings(LPCTSTR valueName, UStringVector &strings);
61 LONG SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) throw();
Registry.cpp 172 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value)
178 res = key.SetValue(valueName, value);
182 LONG CKey::SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) throw()
188 res = key.SetValue(valueName, value);
337 LONG CKey::SetValue_Strings(LPCTSTR valueName, const UStringVector &strings)
356 return SetValue(valueName, buffer, (UInt32)numChars * sizeof(wchar_t));
359 LONG CKey::GetValue_Strings(LPCTSTR valueName, UStringVector &strings)
364 LONG res = QueryValue(valueName, buffer, dataSize);
  /external/deqp/external/openglcts/modules/common/
glcShaderLibraryCase.cpp 379 const char* valueName = val.valueName.c_str();
417 string attribName = attribPrefix + valueName;
449 string refName = string("ref_") + valueName;
456 setUniformValue(gl, programID, valueName, val, arrayNdx);
543 res << vtxIn << " " << typeStr << " a_" << val.valueName << ";\n";
546 res << vtxOut << " " << typeStr << " " << val.valueName << ";\n";
548 res << vtxOut << " " << typeStr << " v_" << val.valueName << ";\n";
564 const string& name = val.valueName;
695 const char* valueName = val.valueName.c_str()
    [all...]
  /external/skqp/tests/
TraceMemoryDumpTest.cpp 20 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
  /frameworks/base/libs/hwui/pipeline/skia/
SkiaMemoryTracer.h 40 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
43 void dumpStringValue(const char* dumpName, const char* valueName, const char* value) override {
45 dumpNumericValue(dumpName, valueName, value, 0);
  /external/deqp/modules/internal/
ditBuildInfoTests.cpp 93 BuildInfoStringCase (tcu::TestContext& testCtx, const char* name, const char* valueName, const char* value)
94 : tcu::TestCase (testCtx, name, valueName)
95 , m_valueName (valueName)
127 const char* valueName = m_getString(m_value);
128 const bool isOk = valueName != DE_NULL;
129 std::string logValue = valueName ? std::string(valueName) : de::toString(m_value);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
RegexUtilitiesTest.java 116 String valueName = UCharacter.getPropertyValueName(propNum, valueNum, NameChoice.LONG);
117 if (valueName == null) {
118 valueName = UCharacter.getPropertyValueName(propNum, valueNum, NameChoice.SHORT);
119 if (valueName == null) {
120 valueName = Integer.toString(valueNum);
134 String rawPattern = prefix + "[:" + propName + "=" + valueName + ":]" + suffix;
135 String rawNegativePattern = prefix + "[:^" + propName + "=" + valueName + ":]" + suffix;
140 rawPattern = prefix + "\\p{" + propName + "=" + valueName + "}" + suffix;
141 rawNegativePattern = prefix + "\\P{" + propName + "=" + valueName + "}" + suffix;
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
RegexUtilitiesTest.java 113 String valueName = UCharacter.getPropertyValueName(propNum, valueNum, NameChoice.LONG);
114 if (valueName == null) {
115 valueName = UCharacter.getPropertyValueName(propNum, valueNum, NameChoice.SHORT);
116 if (valueName == null) {
117 valueName = Integer.toString(valueNum);
131 String rawPattern = prefix + "[:" + propName + "=" + valueName + ":]" + suffix;
132 String rawNegativePattern = prefix + "[:^" + propName + "=" + valueName + ":]" + suffix;
137 rawPattern = prefix + "\\p{" + propName + "=" + valueName + "}" + suffix;
138 rawNegativePattern = prefix + "\\P{" + propName + "=" + valueName + "}" + suffix;
  /packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
arguments_parser.h 36 static OptionSpec keyValueOption(const std::string &valueName, const std::string &defaultValue,
38 return OptionSpec(true /* needsValue */, valueName, defaultValue, description);
42 return OptionSpec(false /* needsValue */, "" /* valueName */, "" /* defaultValue */,
52 OptionSpec(const bool needsValue, const std::string &valueName, const std::string &defaultValue,
54 : mNeedsValue(needsValue), mValueName(valueName), mDefaultValue(defaultValue),
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
PasspointXmlUtils.java 467 String[] valueName = new String[1];
468 Object value = XmlUtil.readCurrentValue(in, valueName);
469 if (valueName[0] == null) {
472 switch (valueName[0]) {
498 throw new XmlPullParserException("Unknown data under HomeSP: " + valueName[0]);
636 String[] valueName = new String[1];
637 Object value = XmlUtil.readCurrentValue(in, valueName);
638 if (valueName[0] == null) {
641 switch (valueName[0]) {
    [all...]
PasspointConfigStoreData.java 239 String[] valueName = new String[1];
240 Object value = XmlUtil.readCurrentValue(in, valueName);
241 if (valueName[0] == null) {
244 switch (valueName[0]) {
250 + valueName[0]);
  /packages/apps/Dialer/java/com/android/voicemail/impl/utils/
XmlUtils.java 136 final String valueName = parser.getAttributeValue(null, "name");
149 name[0] = valueName;
164 name[0] = valueName;
169 name[0] = valueName;
173 name[0] = valueName;
184 name[0] = valueName;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
XmlUtil.java 203 * @param valueName An array of one string, used to return the name attribute
208 public static Object readCurrentValue(XmlPullParser in, String[] valueName)
210 Object value = XmlUtils.readValueXml(in, valueName);
231 String[] valueName = new String[1];
233 Object value = readCurrentValue(in, valueName);
234 if (valueName[0].equals(expectedName)) {
238 "Value not found. Expected: " + expectedName + ", but got: " + valueName[0]);
513 String[] valueName = new String[1];
514 Object value = XmlUtil.readCurrentValue(in, valueName);
515 if (valueName[0] == null)
    [all...]

Completed in 1278 milliseconds

1 2 3 4 5 6 7 8 91011