Home
last modified time | relevance | path

Searched refs:getSint32WithDefault (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_test.js1492 expect(accessor.getSint32WithDefault(1)).toEqual(0);
1497 expect(accessor.getSint32WithDefault(1, 2)).toEqual(2);
1502 expect(accessor.getSint32WithDefault(1)).toEqual(1);
1508 expect(accessor.getSint32WithDefault(1)).toEqual(1);
1516 accessor.getSint32WithDefault(1);
1523 expect(accessor.getSint32WithDefault(1)).toEqual(0);
1529 expect(() => Kernel.createEmpty().getSint32WithDefault(-1, 1))
1532 expect(Kernel.createEmpty().getSint32WithDefault(-1, 1)).toEqual(1);
1540 expect(accessor.getSint32WithDefault(1)).toEqual(2);
1554 expect(accessor.getSint32WithDefault(1)).toBe(1);
[all …]
Dkernel.js699 getSint32WithDefault(fieldNumber, defaultValue = 0) { method in Kernel
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
Dtest_all_types_proto2.js69 const value = requestAccessor.getSint32WithDefault(5);
Dtest_all_types_proto3.js69 const value = requestAccessor.getSint32WithDefault(5);
/third_party/protobuf/js/experimental/runtime/testing/binary/
Dtest_message.js149 getSint32WithDefault(fieldNumber, defaultValue = 0) { method in TestMessage
150 return this.kernel_.getSint32WithDefault(fieldNumber, defaultValue);
/third_party/protobuf/js/experimental/benchmarks/code_size/kernel/
Dall_types.js168 s += message.getSint32WithDefault(1);