Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPaint.cpp460 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, in textToGlyphs() argument
466 SkASSERT(textData != nullptr); in textToGlyphs()
471 return SkUTF8_CountUnichars((const char*)textData, byteLength); in textToGlyphs()
473 return SkUTF16_CountUnichars((const uint16_t*)textData, SkToInt(byteLength >> 1)); in textToGlyphs()
489 memcpy(glyphs, textData, byteLength >> 1 << 1); in textToGlyphs()
496 const char* text = (const char*)textData; in textToGlyphs()
528 bool SkPaint::containsText(const void* textData, size_t byteLength) const { in containsText() argument
533 SkASSERT(textData != nullptr); in containsText()
537 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); in containsText()
552 const char* text = static_cast<const char*>(textData); in containsText()
[all …]
/external/webrtc/talk/app/webrtc/objctests/
DRTCPeerConnectionTest.mm255 NSData* textData = [text dataUsingEncoding:NSUTF8StringEncoding];
257 [[RTCDataBuffer alloc] initWithData:textData isBinary:NO];
258 [answeringExpectations expectMessage:[textData copy] isBinary:NO];