/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_field_base.cc | 65 string tag_bytes = SimpleItoa(tag_array[0]); in SetCommonFieldVariables() 67 tag_bytes += ", " + SimpleItoa(tag_array[i]); in SetCommonFieldVariables() 71 (*variables)["tag"] = SimpleItoa(tag); in SetCommonFieldVariables() 72 (*variables)["tag_size"] = SimpleItoa(tag_size); in SetCommonFieldVariables() 343 return SimpleItoa(descriptor->default_value_int64()) + "L"; in default_value() 345 return SimpleItoa(descriptor->default_value_uint64()) + "UL"; in default_value() 347 return SimpleItoa(descriptor->default_value_int32()); in default_value() 349 return SimpleItoa(descriptor->default_value_uint64()) + "UL"; in default_value() 351 return SimpleItoa(descriptor->default_value_uint32()); in default_value() 363 return SimpleItoa(descriptor->default_value_uint32()); in default_value() [all …]
|
D | csharp_message.cc | 124 + ".Descriptor.MessageTypes[" + SimpleItoa(descriptor_->index()) + "]"; in Generate() 127 + ".Descriptor.NestedTypes[" + SimpleItoa(descriptor_->index()) + "]"; in Generate() 162 "index", SimpleItoa(fieldDescriptor->number())); in Generate() 185 "index", SimpleItoa(field->number())); in Generate() 463 SimpleItoa( in GenerateMergingMethods() 469 printer->Print("case $tag$: {\n", "tag", SimpleItoa(tag)); in GenerateMergingMethods()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum.cc | 108 vars["index"] = SimpleItoa(canonical_values_[i]->index()); in Generate() 109 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 150 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); in Generate() 199 "number", SimpleItoa(canonical_values_[i]->number())); in Generate() 249 "index", SimpleItoa(descriptor_->index())); in Generate() 275 "index", SimpleItoa(descriptor_->index())); in Generate() 284 "index", SimpleItoa(descriptor_->index())); in Generate() 296 "index", SimpleItoa(descriptor_->index())); in Generate()
|
D | java_service.cc | 92 "index", SimpleItoa(descriptor_->index())); in Generate() 207 vars["index"] = SimpleItoa(i); in GenerateCallMethod() 255 vars["index"] = SimpleItoa(i); in GenerateCallBlockingMethod() 302 vars["index"] = SimpleItoa(i); in GenerateGetPrototype() 354 vars["index"] = SimpleItoa(i); in GenerateStub() 419 vars["index"] = SimpleItoa(i); in GenerateBlockingStub()
|
D | java_message.cc | 115 vars["index"] = SimpleItoa(descriptor_->index()); in GenerateStaticVariables() 159 vars["index"] = SimpleItoa(descriptor_->index()); in GenerateStaticVariableInitializers() 403 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 420 SimpleItoa(field->number())); in Generate() 447 SimpleItoa(field->number()), in Generate() 480 "number", SimpleItoa(descriptor_->field(i)->number())); in Generate() 738 "end", SimpleItoa(range->end)); in GenerateSerializeOneExtensionRange() 808 "number", SimpleItoa(field->number()), in GenerateDescriptorMethods() 897 "field_number", SimpleItoa(field->number())); in GenerateIsInitialized() 1033 SimpleItoa(field->number())); in GenerateEqualsAndHashCode() [all …]
|
D | java_extension.cc | 74 vars["number"] = SimpleItoa(descriptor->number()); in InitTemplateVars() 76 vars["index"] = SimpleItoa(descriptor->index()); in InitTemplateVars() 156 "index", SimpleItoa(descriptor_->index())); in GenerateNonNestedInitializationCode()
|
D | java_enum_lite.cc | 97 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate() 129 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); in Generate() 162 "number", SimpleItoa(canonical_values_[i]->number())); in Generate()
|
D | java_message_lite.cc | 240 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 257 SimpleItoa(field->number())); in Generate() 284 SimpleItoa(field->number()), in Generate() 318 "number", SimpleItoa(descriptor_->field(i)->number())); in Generate() 642 "end", SimpleItoa(range->end)); in GenerateSerializeOneExtensionRange() 727 "field_number", SimpleItoa(field->number())); in GenerateDynamicMethodIsInitialized() 973 "tag", SimpleItoa(tag)); in GenerateDynamicMethodMergeFromStream() 990 "tag", SimpleItoa(packed_tag)); in GenerateDynamicMethodMergeFromStream()
|
D | java_field.cc | 299 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 308 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables() 310 "Case_ = " + SimpleItoa(descriptor->number()); in SetCommonOneofVariables() 314 "Case_ == " + SimpleItoa(descriptor->number()); in SetCommonOneofVariables()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_extension.cc | 97 vars["number" ] = SimpleItoa(descriptor_->number()); in GenerateDeclaration() 100 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type())); in GenerateDeclaration() 137 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type())); in GenerateDefinition() 172 vars["number" ] = SimpleItoa(descriptor_->number()); in GenerateRegistration() 173 vars["field_type" ] = SimpleItoa(static_cast<int>(descriptor_->type())); in GenerateRegistration()
|
D | cpp_service.cc | 166 vars["index"] = SimpleItoa(index); in GenerateDescriptorInitializer() 218 sub_vars["index"] = SimpleItoa(i); in GenerateNotImplementedMethods() 248 sub_vars["index"] = SimpleItoa(i); in GenerateCallMethod() 293 sub_vars["index"] = SimpleItoa(i); in GenerateGetPrototype() 316 sub_vars["index"] = SimpleItoa(i); in GenerateStubMethods()
|
D | cpp_message.cc | 584 vars["oneof_index"] = SimpleItoa(field->containing_oneof()->index()); in GenerateDependentFieldAccessorDefinitions() 620 vars["has_array_index"] = SimpleItoa(field->index() / 32); in GenerateSingularFieldHasBits() 662 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in GenerateOneofHasBits() 778 vars["oneof_index"] = SimpleItoa(field->containing_oneof()->index()); in GenerateFieldAccessorDefinitions() 881 vars["field_count"] = SimpleItoa(descriptor_->field_count()); in GenerateClassDefinition() 882 vars["oneof_decl_count"] = SimpleItoa(descriptor_->oneof_decl_count()); in GenerateClassDefinition() 995 SimpleItoa(descriptor_->oneof_decl(i)->field(j)->number())); in GenerateClassDefinition() 1268 "::google::protobuf::uint32 _has_bits_[" + SimpleItoa(sizeof_has_bits / 4) + "];\n"; in GenerateClassDefinition() 1475 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in GenerateInlineMethods() 1540 vars["index"] = SimpleItoa(index); in GenerateDescriptorInitializer() [all …]
|
D | cpp_field.cc | 65 (*variables)["index"] = SimpleItoa(descriptor->index()); in SetCommonFieldVariables() 66 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 76 (*variables)["tag_size"] = SimpleItoa( in SetCommonFieldVariables()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 218 return SimpleItoa(field.default_value_int32()); in StringifyDefaultValue() 220 return SimpleItoa(field.default_value_uint32()); in StringifyDefaultValue() 222 return SimpleItoa(field.default_value_int64()); in StringifyDefaultValue() 224 return SimpleItoa(field.default_value_uint64()); in StringifyDefaultValue() 260 return SimpleItoa(field.default_value_enum()->number()); in StringifyDefaultValue() 440 "value", SimpleItoa(top_level_enum_values[i].second)); in PrintTopLevelEnums() 514 "number", SimpleItoa(extension_field.number())); in PrintTopLevelExtensions() 554 m["index"] = SimpleItoa(descriptor.index()); in PrintServiceDescriptor() 575 m["index"] = SimpleItoa(method->index()); in PrintServiceDescriptor() 698 "start", SimpleItoa(range->start), in PrintDescriptor() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 98 "[libprotobuf INFO " __FILE__ ":" + SimpleItoa(line + 1) + "] A message.\n" in TEST() 99 "[libprotobuf WARNING " __FILE__ ":" + SimpleItoa(line + 2) + "] A warning.\n" in TEST() 100 "[libprotobuf ERROR " __FILE__ ":" + SimpleItoa(line + 3) + "] An error.\n", in TEST() 131 "2 " __FILE__ ":" + SimpleItoa(start_line + 1) + ": An error.", in TEST() 134 "1 " __FILE__ ":" + SimpleItoa(start_line + 2) + ": A warning.", in TEST() 157 "0 " __FILE__ ":" + SimpleItoa(line1) + ": Visible1", in TEST() 160 "0 " __FILE__ ":" + SimpleItoa(line2) + ": Visible2", in TEST()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_objectwriter.cc | 90 return RenderSimple(name, SimpleItoa(value)); in RenderInt32() 95 return RenderSimple(name, SimpleItoa(value)); in RenderUint32() 101 stream_->WriteString(SimpleItoa(value)); in RenderInt64() 110 stream_->WriteString(SimpleItoa(value)); in RenderUint64()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_oneof.cc | 49 variables_["raw_index"] = SimpleItoa(descriptor_->index()); in OneofGenerator() 68 variables_["index"] = SimpleItoa(-index); in SetOneofIndexBase() 87 "field_number", SimpleItoa(field->number())); in GenerateCaseEnum()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_extension.cc | 88 string tag = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetVariables() 111 string non_packed_tag = SimpleItoa(WireFormatLite::MakeTag( in SetVariables() 117 string packed_tag = SimpleItoa(WireFormatLite::MakeTag( in SetVariables()
|
D | javanano_field.cc | 160 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables() 163 "Case_ = " + SimpleItoa(descriptor->number()); in SetCommonOneofVariables() 168 SimpleItoa(descriptor->number()); in SetCommonOneofVariables()
|
D | javanano_map_field.cc | 92 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetMapVariables() 97 (*variables)["key_tag"] = SimpleItoa(internal::WireFormat::MakeTag(key)); in SetMapVariables() 102 (*variables)["value_tag"] = SimpleItoa(internal::WireFormat::MakeTag(value)); in SetMapVariables()
|
D | javanano_helpers.cc | 420 return SimpleItoa(field->default_value_int32()); in DefaultValue() 423 return SimpleItoa(static_cast<int32>(field->default_value_uint32())); in DefaultValue() 425 return SimpleItoa(field->default_value_int64()) + "L"; in DefaultValue() 427 return SimpleItoa(static_cast<int64>(field->default_value_uint64())) + in DefaultValue() 523 var_name += SimpleItoa(index); in GetBitFieldName()
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 209 return SimpleItoa(descriptor->default_value_int32()); in DefaultValueAsString() 212 return SimpleItoa(descriptor->default_value_int64()); in DefaultValueAsString() 215 return SimpleItoa(descriptor->default_value_uint32()); in DefaultValueAsString() 218 return SimpleItoa(descriptor->default_value_uint64()); in DefaultValueAsString()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum_field.cc | 60 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetEnumVariables() 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() 64 (*variables)["tag_size"] = SimpleItoa( in SetEnumVariables()
|
D | javamicro_helpers.cc | 280 return SimpleItoa(field->default_value_int32()); in DefaultValue() 283 return SimpleItoa(static_cast<int32>(field->default_value_uint32())); in DefaultValue() 285 return SimpleItoa(field->default_value_int64()) + "L"; in DefaultValue() 287 return SimpleItoa(static_cast<int64>(field->default_value_uint64())) + in DefaultValue()
|
D | javamicro_primitive_field.cc | 190 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetPrimitiveVariables() 195 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 196 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables() 208 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()
|