Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_reflection.h247 void genVectorLengthCompatibilityCheck(const std::string &ArrayName, unsigned VecSize);
248 void genNullArrayCheck(const std::string &ArrayName);
Dslang_rs_reflection.cpp824 void RSReflectionJava::genNullArrayCheck(const std::string &ArrayName) { in genNullArrayCheck() argument
825 mOut.indent() << "// Verify that \"" << ArrayName << "\" is non-null.\n"; in genNullArrayCheck()
826 mOut.indent() << "if (" << ArrayName << " == null) {\n"; in genNullArrayCheck()
828 << ArrayName << "\\\" is null!\");\n"; in genNullArrayCheck()
832 void RSReflectionJava::genVectorLengthCompatibilityCheck(const std::string &ArrayName, in genVectorLengthCompatibilityCheck() argument
835 mOut.indent() << "if (" << ArrayName << ".length % " << std::to_string(VecSize) in genVectorLengthCompatibilityCheck()
837 mOut.indent() << " throw new RSIllegalArgumentException(\"Array \\\"" << ArrayName in genVectorLengthCompatibilityCheck()