Lines Matching refs:c_str
27 , fFullName(String::printf("Gr%s", fName.c_str())) in HCodeGenerator()
96 return String::printf("const %s&", fieldType.c_str()); in AccessType()
125 this->writef("%s%s", prefix, s->fText.c_str()); in writeSection()
137 const char* s = section->fText.c_str(); in writeExtraConstructorParams()
181 param->fModifiers.fLayout).c_str(), in writeMake()
182 String(param->fName).c_str()); in writeMake()
188 fFullName.c_str()); in writeMake()
192 this->writef("%sstd::move(%s)", separator, String(param->fName).c_str()); in writeMake()
194 this->writef("%s%s", separator, String(param->fName).c_str()); in writeMake()
220 this->writef(" %s(", fFullName.c_str()); in writeConstructor()
224 param->fModifiers.fLayout).c_str(), in writeConstructor()
225 String(param->fName).c_str()); in writeConstructor()
230 " : INHERITED(k%s_ClassID", fFullName.c_str()); in writeConstructor()
238 const char* name = nameString.c_str(); in writeConstructor()
240 this->writef("\n , %s(std::move(%s)", FieldName(name).c_str(), name); in writeConstructor()
244 this->writef(", %s", s->fText.c_str()); in writeConstructor()
251 this->writef("\n , %s(%s)", FieldName(name).c_str(), name); in writeConstructor()
257 String field = CoordTransformName(s.fArgument.c_str(), i); in writeConstructor()
259 this->writef("\n , %s(%s, %s.proxy())", field.c_str(), s.fText.c_str(), in writeConstructor()
260 FieldName(s.fArgument.c_str()).c_str()); in writeConstructor()
263 this->writef("\n , %s(%s)", field.c_str(), s.fText.c_str()); in writeConstructor()
274 String(param->fName).c_str()); in writeConstructor()
282 String field = CoordTransformName(s.fArgument.c_str(), i); in writeConstructor()
283 this->writef(" this->addCoordTransform(&%s);\n", field.c_str()); in writeConstructor()
295 param->fModifiers.fLayout).c_str(), in writeFields()
296 FieldName(String(param->fName).c_str()).c_str()); in writeFields()
302 CoordTransformName(s.fArgument.c_str(), i).c_str()); in writeFields()
308 Parser parser(program.fSource->c_str(), program.fSource->length(), types, errors); in GetHeader()
315 return String(program.fSource->c_str() + header.fOffset, header.fLength); in GetHeader()
323 this->writef("%s\n", GetHeader(fProgram, fErrors).c_str()); in generateCode()
324 this->writef(kFragmentProcessorHeader, fFullName.c_str()); in generateCode()
327 fFullName.c_str(), in generateCode()
328 fFullName.c_str()); in generateCode()
335 fFullName.c_str()); in generateCode()
338 this->writef("%s\n", p.description().c_str()); in generateCode()
348 const char* name = nameString.c_str(); in generateCode()
350 AccessType(fContext, param->fType, param->fModifiers.fLayout).c_str(), name, in generateCode()
351 FieldName(name).c_str()); in generateCode()
358 fFullName.c_str(), fFullName.c_str(), fName.c_str()); in generateCode()