HomeSort by relevance Sort by last modified time
    Searched full:field_descriptor (Results 1 - 22 of 22) sorted by null

  /external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
python-proto2.cc 50 #define FIELD_BELONGS_TO_MESSAGE(field_descriptor, message) \
51 ((message)->GetDescriptor() == (field_descriptor)->containing_type())
53 #define FIELD_IS_REPEATED(field_descriptor) \
54 ((field_descriptor)->label() == google::protobuf::FieldDescriptor::LABEL_REPEATED)
400 const google::protobuf::FieldDescriptor* field_descriptor,
403 message, field_descriptor, global_message_factory);
531 const google::protobuf::FieldDescriptor* field_descriptor) {
534 if (!FIELD_BELONGS_TO_MESSAGE(field_descriptor, message)) {
541 switch (field_descriptor->cpp_type()) {
543 int32 value = reflection->GetInt32(*message, field_descriptor);
1026 const google::protobuf::FieldDescriptor* field_descriptor = local
1048 const google::protobuf::FieldDescriptor* field_descriptor = local
1079 const google::protobuf::FieldDescriptor* field_descriptor = local
1102 const google::protobuf::FieldDescriptor* field_descriptor = local
1180 const google::protobuf::FieldDescriptor* field_descriptor = local
    [all...]
python_descriptor.cc 158 const google::protobuf::FieldDescriptor* field_descriptor) {
164 cfield_descriptor->descriptor = field_descriptor;
167 field_descriptor->full_name().c_str());
169 field_descriptor->name().c_str());
170 cfield_descriptor->cpp_type = PyLong_FromLong(field_descriptor->cpp_type());
171 cfield_descriptor->label = PyLong_FromLong(field_descriptor->label());
183 const google::protobuf::FieldDescriptor* field_descriptor = NULL; local
185 field_descriptor = self->pool->FindFieldByName(full_field_name);
188 if (field_descriptor == NULL) {
194 return CDescriptorPool_NewCDescriptor(field_descriptor);
204 const google::protobuf::FieldDescriptor* field_descriptor = local
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/asm/util/
TraceMethodVisitor.java 147 appendDescriptor(FIELD_DESCRIPTOR, desc);
272 appendDescriptor(FIELD_DESCRIPTOR, desc);
405 appendDescriptor(FIELD_DESCRIPTOR, desc);
447 appendDescriptor(FIELD_DESCRIPTOR, desc);
519 appendDescriptor(FIELD_DESCRIPTOR, desc);
526 appendDescriptor(FIELD_DESCRIPTOR, "T");
529 appendDescriptor(FIELD_DESCRIPTOR, "I");
532 appendDescriptor(FIELD_DESCRIPTOR, "F");
535 appendDescriptor(FIELD_DESCRIPTOR, "D");
538 appendDescriptor(FIELD_DESCRIPTOR, "J");
    [all...]
TraceAbstractVisitor.java 52 public static final int FIELD_DESCRIPTOR = 1;
115 appendDescriptor(FIELD_DESCRIPTOR, desc);
TraceAnnotationVisitor.java 203 appendDescriptor(FIELD_DESCRIPTOR, desc);
222 appendDescriptor(FIELD_DESCRIPTOR, desc);
TraceClassVisitor.java 363 appendDescriptor(FIELD_DESCRIPTOR, desc);
  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
unknown_fields_test.py 58 field_descriptor = self.descriptor.fields_by_name[name]
59 wire_type = type_checkers.FIELD_TYPE_TO_WIRE_TYPE[field_descriptor.type]
60 field_tag = encoder.TagBytes(field_descriptor.number, wire_type)
66 return result_dict[field_descriptor]
python_message.py 191 def _AttachFieldHelpers(cls, field_descriptor):
192 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
193 is_packed = (field_descriptor.has_options and
194 field_descriptor.GetOptions().packed)
196 if _IsMessageSetExtension(field_descriptor):
197 field_encoder = encoder.MessageSetItemEncoder(field_descriptor.number)
198 sizer = encoder.MessageSetItemSizer(field_descriptor.number)
200 field_encoder = type_checkers.TYPE_TO_ENCODER[field_descriptor.type](
201 field_descriptor.number, is_repeated, is_packed)
202 sizer = type_checkers.TYPE_TO_SIZER[field_descriptor.type]
    [all...]
descriptor_test.py 142 field_descriptor = message_descriptor.fields_by_name["field1"]
156 field_options = field_descriptor.GetOptions()
324 field_descriptor = message_descriptor.fields_by_name["fieldname"]
350 field_descriptor.GetOptions().Extensions[
cpp_message.py 603 field_descriptor = fields_by_name[field_name]
605 (field_descriptor, getattr(self, field_name)))
reflection_test.py     [all...]
  /external/protobuf/python/google/protobuf/
reflection.py 258 def _AttachFieldHelpers(cls, field_descriptor):
259 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)
260 is_packed = (field_descriptor.has_options and
261 field_descriptor.GetOptions().packed)
263 if _IsMessageSetExtension(field_descriptor):
264 field_encoder = encoder.MessageSetItemEncoder(field_descriptor.number)
265 sizer = encoder.MessageSetItemSizer(field_descriptor.number)
267 field_encoder = type_checkers.TYPE_TO_ENCODER[field_descriptor.type](
268 field_descriptor.number, is_repeated, is_packed)
269 sizer = type_checkers.TYPE_TO_SIZER[field_descriptor.type]
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
descriptor.cc 243 const FieldDescriptor* field_descriptor; member in union:google::protobuf::__anon18694::Symbol::__anon18695
268 CONSTRUCTOR(FieldDescriptor , FIELD , field_descriptor )
280 case FIELD : return field_descriptor ->file();
    [all...]
  /external/chromium_org/sync/tools/testserver/
chromiumsync.py 244 return [data_type for data_type, field_descriptor
246 if specifics.HasField(field_descriptor.name)]
256 for data_type, field_descriptor in SYNC_TYPE_TO_DESCRIPTOR.iteritems():
257 if field_descriptor.number == protocol_data_type_id:
272 for data_type, field_descriptor in SYNC_TYPE_TO_DESCRIPTOR.iteritems():
273 if field_descriptor.name.lower().rstrip('s') == name:
    [all...]
  /external/protobuf/src/google/protobuf/
descriptor.cc 227 const FieldDescriptor* field_descriptor; member in union:google::protobuf::__anon32684::Symbol::__anon32685
252 CONSTRUCTOR(FieldDescriptor , FIELD , field_descriptor )
264 case FIELD : return field_descriptor ->file();
    [all...]
  /external/protobuf/src/google/protobuf/compiler/python/
python_generator.cc 666 const FieldDescriptor& field_descriptor = *descriptor.field(i); local
667 FixForeignFieldsInField(&descriptor, field_descriptor, "fields_by_name");
    [all...]
  /external/protobuf/python/google/protobuf/internal/
reflection_test.py     [all...]
  /external/chromium_org/chrome/browser/policy/test/
policy_testserver.py 637 field_descriptor = policy_message.DESCRIPTOR.fields_by_name['value']
638 self.SetProtobufMessageField(policy_message, field_descriptor, value)
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/python/
python_generator.cc 695 const FieldDescriptor& field_descriptor = *descriptor.field(i); local
696 FixForeignFieldsInField(&descriptor, field_descriptor, "fields_by_name");
    [all...]
  /external/owasp/sanitizer/tools/findbugs/lib/
asm-util-3.3.jar 
  /prebuilts/tools/common/asm-tools/
asm-util-4.0.jar 
  /prebuilts/misc/linux-x86/protobuf/
aprotoc 

Completed in 1135 milliseconds