Searched refs:encodedSize (Results 1 – 12 of 12) sorted by relevance
/external/libchrome/mojo/public/js/lib/ |
D | codec.js | 341 function(cls, val, numberOfElements, encodedSize) { argument 344 if (encodedSize === undefined) 345 encodedSize = kArrayHeaderSize + cls.encodedSize * numberOfElements; 347 this.writeUint32(encodedSize); 376 var encoder = this.createAndEncodeEncoder(cls.encodedSize); 391 var encodedSize = kArrayHeaderSize + ((cls === PackedBool) ? 392 Math.ceil(numberOfElements / 8) : cls.encodedSize * numberOfElements); 393 var encoder = this.createAndEncodeEncoder(encodedSize); 394 encoder.encodeArray(cls, val, numberOfElements, encodedSize); 407 var encodedSize = kArrayHeaderSize + internal.utf8Length(val); [all …]
|
D | validator.js | 316 internal.Uint32.encodedSize, internal.Uint32, true, [0], 0); 463 keysArrayPointerOffset, keyClass.encodedSize, keyClass, false, [0], 0); 474 valueClass.encodedSize, 493 offset, internal.Uint8.encodedSize, internal.Uint8, nullable, [0], 0); 569 var elementSize = internal.Handle.encodedSize; 581 var elementSize = internal.Interface.prototype.encodedSize; 593 var elementSize = internal.InterfaceRequest.encodedSize; 605 var elementSize = internal.AssociatedInterfacePtrInfo.prototype.encodedSize; 618 var elementSize = internal.AssociatedInterfaceRequest.encodedSize; 634 var elementSize = internal.PointerTo.prototype.encodedSize; [all …]
|
D | control_message_proxy.js | 15 mojo.interfaceControl.RunOrClosePipeMessageParams.encodedSize; 63 var payloadSize = mojo.interfaceControl.RunMessageParams.encodedSize;
|
D | pipe_control_message_proxy.js | 15 mojo.pipeControl.RunOrClosePipeMessageParams.encodedSize;
|
D | control_message_handler.js | 73 mojo.interfaceControl.RunResponseMessageParams.encodedSize;
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | DexBackedTryBlock.java | 67 final int encodedSize = reader.readSleb128(); in getExceptionHandlers() local 69 if (encodedSize > 0) { in getExceptionHandlers() 71 …rn new VariableSizeList<DexBackedTypedExceptionHandler>(dexFile, reader.getOffset(), encodedSize) { in getExceptionHandlers() 80 final int sizeWithCatchAll = (-1 * encodedSize) + 1; in getExceptionHandlers()
|
/external/libcppbor/include/cppbor/ |
D | cppbor.h | 186 virtual size_t encodedSize() const = 0; 218 retval.reserve(encodedSize()); in encode() 228 retval.reserve(encodedSize()); in toString() 265 size_t encodedSize() const override { return mValue.size(); } in encodedSize() function 307 size_t encodedSize() const override { return headerSize(mValue); } in encodedSize() function 345 size_t encodedSize() const override { return headerSize(addlInfo()); } in encodedSize() function 404 size_t encodedSize() const override { return headerSize(mValue.size()) + mValue.size(); } in encodedSize() function 455 size_t encodedSize() const override { return headerSize(mView.size()) + mView.size(); } in encodedSize() function 506 size_t encodedSize() const override { return headerSize(mValue.size()) + mValue.size(); } in encodedSize() function 554 size_t encodedSize() const override { return headerSize(mView.size()) + mView.size(); } in encodedSize() function [all …]
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | interface_definition.tmpl | 48 codec.align({{interface_method_id}}_Params.encodedSize)); 53 codec.align({{interface_method_id}}_Params.encodedSize)); 63 codec.align({{interface_method_id}}_Params.encodedSize), 69 codec.align({{interface_method_id}}_Params.encodedSize), 141 .encodedSize), 148 codec.align({{interface_method_id}}_ResponseParams.encodedSize),
|
D | struct_definition.tmpl | 127 {{struct.name}}.encodedSize = codec.kStructHeaderSize + {{struct.packed|payload_size}}; 155 encoder.writeUint32({{struct.name}}.encodedSize);
|
D | union_definition.tmpl | 125 {{union.name}}.encodedSize = 16;
|
/external/libcppbor/src/ |
D | cppbor.cpp | 495 if (a->encodedSize() < b->encodedSize()) return true; in keyLess() 496 if (a->encodedSize() > b->encodedSize()) return false; in keyLess()
|
/external/libcppbor/tests/ |
D | cppbor_test.cpp | 64 EXPECT_EQ(testCase.second, val.encodedSize()) << "Wrong size for value " << testCase.first; in TEST() 65 EXPECT_EQ(val.encodedSize(), val.toString().size()) in TEST() 458 buf.resize(map.encodedSize()); in TEST() 474 vector<uint8_t> buf(val.encodedSize() - 1); in TEST() 483 buf.resize(val.encodedSize() - 1); in TEST() 492 buf.resize(val.encodedSize() - 1); in TEST() 499 std::vector<uint8_t> buf(val.encodedSize() - 1); in TEST() 511 std::vector<uint8_t> buf(map.encodedSize() - 1); in TEST() 518 std::vector<uint8_t> buf(tag.encodedSize() - 1); in TEST()
|