Home
last modified time | relevance | path

Searched refs:SimpleItoa (Results 1 – 25 of 42) sorted by relevance

12

/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum.cc104 vars["index"] = SimpleItoa(canonical_values_[i]->index()); in Generate()
105 vars["number"] = SimpleItoa(canonical_values_[i]->number()); in Generate()
133 vars["number"] = SimpleItoa(descriptor_->value(i)->number()); in Generate()
156 "number", SimpleItoa(canonical_values_[i]->number())); in Generate()
205 "index", SimpleItoa(descriptor_->index())); in Generate()
231 "index", SimpleItoa(descriptor_->index())); in Generate()
239 "index", SimpleItoa(descriptor_->index())); in Generate()
251 "index", SimpleItoa(descriptor_->index())); in Generate()
Djava_field.cc180 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables()
189 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables()
191 "Case_ = " + SimpleItoa(descriptor->number()); in SetCommonOneofVariables()
195 "Case_ == " + SimpleItoa(descriptor->number()); in SetCommonOneofVariables()
Djava_service.cc93 "index", SimpleItoa(descriptor_->index())); in Generate()
208 vars["index"] = SimpleItoa(i); in GenerateCallMethod()
256 vars["index"] = SimpleItoa(i); in GenerateCallBlockingMethod()
303 vars["index"] = SimpleItoa(i); in GenerateGetPrototype()
355 vars["index"] = SimpleItoa(i); in GenerateStub()
420 vars["index"] = SimpleItoa(i); in GenerateBlockingStub()
Djava_extension.cc74 vars["number"] = SimpleItoa(descriptor->number()); in InitTemplateVars()
76 vars["index"] = SimpleItoa(descriptor->index()); in InitTemplateVars()
192 "index", SimpleItoa(descriptor_->index())); in GenerateNonNestedInitializationCode()
Djava_message.cc101 vars["index"] = SimpleItoa(descriptor_->index()); in GenerateStaticVariables()
137 vars["index"] = SimpleItoa(descriptor_->index()); in GenerateStaticVariableInitializers()
412 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate()
429 SimpleItoa(field->number())); in Generate()
448 SimpleItoa(field->number()), in Generate()
478 "number", SimpleItoa(descriptor_->field(i)->number())); in Generate()
736 "end", SimpleItoa(range->end)); in GenerateSerializeOneExtensionRange()
822 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in GenerateBuilder()
1534 "tag", SimpleItoa(tag)); in GenerateParsingConstructor()
1551 "tag", SimpleItoa(packed_tag)); in GenerateParsingConstructor()
Djava_helpers.cc373 return SimpleItoa(field->default_value_int32()); in DefaultValue()
376 return SimpleItoa(static_cast<int32>(field->default_value_uint32())); in DefaultValue()
378 return SimpleItoa(field->default_value_int64()) + "L"; in DefaultValue()
380 return SimpleItoa(static_cast<int64>(field->default_value_uint64())) + in DefaultValue()
518 varName += SimpleItoa(index); in GetBitFieldName()
Djava_context.cc162 info.name += SimpleItoa(field->number()); in InitializeFieldGeneratorInfoForFields()
163 info.capitalized_name += SimpleItoa(field->number()); in InitializeFieldGeneratorInfoForFields()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc182 return SimpleItoa(field.default_value_int32()); in StringifyDefaultValue()
184 return SimpleItoa(field.default_value_uint32()); in StringifyDefaultValue()
186 return SimpleItoa(field.default_value_int64()); in StringifyDefaultValue()
188 return SimpleItoa(field.default_value_uint64()); in StringifyDefaultValue()
224 return SimpleItoa(field.default_value_enum()->number()); in StringifyDefaultValue()
385 "value", SimpleItoa(top_level_enum_values[i].second)); in PrintTopLevelEnums()
459 "number", SimpleItoa(extension_field.number())); in PrintTopLevelExtensions()
499 m["index"] = SimpleItoa(descriptor.index()); in PrintServiceDescriptor()
520 m["index"] = SimpleItoa(method->index()); in PrintServiceDescriptor()
641 "start", SimpleItoa(range->start), in PrintDescriptor()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_extension.cc97 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()
Dcpp_service.cc166 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()
Dcpp_message.cc415 vars["oneof_index"] = SimpleItoa(field->containing_oneof()->index()); in GenerateFieldAccessorDefinitions()
426 vars["has_array_index"] = SimpleItoa(field->index() / 32); in GenerateFieldAccessorDefinitions()
479 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in GenerateFieldAccessorDefinitions()
530 vars["field_count"] = SimpleItoa(descriptor_->field_count()); in GenerateClassDefinition()
531 vars["oneof_decl_count"] = SimpleItoa(descriptor_->oneof_decl_count()); in GenerateClassDefinition()
604 SimpleItoa(descriptor_->oneof_decl(i)->field(j)->number())); in GenerateClassDefinition()
800 "::google::protobuf::uint32 _has_bits_[" + SimpleItoa(sizeof_has_bits / 4) + "];\n"; in GenerateClassDefinition()
955 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in GenerateInlineMethods()
1010 vars["index"] = SimpleItoa(index); in GenerateDescriptorInitializer()
1264 "field_count", SimpleItoa(max( in GenerateOffsets()
[all …]
Dcpp_field.cc60 (*variables)["index"] = SimpleItoa(descriptor->index()); in SetCommonFieldVariables()
61 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables()
65 (*variables)["tag_size"] = SimpleItoa( in SetCommonFieldVariables()
Dcpp_helpers.cc188 result += "_" + SimpleItoa(field->number()); in FieldConstantName()
265 return SimpleItoa(number); in Int32ToString()
277 return "GOOGLE_LONGLONG(" + SimpleItoa(number) + ")"; in Int64ToString()
285 return SimpleItoa(field->default_value_uint32()) + "u"; in DefaultValue()
289 return "GOOGLE_ULONGLONG(" + SimpleItoa(field->default_value_uint64())+ ")"; in DefaultValue()
Dcpp_file.cc129 SimpleItoa(protobuf::internal::kMinHeaderVersionForProtoc), in GenerateHeader()
130 "protoc_version", SimpleItoa(GOOGLE_PROTOBUF_VERSION)); in GenerateHeader()
593 "size", SimpleItoa(file_data.size())); in GenerateBuildDescriptors()
/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc97 "[libprotobuf INFO "__FILE__":" + SimpleItoa(line + 1) + "] A message.\n" in TEST()
98 "[libprotobuf WARNING "__FILE__":" + SimpleItoa(line + 2) + "] A warning.\n" in TEST()
99 "[libprotobuf ERROR "__FILE__":" + SimpleItoa(line + 3) + "] An error.\n", in TEST()
130 "2 "__FILE__":" + SimpleItoa(start_line + 1) + ": An error.", in TEST()
133 "1 "__FILE__":" + SimpleItoa(start_line + 2) + ": A warning.", in TEST()
156 "0 "__FILE__":" + SimpleItoa(line1) + ": Visible1", in TEST()
159 "0 "__FILE__":" + SimpleItoa(line2) + ": Visible2", in TEST()
Dstrutil.h449 LIBPROTOBUF_EXPORT string SimpleItoa(int i);
450 LIBPROTOBUF_EXPORT string SimpleItoa(unsigned int i);
451 LIBPROTOBUF_EXPORT string SimpleItoa(long i);
452 LIBPROTOBUF_EXPORT string SimpleItoa(unsigned long i);
453 LIBPROTOBUF_EXPORT string SimpleItoa(long long i);
454 LIBPROTOBUF_EXPORT string SimpleItoa(unsigned long long i);
492 return SimpleItoa(i); in ToString()
Dstrutil.cc1041 string SimpleItoa(int i) { in SimpleItoa() function
1048 string SimpleItoa(unsigned int i) { in SimpleItoa() function
1055 string SimpleItoa(long i) { in SimpleItoa() function
1062 string SimpleItoa(unsigned long i) { in SimpleItoa() function
1069 string SimpleItoa(long long i) { in SimpleItoa() function
1076 string SimpleItoa(unsigned long long i) { in SimpleItoa() function
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_extension.cc88 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()
Djavanano_helpers.cc406 return SimpleItoa(field->default_value_int32()); in DefaultValue()
409 return SimpleItoa(static_cast<int32>(field->default_value_uint32())); in DefaultValue()
411 return SimpleItoa(field->default_value_int64()) + "L"; in DefaultValue()
413 return SimpleItoa(static_cast<int64>(field->default_value_uint64())) + in DefaultValue()
509 var_name += SimpleItoa(index); in GetBitFieldName()
Djavanano_enum_field.cc60 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetEnumVariables()
72 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables()
73 (*variables)["tag_size"] = SimpleItoa( in SetEnumVariables()
75 (*variables)["non_packed_tag"] = SimpleItoa( in SetEnumVariables()
Djavanano_message_field.cc62 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetMessageVariables()
69 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetMessageVariables()
Djavanano_primitive_field.cc195 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetPrimitiveVariables()
241 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables()
242 (*variables)["tag_size"] = SimpleItoa( in SetPrimitiveVariables()
244 (*variables)["non_packed_tag"] = SimpleItoa( in SetPrimitiveVariables()
249 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_enum_field.cc60 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetEnumVariables()
63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables()
64 (*variables)["tag_size"] = SimpleItoa( in SetEnumVariables()
Djavamicro_helpers.cc280 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()
Djavamicro_primitive_field.cc190 (*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()

12