Searched refs:textData (Results 1 – 4 of 4) sorted by relevance
/external/skia/legacy/src/core/ |
D | SkPaint.cpp | 453 int SkPaint::utfToGlyphs(const void* textData, TextEncoding encoding, in utfToGlyphs() argument 459 const char* text = (const char*) textData; in utfToGlyphs() 485 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, in textToGlyphs() argument 491 SkASSERT(textData != NULL); in textToGlyphs() 496 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs() 498 return SkUTF16_CountUnichars((const uint16_t*)textData, in textToGlyphs() 513 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs() 520 const char* text = (const char*)textData; in textToGlyphs() 544 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument 549 SkASSERT(textData != NULL); in containsText() [all …]
|
/external/skia/src/core/ |
D | SkPaint.cpp | 487 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, in textToGlyphs() argument 493 SkASSERT(textData != NULL); in textToGlyphs() 498 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs() 500 return SkUTF16_CountUnichars((const uint16_t*)textData, in textToGlyphs() 517 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs() 524 const char* text = (const char*)textData; in textToGlyphs() 556 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument 561 SkASSERT(textData != NULL); in containsText() 565 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); in containsText() 580 const char* text = static_cast<const char*>(textData); in containsText() [all …]
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | PasteboardHelper.cpp | 135 GOwnPtr<gchar> textData(gtk_clipboard_wait_for_text(clipboard)); in getClipboardContents() local 136 if (textData) in getClipboardContents() 137 dataObject->setText(String::fromUTF8(textData.get())); in getClipboardContents()
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
D | NetscapePluginInstanceProxy.mm | 469 NSData *textData = [text dataUsingEncoding:NSUTF8StringEncoding]; 472 … const_cast<char*>(reinterpret_cast<const char*>([textData bytes])), [textData length]);
|