Lines Matching refs:Index
123 static const char *GetVectorAccessor(unsigned Index) {
130 slangAssert((Index < (sizeof(VectorAccessorMap) / sizeof(const char *))) &&
131 "Out-of-bound index to access vector member");
133 return VectorAccessorMap[Index];
950 size_t Index = 0;
952 BI != EI; BI++, ++Index) {
955 genTypeCheck(*BI, ("ain_" + Ins[Index]->getName()).str().c_str());
973 for (size_t index = 1; index < Ins.size(); ++index) {
974 genPairwiseDimCheck(In0Name, "ain_" + Ins[index]->getName().str());
996 for (size_t index = 1; index < Ins.size(); ++index) {
997 mOut << ", ain_" << Ins[index]->getName().str();
1082 // Generate the reflected function index.
1372 // InIdx = index of first vector element within InArray (or nullptr, if 0)
1969 // TODO(zonr): more elegant way. Currently, we obtain the unique index
1972 // always use the same index variable name here) name given
2092 void RSReflectionJava::genNewItemBufferIfNull(const char *Index) {
2096 if (Index != nullptr) {
2097 mOut.indent() << "if (" << RS_TYPE_ITEM_BUFFER_NAME << "[" << Index
2099 mOut << RS_TYPE_ITEM_BUFFER_NAME << "[" << Index << "] = new "
2309 RS_TYPE_ITEM_CLASS_NAME, "i", "int", "index");
2312 mOut.indent() << RS_TYPE_ITEM_BUFFER_PACKER_NAME << ".reset(index * "
2333 RS_TYPE_ITEM_CLASS_NAME, "i", "int", "index", "boolean",
2336 mOut.indent() << RS_TYPE_ITEM_BUFFER_NAME << "[index] = i;\n";
2341 mOut.indent() << "copyToArray(i, index);\n";
2344 mOut.indent() << "mAllocation.setFromFieldPacker(index, fp);\n";
2354 "int", "index");
2357 mOut.indent() << "return " << RS_TYPE_ITEM_BUFFER_NAME << "[index];\n";
2372 3, "int", "index", GetTypeName(F->getType()).c_str(), "v",
2375 genNewItemBufferIfNull("index");
2376 mOut.indent() << RS_TYPE_ITEM_BUFFER_NAME << "[index]." << F->getName()
2383 mOut.indent() << RS_TYPE_ITEM_BUFFER_PACKER_NAME << ".reset(index * "
2387 mOut.indent() << RS_TYPE_ITEM_BUFFER_PACKER_NAME << ".reset(index * "
2395 mOut.indent() << "mAllocation.setFromFieldPacker(index, " << FieldIndex
2413 "int", "index");
2416 mOut.indent() << "return " RS_TYPE_ITEM_BUFFER_NAME << "[index]."