Home
last modified time | relevance | path

Searched refs:UnderscoresToCamelCase (Results 1 – 18 of 18) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc229 vars["name"] = UnderscoresToCamelCase(oneof->name(), false); in Generate()
230 vars["property_name"] = UnderscoresToCamelCase(oneof->name(), true); in Generate()
399 vars["name"] = UnderscoresToCamelCase(oneof->name(), false); in GenerateCloningCode()
400 vars["property_name"] = UnderscoresToCamelCase(oneof->name(), true); in GenerateCloningCode()
469 "property_name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateFrameworkMethods()
496 "name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false)); in GenerateFrameworkMethods()
632 vars["name"] = UnderscoresToCamelCase(oneof->name(), false); in GenerateMergingMethods()
633 vars["property_name"] = UnderscoresToCamelCase(oneof->name(), true); in GenerateMergingMethods()
Dcsharp_helpers.h92 std::string UnderscoresToCamelCase(const std::string& input,
96 inline std::string UnderscoresToCamelCase(const std::string& input, bool cap_next_letter) { in UnderscoresToCamelCase() function
97 return UnderscoresToCamelCase(input, cap_next_letter, false); in UnderscoresToCamelCase()
Dcsharp_field_base.cc191 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), true); in oneof_property_name()
195 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), false); in oneof_name()
203 return UnderscoresToCamelCase(GetFieldName(descriptor_), false); in name()
Dcsharp_helpers.cc118 return UnderscoresToCamelCase(descriptor->package(), true, true); in GetFileNamespace()
143 std::string UnderscoresToCamelCase(const std::string& input, in UnderscoresToCamelCase() function
184 return UnderscoresToCamelCase(input, true); in UnderscoresToPascalCase()
Dcsharp_reflection_class.cc279 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc147 "method", UnderscoresToCamelCase(method)); in GenerateNewReflectiveServiceMethod()
213 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod()
260 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallBlockingMethod()
446 vars["name"] = UnderscoresToCamelCase(method); in GenerateMethodSignature()
460 vars["method"] = UnderscoresToCamelCase(method); in GenerateBlockingMethodSignature()
Djava_helpers.cc157 std::string UnderscoresToCamelCase(const std::string& input, in UnderscoresToCamelCase() function
194 std::string UnderscoresToCamelCase(const FieldDescriptor* field) { in UnderscoresToCamelCase() function
195 return UnderscoresToCamelCase(FieldName(field), false); in UnderscoresToCamelCase()
199 return UnderscoresToCamelCase(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
206 std::string UnderscoresToCamelCase(const MethodDescriptor* method) { in UnderscoresToCamelCase() function
207 return UnderscoresToCamelCase(method->name(), false); in UnderscoresToCamelCase()
211 std::string name = UnderscoresToCamelCase(field); in UnderscoresToCamelCaseCheckReserved()
223 std::string fieldName = UnderscoresToCamelCase(field); in CamelCaseFieldName()
Djava_helpers.h75 std::string UnderscoresToCamelCase(const std::string& name,
79 std::string UnderscoresToCamelCase(const FieldDescriptor* field);
84 std::string UnderscoresToCamelCase(const MethodDescriptor* method);
Djava_context.cc119 info.name = UnderscoresToCamelCase(oneof->name(), false); in InitializeFieldGeneratorInfoForMessage()
120 info.capitalized_name = UnderscoresToCamelCase(oneof->name(), true); in InitializeFieldGeneratorInfoForMessage()
Djava_name_resolver.cc141 return UnderscoresToCamelCase(StripProto(basename), true); in GetFileDefaultImmutableClassName()
Djava_primitive_field_lite.cc86 std::string capitalized_type = UnderscoresToCamelCase( in SetPrimitiveVariables()
Djava_primitive_field.cc74 std::string capitalized_type = UnderscoresToCamelCase( in SetPrimitiveVariables()
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc90 std::string UnderscoresToCamelCase(const string& name, bool cap_first_letter);
366 segment = UnderscoresToCamelCase( in GeneratedMetadataFileName()
381 segment = UnderscoresToCamelCase( in GeneratedMetadataFileName()
556 std::string UnderscoresToCamelCase(const string& name, bool cap_first_letter) { in UnderscoresToCamelCase() function
666 "camel_name", UnderscoresToCamelCase(field->name(), true), in GenerateFieldAccessor()
682 "camel_name", UnderscoresToCamelCase(field->name(), true), in GenerateFieldAccessor()
691 "camel_name", UnderscoresToCamelCase(field->name(), true), "name", in GenerateFieldAccessor()
706 "camel_name", UnderscoresToCamelCase(field->name(), true), in GenerateFieldAccessor()
715 "camel_name", UnderscoresToCamelCase(field->name(), true)); in GenerateFieldAccessor()
777 "type", UnderscoresToCamelCase(field->cpp_type_name(), true)); in GenerateFieldAccessor()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc107 string UnderscoresToCamelCase(const string& input, bool first_capitalized) { in UnderscoresToCamelCase() function
416 basename = UnderscoresToCamelCase(basename, true); in FilePath()
430 output = UnderscoresToCamelCase(basename, true); in FilePathBasename()
437 const string name = UnderscoresToCamelCase(StripProto(BaseFileName(file)), true) + "Root"; in FileClassName()
495 const string value_str = UnderscoresToCamelCase(descriptor->name(), true); in EnumValueName()
535 const string result = UnderscoresToCamelCase(name, false); in ExtensionMethodName()
541 string result = UnderscoresToCamelCase(name, false); in FieldName()
567 name += "_" + UnderscoresToCamelCase(descriptor->name(), true) + "_OneOfCase"; in OneofEnumName()
573 string name = UnderscoresToCamelCase(descriptor->name(), false); in OneofName()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc773 format.Set("camel_oneof_name", UnderscoresToCamelCase(oneof->name(), true)); in GenerateFieldAccessorDeclarations()
986 format.Set("field_name", UnderscoresToCamelCase(field->name(), true)); in GenerateFieldAccessorDefinitions()
1210 format("enum $1$Case {\n", UnderscoresToCamelCase(oneof->name(), true)); in GenerateClassDefinition()
1214 UnderscoresToCamelCase(field->name(), true); in GenerateClassDefinition()
1566 std::string camel_oneof_name = UnderscoresToCamelCase(oneof->name(), true); in GenerateClassDefinition()
1627 format.Set("camel_oneof_name", UnderscoresToCamelCase(oneof->name(), true)); in GenerateInlineMethods()
2761 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateStructors()
3018 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateOneofClear()
3308 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateClassSpecificMergeFrom()
3433 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateSerializeOneofFields()
[all …]
Dcpp_string_field.cc591 variables_["field_name"] = UnderscoresToCamelCase(descriptor->name(), true); in StringOneofFieldGenerator()
Dcpp_helpers.cc275 std::string UnderscoresToCamelCase(const std::string& input, in UnderscoresToCamelCase() function
496 std::string field_name = UnderscoresToCamelCase(field->name(), true); in FieldConstantName()
Dcpp_helpers.h424 std::string UnderscoresToCamelCase(const std::string& input,