Home
last modified time | relevance | path

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

/frameworks/av/include/media/
DTypeConverter.h88 char *literal = strdup(str.c_str()); variable
89 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) {
95 free(literal);
118 const char *literal; member
128 for (size_t i = 0; mTable[i].literal; i++) { in toString()
130 str = mTable[i].literal; in toString()
143 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
144 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
145 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
158 char *literal = strdup(str.c_str()); in collectionFromString() local
[all …]
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h88 char *literal = strdup(str.c_str()); variable
89 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) {
95 free(literal);
118 const char *literal; member
128 for (size_t i = 0; mTable[i].literal; i++) { in toString()
130 str = mTable[i].literal; in toString()
143 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
144 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
145 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
158 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
413 static int lookupValueByLabel(const char* literal, const InputEventLabel *list) { in lookupValueByLabel() argument
414 while (list->literal) { in lookupValueByLabel()
415 if (strcmp(literal, list->literal) == 0) { in lookupValueByLabel()
424 while (list->literal) { in lookupLabelByValue()
426 return list->literal; in lookupLabelByValue()
439 return KEYCODES[keyCode].literal; in getLabelByKeyCode()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java474 ByteString literal = ByteString.copyFrom(BYTES); in testEqualsLiteralByteString() local
475 assertEquals(CLASSNAME + " must equal LiteralByteString with same value", literal, in testEqualsLiteralByteString()
478 literal); in testEqualsLiteralByteString()
484 literal = ByteString.copyFrom(mungedBytes()); in testEqualsLiteralByteString()
486 testString.equals(literal)); in testEqualsLiteralByteString()
488 literal.equals(testString)); in testEqualsLiteralByteString()
/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/av/media/libmedia/
DTypeConverter.cpp22 #define TERMINATOR { .literal = nullptr }
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll242 /*" c string literal */
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_enormous_descriptor.proto36 // descriptors over 64k don't break the string literal length limit in Java.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_enormous_descriptor.proto36 // descriptors over 64k don't break the string literal length limit in Java.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunittest_enormous_descriptor.proto37 // such as the string literal length limit in Java.
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt113901 Ljava/time/format/DateTimeFormatterBuilder$CharLiteralPrinterParser;->literal:C
114046 Ljava/time/format/DateTimeFormatterBuilder$StringLiteralPrinterParser;->literal:Ljava/lang/String;