/external/v8/test/mjsunit/ |
D | external-array.js | 59 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); 142 assertEquals(a.length, a.buffer.byteLength); [all …]
|
D | d8-worker.js | 93 function createArrayBuffer(byteLength) { argument 94 var ab = new ArrayBuffer(byteLength); 96 for (var i = 0; i < byteLength / 4; ++i) 117 assertEquals(16, ab1.byteLength); // ArrayBuffer should not be neutered. 122 assertEquals(0, ab2.byteLength); // ArrayBuffer should be neutered.
|
/external/v8/test/mjsunit/es6/ |
D | typedarray.js | 34 assertSame(expectedByteLength, ab.byteLength); 56 assertSame(0, ab.byteLength); 65 assertSame(1024, ab.byteLength); 67 assertThrows(function() { "use strict"; ab.byteLength = 42; }, TypeError); 79 assertSame(expectedResultLen, slice.byteLength); 89 assertSame(512, ab1.byteLength); 136 assertSame(30*elementSize, a0.byteLength); 138 assertSame(30*elementSize, a0.buffer.byteLength); 143 assertSame(0, aLen0.byteLength); 145 assertSame(0, aLen0.buffer.byteLength); [all …]
|
D | classes-maps.js | 47 this.byteLength; 59 assertSame(10, d1.byteLength); 65 assertThrows(function() { d2.byteLength; }, TypeError);
|
/external/v8/test/mjsunit/regress/ |
D | regress-447756.js | 10 assertSame(Infinity, 1 / a.byteLength); 13 assertSame(Infinity, 1 / ab.byteLength); 17 assertSame(Infinity, 1 / a1.byteLength); 34 assertSame(Infinity, 1 / a.byteLength); 37 assertSame(Infinity, 1 / ab.byteLength); 41 assertSame(Infinity, 1 / a1.byteLength);
|
D | regress-353004.js | 32 assertEquals(0, dataView1.byteLength); 48 assertEquals(0, buffer6.byteLength); 56 assertEquals(0, buffer8.byteLength);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
D | ByteVector.java | 220 int byteLength = i; in putUTF8() local 224 byteLength++; in putUTF8() 226 byteLength += 3; in putUTF8() 228 byteLength += 2; in putUTF8() 231 data[length] = (byte) (byteLength >>> 8); in putUTF8() 232 data[length + 1] = (byte) byteLength; in putUTF8() 233 if (length + 2 + byteLength > data.length) { in putUTF8() 235 enlarge(2 + byteLength); in putUTF8()
|
/external/skia/src/gpu/text/ |
D | GrTextUtils.cpp | 45 const char text[], size_t byteLength, in DrawBmpText() argument 47 SkASSERT(byteLength == 0 || text != nullptr); in DrawBmpText() 50 if (text == nullptr || byteLength == 0) { in DrawBmpText() 65 skPaint.getTextEncoding(), text, byteLength, in DrawBmpText() 85 const char text[], size_t byteLength, in DrawBmpPosText() argument 88 SkASSERT(byteLength == 0 || text != nullptr); in DrawBmpPosText() 92 if (text == nullptr || byteLength == 0) { in DrawBmpPosText() 107 skPaint.getTextEncoding(), text, byteLength, in DrawBmpPosText() 252 const char text[], size_t byteLength, in DrawDFText() argument 254 SkASSERT(byteLength == 0 || text != nullptr); in DrawDFText() [all …]
|
D | GrTextUtils.h | 42 const char text[], size_t byteLength, 48 const char text[], size_t byteLength, 60 const char text[], size_t byteLength, 66 const char text[], size_t byteLength, 73 const char text[], size_t byteLength, SkScalar x, SkScalar y, 81 const char text[], size_t byteLength,
|
D | GrAtlasTextContext.cpp | 259 const char text[], size_t byteLength, in CreateDrawTextBlob() argument 261 int glyphCount = skPaint.countText(text, byteLength); in CreateDrawTextBlob() 269 byteLength, x, y); in CreateDrawTextBlob() 272 paint.getColor(), viewMatrix, text, byteLength, x, y); in CreateDrawTextBlob() 282 const char text[], size_t byteLength, in CreateDrawPosTextBlob() argument 285 int glyphCount = skPaint.countText(text, byteLength); in CreateDrawPosTextBlob() 293 byteLength, pos, scalarsPerPosition, offset); in CreateDrawPosTextBlob() 297 byteLength, pos, scalarsPerPosition, offset); in CreateDrawPosTextBlob() 308 const char text[], size_t byteLength, in drawText() argument 318 text, byteLength, x, y)); in drawText() [all …]
|
D | GrStencilAndCoverTextContext.cpp | 79 const char text[], size_t byteLength, in drawText() argument 86 run.setText(text, byteLength, x, y); in drawText() 93 byteLength, x, y, clipBounds); in drawText() 98 GrTextUtils::DrawTextAsPath(context, dc, clip, skPaint, viewMatrix, text, byteLength, x, y, in drawText() 109 size_t byteLength, in drawPosText() argument 119 run.setPosText(text, byteLength, pos, scalarsPerPosition, offset); in drawPosText() 126 text, byteLength, pos, in drawPosText() 133 byteLength, pos, scalarsPerPosition, offset, clipBounds); in drawPosText() 301 size_t byteLength = sizeof(uint16_t) * iter.glyphCount(); in init() local 306 run->setText(text, byteLength, runOffset.fX, runOffset.fY); in init() [all …]
|
D | GrAtlasTextContext.h | 38 size_t byteLength, SkScalar x, SkScalar y, 42 const char text[], size_t byteLength, 70 const char text[], size_t byteLength, 77 const char text[], size_t byteLength,
|
/external/skia/src/core/ |
D | SkFont.cpp | 61 int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, in textToGlyphs() argument 63 if (0 == byteLength) { in textToGlyphs() 73 count = SkUTF8_CountUnichars((const char*)text, byteLength); in textToGlyphs() 76 count = SkUTF16_CountUnichars((const uint16_t*)text, SkToInt(byteLength >> 1)); in textToGlyphs() 79 count = SkToInt(byteLength >> 2); in textToGlyphs() 82 count = SkToInt(byteLength >> 1); in textToGlyphs() 112 SkScalar SkFont::measureText(const void* text, size_t byteLength, SkTextEncoding encoding) const { in measureText() argument
|
D | SkRecorder.cpp | 243 void SkRecorder::onDrawText(const void* text, size_t byteLength, in onDrawText() argument 246 paint, this->copy((const char*)text, byteLength), byteLength, x, y); in onDrawText() 249 void SkRecorder::onDrawPosText(const void* text, size_t byteLength, in onDrawPosText() argument 251 const int points = paint.countText(text, byteLength); in onDrawPosText() 254 this->copy((const char*)text, byteLength), in onDrawPosText() 255 byteLength, in onDrawPosText() 259 void SkRecorder::onDrawPosTextH(const void* text, size_t byteLength, in onDrawPosTextH() argument 261 const int points = paint.countText(text, byteLength); in onDrawPosTextH() 264 this->copy((const char*)text, byteLength), in onDrawPosTextH() 265 SkToUInt(byteLength), in onDrawPosTextH() [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | sharedarraybuffer.js | 35 assertSame(expectedByteLength, sab.byteLength); 57 assertSame(0, sab.byteLength); 66 assertSame(1024, sab.byteLength); 68 assertThrows(function() { "use strict"; sab.byteLength = 42; }, TypeError); 104 assertSame(30*elementSize, a0.byteLength); 106 assertSame(30*elementSize, a0.buffer.byteLength); 112 assertSame(0, aOverBufferLen0.byteLength); 119 assertSame(128*elementSize, a1.byteLength); 127 assertSame(128*elementSize, a2.byteLength); 133 assertSame(64*elementSize, a3.byteLength); [all …]
|
/external/skia/src/gpu/ |
D | GrPathRenderingDrawContext.cpp | 21 size_t byteLength, SkScalar x, SkScalar y, in drawText() argument 34 text, byteLength, x, y, clipBounds); in drawText() 40 size_t byteLength, const SkScalar pos[], in drawPosText() argument 54 text, byteLength, pos, scalarsPerPosition, offset, in drawPosText()
|
/external/skia/src/utils/ |
D | SkPaintFilterCanvas.cpp | 175 void SkPaintFilterCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, in onDrawText() argument 179 this->INHERITED::onDrawText(text, byteLength, x, y, *apf.paint()); in onDrawText() 183 void SkPaintFilterCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], in onDrawPosText() argument 187 this->INHERITED::onDrawPosText(text, byteLength, pos, *apf.paint()); in onDrawPosText() 191 void SkPaintFilterCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument 195 this->INHERITED::onDrawPosTextH(text, byteLength, xpos, constY, *apf.paint()); in onDrawPosTextH() 199 void SkPaintFilterCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, in onDrawTextOnPath() argument 203 this->INHERITED::onDrawTextOnPath(text, byteLength, path, matrix, *apf.paint()); in onDrawTextOnPath()
|
D | SkLuaCanvas.cpp | 247 void SkLuaCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, in onDrawText() argument 250 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawText() 254 void SkLuaCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], in onDrawPosText() argument 257 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawPosText() 261 void SkLuaCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument 264 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawPosTextH() 268 void SkLuaCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, in onDrawTextOnPath() argument 272 lua.pushEncodedText(paint.getTextEncoding(), text, byteLength); in onDrawTextOnPath()
|
D | SkNWayCanvas.cpp | 226 void SkNWayCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, in onDrawText() argument 230 iter->drawText(text, byteLength, x, y, paint); in onDrawText() 234 void SkNWayCanvas::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], in onDrawPosText() argument 238 iter->drawPosText(text, byteLength, pos, paint); in onDrawPosText() 242 void SkNWayCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument 246 iter->drawPosTextH(text, byteLength, xpos, constY, paint); in onDrawPosTextH() 250 void SkNWayCanvas::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, in onDrawTextOnPath() argument 254 iter->drawTextOnPath(text, byteLength, path, matrix, paint); in onDrawTextOnPath()
|
/external/skia/gm/ |
D | annotated_text.cpp | 15 size_t byteLength = strlen(static_cast<const char*>(text)); in draw_url_annotated_text_with_box() local 17 (void)paint.measureText(text, byteLength, &bounds); in draw_url_annotated_text_with_box() 24 canvas->drawText(text, byteLength, x, y, paint); in draw_url_annotated_text_with_box()
|
/external/skia/include/utils/ |
D | SkPaintFilterCanvas.h | 90 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, 92 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], 94 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], 96 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
|
D | SkLuaCanvas.h | 32 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,
|
/external/v8/src/js/ |
D | typedarray.js | 189 var byteLength = l * ELEMENT_SIZE; 190 if (byteLength > %_TypedArrayMaxSizeInHeap()) { 191 var buffer = new GlobalArrayBuffer(byteLength); 192 %_TypedArrayInitialize(obj, ARRAY_ID, buffer, 0, byteLength, true); 194 %_TypedArrayInitialize(obj, ARRAY_ID, null, 0, byteLength, true); 206 var byteLength = l * ELEMENT_SIZE; 207 if (byteLength <= %_TypedArrayMaxSizeInHeap()) { 208 %_TypedArrayInitialize(obj, ARRAY_ID, null, 0, byteLength, false); 849 function DataViewConstructor(buffer, byteOffset, byteLength) { // length = 3 argument 859 if (!IS_UNDEFINED(byteLength)) { [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | ucsdetst.c | 69 …tic char *extractBytes(const UChar *src, int32_t length, const char *codepage, int32_t *byteLength) in extractBytes() argument 81 *byteLength = byteCount; in extractBytes() 123 int32_t byteLength = 0, sLength = 0, dLength = 0; in TestUTF8() local 131 bytes = extractBytes(s, sLength, "UTF-8", &byteLength); in TestUTF8() 133 ucsdet_setText(csd, bytes, byteLength, &status); in TestUTF8() 286 int32_t byteLength = 0; in TestInputFilter() local 293 bytes = extractBytes(s, sLength, "ISO-8859-1", &byteLength); in TestInputFilter() 302 ucsdet_setText(csd, bytes, byteLength, &status); in TestInputFilter() 324 ucsdet_setText(csd, bytes, byteLength, &status); in TestInputFilter()
|
/external/skia/include/core/ |
D | SkDraw.h | 66 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,
|