/external/v8/tools/foozzie/ |
v8_mock_archs.js | 37 Uint8Array = mock(Uint8Array);
|
/external/libvncserver/webclients/novnc/include/ |
playback.js | 90 var u8 = new Uint8Array(frame.length - start);
|
websock.js | 215 if (('Uint8Array' in window) && 216 ('set' in Uint8Array.prototype)) { 322 return (new Uint8Array(this._sQ)).buffer; 332 var u8 = new Uint8Array(data);
|
/external/protobuf/js/ |
proto3_test.js | 42 var BYTES = new Uint8Array([1, 2, 8, 9]); 48 * @param {Uint8Array|string} arr 49 * @param {Uint8Array} expected 90 // Uint8Array, we'll want to switch this assertion to match the u8 case. 92 assertEquals(msg.getOptionalBytes_asU8() instanceof Uint8Array, true); 290 * Test that base64 string and Uint8Array are interchangeable in bytes fields. 307 // Set as a Uint8Array and check all the getters work.
|
message.js | 181 jspb.Message.SUPPORTS_UINT8ARRAY_ = (typeof Uint8Array == 'function'); 573 * @return {string|number|boolean|Uint8Array|Array|null|undefined} 635 * @param {string|Uint8Array|null} value 642 if (jspb.Message.SUPPORTS_UINT8ARRAY_ && value instanceof Uint8Array) { 651 * Coerce a 'bytes' field to a Uint8Array byte buffer. 652 * Note that Uint8Array is not supported on IE versions before 10 nor on Opera 653 * Mini. @see http://caniuse.com/Uint8Array 654 * @param {string|Uint8Array|null} value 655 * @return {?Uint8Array} The field's coerced value. 658 if (value == null || value instanceof Uint8Array) { [all...] |
/external/protobuf/js/binary/ |
utils.js | 696 * @param {!Uint8Array} buffer The buffer to scan. 718 * @param {!Uint8Array} buffer The buffer to scan. 772 * @param {!Uint8Array} buffer The buffer to scan. 821 * @param {!Uint8Array} buffer The buffer to scan. 836 * @param {!Uint8Array} buffer The buffer to scan. 851 * @param {!Uint8Array} buffer The buffer to scan. 928 * Uint8Array. If any codepoints greater than 255 exist in the string, throws an 931 * @return {!Uint8Array} 934 var arr = new Uint8Array(str.length); 948 * Converts any type defined in jspb.ByteSource into a Uint8Array [all...] |
utils_test.js | 485 var buffer = new Uint8Array(writer.getResultBuffer()); 507 var buffer = new Uint8Array(writer.getResultBuffer()); 520 buffer = new Uint8Array(writer.getResultBuffer()); 539 var buffer = new Uint8Array(writer.getResultBuffer()); 552 buffer = new Uint8Array(writer.getResultBuffer()); 571 var buffer = new Uint8Array(writer.getResultBuffer()); 584 buffer = new Uint8Array(writer.getResultBuffer()); 603 var buffer = new Uint8Array(writer.getResultBuffer()); 616 buffer = new Uint8Array(writer.getResultBuffer()); 643 var sourceBytes = new Uint8Array(sourceData) [all...] |
writer_test.js | 109 * Basic test of retrieving the result as a Uint8Array buffer 117 writer.writeBytes(3, new Uint8Array([1, 2, 3]));
|
constants.js | 81 * @typedef {ArrayBuffer|Uint8Array|Array<number>|string} 96 !Array<!Uint8Array>| 107 !Uint8Array|
|
proto_test.js | 93 var BYTES = new Uint8Array([1, 2, 8, 9]); 170 * @param {Uint8Array|string} arr 171 * @param {Uint8Array} expected 432 * Test that base64 string and Uint8Array are interchangeable in bytes fields. 449 // Set from a Uint8Array and check all the getters work. 482 assertTrue(msg.getRepeatedBytesList_asU8()[0] instanceof Uint8Array); 483 assertTrue(msg.getRepeatedBytesList_asU8()[1] instanceof Uint8Array);
|
writer.js | 81 * @private {!Array<!Uint8Array|!Array<number>>} 95 * when we need to append a raw Uint8Array), the encoder's buffer will be 114 * @param {!Uint8Array} arr The byte array to append. 167 * @param {!Uint8Array} bytes The array of bytes to write. 180 * @param {?Uint8Array} bytes The array of bytes to write. 204 * Converts the encoded data into a Uint8Array. 205 * @return {!Uint8Array} 210 var flat = new Uint8Array(this.totalLength_ + this.encoder_.length()); 326 this.writeBytes(field, /** @type {?Uint8Array} */(value)); [all...] |
decoder.js | 226 * @private {?Uint8Array} 338 * @return {?Uint8Array} The raw buffer. 954 * @return {!Uint8Array} The decoded block of bytes, or an empty block if the 962 return new Uint8Array(0);
|
reader.js | 183 * @return {?Uint8Array} The raw buffer. 228 * @param {!Uint8Array} bytes The block of bytes we're reading from. 872 * @return {!Uint8Array} The block of bytes. [all...] |
encoder.js | 373 * @param {!Uint8Array} bytes The array of bytes to write.
|
/external/libvncserver/webclients/novnc/include/chrome-app/ |
tcp-client.js | 83 var bytes = [], u8 = new Uint8Array(buf); 235 var bytes = [], u8 = new Uint8Array(readInfo.data); 281 var bb = new Blob([new Uint8Array(buf)]);
|
/external/flatbuffers/js/ |
flatbuffers.js | 81 flatbuffers.isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1; 255 * @returns {Uint8Array} 543 * uint8Array.set() formally takes {Array<number>|ArrayBufferView}, so to pass 544 * it a uint8Array we need to suppress the type check: 729 * Encode the string `s` in the buffer using UTF-8. If a Uint8Array is passed 732 * @param {string|Uint8Array} s The string to encode 736 if (s instanceof Uint8Array) { 797 * Create a new ByteBuffer with a given array of bytes (`Uint8Array`). 800 * @param {Uint8Array} bytes 804 * @type {Uint8Array} [all...] |
/external/flatbuffers/tests/ |
JavaScriptTest.js | 12 var data = new Uint8Array(fs.readFileSync('monsterdata_test.mon')); 213 testReadingUnicode(new flatbuffers.ByteBuffer(new Uint8Array(correct))); 219 var name = fbb.createString(new Uint8Array(new Buffer(table.name))); 319 var bytes = new Uint8Array(builder.asUint8Array());
|
monster_test_generated.js | 472 * @returns {string|Uint8Array} 667 * @returns {string|Uint8Array} 692 * @returns {Uint8Array} 696 return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; 775 * @returns {string|Uint8Array} 838 * @returns {Uint8Array} 842 return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null; 1158 * @returns {string|Uint8Array} [all...] |
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/ |
tcp-server.js | 347 var bb = new Blob([new Uint8Array(buf)]);
|
/external/v8/src/asmjs/ |
asm-types.h | 47 V(Uint8Array, "Uint8Array", 16, kAsmHeap) \
|
/external/v8/src/ |
api.h | 87 V(Uint8Array, JSTypedArray) \ 162 static inline Local<Uint8Array> ToLocalUint8Array(
|
/external/v8/tools/profviz/ |
profviz.js | 196 var blob = new Blob([new Uint8Array(args.contents).buffer],
|
/external/autotest/client/deps/webgl_mpd/src/resources/ |
J3DI.js | 202 var indices = new Uint8Array(
|
/external/autotest/client/site_tests/video_YouTubeMseEme/files/ |
video_YouTubeMseEme.js | 93 var result = new Uint8Array(this.xhr.response);
|
/external/v8/include/ |
v8.h | [all...] |