Home
last modified time | relevance | path

Searched refs:Kind (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dvulkan_xml_test.go155 if typе.Kind(arch) != cpp_types.Enum {
158 if typе.Elem(arch).Kind(arch) != cpp_types.Int32T {
208 if typе.Kind(arch) != cpp_types.Enum {
211 if typе.Elem(arch).Kind(arch) != cpp_types.UInt32T {
252 if typе.Kind(arch) != cpp_types.Enum {
255 if typе.Elem(arch).Kind(arch) != cpp_types.Int64T {
293 if typе.Kind(arch) != cpp_types.Alias {
297 if typе.Elem(arch).Kind(arch) != cpp_types.Ptr {
301 if typе.Elem(arch).Elem(arch).Kind(arch) != cpp_types.Opaque {
330 if typе.Kind(arch) != cpp_types.Alias {
[all …]
Dcpp_types.go32 Kind(arch Arch) Kind methodSpec
120 type Kind uint type
123 Invalid Kind = iota
426 kind Kind
450 func (typе *opaqueType) Kind(Arch) Kind { func
495 func (*aliasType) Kind(Arch) Kind { func
518 kind Kind
550 func (typе *fixedType) Kind(Arch) Kind { func
682 func (typе *archDependentType) Kind(arch Arch) Kind { func
687 return typе.arm_type.Kind(arch)
[all …]
/frameworks/compile/mclinker/include/mcld/MC/
DZOption.h21 enum Kind { enum
49 explicit ZOption(Kind pKind);
51 ZOption(Kind pKind, uint64_t pPageSize);
53 Kind kind() const { return m_Kind; } in kind()
55 void setKind(Kind pKind) { m_Kind = pKind; } in setKind()
62 Kind m_Kind;
/frameworks/libs/binary_translation/runtime_primitives/
Dtranslation_cache.cc47 GuestCodeEntry::Kind::kInterpreted, in AddAndLockForTranslation()
77 if (entry->kind != GuestCodeEntry::Kind::kLightTranslated) { in LockForGearUpTranslation()
87 entry->kind = GuestCodeEntry::Kind::kUnderProcessing; in LockForTranslationUnsafe()
96 GuestCodeEntry::Kind kind, in SetTranslatedAndUnlock()
98 CHECK(kind != GuestCodeEntry::Kind::kUnderProcessing); in SetTranslatedAndUnlock()
99 CHECK(kind != GuestCodeEntry::Kind::kGuestWrapped); in SetTranslatedAndUnlock()
100 CHECK(kind != GuestCodeEntry::Kind::kHostWrapped); in SetTranslatedAndUnlock()
117 CHECK(entry->kind == GuestCodeEntry::Kind::kUnderProcessing); in SetTranslatedAndUnlock()
145 GuestCodeEntry::Kind::kUnderProcessing, in AddAndLockForWrapping()
168 CHECK(entry->kind == GuestCodeEntry::Kind::kUnderProcessing); in SetWrappedAndUnlock()
[all …]
Dtranslation_cache_test.cc54 tc.SetTranslatedAndUnlock(pc, entry, 1, GuestCodeEntry::Kind::kSpecialHandler, {kEntryNoExec, 0}); in TEST()
69 EXPECT_EQ(entry->kind, GuestCodeEntry::Kind::kInterpreted); in TEST()
76 EXPECT_EQ(entry->kind, GuestCodeEntry::Kind::kUnderProcessing); in TEST()
83 tc.SetTranslatedAndUnlock(pc, entry, 1, GuestCodeEntry::Kind::kSpecialHandler, {kEntryNoExec, 0}); in TEST()
85 EXPECT_EQ(entry->kind, GuestCodeEntry::Kind::kSpecialHandler); in TEST()
102 ASSERT_EQ(entry->kind, GuestCodeEntry::Kind::kUnderProcessing); in TEST()
110 ASSERT_EQ(entry->kind, GuestCodeEntry::Kind::kHostWrapped); in TEST()
119 ASSERT_EQ(entry->kind, GuestCodeEntry::Kind::kInterpreted); in TEST()
130 EXPECT_EQ(entry->kind, GuestCodeEntry::Kind::kUnderProcessing); in TestWrappingWorker()
136 EXPECT_EQ(entry->kind, GuestCodeEntry::Kind::kHostWrapped); in TestWrappingWorker()
[all …]
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
DCompatChangeChecker.java39 import com.sun.source.tree.Tree.Kind;
105 kindIs(Kind.LESS_THAN), kindIs(Kind.LESS_THAN_EQUAL),
106 kindIs(Kind.GREATER_THAN), kindIs(Kind.GREATER_THAN_EQUAL),
107 kindIs(Kind.EQUAL_TO), kindIs(Kind.NOT_EQUAL_TO));
112 allOf(kindIs(Kind.GREATER_THAN), binaryTreeExact(anything(), R_VERSION_CODE)),
113 allOf(kindIs(Kind.LESS_THAN), binaryTreeExact(R_VERSION_CODE, anything())));
DTargetSdkChecker.java36 import com.sun.source.tree.Tree.Kind;
70 allOf(kindIs(Kind.LESS_THAN_EQUAL), binaryTreeExact(anything(), VERSION_CODE)),
71 allOf(kindIs(Kind.GREATER_THAN_EQUAL), binaryTreeExact(VERSION_CODE, anything())));
74 allOf(kindIs(Kind.GREATER_THAN), binaryTreeExact(anything(), VERSION_CODE)),
75 allOf(kindIs(Kind.LESS_THAN), binaryTreeExact(VERSION_CODE, anything())));
DEfficientStringsChecker.java50 import com.sun.source.tree.Tree.Kind;
87 allOf(kindIs(Kind.MEMBER_SELECT),
89 allOf(kindIs(Kind.IDENTIFIER),
91 kindIs(Kind.METHOD_INVOCATION));
97 private static final Matcher<Tree> PLUS = anyOf(kindIs(Kind.PLUS),
98 contains(BinaryTree.class, kindIs(Kind.PLUS)));
124 if (formatArg.getKind() == Kind.STRING_LITERAL) { in matchMethodInvocation()
171 if (tree.getKind() == Kind.PLUS_ASSIGNMENT && "java.lang.String" in matchCompoundAssignment()
/frameworks/compile/mclinker/include/mcld/Script/
DExprToken.h20 enum Kind { OPERATOR, OPERAND }; enum
23 explicit ExprToken(Kind pKind) : m_Kind(pKind) {} in ExprToken()
30 Kind kind() const { return m_Kind; } in kind()
33 Kind m_Kind;
DScriptCommand.h21 enum Kind { enum
37 explicit ScriptCommand(Kind pKind) : m_Kind(pKind) {} in ScriptCommand()
46 Kind getKind() const { return m_Kind; } in getKind()
49 Kind m_Kind;
DStrToken.h26 enum Kind { Unknown, String, Input, Wildcard }; enum
33 StrToken(Kind pKind, const std::string& pString);
38 Kind kind() const { return m_Kind; } in kind()
52 Kind m_Kind;
DScriptScanner.h43 void setLexState(ScriptFile::Kind pKind);
51 ScriptFile::Kind m_Kind;
52 std::stack<ScriptFile::Kind> m_StateStack;
DScriptFile.h40 enum Kind { enum
55 ScriptFile(Kind pKind, Input& pInput, InputBuilder& pBuilder);
73 Kind getKind() const { return m_Kind; } in getKind()
155 Kind m_Kind;
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DMutableIntPerfTest.java40 enum Kind { enum in MutableIntPerfTest
102 return Arrays.asList(new Object[][] {{Kind.ARRAY}, {Kind.ATOMIC}}); in getData()
107 public void timeCreate(Kind kind) { in timeCreate()
114 public void timeIncrement(Kind kind) { in timeIncrement()
121 public void timeGet(Kind kind) { in timeGet()
/frameworks/compile/slang/
Dslang_rs_exportable.h27 enum Kind { enum
38 Kind mK;
43 RSExportable(RSContext *Context, RSExportable::Kind K, clang::SourceLocation Loc) in RSExportable()
51 Kind getKind() const { return mK; } in getKind()
Dslang_rs_export_reduce.h64 static const char *getKey(FnIdent Kind);
106 static void notOk(StateOfAnalyzeTranslationUnit &S, FnIdent Kind);
109 FnIdent Kind, const llvm::StringRef &Name,
112 …static void checkVoidReturn(StateOfAnalyzeTranslationUnit &S, FnIdent Kind, clang::FunctionDecl *F…
115 const char *Kind, const llvm::StringRef &Name);
Dslang_rs_export_reduce.cpp73 const char *RSExportReduce::getKey(FnIdent Kind) { in getKey() argument
74 switch (Kind) { in getKey()
162 const char *Kind, const llvm::StringRef &Name) { in lookupFunction() argument
179 << Kind << Name << KeyReduce << mNameReduce in lookupFunction()
192 << Kind << Name << KeyReduce << mNameReduce; in lookupFunction()
200 << S.DiagnosticDescription(Kind, Name); in lookupFunction()
210 void RSExportReduce::notOk(StateOfAnalyzeTranslationUnit &S, FnIdent Kind) { in notOk() argument
212 if (Kind == FN_IDENT_ACCUMULATOR) { in notOk()
214 } else if (Kind == FN_IDENT_OUT_CONVERTER) { in notOk()
221 FnIdent Kind, clang::FunctionDecl *Fn) { in checkVoidReturn() argument
[all …]
/frameworks/libs/binary_translation/runtime/
Dtranslator_riscv64.cc46 GuestCodeEntry::Kind kSpecialHandler = GuestCodeEntry::Kind::kSpecialHandler;
47 GuestCodeEntry::Kind kInterpreted = GuestCodeEntry::Kind::kInterpreted;
48 GuestCodeEntry::Kind kLightTranslated = GuestCodeEntry::Kind::kLightTranslated;
49 GuestCodeEntry::Kind kHeavyOptimized = GuestCodeEntry::Kind::kHeavyOptimized;
130 std::tuple<bool, HostCodePiece, size_t, GuestCodeEntry::Kind> TryLiteTranslateAndInstallRegion( in TryLiteTranslateAndInstallRegion()
159 std::tuple<bool, HostCodePiece, size_t, GuestCodeEntry::Kind> HeavyOptimizeRegion(GuestAddr pc) { in HeavyOptimizeRegion()
214 GuestCodeEntry::Kind kind; in TranslateRegion()
Dtranslator_riscv64_test.cc41 EXPECT_EQ(kind, GuestCodeEntry::Kind::kLightTranslated); in TEST()
68 EXPECT_EQ(kind, GuestCodeEntry::Kind::kLightTranslated); in TEST()
82 EXPECT_EQ(kind, GuestCodeEntry::Kind::kHeavyOptimized); in TEST()
96 EXPECT_EQ(kind, GuestCodeEntry::Kind::kInterpreted); in TEST()
Dtranslator_riscv64.h30 std::tuple<bool, HostCodePiece, size_t, GuestCodeEntry::Kind> TryLiteTranslateAndInstallRegion(
33 std::tuple<bool, HostCodePiece, size_t, GuestCodeEntry::Kind> HeavyOptimizeRegion(GuestAddr pc);
/frameworks/compile/mclinker/include/mcld/LD/
DLDSection.h38 LDFileFormat::Kind pKind,
48 LDFileFormat::Kind pKind,
65 LDFileFormat::Kind kind() const { return m_Kind; } in kind()
118 void setKind(LDFileFormat::Kind pKind) { m_Kind = pKind; } in setKind()
184 LDFileFormat::Kind m_Kind;
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dtranslation_cache.h47 enum class Kind { enum
59 Kind kind;
141 GuestCodeEntry::Kind kind,
195 GuestCodeEntry::Kind kind,
/frameworks/compile/mclinker/lib/MC/
DZOption.cpp19 ZOption::ZOption(Kind pKind) : ZOption(pKind, 0x0) { in ZOption()
22 ZOption::ZOption(Kind pKind, uint64_t pPageSize) in ZOption()
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Daggregate-indirect-arg.cpp16 unsigned Kind; member in SVal
28 v.Kind = 2142; in main()
/frameworks/libs/binary_translation/backend/common/
Dmachine_ir_debug.cc144 case Kind::kJumpWithPendingSignalsCheck: in GetDebugString()
147 case Kind::kJumpWithoutPendingSignalsCheck: in GetDebugString()
150 case Kind::kSyscall: in GetDebugString()
153 case Kind::kExitGeneratedCode: in GetDebugString()

123