/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 185 const FieldDescriptor* key_field = in GenerateMergeFromCodedStream() local 237 if (key_field->type() == FieldDescriptor::TYPE_STRING) { in GenerateMergeFromCodedStream() 239 key_field, options_, true, variables_, in GenerateMergeFromCodedStream() 319 const FieldDescriptor* key_field = in GenerateSerializeWithCachedSizes() local 323 const bool string_key = key_field->type() == FieldDescriptor::TYPE_STRING; in GenerateSerializeWithCachedSizes() 348 GenerateUtf8CheckCodeForString(key_field, options_, false, variables, in GenerateSerializeWithCachedSizes()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/ |
D | storage.c | 410 const upb_fielddef* key_field = upb_msgdef_itof(msgdef, MAP_KEY_FIELD); in map_entry_key() local 411 assert(key_field != NULL); in map_entry_key() 412 return key_field; in map_entry_key() 609 const upb_fielddef* key_field = map_field_key(field); in check_map_field_type() local 619 if (self->key_type != upb_fielddef_type(key_field)) { in check_map_field_type() 694 const upb_fielddef* key_field = map_field_key(field); in layout_init() local 700 fieldtype_to_ruby(upb_fielddef_type(key_field)), in layout_init() 707 fieldtype_to_ruby(upb_fielddef_type(key_field)), in layout_init()
|
D | encode_decode.c | 317 const upb_fielddef* key_field; in new_map_handlerdata() local 321 key_field = upb_msgdef_itof(mapentry_def, MAP_KEY_FIELD); in new_map_handlerdata() 322 assert(key_field != NULL); in new_map_handlerdata() 323 hd->key_field_type = upb_fielddef_type(key_field); in new_map_handlerdata() 523 const upb_fielddef* key_field = map_entry_key(msgdef); in add_handlers_for_mapentry() local 533 h, key_field, in add_handlers_for_mapentry() 1024 const upb_fielddef* key_field; in putmap() local 1034 key_field = map_field_key(f); in putmap() 1047 put_ruby_value(key, key_field, Qnil, depth + 1, &entry_sink); in putmap()
|
D | defs.c | 1389 VALUE key_field = rb_class_new_instance(0, NULL, cFieldDescriptor); in MessageBuilderContext_map() local 1390 FieldDescriptor_name_set(key_field, rb_str_new2("key")); in MessageBuilderContext_map() 1391 FieldDescriptor_label_set(key_field, ID2SYM(rb_intern("optional"))); in MessageBuilderContext_map() 1392 FieldDescriptor_number_set(key_field, INT2NUM(1)); in MessageBuilderContext_map() 1393 FieldDescriptor_type_set(key_field, key_type); in MessageBuilderContext_map() 1394 Descriptor_add_field(mapentry_desc, key_field); in MessageBuilderContext_map()
|
D | upb.c | 12593 const upb_fielddef* key_field = upb_msgdef_itof(md, UPB_MAPENTRY_KEY); in printer_sethandlers_mapentry() local 12600 switch (upb_fielddef_type(key_field)) { in printer_sethandlers_mapentry() 12602 upb_handlers_setint32(h, key_field, putmapkey_int32_t, &empty_attr); in printer_sethandlers_mapentry() 12605 upb_handlers_setint64(h, key_field, putmapkey_int64_t, &empty_attr); in printer_sethandlers_mapentry() 12608 upb_handlers_setuint32(h, key_field, putmapkey_uint32_t, &empty_attr); in printer_sethandlers_mapentry() 12611 upb_handlers_setuint64(h, key_field, putmapkey_uint64_t, &empty_attr); in printer_sethandlers_mapentry() 12614 upb_handlers_setbool(h, key_field, putmapkey_bool, &empty_attr); in printer_sethandlers_mapentry() 12617 upb_handlers_setstartstr(h, key_field, mapkeyval_startstr, &empty_attr); in printer_sethandlers_mapentry() 12618 upb_handlers_setstring(h, key_field, mapkey_str, &empty_attr); in printer_sethandlers_mapentry() 12619 upb_handlers_setendstr(h, key_field, mapkey_endstr, &empty_attr); in printer_sethandlers_mapentry() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser.cc | 979 FieldDescriptorProto* key_field = entry->add_field(); in GenerateMapEntry() local 980 key_field->set_name("key"); in GenerateMapEntry() 981 key_field->set_label(FieldDescriptorProto::LABEL_OPTIONAL); in GenerateMapEntry() 982 key_field->set_number(1); in GenerateMapEntry() 984 key_field->set_type(map_field.key_type); in GenerateMapEntry() 986 key_field->set_type_name(map_field.key_type_name); in GenerateMapEntry() 1023 if (key_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry() 1024 key_field->mutable_options()->add_uninterpreted_option() in GenerateMapEntry()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 119 const FieldDescriptor* key_field = in GenerateField() local 127 "key_type", TypeName(key_field), in GenerateField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | json_format.py | 532 key_field = field.message_type.fields_by_name['key'] 535 key_value = _ConvertScalarFieldValue(key, key_field, True)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1134 const FieldDescriptor* key_field = MapFieldKey(field); in FieldDefinition() local 1136 string key_type = ProtoTypeName(options, key_field); in FieldDefinition() 2212 const FieldDescriptor* key_field = MapFieldKey(field); in GenerateClassField() local 2217 options, key_field, in GenerateClassField() 2640 const FieldDescriptor* key_field = MapFieldKey(field); in GenerateClassDeserializeBinaryField() local 2649 "keyReaderFn", JSBinaryReaderMethodName(options, key_field), in GenerateClassDeserializeBinaryField() 2824 const FieldDescriptor* key_field = MapFieldKey(field); in GenerateClassSerializeBinaryField() local 2830 "keyWriterFn", JSBinaryWriterMethodName(options, key_field), in GenerateClassSerializeBinaryField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 283 const google::protobuf::Field* key_field = in RenderMap() local 285 if (key_field == NULL) { in RenderMap() 290 ASSIGN_OR_RETURN(map_key, MapKeyDefaultValueAsString(*key_field)); in RenderMap()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/ |
D | upb.c | 11774 const upb_fielddef* key_field = upb_msgdef_itof(md, UPB_MAPENTRY_KEY); in printer_sethandlers_mapentry() local 11781 switch (upb_fielddef_type(key_field)) { in printer_sethandlers_mapentry() 11783 upb_handlers_setint32(h, key_field, putmapkey_int32_t, &empty_attr); in printer_sethandlers_mapentry() 11786 upb_handlers_setint64(h, key_field, putmapkey_int64_t, &empty_attr); in printer_sethandlers_mapentry() 11789 upb_handlers_setuint32(h, key_field, putmapkey_uint32_t, &empty_attr); in printer_sethandlers_mapentry() 11792 upb_handlers_setuint64(h, key_field, putmapkey_uint64_t, &empty_attr); in printer_sethandlers_mapentry() 11795 upb_handlers_setbool(h, key_field, putmapkey_bool, &empty_attr); in printer_sethandlers_mapentry() 11798 upb_handlers_setstartstr(h, key_field, mapkeyval_startstr, &empty_attr); in printer_sethandlers_mapentry() 11799 upb_handlers_setstring(h, key_field, mapkey_str, &empty_attr); in printer_sethandlers_mapentry() 11800 upb_handlers_setendstr(h, key_field, mapkey_endstr, &empty_attr); in printer_sethandlers_mapentry() [all …]
|