Home
last modified time | relevance | path

Searched refs:cString (Results 1 – 18 of 18) sorted by relevance

/external/icu4c/test/letest/
Dletsutil.cpp38 char *cString = NEW_ARRAY(char, cLength + 1); in getCString() local
40 uString->extract(0, uLength, cString, cLength, US_INV); in getCString()
41 cString[cLength] = '\0'; in getCString()
43 return cString; in getCString()
65 char *cString = NEW_ARRAY(char, cLength + 1); in getUTF8String() local
67 uString->extract(0, uLength, cString, cLength, "UTF-8"); in getUTF8String()
69 cString[cLength] = '\0'; in getUTF8String()
71 return cString; in getUTF8String()
74 void freeCString(char *cString) in freeCString() argument
76 DELETE_ARRAY(cString); in freeCString()
Dletsutil.h33 void freeCString(char *cString);
/external/webkit/Source/WebCore/platform/network/
DHTTPHeaderMap.cpp82 static unsigned hash(const char* cString) in hash()
84 return CaseFoldingHash::hash(cString, strlen(cString)); in hash()
87 static bool equal(const AtomicString& key, const char* cString) in equal()
89 return equalIgnoringCase(key, cString); in equal()
92 static void translate(AtomicString& location, const char* cString, unsigned /*hash*/) in translate()
94 location = AtomicString(cString); in translate()
/external/clang/test/CodeGenObjC/
Dfor-in.m10 -(const char*) cString; method
27 p("element %d: %s\n", index++, [i cString]);
40 p("element %d: %s\n", index, [i cString]);
Dconstant-string-class.m16 char *cString; field
25 - (char *)customString { return cString ; }
/external/llvm/include/llvm/ADT/
DTwine.h136 const char *cString; member
266 LHS.cString = Str; in Twine()
350 LHS.cString = _LHS; in Twine()
359 RHS.cString = _RHS; in Twine()
431 case CStringKind: return StringRef(LHS.cString); in getSingleStringRef()
/external/llvm/lib/Support/
DTwine.cpp43 return StringRef(LHS.cString); in toNullTerminatedStringRef()
67 OS << Ptr.cString; in printOneChild()
115 << Ptr.cString << "\""; in printOneChildRepr()
/external/webkit/Source/WebKit/gtk/tests/
Dtestkeyevents.c170 gchar* cString = g_malloc(size); in element_text_equal_to() local
171 JSStringGetUTF8CString(inputString, cString, size); in element_text_equal_to()
174 gboolean result = g_utf8_collate(cString, text) == 0; in element_text_equal_to()
175 g_free(cString); in element_text_equal_to()
/external/webkit/Source/WebCore/dom/
Dxml_expat_tokenizer.cpp972 CString cString = string.utf8(); in parseXMLDocumentFragment() local
973 int result = XML_Parse(parser, cString.data(), cString.length(), true); in parseXMLDocumentFragment()
1017 CString cString = input.deprecatedString().utf8(); in parseAttributes() local
1018 if ( XML_Parse(parser, cString.data(), cString.length(), true) != XML_STATUS_ERROR ) in parseAttributes()
/external/icu4c/test/cintltst/
Dutexttst.c65 const char * cString = "\x61\x62\x63\x64"; in TestAPI() local
78 uta = utext_openUTF8(&utLoc, cString, -1, &status); in TestAPI()
Dcapitst.c1703 const char* cString = "A very Merry liTTle-lamB.."; in TestSortKeyBufferOverrun() local
1707 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
/external/clang/test/ARCMT/
Dobjcmt-boxing.m.result69 + (id)stringWithCString:(const char *)cString encoding:(NSStringEncoding)enc;
Dobjcmt-boxing.m69 + (id)stringWithCString:(const char *)cString encoding:(NSStringEncoding)enc;
/external/compiler-rt/BlocksRuntime/tests/
Dtestfilerunner.m396 for (id cString in extraLibraries) {
397 [pa addPointer:cString];
/external/webkit/Source/WebKit/mac/Plugins/
DWebNetscapePluginView.mm2393 …NPError npErr = [_pluginPackage.get() pluginFuncs]->newp((char *)[_MIMEType.get() cString], plugin…
/external/webkit/Source/WebKit/mac/
DChangeLog-2002-12-031577 Use fileSystemRepresentationWithPath, not cString, to turn a path into something
1960 - my own private war on the cString method
1963 (-[WebDownloadHandler initWithDataSource:]): Use %@ in LOG to avoid cString.
13780 to get the length for the cString rather than assuming that length will be right.
16252 (-[IFPluginView newStream:mimeType:notifyData:]): Use [mimeType cString].
16254 [NSString cString] for simplicity and don't keep the lists around after we're done with
16256 (-[IFPluginView IFURLHandleResourceDidFinishLoading:data:]): Use [filenameClassic cString].
DChangeLog-2006-02-0912415 … Use UTF8String instead of cString to convert the MIME type to a C string. Safer, since it can't
12421 …can, so we need to use this instead of cString which can fail depending on characters and encoding.
/external/webkit/Source/WebCore/
DChangeLog-2002-12-0313968 * src/kwq/KWQFont.mm: (QFont::getFont): Use lossyCString instead of cString for