HomeSort by relevance Sort by last modified time
    Searched full:uint8array (Results 1 - 25 of 45) sorted by null

1 2

  /external/v8/tools/foozzie/
v8_mock_archs.js 37 Uint8Array = mock(Uint8Array);
  /external/flatbuffers/docs/source/
JavaScriptUsage.md 47 `Uint8Array`. Make a `flatbuffers.ByteBuffer` out of the `Uint8Array`, and pass
61 var data = new Uint8Array(fs.readFileSync('monster.dat'));
79 var data = new Uint8Array(reader.result);
  /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...]
README.md 152 // Serializes to a UInt8Array.
  /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]));
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);
constants.js 81 * @typedef {ArrayBuffer|Uint8Array|Array<number>|string}
96 !Array<!Uint8Array>|
107 !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...]
  /development/tools/winscope/src/
detectfile.js 36 /** buffer: 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/libmojo/mojo/public/js/
buffer.js 9 var endianUint8Array = new Uint8Array(endianArrayBuffer);
42 (new Uint8Array(dstArrayBuffer)).set(new Uint8Array(srcArrayBuffer));
connector.js 48 new Uint8Array(message.buffer.arrayBuffer),
  /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:
734 * Encode the string `s` in the buffer using UTF-8. If a Uint8Array is passed
737 * @param {string|Uint8Array} s The string to encode
741 if (s instanceof Uint8Array) {
802 * Create a new ByteBuffer with a given array of bytes (`Uint8Array`).
805 * @param {Uint8Array} bytes
809 * @type {Uint8Array}
    [all...]
  /external/flatbuffers/tests/
monster_test_generated.ts 589 * @returns {string|Uint8Array|null}
592 id(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
593 id(optionalEncoding?:any):string|Uint8Array|null {
787 * @returns {string|Uint8Array|null}
790 name(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
791 name(optionalEncoding?:any):string|Uint8Array|null {
814 * @returns {Uint8Array}
816 inventoryArray():Uint8Array|null {
818 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;
897 * @returns {string|Uint8Array}
    [all...]
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 606 * @returns {string|Uint8Array|null}
801 * @returns {string|Uint8Array|null}
826 * @returns {Uint8Array}
830 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;
909 * @returns {string|Uint8Array}
972 * @returns {Uint8Array}
976 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;
1292 * @returns {string|Uint8Array}
1343 * @returns {Uint8Array}
1347 return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this. (…)
    [all...]
  /external/libmojo/mojo/edk/js/tests/
js_to_cpp_tests.js 212 sampleData = new Uint8Array(DATA_PIPE_PARAMS.capacityNumBytes);
216 sampleMessage = new Uint8Array(DATA_PIPE_PARAMS.capacityNumBytes);
  /external/flatbuffers/tests/union_vector/
union_vector_generated.ts 304 * @returns {Uint8Array}
306 charactersTypeArray():Uint8Array|null {
308 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;
union_vector_generated.js 309 * @returns {Uint8Array}
313 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;
  /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/v8/src/asmjs/
asm-types.h 47 V(Uint8Array, "Uint8Array", 16, kAsmHeap) \

Completed in 957 milliseconds

1 2