Home
last modified time | relevance | path

Searched refs:valueName (Results 1 – 25 of 46) sorted by relevance

12

/external/dagger2/java/dagger/internal/codegen/base/
DMoreAnnotationValues.java80 public static int getIntValue(AnnotationMirror annotation, String valueName) { in getIntValue() argument
81 return (int) getAnnotationValue(annotation, valueName).getValue(); in getIntValue()
86 AnnotationMirror annotation, String valueName) { in getOptionalIntValue() argument
87 return isValuePresent(annotation, valueName) in getOptionalIntValue()
88 ? Optional.of(getIntValue(annotation, valueName)) in getOptionalIntValue()
93 public static String getStringValue(AnnotationMirror annotation, String valueName) { in getStringValue() argument
94 return (String) getAnnotationValue(annotation, valueName).getValue(); in getStringValue()
99 AnnotationMirror annotation, String valueName) { in getOptionalStringValue() argument
100 return isValuePresent(annotation, valueName) in getOptionalStringValue()
101 ? Optional.of(getStringValue(annotation, valueName)) in getOptionalStringValue()
[all …]
/external/swiftshader/src/Common/
DConfigurator.cpp93 string valueName = line.substr(0, pLeft); in readFile() local
95 addValue(keyName, valueName, value); in readFile()
159 int Configurator::findValue(unsigned int keyID, string valueName) const in findValue()
168 if(sections[keyID].names[valueID] == valueName) in findValue()
184 void Configurator::addValue(string const keyName, string const valueName, string const value) in addValue() argument
193 int valueID = findValue(keyID, valueName); in addValue()
197 sections[keyID].names.resize(sections[keyID].names.size() + 1, valueName); in addValue()
206 string Configurator::getValue(string keyName, string valueName, string defaultValue) const in getValue() argument
210 int valueID = findValue((unsigned int)keyID, valueName); in getValue()
216 int Configurator::getInteger(string keyName, string valueName, int defaultValue) const in getInteger() argument
[all …]
DConfigurator.hpp32 …std::string getValue(std::string sectionName, std::string valueName, std::string defaultValue = ""…
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;
/external/swiftshader/src/System/
DConfigurator.cpp93 string valueName = line.substr(0, pLeft); in readFile() local
95 addValue(keyName, valueName, value); in readFile()
160 int Configurator::findValue(unsigned int keyID, string valueName) const in findValue()
169 if(sections[keyID].names[valueID] == valueName) in findValue()
185 void Configurator::addValue(string const keyName, string const valueName, string const value) in addValue() argument
194 int valueID = findValue(keyID, valueName); in addValue()
198 sections[keyID].names.resize(sections[keyID].names.size() + 1, valueName); in addValue()
207 string Configurator::getValue(string keyName, string valueName, string defaultValue) const in getValue() argument
211 int valueID = findValue((unsigned int)keyID, valueName); in getValue()
217 int Configurator::getInteger(string keyName, string valueName, int defaultValue) const in getInteger() argument
[all …]
DConfigurator.hpp32 …std::string getValue(std::string sectionName, std::string valueName, std::string defaultValue = ""…
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;
/external/dagger2/java/dagger/hilt/processor/internal/
DAnnotationValues.java118 public static int getIntValue(AnnotationMirror annotation, String valueName) { in getIntValue() argument
119 return (int) getAnnotationValue(annotation, valueName).getValue(); in getIntValue()
124 AnnotationMirror annotation, String valueName) { in getOptionalIntValue() argument
125 return isValuePresent(annotation, valueName) in getOptionalIntValue()
126 ? Optional.of(getIntValue(annotation, valueName)) in getOptionalIntValue()
131 public static String getStringValue(AnnotationMirror annotation, String valueName) { in getStringValue() argument
132 return (String) getAnnotationValue(annotation, valueName).getValue(); in getStringValue()
137 AnnotationMirror annotation, String valueName) { in getOptionalStringValue() argument
138 return isValuePresent(annotation, valueName) in getOptionalStringValue()
139 ? Optional.of(getStringValue(annotation, valueName)) in getOptionalStringValue()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp379 const char* valueName = val.valueName.c_str(); in execute() local
417 string attribName = attribPrefix + valueName; in execute()
449 string refName = string("ref_") + valueName; in execute()
456 setUniformValue(gl, programID, valueName, val, arrayNdx); in execute()
543 res << vtxIn << " " << typeStr << " a_" << val.valueName << ";\n"; in genVertexShader()
546 res << vtxOut << " " << typeStr << " " << val.valueName << ";\n"; in genVertexShader()
548 res << vtxOut << " " << typeStr << " v_" << val.valueName << ";\n"; in genVertexShader()
564 const string& name = val.valueName; in genVertexShader()
695 const char* valueName = val.valueName.c_str(); in genCompareOp() local
700 if (checkVarName && !deStringEqual(valueName, checkVarName)) in genCompareOp()
[all …]
/external/lzma/CPP/Windows/
DRegistry.h12 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();
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();
DRegistry.cpp172 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) in SetValue() argument
178 res = key.SetValue(valueName, value); in SetValue()
182 LONG CKey::SetKeyValue(LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value) throw() in SetKeyValue() argument
188 res = key.SetValue(valueName, value); in SetKeyValue()
337 LONG CKey::SetValue_Strings(LPCTSTR valueName, const UStringVector &strings) in SetValue_Strings() argument
356 return SetValue(valueName, buffer, (UInt32)numChars * sizeof(wchar_t)); in SetValue_Strings()
359 LONG CKey::GetValue_Strings(LPCTSTR valueName, UStringVector &strings) in GetValue_Strings() argument
364 LONG res = QueryValue(valueName, buffer, dataSize); in GetValue_Strings()
/external/deqp/modules/internal/
DditBuildInfoTests.cpp93 …BuildInfoStringCase (tcu::TestContext& testCtx, const char* name, const char* valueName, const cha… in BuildInfoStringCase() argument
94 : tcu::TestCase (testCtx, name, valueName) in BuildInfoStringCase()
95 , m_valueName (valueName) in BuildInfoStringCase()
127 const char* valueName = m_getString(m_value); in iterate() local
128 const bool isOk = valueName != DE_NULL; in iterate()
129 std::string logValue = valueName ? std::string(valueName) : de::toString(m_value); in iterate()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRegexUtilitiesTest.java116 … String valueName = UCharacter.getPropertyValueName(propNum, valueNum, NameChoice.LONG);
117 if (valueName == null) {
118valueName = 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/
DRegexUtilitiesTest.java113 … String valueName = UCharacter.getPropertyValueName(propNum, valueNum, NameChoice.LONG);
114 if (valueName == null) {
115valueName = 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;
/external/bcc/src/cc/frontends/p4/compiler/
DebpfCounter.py78 valueName = "ctrvalue"
82 serializer.appendFormat("{0} *{1};", self.valueTypeName, valueName)
92 serializer, self.dataMapName, keyname, valueName)
96 serializer.appendFormat("if ({0} != NULL) ", valueName)
101 valueName, self.increment)
DebpfTable.py276 valueName = "value"
296 "struct {0} *{1};", self.valueTypeName, valueName)
309 serializer, self.dataMapName, keyname, valueName)
313 serializer.appendFormat("if ({0} == NULL) ", valueName)
325 program.zeroKeyName, valueName)
343 serializer.appendFormat("if ({0} != NULL) ", valueName)
347 self.runAction(serializer, self.name, valueName, program, nextNode)
376 def runAction(self, serializer, tableName, valueName, program, nextNode): argument
378 serializer.appendFormat("switch ({0}->action) ", valueName)
389 a.serializeBody(serializer, valueName, program)
/external/cldr/tools/java/org/unicode/cldr/icu/
DExtractICUData.java415 … String valueName = UCharacter.getPropertyValueName(propIndex, valueIndex, in testProps() local
419 valueName = getName(valueIndex, valueName, shortValueName); in testProps()
420 valueOrder.add(valueName); in testProps()
450 private static String getName(int index, String valueName, String shortValueName) { in getName() argument
451 if (valueName == null) { in getName()
455 if (shortValueName == null) return valueName; in getName()
456 if (valueName.equals(shortValueName)) return valueName; in getName()
457 return valueName + "\u00A0(" + shortValueName + ")"; in getName()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringAnisotropyTests.cpp190 const char* valueName[] = in createFilteringAnisotropyTests() local
221 …de::MovePtr<tcu::TestCaseGroup> levelAnisotropyGroups (new tcu::TestCaseGroup(testCtx, valueName[a… in createFilteringAnisotropyTests()
254 …de::MovePtr<tcu::TestCaseGroup> levelAnisotropyGroups (new tcu::TestCaseGroup(testCtx, valueName[a… in createFilteringAnisotropyTests()
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetBuilder.java98 private String valueName; field in UnicodeSetBuilder.MyObjectBuilder
168 valueName = string.toString().substring(lastPosition + 1, position); in handle()
169 propSet = new UnicodeSet().applyPropertyAlias(propertyName, valueName, null); in handle()
/external/parameter-framework/upstream/bindings/c/
DParameterFramework.cpp211 const char *valueName = criterion.values[valueIndex]; in createCriteria() local
213 if (not type->addValuePair(value, valueName, error)) { in createCriteria()
214 return status.failure("Could not add value " + string(valueName) + in createCriteria()
/external/skqp/include/core/
DSkTraceMemoryDump.h49 const char* valueName,
/external/skia/include/core/
DSkTraceMemoryDump.h49 const char* valueName,
/external/skqp/tests/
DTraceMemoryDumpTest.cpp28 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units, in dumpNumericValue() argument
31 if (SkString("size") == SkString(valueName)) { in dumpNumericValue()
/external/skia/tests/
DTraceMemoryDumpTest.cpp32 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units, in dumpNumericValue() argument
35 if (SkString("size") == SkString(valueName)) { in dumpNumericValue()
/external/clang/lib/Driver/
DMSVCToolChain.cpp96 static bool readFullStringValue(HKEY hkey, const char *valueName, in readFullStringValue() argument
99 if (!llvm::ConvertUTF8toWide(valueName, WideValueName)) in readFullStringValue()
134 static bool getSystemRegistryString(const char *keyPath, const char *valueName, in getSystemRegistryString() argument
193 lResult = readFullStringValue(hKey, valueName, value); in getSystemRegistryString()
211 lResult = readFullStringValue(hKey, valueName, value); in getSystemRegistryString()
/external/mdnsresponder/mDNSWindows/ControlPanel/
DSecondPage.h96 RegQueryString( HKEY key, CString valueName, CString & value );
/external/python/cpython2/PC/
D_winreg.c1468 char *valueName; in PyQueryValueEx() local
1477 if (!PyArg_ParseTuple(args, "Oz:QueryValueEx", &obKey, &valueName)) in PyQueryValueEx()
1483 rc = RegQueryValueEx(hKey, valueName, NULL, NULL, NULL, &bufSize); in PyQueryValueEx()
1495 rc = RegQueryValueEx(hKey, valueName, NULL, &typ, in PyQueryValueEx()
1601 char *valueName; in PySetValueEx() local
1612 &valueName, in PySetValueEx()
1627 rc = RegSetValueEx(hKey, valueName, 0, typ, data, len); in PySetValueEx()

12