Home
last modified time | relevance | path

Searched refs:LITERAL (Results 1 – 25 of 79) sorted by relevance

1234

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/javadoc/
DJavadocLexer.java37 import static com.google.googlejavaformat.java.javadoc.Token.Type.LITERAL;
145 return preserveExistingFormatting ? LITERAL : WHITESPACE; in consumeToken()
163 return LITERAL; in consumeToken()
166 return LITERAL; in consumeToken()
169 return LITERAL; in consumeToken()
175 return LITERAL; in consumeToken()
180 return preserveExistingFormatting ? LITERAL : PRE_OPEN_TAG; in consumeToken()
183 return preserveExistingFormatting() ? LITERAL : PRE_CLOSE_TAG; in consumeToken()
188 return preserveExistingFormatting ? LITERAL : CODE_OPEN_TAG; in consumeToken()
191 return preserveExistingFormatting() ? LITERAL : CODE_CLOSE_TAG; in consumeToken()
[all …]
/external/python/cpython2/Lib/
Dsre_parse.py31 r"\a": (LITERAL, ord("\a")),
32 r"\b": (LITERAL, ord("\b")),
33 r"\f": (LITERAL, ord("\f")),
34 r"\n": (LITERAL, ord("\n")),
35 r"\r": (LITERAL, ord("\r")),
36 r"\t": (LITERAL, ord("\t")),
37 r"\v": (LITERAL, ord("\v")),
38 r"\\": (LITERAL, ord("\\"))
157 UNITCODES = (ANY, RANGE, IN, LITERAL, NOT_LITERAL, CATEGORY)
254 return LITERAL, int(escape, 16) & 0xff
[all …]
Dsre_compile.py25 _LITERAL_CODES = set([LITERAL, NOT_LITERAL])
88 emit(OPCODES[LITERAL])
236 elif op is LITERAL:
264 if op is LITERAL:
305 tail.append((LITERAL, hi))
331 out.append((LITERAL, p))
449 if op is LITERAL:
455 if op is LITERAL:
466 if op is LITERAL:
475 if op is LITERAL:
[all …]
Dsre_constants.py52 LITERAL = "literal" variable
118 LITERAL, LITERAL_IGNORE,
165 LITERAL: LITERAL_IGNORE,
/external/python/cpython3/Lib/
Dsre_parse.py29 _UNITCODES = frozenset({ANY, RANGE, IN, LITERAL, NOT_LITERAL, CATEGORY})
32 r"\a": (LITERAL, ord("\a")),
33 r"\b": (LITERAL, ord("\b")),
34 r"\f": (LITERAL, ord("\f")),
35 r"\n": (LITERAL, ord("\n")),
36 r"\r": (LITERAL, ord("\r")),
37 r"\t": (LITERAL, ord("\t")),
38 r"\v": (LITERAL, ord("\v")),
39 r"\\": (LITERAL, ord("\\"))
310 return LITERAL, int(escape[2:], 16)
[all …]
Dsre_constants.py150 LITERAL: LITERAL_IGNORE,
155 LITERAL: LITERAL_LOC_IGNORE,
160 LITERAL: LITERAL_UNI_IGNORE,
Dsre_compile.py19 _LITERAL_CODES = {LITERAL, NOT_LITERAL}
115 emit(LITERAL)
256 elif op is LITERAL:
285 if op is LITERAL:
352 out.append((LITERAL, p))
468 if op is LITERAL:
505 if op is LITERAL:
516 if op is LITERAL and not (iscased and iscased(av)):
525 if op is LITERAL:
647 elif op in (LITERAL, NOT_LITERAL,
/external/smali/smalidea/testData/
DInvalidInstruction.txt27 PsiElement(LITERAL)
76 PsiElement(LITERAL)
129 PsiElement(LITERAL)
133 PsiElement(LITERAL)
137 PsiElement(LITERAL)
165 PsiElement(LITERAL)
204 PsiElement(LITERAL)
214 PsiElement(LITERAL)
224 PsiElement(LITERAL)
DInvalidMethodReference.txt27 PsiElement(LITERAL)
70 PsiElement(LITERAL)
114 PsiElement(LITERAL)
164 PsiElement(LITERAL)
215 PsiElement(LITERAL)
DInvalidParameter.txt33 PsiElement(LITERAL)
67 PsiElement(LITERAL)
/external/clang/bindings/python/tests/cindex/
Dtest_token_kind.py29 literal = TokenKind.LITERAL
37 eq_(t, TokenKind.LITERAL)
42 r = repr(TokenKind.LITERAL)
/external/pdfium/third_party/libtiff/
Dtif_packbits.c72 enum { BASE, LITERAL, RUN, LITERAL_RUN } state; in PackBitsEncode() enumerator
96 if (state == LITERAL || state == LITERAL_RUN) { in PackBitsEncode()
128 state = LITERAL; in PackBitsEncode()
131 case LITERAL: /* last object was literal string */ in PackBitsEncode()
162 state = LITERAL; in PackBitsEncode()
175 BASE : LITERAL); in PackBitsEncode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DListFormatterTest.java237 {ListFormatter.Field.LITERAL, 5, 7}, in TestFormattedValue()
240 {ListFormatter.Field.LITERAL, 16, 22}, in TestFormattedValue()
297 {ListFormatter.Field.LITERAL, 1, 3}, in TestFormattedValue()
300 {ListFormatter.Field.LITERAL, 4, 6}, in TestFormattedValue()
303 {ListFormatter.Field.LITERAL, 7, 9}, in TestFormattedValue()
306 {ListFormatter.Field.LITERAL, 10, 12}, in TestFormattedValue()
309 {ListFormatter.Field.LITERAL, 13, 15}, in TestFormattedValue()
312 {ListFormatter.Field.LITERAL, 16, 18}, in TestFormattedValue()
315 {ListFormatter.Field.LITERAL, 19, 21}, in TestFormattedValue()
318 {ListFormatter.Field.LITERAL, 22, 24}, in TestFormattedValue()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DListFormatterTest.java234 {ListFormatter.Field.LITERAL, 5, 7}, in TestFormattedValue()
237 {ListFormatter.Field.LITERAL, 16, 22}, in TestFormattedValue()
294 {ListFormatter.Field.LITERAL, 1, 3}, in TestFormattedValue()
297 {ListFormatter.Field.LITERAL, 4, 6}, in TestFormattedValue()
300 {ListFormatter.Field.LITERAL, 7, 9}, in TestFormattedValue()
303 {ListFormatter.Field.LITERAL, 10, 12}, in TestFormattedValue()
306 {ListFormatter.Field.LITERAL, 13, 15}, in TestFormattedValue()
309 {ListFormatter.Field.LITERAL, 16, 18}, in TestFormattedValue()
312 {ListFormatter.Field.LITERAL, 19, 21}, in TestFormattedValue()
315 {ListFormatter.Field.LITERAL, 22, 24}, in TestFormattedValue()
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_token_kind.py35 literal = TokenKind.LITERAL
43 self.assertEqual(t, TokenKind.LITERAL)
48 r = repr(TokenKind.LITERAL)
/external/llvm-project/lld/test/MinGW/
Dlib.test10 RUN: not ld.lld -### -m i386pep -l:barefilename -L%t/lib 2>&1 | FileCheck -check-prefix=LIB-LITERAL
11 LIB-LITERAL-FAIL: unable to find library -l:barefilename
14 RUN: ld.lld -### -m i386pep -l:barefilename -L%t/lib 2>&1 | FileCheck -check-prefix=LIB-LITERAL %s
15 LIB-LITERAL: barefilename
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
DClassUsageTypeTest.java71 24, SmaliUsageTypeProvider.LITERAL, in testClassUsageTypes()
72 25, SmaliUsageTypeProvider.LITERAL); in testClassUsageTypes()
DFieldUsageTypeTest.java73 1, SmaliUsageTypeProvider.LITERAL, in testFieldUsageTypes()
74 2, SmaliUsageTypeProvider.LITERAL, in testFieldUsageTypes()
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
DSmaliUsageTypeProvider.java56 static final UsageType LITERAL = new UsageType("Usage as a literal"); field in SmaliUsageTypeProvider
152 return LITERAL; in findClassUsageType()
176 return LITERAL; in findFieldUsageType()
195 return LITERAL; in findMethodUsageType()
/external/skia/src/sksl/ir/
DSkSLFunctionCall.cpp50 template <typename LITERAL, typename FN>
68 bool value = compare(leftSubexpr->as<LITERAL>().value(), in optimize_comparison_of_type()
69 rightSubexpr->as<LITERAL>().value()); in optimize_comparison_of_type()
96 template <typename LITERAL, typename FN>
110 auto value = evaluate(subexpr->as<LITERAL>().value()); in evaluate_intrinsic_1_of_type()
117 result.push_back(LITERAL::Make(subexpr->fOffset, value, &type)); in evaluate_intrinsic_1_of_type()
/external/rust/crates/quiche/src/h3/qpack/
Ddecoder.rs36 use super::LITERAL;
58 if b & LITERAL == LITERAL { in from_byte()
Dencoder.rs34 use super::LITERAL;
88 encode_int(name_len as u64, LITERAL | 0x08, 3, &mut b)?; in encode()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DJavaTokenTest.java41 assertToken("1", range(1, 1, 1, 1), INTEGER_LITERAL, LITERAL, iterator.next()); in testAFewTokens()
45 assertToken("1", range(1, 9, 1, 9), INTEGER_LITERAL, LITERAL, iterator.next()); in testAFewTokens()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DUriPatternType.java64 LITERAL, enumConstant
77 this.patternKind = Kind.LITERAL; in ServletStyleUriPatternMatcher()
/external/smali/smalidea/src/main/antlr/
DsmalideaParser.g596 { finishToken(marker, SmaliElementTypes.LITERAL); };
605 { finishToken(marker, SmaliElementTypes.LITERAL); };
614 { finishToken(marker, SmaliElementTypes.LITERAL); };
623 { finishToken(marker, SmaliElementTypes.LITERAL); };
632 { finishToken(marker, SmaliElementTypes.LITERAL); };
642 { finishToken(marker, SmaliElementTypes.LITERAL); };
651 { finishToken(marker, SmaliElementTypes.LITERAL); };
661 { finishToken(marker, SmaliElementTypes.LITERAL); };
671 { finishToken(marker, SmaliElementTypes.LITERAL); };
680 { finishToken(marker, SmaliElementTypes.LITERAL); };
[all …]

1234