Lines Matching refs:c_str

27 , fFullName(String::printf("Gr%s", fName.c_str()))  in HCodeGenerator()
98 return String::printf("const %s&", fieldType.c_str()); in AccessType()
128 this->writef("%s%s", prefix, s->fText.c_str()); in writeSection()
140 const char* s = section->fText.c_str(); in writeExtraConstructorParams()
184 param->fModifiers.fLayout).c_str(), in writeMake()
185 String(param->fName).c_str()); in writeMake()
191 fFullName.c_str()); in writeMake()
195 this->writef("%sstd::move(%s)", separator, String(param->fName).c_str()); in writeMake()
197 this->writef("%s%s", separator, String(param->fName).c_str()); in writeMake()
223 this->writef(" %s(", fFullName.c_str()); in writeConstructor()
227 param->fModifiers.fLayout).c_str(), in writeConstructor()
228 String(param->fName).c_str()); in writeConstructor()
233 " : INHERITED(k%s_ClassID", fFullName.c_str()); in writeConstructor()
241 const char* name = nameString.c_str(); in writeConstructor()
244 this->writef("\n , %s(std::move(%s)", FieldName(name).c_str(), name); in writeConstructor()
248 this->writef(", %s", s->fText.c_str()); in writeConstructor()
255 this->writef("\n , %s(%s)", FieldName(name).c_str(), name); in writeConstructor()
261 String field = CoordTransformName(s.fArgument.c_str(), i); in writeConstructor()
263 this->writef("\n , %s(%s, %s.proxy())", field.c_str(), s.fText.c_str(), in writeConstructor()
264 FieldName(s.fArgument.c_str()).c_str()); in writeConstructor()
267 this->writef("\n , %s(%s)", field.c_str(), s.fText.c_str()); in writeConstructor()
278 this->writef(" if (%s) {\n", String(param->fName).c_str()); in writeConstructor()
280 this->writef(" SkASSERT(%s);", String(param->fName).c_str()); in writeConstructor()
283 FieldName(String(param->fName).c_str()).c_str()); in writeConstructor()
285 String(param->fName).c_str()); in writeConstructor()
296 String field = CoordTransformName(s.fArgument.c_str(), i); in writeConstructor()
297 this->writef(" this->addCoordTransform(&%s);\n", field.c_str()); in writeConstructor()
305 String name = FieldName(String(param->fName).c_str()); in writeFields()
307 this->writef(" int %s_index = -1;\n", name.c_str()); in writeFields()
310 param->fModifiers.fLayout).c_str(), in writeFields()
311 name.c_str()); in writeFields()
318 CoordTransformName(s.fArgument.c_str(), i).c_str()); in writeFields()
324 Parser parser(program.fSource->c_str(), program.fSource->length(), types, errors); in GetHeader()
331 return String(program.fSource->c_str() + header.fOffset, header.fLength); in GetHeader()
339 this->writef("%s\n", GetHeader(fProgram, fErrors).c_str()); in generateCode()
340 this->writef(kFragmentProcessorHeader, fFullName.c_str()); in generateCode()
343 fFullName.c_str(), in generateCode()
344 fFullName.c_str()); in generateCode()
351 fFullName.c_str()); in generateCode()
354 this->writef("%s\n", p.description().c_str()); in generateCode()
363 const char* name = nameString.c_str(); in generateCode()
366 FieldName(name).c_str()); in generateCode()
369 AccessType(fContext, param->fType, param->fModifiers.fLayout).c_str(), in generateCode()
370 name, FieldName(name).c_str()); in generateCode()
378 fFullName.c_str(), fFullName.c_str(), fName.c_str()); in generateCode()