Searched refs:HasField (Results 1 – 5 of 5) sorted by relevance
98 if manifest.HasField('signatures_offset'):118 (signature.version if signature.HasField('version') else None,151 if op.HasField('data_offset'):153 if op.HasField('data_length'):
68 def HasField(self, field): member in FakeOp119 def HasField(self, field_name): member in FakeManifest
248 if self.manifest.HasField('old_image_info'):251 if self.manifest.HasField('new_image_info'):266 return (any(partition.HasField('old_partition_info')
368 if not msg.HasField(name):413 if msg.HasField(field_name):835 if not op.HasField('src_length') or not op.HasField('dst_length'):838 if op.HasField('src_length') or op.HasField('dst_length'):923 if op.HasField('src_length'):925 if op.HasField('dst_length'):928 if op.HasField('data_sha256_hash'):
211 self.addPostCheckForMockFunction(msg.HasField, name)212 msg.HasField.return_value = is_present865 self.assertEqual(op.data_length if op.HasField('data_length') else 0,