HomeSort by relevance Sort by last modified time
    Searched refs:HasField (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
test_util.py 369 test_case.assertTrue(message.HasField('optional_int32'))
370 test_case.assertTrue(message.HasField('optional_int64'))
371 test_case.assertTrue(message.HasField('optional_uint32'))
372 test_case.assertTrue(message.HasField('optional_uint64'))
373 test_case.assertTrue(message.HasField('optional_sint32'))
374 test_case.assertTrue(message.HasField('optional_sint64'))
375 test_case.assertTrue(message.HasField('optional_fixed32'))
376 test_case.assertTrue(message.HasField('optional_fixed64'))
377 test_case.assertTrue(message.HasField('optional_sfixed32'))
378 test_case.assertTrue(message.HasField('optional_sfixed64')
    [all...]
reflection_test.py 241 self.assertTrue(not proto.HasField('optional_int32'))
243 # HasField() shouldn't be true if all we've done is
245 self.assertTrue(not proto.HasField('optional_int32'))
248 self.assertTrue(proto.HasField('optional_int32'))
251 self.assertTrue(not proto.HasField('optional_int32'))
265 # assert not proto.composite_field.HasField('scalar_field')
266 # assert not proto.HasField('composite_field')
272 # assert proto.composite_field.HasField('scalar_field')
273 # assert proto.HasField('composite_field')
277 # assert not proto.composite_field.HasField('scalar_field'
    [all...]
python_message.py 593 def HasField(self, field_name):
605 cls.HasField = HasField
850 # Performance is critical so we avoid HasField() and ListFields().
    [all...]
  /external/protobuf/python/google/protobuf/internal/
test_util.py 357 test_case.assertTrue(message.HasField('optional_int32'))
358 test_case.assertTrue(message.HasField('optional_int64'))
359 test_case.assertTrue(message.HasField('optional_uint32'))
360 test_case.assertTrue(message.HasField('optional_uint64'))
361 test_case.assertTrue(message.HasField('optional_sint32'))
362 test_case.assertTrue(message.HasField('optional_sint64'))
363 test_case.assertTrue(message.HasField('optional_fixed32'))
364 test_case.assertTrue(message.HasField('optional_fixed64'))
365 test_case.assertTrue(message.HasField('optional_sfixed32'))
366 test_case.assertTrue(message.HasField('optional_sfixed64')
    [all...]
reflection_test.py 206 self.assertTrue(not proto.HasField('optional_int32'))
208 # HasField() shouldn't be true if all we've done is
210 self.assertTrue(not proto.HasField('optional_int32'))
213 self.assertTrue(proto.HasField('optional_int32'))
216 self.assertTrue(not proto.HasField('optional_int32'))
230 # assert not proto.composite_field.HasField('scalar_field')
231 # assert not proto.HasField('composite_field')
237 # assert proto.composite_field.HasField('scalar_field')
238 # assert proto.HasField('composite_field')
242 # assert not proto.composite_field.HasField('scalar_field'
    [all...]
  /external/protobuf/examples/
list_people.py 13 if person.HasField('email'):
  /external/chromium_org/sync/tools/testserver/
chromiumsync_test.py 100 self.assertTrue(change.HasField('server_defined_unique_tag'))
327 self.assertFalse(response.HasField('new_timestamp'))
332 self.assertTrue(response.HasField('new_timestamp'))
352 self.assertFalse(response.HasField('new_timestamp'))
356 self.assertFalse(marker.HasField('timestamp_token_for_migration'))
374 self.assertFalse(response.HasField('new_timestamp'))
378 self.assertFalse(marker.HasField('timestamp_token_for_migration'))
383 self.assertFalse(response.HasField('new_timestamp'))
387 self.assertFalse(marker.HasField('timestamp_token_for_migration'))
392 self.assertFalse(response.HasField('new_timestamp')
    [all...]
chromiumsync.py 238 if specifics.HasField(field_descriptor.name)]
401 if marker.HasField('timestamp_token_for_migration'):
408 elif marker.HasField('token'):
414 elif request.HasField('from_timestamp'):
454 return (self._original_request.HasField('create_mobile_bookmarks_folder')
469 elif self._original_request.HasField('from_timestamp'):
680 if not entry.HasField('position_in_parent'):
791 if self._entries[entry.id_string].HasField(
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
test_util.cc     [all...]
reflection_ops.cc 146 if (!reflection->HasField(message, descriptor->field(i))) {
232 if (!reflection->HasField(message, descriptor->field(i))) {
generated_message_reflection.h 146 bool HasField(const Message& message, const FieldDescriptor* field) const;
wire_format.cc 452 } else if (message_reflection->HasField(message, field)) {
616 } else if (message_reflection->HasField(message, field)) {
644 } else if (message_reflection->HasField(message, field)) {
generated_message_reflection.cc 402 bool GeneratedMessageReflection::HasField(const Message& message,
404 USAGE_CHECK_MESSAGE_TYPE(HasField);
405 USAGE_CHECK_SINGULAR(HasField);
    [all...]
  /external/chromium/net/tools/testserver/
chromiumsync_test.py 80 self.assertFalse(entry.HasField('insert_after_item_id'))
138 self.assertTrue(change.HasField('server_defined_unique_tag'))
362 self.assertFalse(response.HasField('new_timestamp'))
367 self.assertTrue(response.HasField('new_timestamp'))
387 self.assertFalse(response.HasField('new_timestamp'))
391 self.assertFalse(marker.HasField('timestamp_token_for_migration'))
409 self.assertFalse(response.HasField('new_timestamp'))
413 self.assertFalse(marker.HasField('timestamp_token_for_migration'))
418 self.assertFalse(response.HasField('new_timestamp'))
422 self.assertFalse(marker.HasField('timestamp_token_for_migration')
    [all...]
chromiumsync.py 186 if marker.HasField("timestamp_token_for_migration"):
190 elif marker.HasField("token"):
196 elif request.HasField("from_timestamp"):
230 elif self._original_request.HasField("from_timestamp"):
501 if self._entries[entry.id_string].HasField(
571 if entry.HasField('client_defined_unique_tag'):
678 if entry.HasField('insert_after_item_id'):
687 if base_entry and not entry.HasField('originator_cache_guid'):
    [all...]
  /external/protobuf/src/google/protobuf/
test_util.cc     [all...]
reflection_ops.cc 142 if (!reflection->HasField(message, descriptor->field(i))) {
227 if (!reflection->HasField(message, descriptor->field(i))) {
generated_message_reflection.h 140 bool HasField(const Message& message, const FieldDescriptor* field) const;
generated_message_reflection_unittest.cc 368 reflection->HasField(
371 " Method : google::protobuf::Reflection::HasField\n"
message.h 399 virtual bool HasField(const Message& message,
406 // Clear the value of a field, so that HasField() returns false or
431 // extensions. Singular fields will only be listed if HasField(field) would
    [all...]
wire_format.cc 755 } else if (message_reflection->HasField(message, field)) {
    [all...]
  /external/protobuf/python/google/protobuf/
message.py 212 if HasField() would return true, and a repeated field is non-empty if
217 def HasField(self, field_name):
reflection.py 643 def HasField(self, field_name):
655 cls.HasField = HasField
    [all...]
  /external/chromium_org/third_party/protobuf/python/google/protobuf/
message.py 226 if HasField() would return true, and a repeated field is non-empty if
231 def HasField(self, field_name):
descriptor_pool.py 395 if not field_proto.HasField('type'):
414 elif field_proto.HasField('default_value'):

Completed in 1738 milliseconds

1 2