Home
last modified time | relevance | path

Searched refs:isValidIdentifier (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang/unittests/Basic/
DCharInfoTest.cpp416 TEST(CharInfoTest, isValidIdentifier) { in TEST() argument
417 EXPECT_FALSE(isValidIdentifier("")); in TEST()
420 EXPECT_FALSE(isValidIdentifier(".")); in TEST()
421 EXPECT_FALSE(isValidIdentifier("\n")); in TEST()
422 EXPECT_FALSE(isValidIdentifier(" ")); in TEST()
423 EXPECT_FALSE(isValidIdentifier("\x80")); in TEST()
424 EXPECT_FALSE(isValidIdentifier("\xc2")); in TEST()
425 EXPECT_FALSE(isValidIdentifier("\xff")); in TEST()
426 EXPECT_FALSE(isValidIdentifier("$")); in TEST()
427 EXPECT_FALSE(isValidIdentifier("1")); in TEST()
[all …]
/external/clang/unittests/Basic/
DCharInfoTest.cpp417 TEST(CharInfoTest, isValidIdentifier) { in TEST() argument
418 EXPECT_FALSE(isValidIdentifier("")); in TEST()
421 EXPECT_FALSE(isValidIdentifier(".")); in TEST()
422 EXPECT_FALSE(isValidIdentifier("\n")); in TEST()
423 EXPECT_FALSE(isValidIdentifier(" ")); in TEST()
424 EXPECT_FALSE(isValidIdentifier("\x80")); in TEST()
425 EXPECT_FALSE(isValidIdentifier("\xc2")); in TEST()
426 EXPECT_FALSE(isValidIdentifier("\xff")); in TEST()
427 EXPECT_FALSE(isValidIdentifier("$")); in TEST()
428 EXPECT_FALSE(isValidIdentifier("1")); in TEST()
[all …]
/external/auto/factory/src/test/java/com/google/auto/factory/processor/
DAutoFactoryDeclarationTest.java18 import static com.google.auto.factory.processor.AutoFactoryDeclaration.Factory.isValidIdentifier;
28 assertThat(isValidIdentifier("String")).isTrue(); in identifiers()
29 assertThat(isValidIdentifier("9CantStartWithNumber")).isFalse(); in identifiers()
30 assertThat(isValidIdentifier("enum")).isFalse(); in identifiers()
31 assertThat(isValidIdentifier("goto")).isFalse(); in identifiers()
32 assertThat(isValidIdentifier("InvalidCharacter!")).isFalse(); in identifiers()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DAutoFactoryDeclaration.java109 if (!className.isEmpty() && !isValidIdentifier(className)) { in createIfValid()
181 static boolean isValidIdentifier(String identifier) { in isValidIdentifier() method in AutoFactoryDeclaration.Factory
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1ObjectIdentifier.java180 if (!isValidIdentifier(identifier)) in ASN1ObjectIdentifier()
402 private static boolean isValidIdentifier( in isValidIdentifier() method in ASN1ObjectIdentifier
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1ObjectIdentifier.java182 if (!isValidIdentifier(identifier)) in ASN1ObjectIdentifier()
404 private static boolean isValidIdentifier( in isValidIdentifier() method in ASN1ObjectIdentifier
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DASN1ObjectIdentifier.java182 if (!isValidIdentifier(identifier)) in ASN1ObjectIdentifier()
404 private static boolean isValidIdentifier( in isValidIdentifier() method in ASN1ObjectIdentifier
/external/clang/include/clang/Basic/
DCharInfo.h185 LLVM_READONLY static inline bool isValidIdentifier(StringRef S) { in isValidIdentifier() function
/external/llvm-project/clang/include/clang/Basic/
DCharInfo.h184 LLVM_READONLY inline bool isValidIdentifier(StringRef S,
/external/dokka/core/src/main/kotlin/Analysis/
DJavaResolveExtension.kt42 if (method.containingClass == null || !Name.isValidIdentifier(method.name)) return null in <lambda>()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp234 if (isValidIdentifier(MF->ModuleName)) in visitModuleFile()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp467 } else if (!isValidIdentifier(Info.Fixup)) { in check()
/external/llvm-project/clang/lib/Basic/
DModule.cpp206 if (!AllowStringLiterals || isValidIdentifier(Name)) in printModuleId()
/external/llvm-project/clang/lib/Sema/
DSemaAvailability.cpp271 if (!isValidIdentifier(S, AllowDollar)) in tryParseObjCMethodName()
DSemaDeclAttr.cpp5773 } else if (ContextName.empty() || !isValidIdentifier(ContextName)) { in validateSwiftFunctionName()
5781 if (!isValidIdentifier(BaseName) || BaseName == "_") { in validateSwiftFunctionName()
5831 if (!isValidIdentifier(CurrentParam)) { in validateSwiftFunctionName()
6000 } else if (!isValidIdentifier(ContextName)) { in DiagnoseSwiftName()
6006 if (!isValidIdentifier(BaseName)) { in DiagnoseSwiftName()
/external/kotlinc/lib/
Dkotlin-annotation-processing.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-annotation- ...
Dkotlin-reflect.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/com.android. ...
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...
/external/clang/lib/Lex/
DModuleMap.cpp113 if (!isValidIdentifier(Name)) { in sanitizeFilenameAsIdentifier()
/external/llvm-project/clang/lib/Lex/
DModuleMap.cpp340 if (!isValidIdentifier(Name)) { in sanitizeFilenameAsIdentifier()
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...