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

1234

/external/v8/test/mjsunit/regress/
H A Dregress-2931.js34 assertSame(100, u8.byteLength);
H A Dregress-353004.js32 assertEquals(0, dataView1.byteLength);
48 assertEquals(0, buffer6.byteLength);
56 assertEquals(0, buffer8.byteLength);
H A Dregress-crbug-351787.js8 ab1.__defineGetter__("byteLength", function() { return 1000000; });
18 ab3.__defineGetter__("byteLength", function() { return 0xFFFFFFFC; });
24 assertEquals(8, aaa.byteLength);
36 ab4.__defineGetter__("byteLength", function() { return 0xFFFFFFFC; });
/external/skia/src/gpu/
H A DGrTextContext.h33 const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x,
37 const char text[], size_t byteLength,
68 const SkMatrix& viewMatrix, const char text[], size_t byteLength,
72 const char text[], size_t byteLength,
77 const char text[], size_t byteLength, SkScalar x, SkScalar y,
80 const char text[], size_t byteLength,
91 const char text[], size_t byteLength, SkVector* stopVector);
H A DGrTextContext.cpp52 const char text[], size_t byteLength,
61 textContext->onDrawText(rt, clip, paint, skPaint, viewMatrix, text, byteLength, x, y,
70 this->drawTextAsPath(skPaint, viewMatrix, text, byteLength, x, y, clipBounds);
75 const char text[], size_t byteLength,
85 textContext->onDrawPosText(rt, clip, paint, skPaint, viewMatrix, text, byteLength, pos,
94 this->drawPosTextAsPath(skPaint, viewMatrix, text, byteLength, pos, scalarsPerPosition, offset,
150 const char text[], size_t byteLength, SkScalar x, SkScalar y,
152 SkTextToPathIter iter(text, byteLength, skPaint, true);
172 const char text[], size_t byteLength,
190 const char* stop = text + byteLength;
50 drawText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
73 drawPosText(GrRenderTarget* rt, const GrClip& clip, const GrPaint& paint, const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
149 drawTextAsPath(const SkPaint& skPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) argument
171 drawPosTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) argument
218 MeasureText(SkGlyphCache* cache, SkDrawCacheProc glyphCacheProc, const char text[], size_t byteLength, SkVector* stopVector) argument
[all...]
H A DGrStencilAndCoverTextContext.h78 const char text[], size_t byteLength,
82 const char text[], size_t byteLength,
/external/mockito/cglib-and-asm/src/org/mockito/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/v8/test/mjsunit/harmony/
H A Dtypedarrays.js32 assertSame(expectedByteLength, ab.byteLength);
54 assertSame(0, ab.byteLength);
61 assertSame(1024, ab.byteLength);
63 assertThrows(function() { "use strict"; ab.byteLength = 42; }, TypeError);
75 assertSame(expectedResultLen, slice.byteLength);
85 assertSame(512, ab1.byteLength);
129 assertSame(30*elementSize, a0.byteLength);
131 assertSame(30*elementSize, a0.buffer.byteLength);
136 assertSame(0, aLen0.byteLength);
138 assertSame(0, aLen0.buffer.byteLength);
[all...]
/external/skia/src/core/
H A DSkFont.cpp61 int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, argument
63 if (0 == byteLength) {
73 count = SkUTF8_CountUnichars((const char*)text, byteLength);
76 count = SkUTF16_CountUnichars((const uint16_t*)text, SkToInt(byteLength >> 1));
79 count = SkToInt(byteLength >> 2);
82 count = SkToInt(byteLength >> 1);
112 SkScalar SkFont::measureText(const void* text, size_t byteLength, SkTextEncoding encoding) const { argument
H A DSkRecorder.cpp212 void SkRecorder::onDrawText(const void* text, size_t byteLength, argument
215 delay_copy(paint), this->copy((const char*)text, byteLength), byteLength, x, y);
218 void SkRecorder::onDrawPosText(const void* text, size_t byteLength, argument
220 const unsigned points = paint.countText(text, byteLength);
223 this->copy((const char*)text, byteLength),
224 byteLength,
228 void SkRecorder::onDrawPosTextH(const void* text, size_t byteLength, argument
230 const unsigned points = paint.countText(text, byteLength);
233 this->copy((const char*)text, byteLength),
239 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
[all...]
H A DSkRecorder.h63 size_t byteLength,
68 size_t byteLength,
72 size_t byteLength,
77 size_t byteLength,
/external/v8/test/mjsunit/
H A Dexternal-array-no-sse2.js59 assertEquals(12, derived_uint8.byteLength);
66 assertEquals(5, derived_uint8_2.byteLength);
73 assertEquals(12, derived_int16.byteLength);
80 assertEquals(6, derived_int16_2.byteLength);
87 assertEquals(12, derived_uint32.byteLength);
94 assertEquals(8, derived_uint32_2.byteLength);
101 assertEquals(4, derived_uint32_3.byteLength);
108 assertEquals(8, derived_float64.byteLength);
141 assertEquals(a.byteLength, a.buffer.byteLength);
[all...]
H A Dexternal-array.js59 assertEquals(12, derived_uint8.byteLength);
66 assertEquals(5, derived_uint8_2.byteLength);
73 assertEquals(12, derived_int16.byteLength);
80 assertEquals(6, derived_int16_2.byteLength);
87 assertEquals(12, derived_uint32.byteLength);
94 assertEquals(8, derived_uint32_2.byteLength);
101 assertEquals(4, derived_uint32_3.byteLength);
108 assertEquals(8, derived_float64.byteLength);
141 assertEquals(a.byteLength, a.buffer.byteLength);
[all...]
/external/skia/include/utils/
H A DSkLuaCanvas.h32 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
34 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
36 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
38 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
H A DSkPaintFilterCanvas.h76 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
78 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
80 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
82 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
H A DSkDeferredCanvas.h157 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
159 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
161 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
163 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
H A DSkDumpCanvas.h91 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
93 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
95 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
97 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
H A DSkNWayCanvas.h43 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
45 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
47 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
49 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
/external/v8/src/
H A Dtypedarray.js79 var byteLength = l * ELEMENT_SIZE;
80 if (byteLength > %_TypedArrayMaxSizeInHeap()) {
81 var buffer = new $ArrayBuffer(byteLength);
82 %_TypedArrayInitialize(obj, ARRAY_ID, buffer, 0, byteLength);
84 %_TypedArrayInitialize(obj, ARRAY_ID, null, 0, byteLength);
130 ["NAME.byteLength", this]);
311 InstallGetter(global.NAME.prototype, "byteLength", NAME_GetByteLength);
329 function DataViewConstructor(buffer, byteOffset, byteLength) { // length = 3
337 if (!IS_UNDEFINED(byteLength)) {
338 byteLength
[all...]
H A Darraybuffer.js13 var byteLength = ToPositiveInteger(length, 'invalid_array_buffer_length');
14 %ArrayBufferInitialize(this, byteLength);
23 ['ArrayBuffer.prototype.byteLength', this]);
80 InstallGetter($ArrayBuffer.prototype, "byteLength", ArrayBufferGetByteLen);
/external/skia/src/utils/
H A DSkPaintFilterCanvas.cpp129 void SkPaintFilterCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, argument
132 this->INHERITED::onDrawText(text, byteLength, x, y, *apf.paint());
135 void SkPaintFilterCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument
138 this->INHERITED::onDrawPosText(text, byteLength, pos, *apf.paint());
141 void SkPaintFilterCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument
144 this->INHERITED::onDrawPosTextH(text, byteLength, xpos, constY, *apf.paint());
147 void SkPaintFilterCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, argument
150 this->INHERITED::onDrawTextOnPath(text, byteLength, path, matrix, *apf.paint());
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DTypesLengths.java82 private static int byteLength = 1; field in class:TypesLengths
138 return byteLength;
218 byteLength = typeLength;
/external/skia/experimental/PdfViewer/
H A DSkNulCanvas.h60 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x,
62 virtual void onDrawPosText(const void* text, size_t byteLength,
64 virtual void onDrawPosTextH(const void* text, size_t byteLength,
67 virtual void onDrawTextOnPath(const void* text, size_t byteLength,
/external/skia/include/core/
H A DSkDraw.h66 void drawText(const char text[], size_t byteLength, SkScalar x,
68 void drawPosText(const char text[], size_t byteLength,
117 void drawText_asPaths(const char text[], size_t byteLength,
119 void drawPosText_asPaths(const char text[], size_t byteLength,
/external/skia/src/utils/android/
H A DSkAndroidSDKCanvas.h59 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
61 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
63 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
65 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,

Completed in 725 milliseconds

1234