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

  /external/protobuf/python/google/protobuf/
message.py 217 def HasField(self, field_name):
220 def ClearField(self, field_name):
reflection.py 369 for field_name, field_value in kwargs.iteritems():
370 field = _GetFieldByName(message_descriptor, field_name)
373 (message_descriptor.name, field_name))
394 def _GetFieldByName(message_descriptor, field_name):
399 field_name: The name of the field to retrieve.
404 return message_descriptor.fields_by_name[field_name]
406 raise ValueError('Protocol message has no "%s" field.' % field_name)
643 def HasField(self, field_name):
645 field = singular_fields[field_name]
648 'Protocol message has no singular "%s" field.' % field_name)
    [all...]
  /external/protobuf/src/google/protobuf/
text_format.cc 237 string field_name; local
243 DO(ConsumeIdentifier(&field_name));
247 field_name += ".";
248 field_name += part;
252 field = reflection->FindKnownExtensionByName(field_name);
255 ReportError("Extension \"" + field_name + "\" is not defined or "
261 DO(ConsumeIdentifier(&field_name));
263 field = descriptor->FindFieldByName(field_name);
268 string lower_field_name = field_name;
278 && field->message_type()->name() != field_name) {
    [all...]
  /external/openssl/crypto/asn1/
tasn_new.c 283 if (tt->field_name)
284 CRYPTO_push_info(tt->field_name);
tasn_prn.c 352 fname = tt->field_name;
369 indent, "", tname, tt->field_name) <= 0)
asn1t.h 451 const char *field_name; /* Field name */ member in struct:ASN1_TEMPLATE_st
tasn_dec.c 522 ERR_add_error_data(4, "Field=", errtt->field_name,
  /external/protobuf/python/google/protobuf/internal/
generator_test.py 57 field_name = 'optional_nested_message'
61 proto_type.DESCRIPTOR.fields_by_name[field_name].message_type)
reflection_test.py 512 def TestMinAndMaxIntegers(field_name, expected_min, expected_max):
514 setattr(pb, field_name, expected_min)
515 setattr(pb, field_name, expected_max)
516 self.assertRaises(ValueError, setattr, pb, field_name, expected_min - 1)
517 self.assertRaises(ValueError, setattr, pb, field_name, expected_max + 1)
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_helpers.cc 163 string field_name = UnderscoresToCamelCase(field->name(), true); local
164 string result = "k" + field_name + "FieldNumber";
  /external/webkit/WebKitTools/Scripts/webkitpy/
scm.py 274 def value_from_svn_info(cls, path, field_name):
277 match = re.search("^%s: (?P<value>.+)$" % field_name, info_output, re.MULTILINE)
279 raise ScriptError(script_args=svn_info_args, message='svn info did not contain a %s.' % field_name)
  /frameworks/base/core/jni/
android_hardware_Camera.cpp 658 const char *field_name; member in struct:field
673 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type);
675 LOGE("Can't find %s.%s", f->class_name, f->field_name);
  /external/openssl/include/openssl/
asn1t.h 451 const char *field_name; /* Field name */ member in struct:ASN1_TEMPLATE_st

Completed in 118 milliseconds