Lines Matching refs:std
32 using std::string;
97 std::string
102 std::string RootNameFromRSFileName(const std::string &rsFileName) { in RootNameFromRSFileName()
106 std::string
111 std::string RSSlangReflectUtils::JavaBitcodeClassNameFromRSFileName( in JavaBitcodeClassNameFromRSFileName()
113 std::string tmp(InternalFileNameConvert(rsFileName, false)); in JavaBitcodeClassNameFromRSFileName()
150 out << std::setw(4) << static_cast<int>(buff[written]) << ","; in GenerateSegmentMethod()
166 std::string filename(context.bc32FileName); in GenerateJavaCodeAccessorMethodForBitwidth()
288 std::string JoinPath(const std::string &path1, const std::string &path2) { in JoinPath()
295 std::string fullPath = path1; in JoinPath()
313 static void SanitizeString(std::string *s) { in SanitizeString()
315 while ((p = s->find('\\', p)) != std::string::npos) { in SanitizeString()
351 std::string errorMsg; in startFile()
358 std::string FilePath = JoinPath(outDirectory, outFileName); in startFile()
375 std::string source(sourceFileName); in startFile()
397 void GeneratedFile::comment(const std::string &s) { in comment()
400 std::size_t indentLength = mIndent.length() + 3; in comment()
401 std::size_t lengthOfCommentOnLine = 0; in comment()
402 const std::size_t maxPerLine = 80; in comment()
403 for (std::size_t start = 0, length = s.length(), nextStart = 0; in comment()
405 std::size_t p = s.find_first_of(" \n", start); in comment()
406 std::size_t toCopy = 1; in comment()
408 if (p == std::string::npos) { in comment()