Searched refs:CheckType (Results 1 – 8 of 8) sorted by relevance
/aosp12/system/core/init/ |
H A D | property_type_test.cpp | 25 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 D | property_type.h | 25 bool CheckType(const std::string& type_string, const std::string& value);
|
H A D | property_type.cpp | 31 bool CheckType(const std::string& type_string, const std::string& value) { in CheckType() function
|
H A D | check_builtins.cpp | 189 if (!CheckType(type, value)) { in check_setprop()
|
H A D | property_service.cpp | 470 if (!CheckType(type, value)) { in CheckPermissions()
|
/aosp12/frameworks/compile/slang/ |
H A D | slang_rs_export_reduce.cpp | 721 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 D | slang_rs_reflection.cpp | 1225 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 D | code_generator.cc | 68 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()
|