/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-2931.js | 34 assertSame(100, u8.byteLength);
|
H A D | regress-353004.js | 32 assertEquals(0, dataView1.byteLength); 48 assertEquals(0, buffer6.byteLength); 56 assertEquals(0, buffer8.byteLength);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | ArrayPiece.h | 27 ArrayPiece(void* data, unsigned byteLength); 37 unsigned byteLength() const; 40 void initWithData(void* data, unsigned byteLength);
|
H A D | ArrayPiece.cpp | 19 ArrayPiece::ArrayPiece(void* data, unsigned byteLength) argument 21 initWithData(data, byteLength); 27 initWithData(buffer->data(), buffer->byteLength()); 36 initWithData(buffer->baseAddress(), buffer->byteLength()); 58 unsigned ArrayPiece::byteLength() const function in class:WTF::ArrayPiece 64 void ArrayPiece::initWithData(void* data, unsigned byteLength) argument 66 m_byteLength = byteLength;
|
H A D | ArrayBufferView.h | 72 virtual unsigned byteLength() const = 0; 102 if (byteOffset > buffer->byteLength()) 104 unsigned remainingElements = (buffer->byteLength() - byteOffset) / sizeof(T); 120 *offset = buffer->byteLength(); 125 *offset = std::min(buffer->byteLength(), *offset); 126 unsigned remainingElements = (buffer->byteLength() - *offset) / sizeof(T); 147 if (byteOffset > byteLength() 148 || byteOffset + array->byteLength() > byteLength() 149 || byteOffset + array->byteLength() < byteOffse [all...] |
H A D | ArrayBufferBuilder.cpp | 50 unsigned currentBufferSize = m_buffer->byteLength(); 80 unsigned currentBufferSize = m_buffer->byteLength(); 106 if (m_buffer->byteLength() == m_bytesUsed) 119 ASSERT(m_bytesUsed <= m_buffer->byteLength()); 121 if (m_buffer->byteLength() > m_bytesUsed)
|
H A D | ArrayBufferBuilderTest.cpp | 44 EXPECT_EQ(0u, zeroBuilder.byteLength()); 48 EXPECT_EQ(0u, zeroBuilder.byteLength()); 52 EXPECT_EQ(0u, zeroBuilder.byteLength()); 64 EXPECT_EQ(dataSize, builder.byteLength()); 68 EXPECT_EQ(dataSize * 2, builder.byteLength()); 72 EXPECT_EQ(dataSize * 3, builder.byteLength()); 85 EXPECT_EQ(dataSize * i, builder.byteLength()); 99 EXPECT_EQ(dataSize * i, builder.byteLength()); 113 EXPECT_EQ(dataSize, builder.byteLength()); 117 EXPECT_EQ(15u, builder.byteLength()); [all...] |
H A D | ArrayBufferBuilder.h | 77 unsigned byteLength() const function in class:WTF::ArrayBufferBuilder 85 return m_buffer->byteLength();
|
H A D | ArrayBuffer.h | 44 static inline PassRefPtr<ArrayBuffer> create(const void* source, unsigned byteLength); 52 inline unsigned byteLength() const; 99 return ArrayBuffer::create(other->data(), other->byteLength()); 102 PassRefPtr<ArrayBuffer> ArrayBuffer::create(const void* source, unsigned byteLength) argument 104 ArrayBufferContents contents(byteLength, 1, ArrayBufferContents::ZeroInitialize); 108 memcpy(buffer->data(), source, byteLength); 146 unsigned ArrayBuffer::byteLength() const function in class:WTF::ArrayBuffer 158 return sliceImpl(clampIndex(begin), byteLength()); 169 unsigned currentLength = byteLength();
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | ArrayBufferView.idl | 32 readonly attribute unsigned long byteLength;
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
H A D | Crypto.cpp | 70 if (array->byteLength() > 65536) { 71 exceptionState.throwDOMException(QuotaExceededError, String::format("The ArrayBufferView's byte length (%u) exceeds the number of bytes of entropy available via this API (65536).", array->byteLength())); 74 cryptographicallyRandomValues(array->baseAddress(), array->byteLength());
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrTextContext.h | 27 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength, 30 const char text[], size_t byteLength, 41 const char text[], size_t byteLength, SkVector* stopVector);
|
H A D | GrBitmapTextContext.h | 24 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength, 27 const char text[], size_t byteLength,
|
/external/skia/src/gpu/ |
H A D | GrTextContext.h | 27 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength, 30 const char text[], size_t byteLength, 41 const char text[], size_t byteLength, SkVector* stopVector);
|
H A D | GrBitmapTextContext.h | 24 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength, 27 const char text[], size_t byteLength,
|
H A D | GrDistanceFieldTextContext.h | 23 virtual void drawText(const GrPaint&, const SkPaint&, const char text[], size_t byteLength, 26 const char text[], size_t byteLength,
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
H A D | WebArrayBuffer.cpp | 62 unsigned WebArrayBuffer::byteLength() const function in class:blink::WebArrayBuffer 65 return m_private->byteLength();
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebArrayBufferView.cpp | 57 unsigned WebArrayBufferView::byteLength() const function in class:blink::WebArrayBufferView 59 return m_private->byteLength();
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
H A D | ByteVector.java | 220 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/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/ |
H A D | byte_reader.js | 15 opt_length = opt_length || (arrayBuffer.byteLength - opt_offset); 86 ByteReader.validateRead(pos, size, opt_end || dataView.byteLength); 109 ByteReader.validateRead(pos, size, opt_end || dataView.byteLength); 137 ByteReader.validateRead(pos, size, opt_end || dataView.byteLength); 181 ByteReader.validateRead(pos, size, opt_end || dataView.byteLength); 231 opt_end = opt_end || dataView.byteLength; 259 return this.pos_ + size <= this.view_.byteLength; 267 return this.pos_ >= this.view_.byteLength; 283 return this.pos_ >= this.view_.byteLength || this.pos_ < 0; 306 opt_end = this.view_.byteLength; [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
H A D | typedarrays.js | 32 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/include/core/ |
H A D | SkDraw.h | 58 void drawText(const char text[], size_t byteLength, SkScalar x, 60 void drawPosText(const char text[], size_t byteLength, 63 void drawTextOnPath(const char text[], size_t byteLength, 110 void drawText_asPaths(const char text[], size_t byteLength, 112 void drawPosText_asPaths(const char text[], size_t byteLength,
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFont.cpp | 61 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
|
/external/skia/src/core/ |
H A D | SkFont.cpp | 61 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 D | SkRecorder.cpp | 152 void SkRecorder::onDrawText(const void* text, size_t byteLength, argument 155 delay_copy(paint), this->copy((const char*)text, byteLength), byteLength, x, y); 158 void SkRecorder::onDrawPosText(const void* text, size_t byteLength, argument 160 const unsigned points = paint.countText(text, byteLength); 163 this->copy((const char*)text, byteLength), 164 byteLength, 168 void SkRecorder::onDrawPosTextH(const void* text, size_t byteLength, argument 170 const unsigned points = paint.countText(text, byteLength); 173 this->copy((const char*)text, byteLength), 179 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument [all...] |