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

  /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/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...]
generated_message_reflection.cc 414 bool GeneratedMessageReflection::HasField(const Message& message,
416 USAGE_CHECK_MESSAGE_TYPE(HasField);
417 USAGE_CHECK_SINGULAR(HasField);
    [all...]
text_format.cc 291 !field->is_repeated() && reflection->HasField(*message, field)) {
940 } else if (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...]
  /hardware/ril/mock-ril/src/cpp/
protobuf_v8.cpp 254 if (!repeated && !reflection->HasField(instance, field)) {
  /external/llvm/lib/TableGen/
TGParser.cpp     [all...]

Completed in 200 milliseconds