Searched refs:byteLength (Results 1 - 25 of 125) sorted by relevance

12345

/external/skia/gm/
H A Dskbug_5321.cpp20 size_t byteLength = strlen(text); local
21 canvas->drawText(text, byteLength, x, y, paint);
23 int glyph_count = paint.countText(text, byteLength);
25 (void)paint.getTextWidths(text, byteLength, &widths[0]);
32 canvas->drawPosTextH(text, byteLength, &widths[0], y, paint);
H A Dannotated_text.cpp15 size_t byteLength = strlen(static_cast<const char*>(text)); local
17 (void)paint.measureText(text, byteLength, &bounds);
24 canvas->drawText(text, byteLength, x, y, paint);
/external/skqp/gm/
H A Dskbug_5321.cpp20 size_t byteLength = strlen(text); local
21 canvas->drawText(text, byteLength, x, y, paint);
23 int glyph_count = paint.countText(text, byteLength);
25 (void)paint.getTextWidths(text, byteLength, &widths[0]);
32 canvas->drawPosTextH(text, byteLength, &widths[0], y, paint);
H A Dannotated_text.cpp15 size_t byteLength = strlen(static_cast<const char*>(text)); local
17 (void)paint.measureText(text, byteLength, &bounds);
24 canvas->drawText(text, byteLength, x, y, paint);
/external/annotation-tools/asmx/src/org/objectweb/asm/
H A DByteVector.java220 int byteLength = i;
224 byteLength++;
226 byteLength += 3;
228 byteLength += 2;
231 data[length] = (byte) (byteLength >>> 8);
232 data[length + 1] = (byte) (byteLength);
233 if (length + 2 + byteLength > data.length) {
235 enlarge(2 + byteLength);
/external/skqp/src/gpu/text/
H A DGrAtlasTextContext.h52 size_t byteLength, SkScalar x, SkScalar y, const SkIRect& regionClipBounds);
55 size_t byteLength, const SkScalar pos[], int scalarsPerPosition,
86 const char text[], size_t byteLength,
95 const char text[], size_t byteLength,
104 const char text[], size_t byteLength, SkScalar x, SkScalar y);
109 const char text[], size_t byteLength, const SkScalar pos[],
119 const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x,
126 size_t byteLength, const SkScalar pos[], int scalarsPerPosition,
H A DGrTextUtils.cpp83 const SkMatrix& viewMatrix, const char text[], size_t byteLength,
85 if (!paint.countText(text, byteLength)) {
88 SkTextToPathIter iter(text, byteLength, paint, true);
110 const char text[], size_t byteLength, const SkScalar pos[],
113 if (!origPaint.countText(text, byteLength)) {
133 const char* stop = text + byteLength;
81 DrawBigText(GrTextUtils::Target* target, const GrClip& clip, const SkPaint& paint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
107 DrawBigPosText(GrTextUtils::Target* target, const SkSurfaceProps& props, const GrClip& clip, const SkPaint& origPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
/external/skia/include/core/
H A DSkFont.h148 int textToGlyphs(const void* text, size_t byteLength, SkTextEncoding,
151 int countText(const void* text, size_t byteLength, SkTextEncoding encoding) { argument
152 return this->textToGlyphs(text, byteLength, encoding, nullptr, 0);
155 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding) const;
/external/skqp/include/core/
H A DSkFont.h148 int textToGlyphs(const void* text, size_t byteLength, SkTextEncoding,
151 int countText(const void* text, size_t byteLength, SkTextEncoding encoding) { argument
152 return this->textToGlyphs(text, byteLength, encoding, nullptr, 0);
155 SkScalar measureText(const void* text, size_t byteLength, SkTextEncoding) const;
/external/skqp/src/gpu/
H A DGrPathRenderingRenderTargetContext.cpp20 size_t byteLength, SkScalar x, SkScalar y,
33 viewMatrix, this->surfaceProps(), text, byteLength, x, y,
39 size_t byteLength, const SkScalar pos[],
55 this->surfaceProps(), text, byteLength, pos, scalarsPerPosition, offset, clipBounds);
18 drawText(const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
37 drawPosText(const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
H A DGrPathRenderingRenderTargetContext.h16 size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) override;
18 size_t byteLength, const SkScalar pos[], int scalarsPerPosition,
/external/skia/include/utils/
H A DSkLuaCanvas.h33 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
35 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
37 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
39 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
41 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
H A DSkDumpCanvas.h85 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
87 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
89 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
91 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
93 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
H A DSkNWayCanvas.h42 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
44 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
46 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
48 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
52 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
H A DSkPaintFilterCanvas.h92 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
94 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
96 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
98 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
100 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
/external/skqp/include/utils/
H A DSkLuaCanvas.h33 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
35 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
37 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
39 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
41 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
/external/skia/src/core/
H A DSkFont.cpp57 int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, argument
59 if (0 == byteLength) {
69 count = SkUTF8_CountUnichars((const char*)text, byteLength);
72 count = SkUTF16_CountUnichars((const uint16_t*)text, byteLength);
75 count = SkToInt(byteLength >> 2);
78 count = SkToInt(byteLength >> 1);
108 SkScalar SkFont::measureText(const void* text, size_t byteLength, SkTextEncoding encoding) const { argument
H A DSkUtils.cpp85 int SkUTF8_CountUnichars(const void* text, size_t byteLength) { argument
88 if (byteLength == 0) {
93 const char* stop = utf8 + byteLength;
262 int SkUTF16_CountUnichars(const void* text, size_t byteLength) {
264 if (byteLength == 0) {
267 if (!SkIsAlign2(intptr_t(text)) || !SkIsAlign2(byteLength)) {
272 const uint16_t* stop = src + (byteLength >> 1);
382 int SkUTF32_CountUnichars(const void* text, size_t byteLength) {
383 if (byteLength == 0) {
386 if (!SkIsAlign4(intptr_t(text)) || !SkIsAlign4(byteLength)) {
[all...]
H A DSkUtils.h47 int SkUTF8_CountUnichars(const void* utf8, size_t byteLength);
48 int SkUTF16_CountUnichars(const void* utf16, size_t byteLength);
49 int SkUTF32_CountUnichars(const void* utf32, size_t byteLength);
/external/skqp/src/core/
H A DSkFont.cpp57 int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, argument
59 if (0 == byteLength) {
69 count = SkUTF8_CountUnichars((const char*)text, byteLength);
72 count = SkUTF16_CountUnichars((const uint16_t*)text, byteLength);
75 count = SkToInt(byteLength >> 2);
78 count = SkToInt(byteLength >> 1);
108 SkScalar SkFont::measureText(const void* text, size_t byteLength, SkTextEncoding encoding) const { argument
H A DSkUtils.cpp85 int SkUTF8_CountUnichars(const void* text, size_t byteLength) { argument
88 if (byteLength == 0) {
93 const char* stop = utf8 + byteLength;
262 int SkUTF16_CountUnichars(const void* text, size_t byteLength) {
264 if (byteLength == 0) {
267 if (!SkIsAlign2(intptr_t(text)) || !SkIsAlign2(byteLength)) {
272 const uint16_t* stop = src + (byteLength >> 1);
382 int SkUTF32_CountUnichars(const void* text, size_t byteLength) {
383 if (byteLength == 0) {
386 if (!SkIsAlign4(intptr_t(text)) || !SkIsAlign4(byteLength)) {
[all...]
H A DSkUtils.h47 int SkUTF8_CountUnichars(const void* utf8, size_t byteLength);
48 int SkUTF16_CountUnichars(const void* utf16, size_t byteLength);
49 int SkUTF32_CountUnichars(const void* utf32, size_t byteLength);
/external/skia/src/gpu/text/
H A DGrAtlasTextContext.h49 size_t byteLength, SkScalar x, SkScalar y, const SkIRect& regionClipBounds);
52 size_t byteLength, const SkScalar pos[], int scalarsPerPosition,
115 const char text[], size_t byteLength,
124 const char text[], size_t byteLength,
133 const char text[], size_t byteLength, SkScalar x, SkScalar y);
138 const char text[], size_t byteLength, const SkScalar pos[],
145 size_t byteLength, SkScalar x, SkScalar y);
151 const char text[], size_t byteLength,
161 const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x,
168 size_t byteLength, cons
[all...]
/external/jline/src/src/main/java/jline/
H A DUnixTerminal.java372 int byteLength; field in class:UnixTerminal.ReplayPrefixOneCharInputStream
387 byteLength = 1;
391 byteLength = 2;
393 byteLength = 4;
400 this.byteLength = 2;
403 this.byteLength = 3;
406 this.byteLength = 4;
430 return byteLength - byteRead;
H A DWindowsTerminal.java458 int byteLength; field in class:WindowsTerminal.ReplayPrefixOneCharInputStream
473 byteLength = 1;
477 byteLength = 2;
479 byteLength = 4;
486 this.byteLength = 2;
489 this.byteLength = 3;
492 this.byteLength = 4;
516 return byteLength - byteRead;

Completed in 427 milliseconds

12345