Searched refs:CStr (Results 1 - 18 of 18) sorted by relevance

/external/icu/icu4c/source/common/
H A Dcstr.h24 * ICU-internal class CStr, a small helper class to facilitate passing UnicodeStrings
36 * printf("%s", CStr(s)());
38 * The explicit call to the CStr() constructor creates a temporary object.
46 class U_COMMON_API CStr : public UMemory { class in inherits:UMemory
48 CStr(const UnicodeString &in);
49 ~CStr();
54 CStr(const CStr &other); // Forbid copying of this class.
55 CStr &operator =(const CStr
[all...]
H A Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { function in class:CStr
47 CStr::~CStr() {
50 const char * CStr::operator ()() const {
H A Drbbistbl.cpp244 RBBIDebugPrintf("%-19s %8p %7d ", CStr(s->key)(), (void *)s->val, s->val->fSerialNum);
245 RBBIDebugPrintf(" %s\n", CStr(s->val->fLeftChild->fText)());
256 RBBIDebugPrintf("%s\n", CStr(s->key)());
H A Drbbinode.cpp332 RBBIDebugPrintf("%*s", minWidth, CStr(s)());
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DCodeGenInstruction.cpp198 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { argument
200 std::string::size_type wpos = CStr.find_first_of(" \t");
201 std::string::size_type start = CStr.find_first_not_of(" \t");
202 std::string Tok = CStr.substr(start, wpos - start);
204 std::string Name = CStr.substr(wpos+1);
207 throw "Illegal format for @earlyclobber constraint: '" + CStr + "'";
220 std::string::size_type pos = CStr.find_first_of('=');
222 start = CStr.find_first_not_of(" \t");
223 std::string Name = CStr.substr(start, pos - start);
228 throw "Illegal format for tied-to constraint: '" + CStr
251 ParseConstraints(const std::string &CStr, CGIOperandList &Ops) argument
[all...]
/external/icu/icu4c/source/test/intltest/
H A Drbbimonkeytest.cpp135 printf("epandedDef: %s\n", CStr(expandedDef)());
141 u_errorName(status), CStr(name)());
154 IntlTest::gTest->logln("Redefinition of character class %s\n", CStr(cclass->fName)());
178 __FILE__, __LINE__, CStr(name)(), CStr(definition)());
208 printf("fExpandedRule: %s\n", CStr(thisRule->fExpandedRule)());
215 __FILE__, __LINE__, CStr(thisRule->fExpandedRule)());
227 localeName.append(CStr(value)(), -1, status);
241 IntlTest::gTest->errln("%s:%d Unrecognized break type %s", __FILE__, __LINE__, CStr(value)());
305 printf("scanned class: %s = %s\n", CStr(classNam
[all...]
H A Dstrtest.cpp545 if (0 != strcmp(CStr(us)(), cs)) {
546 errln("%s:%d CStr(s)() failed. Expected \"%s\", got \"%s\"", __FILE__, __LINE__, cs, CStr(us)());
H A Dutxttest.cpp1554 __FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))());
1581 __FILE__, __LINE__, CStr(str.tempSubString(startIdx, 20))(), CStr(UnicodeString(extractBuffer))());
H A Ddtifmtts.cpp1554 errln("%s:%d Expected \"%s\", got \"%s\"", __FILE__, __LINE__, CStr(*gExpectedResult)(), CStr(result)());
H A Dtzfmttst.cpp561 threadNumber, gLocaleData->locales[locidx].getName(), CStr(pattern)());
H A Dmeasfmttest.cpp1801 unit->getType(), unit->getSubtype(), localeID, (int)width, CStr(expStr)(), CStr(dnam)());
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp204 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { argument
206 std::string::size_type wpos = CStr.find_first_of(" \t");
207 std::string::size_type start = CStr.find_first_not_of(" \t");
208 std::string Tok = CStr.substr(start, wpos - start);
210 std::string Name = CStr.substr(wpos+1);
213 PrintFatalError("Illegal format for @earlyclobber constraint: '" + CStr + "'");
226 std::string::size_type pos = CStr.find_first_of('=');
228 start = CStr.find_first_not_of(" \t");
229 std::string Name = CStr.substr(start, pos - start);
234 PrintFatalError("Illegal format for tied-to constraint: '" + CStr
259 ParseConstraints(const std::string &CStr, CGIOperandList &Ops) argument
[all...]
/external/icu/icu4c/source/i18n/
H A Drepattrn.cpp760 printf("'%s'", CStr(UnicodeString(val))());
771 printf("%s", CStr(str)());
781 printf("%s", CStr(s)());
795 printf("%s", CStr(s)());
817 printf("Original Pattern: \"%s\"\n", CStr(patStr)());
822 printf(" Initial match string: \"%s\"\n", CStr(initialString)());
826 printf(" Match First Chars: %s\n", CStr(s)());
831 printf("'%s'\n", CStr(UnicodeString(fInitialChar))());
846 printf(" %d\t%s\n", number, CStr(*name)());
H A Drematch.cpp2763 printf("Original Pattern: \"%s\"\n", CStr(StringFromUText(fPattern->fPattern))());
2764 printf("Input String: \"%s\"\n\n", CStr(StringFromUText(fInputText))());
4327 printf("Original Pattern: \"%s\"\n", CStr(StringFromUText(fPattern->fPattern))());
4328 printf("Input String: \"%s\"\n\n", CStr(StringFromUText(fInputText))());
/external/clang/tools/c-index-test/
H A Dc-index-test.c306 static void PrintCString(const char *CStr) { argument
307 if (CStr != NULL && CStr[0] != '\0') {
308 for ( ; *CStr; ++CStr) {
309 const char C = *CStr;
322 static void PrintCStringWithPrefix(const char *Prefix, const char *CStr) { argument
324 PrintCString(CStr);
/external/icu/icu4c/source/tools/toolutil/
H A Dudbgutil.cpp697 fTable[ticket][where].insert(std::string(icu::CStr(ustr)()));
/external/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h735 const char* xmlcstr = printer.CStr();
1726 be accessed via the CStr(), Str(), and Size() methods.
1734 fprintf( stdout, "%s", printer.CStr() );
1775 const char* CStr() { return buffer.c_str(); } function in class:TiXmlPrinter
/external/tinyxml2/
H A Dtinyxml2.h578 const char* xmlcstr = printer.CStr();
1116 // printer.CStr() has a const char* to the XML
1351 SomeFunction( printer.CStr() );
1384 to memory, and the result is available in CStr().
1440 const char* CStr() const { return buffer.Mem(); } function in class:tinyxml2::XMLPrinter

Completed in 501 milliseconds