Home
last modified time | relevance | path

Searched refs:CheckType (Results 1 – 8 of 8) sorted by relevance

/aosp12/system/core/init/
H A Dproperty_type_test.cpp25 EXPECT_TRUE(CheckType("string", "")); in TEST()
35 EXPECT_TRUE(CheckType("int", "")); in TEST()
36 EXPECT_FALSE(CheckType("int", "abc")); in TEST()
38 EXPECT_TRUE(CheckType("int", "0")); in TEST()
41 EXPECT_TRUE(CheckType("int", "123")); in TEST()
42 EXPECT_TRUE(CheckType("int", "-123")); in TEST()
46 EXPECT_TRUE(CheckType("uint", "")); in TEST()
49 EXPECT_TRUE(CheckType("uint", "0")); in TEST()
56 EXPECT_TRUE(CheckType("double", "")); in TEST()
67 EXPECT_TRUE(CheckType("size", "")); in TEST()
[all …]
H A Dproperty_type.h25 bool CheckType(const std::string& type_string, const std::string& value);
H A Dproperty_type.cpp31 bool CheckType(const std::string& type_string, const std::string& value) { in CheckType() function
H A Dcheck_builtins.cpp189 if (!CheckType(type, value)) { in check_setprop()
H A Dproperty_service.cpp470 if (!CheckType(type, value)) { in CheckPermissions()
/aosp12/frameworks/compile/slang/
H A Dslang_rs_export_reduce.cpp721 const RSExportType *CheckType = mResultType; in analyzeResultType() local
724 CheckType = static_cast<const RSExportConstantArrayType *>(mResultType)->getElementType(); in analyzeResultType()
727 switch (CheckType->getClass()) { in analyzeResultType()
H A Dslang_rs_reflection.cpp1225 const RSExportType *CheckType = ResultType; in exportableReduce() local
1227 CheckType = static_cast<const RSExportConstantArrayType *>(ResultType)->getElementType(); in exportableReduce()
1228 if (CheckType->getClass() == RSExportType::ExportClassRecord) { in exportableReduce()
/aosp12/art/compiler/optimizing/
H A Dcode_generator.cc68 static bool CheckType(DataType::Type type, Location location) { in CheckType() function
112 DCHECK(CheckType(instruction->GetType(), locations->InAt(0))) in CheckTypeConsistency()
116 DCHECK(CheckType(instruction->GetType(), locations->Out())) in CheckTypeConsistency()
123 DCHECK(CheckType(inputs[i]->GetType(), locations->InAt(i))) in CheckTypeConsistency()
131 DCHECK(CheckType(type, environment->GetLocationAt(i))) in CheckTypeConsistency()