/third_party/protobuf/js/experimental/runtime/kernel/ |
D | message_set.js | 108 getMessageOrNull(typeId, instanceCreator, pivot) { argument 110 return item ? item.getMessageOrNull(instanceCreator, pivot) : null; 120 getMessageAttach(typeId, instanceCreator, pivot) { argument 123 return item.getMessageAttach(instanceCreator, pivot); 125 const message = instanceCreator(Kernel.createEmpty()); 222 getMessage(instanceCreator, pivot) { argument 224 MSET_MESSAGE_FIELD_NUMBER, instanceCreator, pivot); 233 getMessageOrNull(instanceCreator, pivot) { argument 235 MSET_MESSAGE_FIELD_NUMBER, instanceCreator, pivot); 244 getMessageAttach(instanceCreator, pivot) { argument [all …]
|
D | kernel.js | 61 function checkInstanceCreator(instanceCreator) { argument 63 const emptyMessage = instanceCreator(Kernel.createEmpty()); 156 indexArray, bufferDecoder, fieldNumber, instanceCreator, pivot) { argument 160 bufferDecoder, indexArray[i], fieldNumber, instanceCreator, pivot); 213 function readMessage(indexArray, bufferDecoder, instanceCreator, pivot) { argument 214 checkInstanceCreator(instanceCreator); 216 return instanceCreator(accessor); 231 indexArray, bufferDecoder, fieldNumber, instanceCreator, pivot) { argument 232 checkInstanceCreator(instanceCreator); 236 instanceCreator, pivot); [all …]
|
D | kernel_test.js | 363 const msg = accessor.getMessageOrNull(1, TestMessage.instanceCreator); 370 const msg = accessor.getMessageOrNull(1, TestMessage.instanceCreator); 383 accessor.getMessageOrNull(1, TestMessage.instanceCreator); 391 const msg = accessor.getMessageOrNull(1, TestMessage.instanceCreator); 408 accessor.getMessageOrNull(1, TestMessage.instanceCreator); 441 accessor.getMessageOrNull(1, TestMessage.instanceCreator); 463 const submsg2 = accessor.getMessage(1, TestMessage.instanceCreator); 505 expect(accessor.getMessageOrNull(1, TestMessage.instanceCreator)) 514 accessor.getMessageOrNull(1, TestMessage.instanceCreator); 524 accessor.getMessageOrNull(1, TestMessage.instanceCreator); [all …]
|
D | message_set_test.js | 23 expect(messageSet.getMessageOrNull(12345, TestMessage.instanceCreator)) 36 expect(messageSet.getMessageOrNull(12345, TestMessage.instanceCreator)) 89 messageSet.getMessageOrNull(12345, TestMessage.instanceCreator, 2); 96 messageSet.getMessageAttach(12345, TestMessage.instanceCreator, 2); 138 messageSet.getMessageOrNull(12345, TestMessage.instanceCreator); 215 messageSet.setMessage(12345, TestMessage.instanceCreator(fooMessage)); 242 messageSet.setMessage(12345, TestMessage.instanceCreator(fooMessage)); 257 messageSetParsed.getMessageOrNull(12345, TestMessage.instanceCreator)
|
D | kernel_repeated_test.js | 7019 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator), 7031 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 7033 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 7039 expect(accessor.getRepeatedMessageSize(1, TestMessage.instanceCreator)) 7053 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator), 7062 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 7064 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 7073 accessor.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 7075 1, TestMessage.instanceCreator, /* pivot= */ 0); 7108 /* fieldNumber= */ 1, TestMessage.instanceCreator, [all …]
|
D | kernel_compatibility_test.js | 62 expect(newAccessor.getRepeatedMessageSize(1, TestMessage.instanceCreator)) 65 newAccessor.getRepeatedMessageElement(1, TestMessage.instanceCreator, 0) 136 1, message1, TestMessage.instanceCreator); 138 1, message2, TestMessage.instanceCreator); 146 const newMessage = newAccessor.getMessage(1, TestMessage.instanceCreator); 247 const message = newAccessor.getMessage(1, TestMessage.instanceCreator);
|
/third_party/protobuf/js/experimental/benchmarks/code_size/kernel/ |
D | popular_types.js | 36 message.addRepeatedMessageElement(1, message, TestMessage.instanceCreator); 37 message.addRepeatedMessageIterable(1, [message], TestMessage.instanceCreator); 45 message.setRepeatedMessageElement(1, message, TestMessage.instanceCreator, 0); 53 s += message.getMessage(1, TestMessage.instanceCreator); 54 s += message.getMessageOrNull(1, TestMessage.instanceCreator); 58 s += message.getRepeatedMessageElement(1, TestMessage.instanceCreator, 0); 59 s += message.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 60 s += message.getRepeatedMessageSize(1, TestMessage.instanceCreator);
|
D | all_types.js | 52 message.addRepeatedMessageElement(1, message, TestMessage.instanceCreator); 53 message.addRepeatedMessageIterable(1, [message], TestMessage.instanceCreator); 127 message.setRepeatedMessageElement(1, message, TestMessage.instanceCreator, 0); 165 s += message.getMessage(1, TestMessage.instanceCreator); 197 s += message.getRepeatedMessageElement(1, TestMessage.instanceCreator, 0); 198 s += message.getRepeatedMessageIterable(1, TestMessage.instanceCreator); 199 s += message.getRepeatedMessageSize(1, TestMessage.instanceCreator);
|
/third_party/protobuf/js/experimental/runtime/testing/binary/ |
D | test_message.js | 20 return TestMessage.instanceCreator(Kernel.createEmpty()); 27 static instanceCreator(kernel) { method in TestMessage 195 getMessageOrNull(fieldNumber, instanceCreator) { argument 196 return this.kernel_.getMessageOrNull(fieldNumber, instanceCreator); 205 getMessageAttach(fieldNumber, instanceCreator) { argument 206 return this.kernel_.getMessageAttach(fieldNumber, instanceCreator); 215 getMessage(fieldNumber, instanceCreator) { argument 216 return this.kernel_.getMessage(fieldNumber, instanceCreator); 608 getRepeatedMessageElement(fieldNumber, instanceCreator, index) { argument 610 fieldNumber, instanceCreator, index); [all …]
|