Home
last modified time | relevance | path

Searched refs:CStr (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/icu4c/source/common/
Dcstr.h46 class U_COMMON_API CStr : public UMemory {
48 CStr(const UnicodeString &in);
49 ~CStr();
54 CStr(const CStr &other); // Forbid copying of this class.
55 CStr &operator =(const CStr &other); // Forbid assignment.
Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { in CStr() function in CStr
47 CStr::~CStr() { in ~CStr()
50 const char * CStr::operator ()() const { in operator ()()
Drbbistbl.cpp244 RBBIDebugPrintf("%-19s %8p %7d ", CStr(s->key)(), (void *)s->val, s->val->fSerialNum); in rbbiSymtablePrint()
245 RBBIDebugPrintf(" %s\n", CStr(s->val->fLeftChild->fText)()); in rbbiSymtablePrint()
256 RBBIDebugPrintf("%s\n", CStr(s->key)()); in rbbiSymtablePrint()
Drbbinode.cpp332 RBBIDebugPrintf("%*s", minWidth, CStr(s)()); in RBBI_DEBUG_printUnicodeString()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp198 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraint() argument
200 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
201 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
202 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
204 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
207 throw "Illegal format for @earlyclobber constraint: '" + CStr + "'"; in ParseConstraint()
220 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint()
222 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
223 std::string Name = CStr.substr(start, pos - start); in ParseConstraint()
228 throw "Illegal format for tied-to constraint: '" + CStr + "'"; in ParseConstraint()
[all …]
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp204 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraint() argument
206 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
207 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
208 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
210 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
213 PrintFatalError("Illegal format for @earlyclobber constraint: '" + CStr + "'"); in ParseConstraint()
226 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint()
228 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
229 std::string Name = CStr.substr(start, pos - start); in ParseConstraint()
234 PrintFatalError("Illegal format for tied-to constraint: '" + CStr + "'"); in ParseConstraint()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenInstruction.cpp205 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraint() argument
207 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint()
208 std::string::size_type start = CStr.find_first_not_of(" \t"); in ParseConstraint()
209 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
211 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
214 PrintFatalError("Illegal format for @earlyclobber constraint: '" + CStr + "'"); in ParseConstraint()
227 std::string::size_type pos = CStr.find_first_of('='); in ParseConstraint()
229 start = CStr.find_first_not_of(" \t"); in ParseConstraint()
230 std::string Name = CStr.substr(start, pos - start); in ParseConstraint()
235 PrintFatalError("Illegal format for tied-to constraint: '" + CStr + "'"); in ParseConstraint()
[all …]
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp135 printf("epandedDef: %s\n", CStr(expandedDef)()); in addCharClass()
141 u_errorName(status), CStr(name)()); in addCharClass()
154 IntlTest::gTest->logln("Redefinition of character class %s\n", CStr(cclass->fName)()); in addCharClass()
178 __FILE__, __LINE__, CStr(name)(), CStr(definition)()); in addRule()
216 printf("fExpandedRule: %s\n", CStr(thisRule->fExpandedRule)()); in addRule()
223 __FILE__, __LINE__, CStr(thisRule->fExpandedRule)()); in addRule()
235 localeName.append(CStr(value)(), -1, status); in setKeywordParameter()
249 … IntlTest::gTest->errln("%s:%d Unrecognized break type %s", __FILE__, __LINE__, CStr(value)()); in setKeywordParameter()
313 printf("scanned class: %s = %s\n", CStr(className)(), CStr(classDef)()); in compileRules()
330 printf("scanned rule: %s : %s\n", CStr(ruleName)(), CStr(ruleDef)()); in compileRules()
[all …]
Dnumbertest_skeletons.cpp114 assertSuccess(CStr(skeletonString)(), status, true); in validTokens()
Dstrtest.cpp582 if (0 != strcmp(CStr(us)(), cs)) { in TestCStr()
583 … errln("%s:%d CStr(s)() failed. Expected \"%s\", got \"%s\"", __FILE__, __LINE__, cs, CStr(us)()); in TestCStr()
Dutxttest.cpp1551 …__FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))()); in Ticket12130()
1578 …__FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))()); in Ticket12130()
Ddtifmtts.cpp1554 …rln("%s:%d Expected \"%s\", got \"%s\"", __FILE__, __LINE__, CStr(*gExpectedResult)(), CStr(result… in threadFunc11669()
Dnumfmtst.cpp6982 __FILE__, __LINE__, CStr(expect)(), CStr(result)(), u_errorName(status)); in TestFormatFastpaths()
7006 __FILE__, __LINE__, CStr(expect)(), CStr(result)(), u_errorName(status)); in TestFormatFastpaths()
7030 __FILE__, __LINE__, CStr(expect)(), CStr(result)(), u_errorName(status)); in TestFormatFastpaths()
7054 __FILE__, __LINE__, CStr(expect)(), CStr(result)(), u_errorName(status)); in TestFormatFastpaths()
7073 __FILE__, __LINE__, CStr(expect)(), CStr(result)(), u_errorName(status)); in TestFormatFastpaths()
7872 descriptions[i], values[j], CStr(currentExpected)(), CStr(actual)()); in verifyRounding()
Dnumrgts.cpp1213 dataerrln("FAIL: Expected '%s'; got '%s'", CStr(expected)(), CStr(out)()); in roundingTest()
2164 logln("%f -> \"%s\" -> %f", d, CStr(s)(), e);
/external/icu/icu4c/source/i18n/
Drepattrn.cpp760 printf("'%s'", CStr(UnicodeString(val))()); in dumpOp()
771 printf("%s", CStr(str)()); in dumpOp()
781 printf("%s", CStr(s)()); in dumpOp()
795 printf("%s", CStr(s)()); in dumpOp()
817 printf("Original Pattern: \"%s\"\n", CStr(patStr)()); in dumpPattern()
822 printf(" Initial match string: \"%s\"\n", CStr(initialString)()); in dumpPattern()
826 printf(" Match First Chars: %s\n", CStr(s)()); in dumpPattern()
831 printf("'%s'\n", CStr(UnicodeString(fInitialChar))()); in dumpPattern()
846 printf(" %d\t%s\n", number, CStr(*name)()); in dumpPattern()
/external/tinyxml2/contrib/
Dhtml5-printer.cpp101 std::cout << "XMLPrinter (not valid HTML5):\n" << prn.CStr() << "\n\n"; in main()
105 std::cout << "XMLPrinterHTML5:\n" << html5.CStr() << "\n"; in main()
/external/tinyxml2/
Dxmltest.cpp517 printf( "%s", streamer.CStr() ); in main()
522 …XMLTest( "Compact mode", "<element><sub attrib=\"true\"/><sub/></element>", streamer.CStr(), false… in main()
1340 XMLTest("Deep clone of element.", printer1.CStr(), printer2.CStr(), true); in main()
1370 XMLTest("Deep clone of sub-element.", printer1.CStr(), printer2.CStr(), true); in main()
1397 XMLTest("DeepCopy of document.", printer1.CStr(), printer2.CStr(), true); in main()
1516 XMLTest( "BOM and default declaration", result, printer.CStr(), false ); in main()
1683 XMLTest( "Printing of sub-element", "<child>abc</child>\n", printer.CStr(), false ); in main()
1704 … XMLTest( "BOM preservation (compare)", xml_bom_preservation, printer.CStr(), false, true ); in main()
1716 … XMLTest( "BOM preservation (compare)", xml_bom_preservation, printer.CStr(), false, true ); in main()
1766 XMLTest("Move node from within <one> to <two>", xmlInsideTwo, printer1.CStr()); in main()
[all …]
Dreadme.md203 // printer.CStr() has a const char* to the XML
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DDWARFYAML.cpp117 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping()
118 IO.mapOptional("CStr", FormValue.CStr); in mapping()
DDWARFVisitor.cpp142 onValue(FormVal->CStr); in traverseDebugInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp1073 const char *CStr = NTE.getString(); in verifyNameIndexEntries() local
1074 if (!CStr) { in verifyNameIndexEntries()
1080 StringRef Str(CStr); in verifyNameIndexEntries()
/external/clang/tools/c-index-test/
Dc-index-test.c306 static void PrintCString(const char *CStr) { in PrintCString() argument
307 if (CStr != NULL && CStr[0] != '\0') { in PrintCString()
308 for ( ; *CStr; ++CStr) { in PrintCString()
309 const char C = *CStr; in PrintCString()
322 static void PrintCStringWithPrefix(const char *Prefix, const char *CStr) { in PrintCStringWithPrefix() argument
324 PrintCString(CStr); in PrintCStringWithPrefix()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h92 StringRef CStr; member
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp191 NewValue.CStr = Val.getValue(); in dumpDebugInfo()
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp664 fTable[ticket][where].insert(std::string(icu::CStr(ustr)())); in add()

12