/third_party/protobuf/js/experimental/runtime/kernel/ |
D | kernel_test.js | 29 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0)); 34 const accessor = Kernel.fromArrayBuffer( 43 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0)); 48 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0), 50); 55 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0)); 61 const accessor = Kernel.fromArrayBuffer(bytes); 78 const accessor = Kernel.fromArrayBuffer(new ArrayBuffer(0)); 98 const accessor = Kernel.fromArrayBuffer(bytes); 108 const accessor = Kernel.fromArrayBuffer(bytes); 133 const accessor = Kernel.fromArrayBuffer(bytes); [all …]
|
D | buffer_decoder_test.js | 23 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x0, 0x1)); 33 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x0, 0x1, 0x2)); 43 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x01)); 49 const bufferDecoder = BufferDecoder.fromArrayBuffer(createArrayBuffer( 66 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x80, 0x80)); 74 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x00)); 83 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x01)); 91 const bufferDecoder = BufferDecoder.fromArrayBuffer(createArrayBuffer( 103 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x00)); 111 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x01)); [all …]
|
D | kernel_compatibility_test.js | 47 const newAccessor = Kernel.fromArrayBuffer(serializedData); 61 const newAccessor = Kernel.fromArrayBuffer(serializedData); 76 1, ByteString.fromArrayBuffer(createArrayBuffer(0xA, 0xB))); 80 const newAccessor = Kernel.fromArrayBuffer(serializedData); 83 .toEqual(ByteString.fromArrayBuffer(createArrayBuffer(0xA, 0xB))); 93 const newAccessor = Kernel.fromArrayBuffer(serializedData); 107 const newAccessor = Kernel.fromArrayBuffer(serializedData); 121 const newAccessor = Kernel.fromArrayBuffer(serializedData); 144 const newAccessor = Kernel.fromArrayBuffer(serializedData); 158 1, ByteString.fromArrayBuffer(createArrayBuffer(0xA, 0xB))); [all …]
|
D | kernel_repeated_test.js | 91 const accessor = Kernel.fromArrayBuffer(bytes); 97 const accessor = Kernel.fromArrayBuffer(bytes); 105 const accessor = Kernel.fromArrayBuffer(bytes); 127 Kernel.fromArrayBuffer(createArrayBuffer(0x08, 0x00, 0x08, 0x01)); 157 Kernel.fromArrayBuffer(createArrayBuffer(0x0A, 0x02, 0x00, 0x01)); 172 const accessor = Kernel.fromArrayBuffer(bytes); 178 const accessor = Kernel.fromArrayBuffer(bytes); 186 const accessor = Kernel.fromArrayBuffer(bytes); 208 Kernel.fromArrayBuffer(createArrayBuffer(0x08, 0x00, 0x08, 0x01)); 238 Kernel.fromArrayBuffer(createArrayBuffer(0x08, 0x00, 0x08, 0x01)); [all …]
|
D | tag_test.js | 25 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x80, 0x00)); 32 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x80, 0x00)); 40 const bufferDecoder = BufferDecoder.fromArrayBuffer( 48 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x80, 0x00)); 56 const bufferDecoder = BufferDecoder.fromArrayBuffer( 64 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x80, 0x00)); 73 const bufferDecoder = BufferDecoder.fromArrayBuffer( 81 BufferDecoder.fromArrayBuffer(createArrayBuffer(0x03, 0x00, 0x00)); 89 const bufferDecoder = BufferDecoder.fromArrayBuffer( 105 const bufferDecoder = BufferDecoder.fromArrayBuffer(buffer); [all …]
|
D | message_set_test.js | 82 Kernel.fromArrayBuffer(messageSet.internalGetKernel().serialize()); 133 const outerMessage = Kernel.fromArrayBuffer(arrayBuffer); 170 const outerMessage = Kernel.fromArrayBuffer(arrayBuffer); 250 const barMessageParsed = Kernel.fromArrayBuffer(arrayBuffer);
|
D | writer_test.js | 151 BufferDecoder.fromArrayBuffer(expected), 1, WireType.VARINT, 1); 162 BufferDecoder.fromArrayBuffer(expected), 1, WireType.FIXED64, 1); 173 BufferDecoder.fromArrayBuffer(expected), 1, WireType.DELIMITED, 1); 184 BufferDecoder.fromArrayBuffer(expected), 1, WireType.START_GROUP, 1); 195 BufferDecoder.fromArrayBuffer(expected), 1, WireType.FIXED32, 1); 206 BufferDecoder.fromArrayBuffer(subBuffer), 0, WireType.DELIMITED, 1)) 224 writer.writeBytes(1, ByteString.fromArrayBuffer(new ArrayBuffer(0))); 234 writer.writeBytes(1, ByteString.fromArrayBuffer(array)); 866 writer.writeRepeatedBytes(1, [ByteString.fromArrayBuffer(value)]); 879 ByteString.fromArrayBuffer(value1), [all …]
|
D | buffer_decoder.js | 51 return BufferDecoder.fromArrayBuffer(bytesArray.buffer); 58 static fromArrayBuffer(arrayBuffer) { method in BufferDecoder
|
D | buffer_decoder_helper.js | 13 return BufferDecoder.fromArrayBuffer(new Uint8Array(bytes).buffer);
|
D | reader_test.js | 68 expect(ByteString.fromArrayBuffer(new Uint8Array([1, 2, 3]).buffer)) 259 const bufferDecoder = BufferDecoder.fromArrayBuffer(encodedArray.buffer);
|
D | kernel.js | 357 static fromArrayBuffer(arrayBuffer, pivot = undefined) { method in Kernel 358 const bufferDecoder = BufferDecoder.fromArrayBuffer(arrayBuffer);
|
/third_party/protobuf/js/experimental/runtime/ |
D | bytestring_test.js | 8 const /** !ByteString */ TEST_STRING = ByteString.fromArrayBuffer(TEST_BYTES); 24 ByteString.fromArrayBuffer(arrayBufferSlice(TEST_BYTES, 0)); 66 const byteString = ByteString.fromArrayBuffer(buffer); 179 const empty = ByteString.fromArrayBuffer(new ArrayBuffer(0)); 199 const other = ByteString.fromArrayBuffer(arrayBufferSlice(TEST_BYTES, 0)); 205 ByteString.fromArrayBuffer(new Uint8Array([1, 2, 3, 4, 5]).buffer); 235 const empty = ByteString.fromArrayBuffer(new ArrayBuffer(0)); 240 const other = ByteString.fromArrayBuffer(arrayBufferSlice(TEST_BYTES, 0));
|
D | bytestring.js | 49 static fromArrayBuffer(bytes, start = 0, end = undefined) { method in ByteString
|
/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
D | conformance_response.js | 23 this.accessor_ = Kernel.fromArrayBuffer(bytes); 55 const bytesString = ByteString.fromArrayBuffer(value);
|
D | conformance_request.js | 23 this.accessor_ = Kernel.fromArrayBuffer(bytes);
|
D | test_all_types_proto3.js | 46 const requestAccessor = Kernel.fromArrayBuffer(bytes);
|
D | test_all_types_proto2.js | 46 const requestAccessor = Kernel.fromArrayBuffer(bytes);
|
/third_party/protobuf/js/experimental/runtime/testing/ |
D | ensure_custom_equality_test.js | 40 const bufferDecoder1 = BufferDecoder.fromArrayBuffer(arrayBuffer1); 41 const bufferDecoder2 = BufferDecoder.fromArrayBuffer(arrayBuffer2);
|
/third_party/node/deps/npm/node_modules/buffer/ |
D | index.js | 131 return fromArrayBuffer(value, encodingOrOffset, length) 137 return fromArrayBuffer(value, encodingOrOffset, length) 268 return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength) 273 function fromArrayBuffer (array, byteOffset, length) { function
|
/third_party/node/lib/ |
D | buffer.js | 312 return fromArrayBuffer(value, encodingOrOffset, length); 501 function fromArrayBuffer(obj, byteOffset, length) { function
|