Home
last modified time | relevance | path

Searched refs:literal (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libmediahelper/include/media/
DTypeConverter.h89 char *literal = strdup(str.c_str()); variable
90 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) {
96 free(literal);
119 const char *literal; member
129 for (size_t i = 0; mTable[i].literal; i++) { in toString()
131 str = mTable[i].literal; in toString()
144 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
145 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
146 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
159 char *literal = strdup(str.c_str()); in collectionFromString() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLineBreakBufferedWriterTest.java55 String literal = "aaaaaaaaaaaaaaa"; in testMoreThanBufferSizeNoLineBreaks() local
56 lw.print(literal); in testMoreThanBufferSizeNoLineBreaks()
57 lw.print(literal); in testMoreThanBufferSizeNoLineBreaks()
65 assertEquals(2 * literal.length(), result.get(0).length() + result.get(1).length()); in testMoreThanBufferSizeNoLineBreaks()
77 String literal = "aaaaaaaaaaaaaaa"; in testMoreThanBufferSizeNoLineBreaksSingleString() local
78 lw.print(literal + literal); in testMoreThanBufferSizeNoLineBreaksSingleString()
86 assertEquals(2 * literal.length(), result.get(0).length() + result.get(1).length()); in testMoreThanBufferSizeNoLineBreaksSingleString()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildPolicyCriterionTypes.py115 value_node = ET.SubElement(values_node, "value", literal=value)
212 literal = ''.join((w.capitalize() for w in match.groupdict()['literal'].split('_')))
222 logging.info("{}:{}".format(numerical_value, literal))
228 all_criteria[criterion_name][literal] = int(numerical_value, 0)
231 logging.debug("iteral:{},".format(literal))
/frameworks/native/include/input/
DInputEventLabels.h34 const char *literal; member
415 static int lookupValueByLabel(const char* literal, const InputEventLabel *list) { in lookupValueByLabel() argument
416 while (list->literal) { in lookupValueByLabel()
417 if (strcmp(literal, list->literal) == 0) { in lookupValueByLabel()
426 while (list->literal) { in lookupLabelByValue()
428 return list->literal; in lookupLabelByValue()
441 return KEYCODES[keyCode].literal; in getLabelByKeyCode()
/frameworks/base/cmds/idmap2/tests/
DIdmap2BinaryTests.cpp131 ASSERT_NE(result->stdout.find(R::target::integer::literal::int1 + " -> 0x7f010000 integer/int1"), in TEST_F()
133 ASSERT_NE(result->stdout.find(R::target::string::literal::str1 + " -> 0x7f020000 string/str1"), in TEST_F()
135 ASSERT_NE(result->stdout.find(R::target::string::literal::str3 + " -> 0x7f020001 string/str3"), in TEST_F()
137 ASSERT_NE(result->stdout.find(R::target::string::literal::str4 + " -> 0x7f020002 string/str4"), in TEST_F()
305 "--resid", R::target::string::literal::str1}); in TEST_F()
DR.h35 namespace literal {
55 namespace literal {
DPrettyPrintVisitorTests.cpp59 ASSERT_NE(stream.str().find(R::target::integer::literal::int1 + " -> 0x7f010000 integer/int1\n"), in TEST()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp81 static constexpr const char *literal = "literal"; member
333 std::string literal = getXmlAttribute(child, Attributes::literal); in deserialize() local
334 if (literal.empty()) { in deserialize()
335 ALOGE("%s: No attribute %s found", __FUNCTION__, Attributes::literal); in deserialize()
341 ALOGE("%s: No attribute %s found", __FUNCTION__, Attributes::literal); in deserialize()
348 values.push_back({numerical, literal}); in deserialize()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DTypeConverter.cpp24 #define TERMINATOR { .literal = nullptr }
/frameworks/base/media/jni/soundpool/
DAndroid.bp22 "modernize-raw-string-literal",
/frameworks/av/services/mediametrics/
DAndroid.bp25 "modernize-raw-string-literal",
/frameworks/av/media/libmediahelper/
DTypeConverter.cpp22 #define TERMINATOR { .literal = nullptr }
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll242 /*" c string literal */
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...