Home
last modified time | relevance | path

Searched refs:VarName (Results 1 – 5 of 5) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection.cpp424 const std::string &VarName, in genInitBoolExportVariable() argument
430 C.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitBoolExportVariable()
440 const std::string &VarName, in genInitPrimitiveExportVariable() argument
444 C.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitPrimitiveExportVariable()
453 const std::string &VarName, in genInitExportVariable() argument
462 genInitBoolExportVariable(C, VarName, Val); in genInitExportVariable()
464 genInitPrimitiveExportVariable(C, VarName, Val); in genInitExportVariable()
481 std::string Name = VarName + "." + GetVectorAccessor(i); in genInitExportVariable()
490 C.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = new " in genInitExportVariable()
498 std::string Name = VarName + "." + GetVectorAccessor(i); in genInitExportVariable()
[all …]
Dslang_rs_reflection_cpp.h74 const std::string &VarName,
76 void genZeroInitExportVariable(const std::string &VarName);
77 void genInitBoolExportVariable(const std::string &VarName,
79 void genInitPrimitiveExportVariable(const std::string &VarName,
101 const char *VarName,
105 void genTypeCheck(const RSExportType *ET, const char *VarName);
Dslang_rs_reflection_cpp.cpp549 std::string VarName = EV->getName(); in genPointerTypeExportVariable() local
556 write(string("void bind_") + VarName + "(" + TypeName + in genPointerTypeExportVariable()
561 write(string(" " RS_EXPORT_VAR_PREFIX) + VarName + " = v;"); in genPointerTypeExportVariable()
564 write(TypeName + " get_" + VarName + "() const {"); in genPointerTypeExportVariable()
570 write(string(" return " RS_EXPORT_VAR_PREFIX) + VarName + ";"); in genPointerTypeExportVariable()
691 const char *VarName, in genPackVarOfType() argument
699 ss << " " << FieldPackerName << ".add(" << VarName << ");"; in genPackVarOfType()
751 if (VarName != NULL) in genPackVarOfType()
752 FieldName = VarName + ("." + F->getName()); in genPackVarOfType()
793 const char *VarName) { in genTypeCheck() argument
[all …]
Dslang_rs_reflection.h236 const std::string &VarName,
239 const std::string &VarName,
243 const std::string &VarName,
254 const std::string &VarName);
260 const std::string &VarName);
262 const std::string &VarName);
272 const char *VarName);
304 const std::string &VarName,
318 const char *VarName,
322 const std::string &VarName);
Dslang_rs_metadata_spec_encoder.cpp310 unsigned VarName = joinString(V->name); in encodeRSVar() local
311 if (!checkReturnIndex(&VarName)) { in encodeRSVar()
320 if (!EncodeInteger(mModule->getContext(), VarName, VarInfo)) { in encodeRSVar()