Home
last modified time | relevance | path

Searched refs:textData (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkPaint.cpp325 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, in textToGlyphs() argument
331 SkASSERT(textData != NULL); in textToGlyphs()
336 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs()
338 return SkUTF16_CountUnichars((const uint16_t*)textData, in textToGlyphs()
353 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs()
360 const char* text = (const char*)textData; in textToGlyphs()
384 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument
389 SkASSERT(textData != NULL); in containsText()
393 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); in containsText()
408 const char* text = static_cast<const char*>(textData); in containsText()
[all …]
/external/webkit/WebKit/mac/Plugins/Hosted/
DNetscapePluginInstanceProxy.mm360 NSData *textData = [text dataUsingEncoding:NSUTF8StringEncoding];
363 … const_cast<char*>(reinterpret_cast<const char*>([textData bytes])), [textData length]);