Home
last modified time | relevance | path

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

/frameworks/data-binding/compiler/src/test/java/android/databinding/
DBindingExpressionParserTest.java59 LiteralContext literal = parseLiteral(expr); in testSingleQuoteStringLiteral() local
60 assertNotNull(literal); in testSingleQuoteStringLiteral()
61 StringLiteralContext stringLiteral = literal.stringLiteral(); in testSingleQuoteStringLiteral()
72 LiteralContext literal = parseLiteral(expr); in testDoubleQuoteStringLiteral() local
73 StringLiteralContext stringLiteral = literal.stringLiteral(); in testDoubleQuoteStringLiteral()
82 LiteralContext literal = parseLiteral(expr); in testSingleQuoteEscapeStringLiteral() local
83 StringLiteralContext stringLiteral = literal.stringLiteral(); in testSingleQuoteEscapeStringLiteral()
91 LiteralContext literal = parseLiteral("'c'"); in testCharLiteral() local
92 assertEquals("'c'", literal.getText()); in testCharLiteral()
93 literal = parseLiteral("'\\u0054'"); in testCharLiteral()
[all …]
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h104 char *literal = strdup(str.c_str()); variable
105 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) {
111 free(literal);
134 const char *literal; member
144 for (size_t i = 0; mTable[i].literal; i++) { in toString()
146 str = mTable[i].literal; in toString()
159 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
160 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
161 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
174 char *literal = strdup(str.c_str()); in collectionFromString() local
[all …]
/frameworks/av/include/media/
DTypeConverter.h104 char *literal = strdup(str.c_str()); variable
105 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) {
111 free(literal);
134 const char *literal; member
144 for (size_t i = 0; mTable[i].literal; i++) { in toString()
146 str = mTable[i].literal; in toString()
159 for (size_t i = 0; mTable[i].literal; i++) { in fromString()
160 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
161 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
174 char *literal = strdup(str.c_str()); in collectionFromString() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLineBreakBufferedWriterTest.java58 String literal = "aaaaaaaaaaaaaaa"; in testMoreThanBufferSizeNoLineBreaks() local
59 lw.print(literal); in testMoreThanBufferSizeNoLineBreaks()
60 lw.print(literal); in testMoreThanBufferSizeNoLineBreaks()
68 assertEquals(2 * literal.length(), result.get(0).length() + result.get(1).length()); in testMoreThanBufferSizeNoLineBreaks()
80 String literal = "aaaaaaaaaaaaaaa"; in testMoreThanBufferSizeNoLineBreaksSingleString() local
81 lw.print(literal + literal); in testMoreThanBufferSizeNoLineBreaksSingleString()
89 assertEquals(2 * literal.length(), result.get(0).length() + result.get(1).length()); in testMoreThanBufferSizeNoLineBreaksSingleString()
/frameworks/native/include/input/
DInputEventLabels.h34 const char *literal; member
409 static int lookupValueByLabel(const char* literal, const InputEventLabel *list) { in lookupValueByLabel() argument
410 while (list->literal) { in lookupValueByLabel()
411 if (strcmp(literal, list->literal) == 0) { in lookupValueByLabel()
420 while (list->literal) { in lookupLabelByValue()
422 return list->literal; in lookupLabelByValue()
435 return KEYCODES[keyCode].literal; in getLabelByKeyCode()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DTypeConverter.cpp24 #define TERMINATOR { .literal = nullptr }
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java359 BindingExpressionParser.LiteralContext literal = constantValue.literal(); in defaultReplacement() local
360 if (literal != null) { in defaultReplacement()
361 BindingExpressionParser.StringLiteralContext stringLiteral = literal in defaultReplacement()
/frameworks/data-binding/compilerCommon/
DBindingExpression.g438 : literal
60 | literal # Primary
102 literal
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h161 const std::string &literal);
/frameworks/av/media/libmedia/
DTypeConverter.cpp22 #define TERMINATOR { .literal = nullptr }
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
DBindingExpressionParser.java261 public LiteralContext literal() { in literal() method in BindingExpressionParser.ConstantValueContext
303 literal(); in constantValue()
814 public LiteralContext literal() { in literal() method in BindingExpressionParser.PrimaryContext
991 literal(); in expression()
1516 public final LiteralContext literal() throws RecognitionException { in literal() method in BindingExpressionParser
/frameworks/support/buildSrc/src/main/groovy/android/support/doclava/
DDoclavaTask.groovy61 * marked with {@literal @hide}.<br>
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll242 /*" c string literal */