/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
definition_test.py | 90 field_descriptor = descriptor.FieldDescriptor() 92 field_descriptor.name = 'a_field' 93 field_descriptor.number = 1 94 field_descriptor.variant = descriptor.FieldDescriptor.Variant.INT32 95 field_descriptor.label = descriptor.FieldDescriptor.Label.OPTIONAL 97 field = definition.define_field(field_descriptor) 110 field_descriptor = descriptor.FieldDescriptor() 112 field_descriptor.name = 'a_field' 113 field_descriptor.number = 1 114 field_descriptor.variant = descriptor.FieldDescriptor.Variant.STRIN [all...] |
definition.py | 108 def define_field(field_descriptor): 112 field_descriptor: FieldDescriptor class to build field instance from. 117 field_class = _VARIANT_MAP[field_descriptor.variant] 118 params = {'number': field_descriptor.number, 119 'variant': field_descriptor.variant, 122 if field_descriptor.label == descriptor.FieldDescriptor.Label.REQUIRED: 124 elif field_descriptor.label == descriptor.FieldDescriptor.Label.REPEATED: 127 message_type_field = _MESSAGE_TYPE_MAP.get(field_descriptor.type_name) 131 return field_class(field_descriptor.type_name, **params) 133 if field_descriptor.default_value [all...] |
descriptor.py | 350 field_descriptor = FieldDescriptor() 351 field_descriptor.name = field_definition.name 352 field_descriptor.number = field_definition.number 353 field_descriptor.variant = field_definition.variant 356 field_descriptor.type_name = field_definition.type.definition_name() 359 field_descriptor.type_name = field_definition.message_type.definition_name() 362 field_descriptor.default_value = _DEFAULT_TO_STRING_MAP[ 367 field_descriptor.label = FieldDescriptor.Label.REPEATED 369 field_descriptor.label = FieldDescriptor.Label.REQUIRED 371 field_descriptor.label = FieldDescriptor.Label.OPTIONA [all...] |
generate_python_test.py | 115 field_descriptor: List of FieldDescriptor object to generate and test.
|
/external/protobuf/python/google/protobuf/pyext/ |
repeated_scalar_container.cc | 91 const google::protobuf::FieldDescriptor* field_descriptor = local 93 if (!FIELD_BELONGS_TO_MESSAGE(field_descriptor, message)) { 100 int field_size = reflection->FieldSize(*message, field_descriptor); 113 return cmessage::InternalDeleteRepeatedField(message, field_descriptor, 122 switch (field_descriptor->cpp_type()) { 125 reflection->SetRepeatedInt32(message, field_descriptor, index, value); 130 reflection->SetRepeatedInt64(message, field_descriptor, index, value); 135 reflection->SetRepeatedUInt32(message, field_descriptor, index, value); 140 reflection->SetRepeatedUInt64(message, field_descriptor, index, value); 145 reflection->SetRepeatedFloat(message, field_descriptor, index, value) 195 const google::protobuf::FieldDescriptor* field_descriptor = local [all...] |
descriptor.cc | 161 const google::protobuf::FieldDescriptor* field_descriptor) { 167 cfield_descriptor->descriptor = field_descriptor; 179 const google::protobuf::FieldDescriptor* field_descriptor = NULL; local 181 field_descriptor = self->pool->FindFieldByName(full_field_name); 183 if (field_descriptor == NULL) { 189 return NewCDescriptor(field_descriptor); 198 const google::protobuf::FieldDescriptor* field_descriptor = local 200 if (field_descriptor == NULL) { 206 return NewCDescriptor(field_descriptor);
|
message.cc | 87 const google::protobuf::FieldDescriptor* field_descriptor, 108 const google::protobuf::FieldDescriptor* field_descriptor) { 543 const google::protobuf::FieldDescriptor* field_descriptor, 549 length = reflection->FieldSize(*message, field_descriptor); 596 reflection->SwapElements(message, field_descriptor, i, to); 614 reflection->RemoveLast(message, field_descriptor); 619 field_descriptor, message, last_cmessage); 804 const google::protobuf::FieldDescriptor* field_descriptor) { 854 CMessage* self, const google::protobuf::FieldDescriptor* field_descriptor) { 856 if (!FIELD_BELONGS_TO_MESSAGE(field_descriptor, message)) 874 const google::protobuf::FieldDescriptor* field_descriptor = local 905 const google::protobuf::FieldDescriptor* field_descriptor = local 1135 const google::protobuf::FieldDescriptor* field_descriptor = local 1555 PyObject* field_descriptor = local 1725 const google::protobuf::FieldDescriptor* field_descriptor = local 1881 PyObject* field_descriptor = local 2209 const google::protobuf::FieldDescriptor* field_descriptor = cdescriptor->descriptor; local 2286 const google::protobuf::FieldDescriptor* field_descriptor = cdescriptor->descriptor; local [all...] |
message.h | 124 const google::protobuf::FieldDescriptor* field_descriptor, 144 const google::protobuf::FieldDescriptor* field_descriptor, 149 const google::protobuf::FieldDescriptor* field_descriptor, 156 const google::protobuf::FieldDescriptor* field_descriptor); 186 CMessage* self, const google::protobuf::FieldDescriptor* field_descriptor); 224 #define FIELD_BELONGS_TO_MESSAGE(field_descriptor, message) \ 225 ((message)->GetDescriptor() == (field_descriptor)->containing_type()) 227 #define FIELD_IS_REPEATED(field_descriptor) \ 228 ((field_descriptor)->label() == google::protobuf::FieldDescriptor::LABEL_REPEATED)
|
/external/protobuf/python/google/protobuf/internal/ |
unknown_fields_test.py | 59 field_descriptor = self.descriptor.fields_by_name[name] 60 wire_type = type_checkers.FIELD_TYPE_TO_WIRE_TYPE[field_descriptor.type] 61 field_tag = encoder.TagBytes(field_descriptor.number, wire_type) 67 return result_dict[field_descriptor] 200 field_descriptor = self.descriptor.fields_by_name[name] 201 wire_type = type_checkers.FIELD_TYPE_TO_WIRE_TYPE[field_descriptor.type] 202 field_tag = encoder.TagBytes(field_descriptor.number, wire_type) 209 return result_dict[field_descriptor]
|
python_message.py | 201 def _AttachFieldHelpers(cls, field_descriptor): 202 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED) 203 is_packed = (field_descriptor.has_options and 204 field_descriptor.GetOptions().packed) 206 if _IsMessageSetExtension(field_descriptor): 207 field_encoder = encoder.MessageSetItemEncoder(field_descriptor.number) 208 sizer = encoder.MessageSetItemSizer(field_descriptor.number) 210 field_encoder = type_checkers.TYPE_TO_ENCODER[field_descriptor.type]( 211 field_descriptor.number, is_repeated, is_packed) 212 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/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/nanopb-c/generator/google/protobuf/internal/ |
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...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/ |
extended_descriptor.py | 75 field_descriptor: The underlying field descriptor. 79 field_descriptor = messages.MessageField( variable in class:ExtendedFieldDescriptor 308 field = extended_field.field_descriptor 480 field = extended_field.field_descriptor
|
message_registry.py | 336 extended_field.field_descriptor = field 449 if field.field_descriptor.variant == messages.Variant.MESSAGE: 450 field_type_name = field.field_descriptor.type_name 454 field.field_descriptor.variant = messages.Variant.ENUM
|
command_registry.py | 148 field = extended_field.field_descriptor 215 field = extended_field.field_descriptor 238 if self.__FieldIsRepeated(extended_field.field_descriptor): 251 field = extended_field.field_descriptor
|
/external/protobuf/src/google/protobuf/ |
descriptor.cc | 252 const FieldDescriptor* field_descriptor; member in union:google::protobuf::__anon23285::Symbol::__anon23286 278 CONSTRUCTOR(FieldDescriptor , FIELD , field_descriptor ) 291 case FIELD : return field_descriptor ->file(); [all...] |
/external/protobuf/src/google/protobuf/compiler/python/ |
python_generator.cc | 752 const FieldDescriptor& field_descriptor = *descriptor.field(i); local 753 FixForeignFieldsInField(&descriptor, field_descriptor, "fields_by_name"); [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
message.h | [all...] |
/external/owasp/sanitizer/tools/findbugs/lib/ |
asm-util-3.3.jar | |