Home
last modified time | relevance | path

Searched refs:ArrayName (Results 1 – 2 of 2) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection.h291 void genVectorLengthCompatibilityCheck(const std::string &ArrayName, unsigned VecSize);
292 void genNullArrayCheck(const std::string &ArrayName);
Dslang_rs_reflection.cpp376 std::stringstream ArrayName; in GetTypeName() local
377 ArrayName << ElementTypeName << '[' << CAT->getNumElement() << ']'; in GetTypeName()
378 return ArrayName.str(); in GetTypeName()
982 void RSReflectionJava::genNullArrayCheck(const std::string &ArrayName) { in genNullArrayCheck() argument
983 mOut.indent() << "// Verify that \"" << ArrayName << "\" is non-null.\n"; in genNullArrayCheck()
984 mOut.indent() << "if (" << ArrayName << " == null) {\n"; in genNullArrayCheck()
986 << ArrayName << "\\\" is null!\");\n"; in genNullArrayCheck()
990 void RSReflectionJava::genVectorLengthCompatibilityCheck(const std::string &ArrayName, in genVectorLengthCompatibilityCheck() argument
993 mOut.indent() << "if (" << ArrayName << ".length % " << std::to_string(VecSize) in genVectorLengthCompatibilityCheck()
995 mOut.indent() << " throw new RSIllegalArgumentException(\"Array \\\"" << ArrayName in genVectorLengthCompatibilityCheck()