Searched refs:byteLength (Results 51 - 75 of 125) sorted by relevance

12345

/external/skia/src/core/
H A DSkRecorder.h70 size_t byteLength,
75 size_t byteLength,
79 size_t byteLength,
84 size_t byteLength,
89 size_t byteLength,
H A DSkFindAndPlaceGlyph.h25 SkPaint::TextEncoding, const char text[], size_t byteLength,
46 SkPaint::TextEncoding, const char text[], size_t byteLength,
444 GlyphFinderInterface* glyphFinder, const char text[], size_t byteLength) {
446 const char* stop = text + byteLength;
465 SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength,
495 const char* stop = text + byteLength;
561 const char* stop = text + byteLength;
571 SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength,
583 SkVector stop = MeasureText(glyphFinder, text, byteLength);
602 const char* stop = text + byteLength;
443 MeasureText( GlyphFinderInterface* glyphFinder, const char text[], size_t byteLength) argument
464 ProcessPosText( SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength, SkPoint offset, const SkMatrix& matrix, const SkScalar pos[], int scalarsPerPosition, SkPaint::Align textAlignment, SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) argument
570 ProcessText( SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength, SkPoint offset, const SkMatrix& matrix, SkPaint::Align textAlignment, SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) argument
[all...]
H A DSkRecords.h294 size_t byteLength;
299 unsigned byteLength;
314 size_t byteLength;
325 size_t byteLength;
331 size_t byteLength;
H A DSkPaint.cpp401 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, uint16_t glyphs[]) const { argument
402 if (byteLength == 0) {
411 return SkUTF8_CountUnichars(textData, byteLength);
413 return SkUTF16_CountUnichars(textData, byteLength);
415 return SkToInt(byteLength >> 2);
417 return SkToInt(byteLength >> 1);
428 // we want to ignore the low bit of byteLength
429 memcpy(glyphs, textData, byteLength >> 1 << 1);
430 return SkToInt(byteLength >> 1);
437 const char* stop = text + byteLength;
732 measure_text(SkGlyphCache* cache, const char* text, size_t byteLength, int* count, SkRect* bounds) const argument
952 getTextWidths(const void* textData, size_t byteLength, SkScalar widths[], SkRect bounds[]) const argument
[all...]
/external/skia/src/pipe/
H A DSkPipeCanvas.h107 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
109 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
111 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
113 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath&, const SkMatrix*,
116 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
/external/skia/tools/debugger/
H A DSkDebugCanvas.h185 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
187 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
189 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
191 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
193 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[], const SkRect*,
H A DSkObjectParser.h130 static SkString* TextToString(const void* text, size_t byteLength,
H A DSkObjectParser.cpp365 SkString* SkObjectParser::TextToString(const void* text, size_t byteLength, argument
372 decodedText->append((const char*)text, byteLength);
378 SkToS32(byteLength / 2),
381 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8);
388 const SkUnichar* end = (const SkUnichar*)((const char*)text + byteLength);
397 const uint16_t* end = (const uint16_t*)((const char*)text + byteLength);
/external/skqp/src/core/
H A DSkRecorder.h70 size_t byteLength,
75 size_t byteLength,
79 size_t byteLength,
84 size_t byteLength,
89 size_t byteLength,
H A DSkFindAndPlaceGlyph.h25 SkPaint::TextEncoding, const char text[], size_t byteLength,
46 SkPaint::TextEncoding, const char text[], size_t byteLength,
444 GlyphFinderInterface* glyphFinder, const char text[], size_t byteLength) {
446 const char* stop = text + byteLength;
465 SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength,
495 const char* stop = text + byteLength;
561 const char* stop = text + byteLength;
571 SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength,
583 SkVector stop = MeasureText(glyphFinder, text, byteLength);
602 const char* stop = text + byteLength;
443 MeasureText( GlyphFinderInterface* glyphFinder, const char text[], size_t byteLength) argument
464 ProcessPosText( SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength, SkPoint offset, const SkMatrix& matrix, const SkScalar pos[], int scalarsPerPosition, SkPaint::Align textAlignment, SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) argument
570 ProcessText( SkPaint::TextEncoding textEncoding, const char text[], size_t byteLength, SkPoint offset, const SkMatrix& matrix, SkPaint::Align textAlignment, SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) argument
[all...]
H A DSkRecords.h294 size_t byteLength;
299 unsigned byteLength;
314 size_t byteLength;
325 size_t byteLength;
331 size_t byteLength;
H A DSkPaint.cpp401 int SkPaint::textToGlyphs(const void* textData, size_t byteLength, uint16_t glyphs[]) const { argument
402 if (byteLength == 0) {
411 return SkUTF8_CountUnichars(textData, byteLength);
413 return SkUTF16_CountUnichars(textData, byteLength);
415 return SkToInt(byteLength >> 2);
417 return SkToInt(byteLength >> 1);
428 // we want to ignore the low bit of byteLength
429 memcpy(glyphs, textData, byteLength >> 1 << 1);
430 return SkToInt(byteLength >> 1);
437 const char* stop = text + byteLength;
732 measure_text(SkGlyphCache* cache, const char* text, size_t byteLength, int* count, SkRect* bounds) const argument
952 getTextWidths(const void* textData, size_t byteLength, SkScalar widths[], SkRect bounds[]) const argument
[all...]
/external/skqp/src/pipe/
H A DSkPipeCanvas.h107 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
109 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
111 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
113 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath&, const SkMatrix*,
116 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[],
/external/skqp/tools/debugger/
H A DSkDebugCanvas.h185 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
187 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
189 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
191 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
193 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[], const SkRect*,
H A DSkObjectParser.h130 static SkString* TextToString(const void* text, size_t byteLength,
H A DSkObjectParser.cpp368 SkString* SkObjectParser::TextToString(const void* text, size_t byteLength, argument
375 decodedText->append((const char*)text, byteLength);
381 SkToS32(byteLength / 2),
384 SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8);
391 const SkUnichar* end = (const SkUnichar*)((const char*)text + byteLength);
400 const uint16_t* end = (const uint16_t*)((const char*)text + byteLength);
/external/proguard/src/proguard/classfile/constant/
H A DUtf8Constant.java190 int byteLength = 0;
197 byteLength += c == 0 ? 2 :
204 byte[] bytes = new byte[byteLength];
/external/skqp/src/gpu/text/
H A DGrStencilAndCoverTextContext.cpp71 const char text[], size_t byteLength, SkScalar x,
78 run.setText(text, byteLength, x, y);
85 text, byteLength, x, y, clipBounds);
92 size_t byteLength, const SkScalar pos[],
100 run.setPosText(text, byteLength, pos, scalarsPerPosition, offset);
107 text, byteLength, pos, scalarsPerPosition, offset,
267 size_t byteLength = sizeof(uint16_t) * iter.glyphCount(); local
272 run->setText(text, byteLength, runOffset.fX, runOffset.fY);
275 run->setPosText(text, byteLength, iter.pos(), 1, SkPoint::Make(0, runOffset.fY));
278 run->setPosText(text, byteLength, ite
68 drawText(GrContext* context, GrRenderTargetContext* rtc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
88 drawPosText(GrContext* context, GrRenderTargetContext* rtc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps& props, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
418 setText(const char text[], size_t byteLength, SkScalar x, SkScalar y) argument
478 setPosText(const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset) argument
[all...]
H A DGrTextUtils.h134 size_t byteLength, SkScalar x, SkScalar y,
140 const char text[], size_t byteLength, const SkScalar pos[],
/external/skia/src/utils/
H A DSkDumpCanvas.cpp407 void SkDumpCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, argument
410 toString(text, byteLength, paint.getTextEncoding(), &str);
412 byteLength, SkScalarToFloat(x), SkScalarToFloat(y));
415 void SkDumpCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument
418 toString(text, byteLength, paint.getTextEncoding(), &str);
420 str.c_str(), byteLength, SkScalarToFloat(pos[0].fX),
424 void SkDumpCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument
427 toString(text, byteLength, paint.getTextEncoding(), &str);
429 str.c_str(), byteLength, SkScalarToFloat(xpos[0]),
433 void SkDumpCanvas::onDrawTextOnPath(const void* text, size_t byteLength, cons argument
441 onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], const SkRect* cull, const SkPaint& paint) argument
[all...]
/external/skqp/src/utils/
H A DSkDumpCanvas.cpp407 void SkDumpCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, argument
410 toString(text, byteLength, paint.getTextEncoding(), &str);
412 byteLength, SkScalarToFloat(x), SkScalarToFloat(y));
415 void SkDumpCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument
418 toString(text, byteLength, paint.getTextEncoding(), &str);
420 str.c_str(), byteLength, SkScalarToFloat(pos[0].fX),
424 void SkDumpCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument
427 toString(text, byteLength, paint.getTextEncoding(), &str);
429 str.c_str(), byteLength, SkScalarToFloat(xpos[0]),
433 void SkDumpCanvas::onDrawTextOnPath(const void* text, size_t byteLength, cons argument
441 onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], const SkRect* cull, const SkPaint& paint) argument
[all...]
/external/v8/src/js/
H A Dtypedarray.js183 var byteLength = l * ELEMENT_SIZE;
184 if (byteLength > %_TypedArrayMaxSizeInHeap()) {
185 var buffer = new GlobalArrayBuffer(byteLength);
186 %_TypedArrayInitialize(obj, ARRAY_ID, buffer, 0, byteLength, true);
188 %_TypedArrayInitialize(obj, ARRAY_ID, null, 0, byteLength, true);
199 var byteLength = l * ELEMENT_SIZE;
200 if (byteLength <= %_TypedArrayMaxSizeInHeap()) {
201 %_TypedArrayInitialize(obj, ARRAY_ID, null, 0, byteLength, false);
240 var byteLength = %_ArrayBufferViewGetByteLength(typedArray);
/external/libmojo/mojo/public/js/
H A Dbuffer.js27 Object.defineProperty(Buffer.prototype, "byteLength", {
28 get: function() { return this.arrayBuffer.byteLength; }
34 if (this.next > this.byteLength) {
35 var newSize = (1.5 * (this.byteLength + size)) | 0;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
H A DHMac.java84 * byteLength of the algorithm is know for.
96 int byteLength)
100 this.blockLength = byteLength;
94 HMac( Digest digest, int byteLength) argument
/external/skia/include/core/
H A DSkPaint.h1288 If byteLength equals zero, returns zero.
1289 If byteLength includes a partial character, the partial character is ignored.
1295 @param byteLength length of character storage in bytes
1297 @return number of glyphs represented by text of length byteLength
1299 int textToGlyphs(const void* text, size_t byteLength,
1310 Returns true if byteLength is zero.
1313 @param byteLength number of bytes in text array
1316 bool containsText(const void* text, size_t byteLength) const;
1336 @param byteLength length of character storage in bytes
1337 @return number of glyphs represented by text of length byteLength
[all...]

Completed in 560 milliseconds

12345