Home
last modified time | relevance | path

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

12

/frameworks/data-binding/compiler/src/test/java/android/databinding/
DBindingExpressionParserTest.java57 LiteralContext literal = parseLiteral(expr); in testSingleQuoteStringLiteral() local
58 assertNotNull(literal); in testSingleQuoteStringLiteral()
59 StringLiteralContext stringLiteral = literal.stringLiteral(); in testSingleQuoteStringLiteral()
70 LiteralContext literal = parseLiteral(expr); in testDoubleQuoteStringLiteral() local
71 StringLiteralContext stringLiteral = literal.stringLiteral(); in testDoubleQuoteStringLiteral()
80 LiteralContext literal = parseLiteral(expr); in testSingleQuoteEscapeStringLiteral() local
81 StringLiteralContext stringLiteral = literal.stringLiteral(); in testSingleQuoteEscapeStringLiteral()
89 LiteralContext literal = parseLiteral("'c'"); in testCharLiteral() local
90 assertEquals("'c'", literal.getText()); in testCharLiteral()
91 literal = parseLiteral("'\\u0054'"); in testCharLiteral()
[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/av/services/audiopolicy/common/managerdefinitions/src/
DTypeConverter.cpp239 str = mTable[i].literal; in toString()
250 if (strcmp(mTable[i].literal, str.c_str()) == 0) { in fromString()
251 ALOGV("stringToEnum() found %s", mTable[i].literal); in fromString()
264 char *literal = strdup(str.c_str()); in collectionFromString() local
266 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in collectionFromString()
272 free(literal); in collectionFromString()
278 char *literal = strdup(str.c_str()); in maskFromString() local
280 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in maskFromString()
286 free(literal); in maskFromString()
/frameworks/native/include/input/
DInputEventLabels.h34 const char *literal; member
404 static int lookupValueByLabel(const char* literal, const InputEventLabel *list) { in lookupValueByLabel() argument
405 while (list->literal) { in lookupValueByLabel()
406 if (strcmp(literal, list->literal) == 0) { in lookupValueByLabel()
415 while (list->literal) { in lookupLabelByValue()
417 return list->literal; in lookupLabelByValue()
430 return KEYCODES[keyCode].literal; in getLabelByKeyCode()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
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);
115 const char *literal; member
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd122 {@literal @}Override
132 {@literal @}Override
137 {@literal @}Override
148 {@literal @}Override
181 {@literal @}Override
229 {@literal @}Override
251 {@literal @}Override
258 {@literal @}Override
Dancestral.jd114 {@literal @}Override
159 {@literal @}Override
198 {@literal @}Override
Dtemporal.jd231 {@literal @}Override
/frameworks/data-binding/compilerCommon/
DBindingExpression.g436 : literal
45 | literal # Primary
86 literal
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java350 BindingExpressionParser.LiteralContext literal = constantValue.literal(); in defaultReplacement() local
351 if (literal != null) { in defaultReplacement()
352 BindingExpressionParser.StringLiteralContext stringLiteral = literal in defaultReplacement()
/frameworks/base/docs/html/guide/topics/manifest/
Dgrant-uri-permission-element.jd65 For example, a literal '{@code *}' would be written as "{@code \\*}" and a
66 literal '{@code \}' would be written as "{@code \\\\}". This is basically
Dpath-permission-element.jd62 For example, a literal '<code class="Code prettyprint">*</code>' would be written as "<code class="…
63 literal '<code class="Code prettyprint">\</code>' would be written as "<code class="Code prettyprin…
Ddata-element.jd137 For example, a literal '{@code *}' would be written as "{@code \\*}" and a
138 literal '{@code \}' would be written as "{@code \\\\}". This is basically
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
DParameterManagerWrapper.h161 const std::string &literal);
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
DBindingExpressionParser.java210 public LiteralContext literal() { in literal() method in BindingExpressionParser.ConstantValueContext
253 literal(); in constantValue()
431 public LiteralContext literal() { in literal() method in BindingExpressionParser.PrimaryContext
760 literal(); in expression()
1261 public final LiteralContext literal() throws RecognitionException { in literal() method in BindingExpressionParser
/frameworks/base/docs/html/training/backward-compatible-ui/
Dusing-component.jd114 {@literal @}Override
/frameworks/base/docs/html-intl/intl/ru/distribute/tools/
Dlocalization-checklist.jd378 &lt;!-- Example placeholder for a literal --&gt;
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/
Dlocalization-checklist.jd378 &lt;!-- Example placeholder for a literal --&gt;
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll242 /*" c string literal */
/frameworks/base/docs/html/google/play/billing/
Dbilling_best_practices.jd128 literal string. Instead, construct the string at runtime from pieces or use bit manipulation (for
/frameworks/base/docs/html-intl/intl/ko/distribute/tools/
Dlocalization-checklist.jd378 &lt;!-- Example placeholder for a literal --&gt;
/frameworks/base/docs/html-intl/intl/ja/distribute/tools/
Dlocalization-checklist.jd284 &lt;!-- Example placeholder for a literal --&gt;
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/tools/
Dlocalization-checklist.jd284 &lt;!-- Example placeholder for a literal --&gt;
/frameworks/base/docs/html/work/
Dmanaged-configurations.jd169 <em>cannot</em> be localized. It must be specified with a string literal.
/frameworks/base/docs/html/training/wearables/data-layer/
Devents.jd249 You can also match a literal path or path prefix. If you are matching by path

12