Lines Matching refs:Index
99 static const char *GetVectorAccessor(unsigned Index) {
107 slangAssert((Index < (sizeof(VectorAccessorMap) / sizeof(const char*))) &&
108 "Out-of-bound index to access vector member");
110 return VectorAccessorMap[Index];
1036 // TODO(zonr): more elegant way. Currently, we obtain the unique index
1039 // always use the same index variable name here) name given
1169 const char *Index) {
1175 if (Index != NULL)
1176 C.indent() << "if ("RS_TYPE_ITEM_BUFFER_NAME"[" << Index << "] == null) "
1177 RS_TYPE_ITEM_BUFFER_NAME"[" << Index << "] = "
1459 "int", "index");
1463 ".reset(index * "RS_TYPE_ITEM_CLASS_NAME".sizeof);"
1497 "int", "index",
1500 C.indent() << RS_TYPE_ITEM_BUFFER_NAME"[index] = i;" << std::endl;
1505 C.indent() << "copyToArray(i, index);" << std::endl;
1509 C.indent() << "mAllocation.setFromFieldPacker(index, fp);" << std::endl;
1525 "int", "index");
1528 C.indent() << "return "RS_TYPE_ITEM_BUFFER_NAME"[index];" << std::endl;
1548 "int", "index",
1552 genNewItemBufferIfNull(C, "index");
1553 C.indent() << RS_TYPE_ITEM_BUFFER_NAME"[index]." << F->getName()
1561 ".reset(index * "RS_TYPE_ITEM_CLASS_NAME".sizeof + "
1565 ".reset(index * "RS_TYPE_ITEM_CLASS_NAME".sizeof);"
1572 C.indent() << "mAllocation.setFromFieldPacker(index, " << FieldIndex
1596 "int", "index");
1599 C.indent() << "return "RS_TYPE_ITEM_BUFFER_NAME"[index]." << F->getName()