Home
last modified time | relevance | path

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

1234

/external/dynamic_depth/internal/strings/
Dnumbers.h124 inline string SimpleItoa(int32 i) { in SimpleItoa() function
130 inline string SimpleItoa(uint32 i) { in SimpleItoa() function
135 inline string SimpleItoa(int64 i) { in SimpleItoa() function
141 inline string SimpleItoa(uint64 i) { in SimpleItoa() function
146 inline string SimpleItoa(long i) { // NOLINT long is OK here in SimpleItoa() function
148 return SimpleItoa(static_cast<int64>(i)); in SimpleItoa()
150 return SimpleItoa(static_cast<int32>(i)); in SimpleItoa()
154 inline string SimpleItoa(unsigned long i) { // NOLINT long is OK here in SimpleItoa() function
156 return SimpleItoa(static_cast<uint64>(i)); in SimpleItoa()
158 return SimpleItoa(static_cast<uint32>(i)); in SimpleItoa()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc65 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 …]
Dcsharp_message.cc124 + ".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/
Djava_enum.cc108 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()
Djava_service.cc92 "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()
Djava_message.cc115 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 …]
Djava_extension.cc74 vars["number"] = SimpleItoa(descriptor->number()); in InitTemplateVars()
76 vars["index"] = SimpleItoa(descriptor->index()); in InitTemplateVars()
156 "index", SimpleItoa(descriptor_->index())); in GenerateNonNestedInitializationCode()
Djava_message_lite.cc240 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()
Djava_enum_lite.cc97 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()
Djava_field.cc299 (*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/python/
Dpython_generator.cc218 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/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.cc584 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 …]
Dcpp_field.cc65 (*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/stubs/
Dcommon_unittest.cc98 "[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/
Djson_objectwriter.cc90 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/
Dobjectivec_oneof.cc49 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/
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_field.cc160 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables()
163 "Case_ = " + SimpleItoa(descriptor->number()); in SetCommonOneofVariables()
168 SimpleItoa(descriptor->number()); in SetCommonOneofVariables()
Djavanano_map_field.cc92 (*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()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc209 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/
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()

1234