Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.h91 std::string UnderscoresToCamelCase(const std::string& input,
95 inline std::string UnderscoresToCamelCase(const std::string& input, bool cap_next_letter) { in UnderscoresToCamelCase() function
96 return UnderscoresToCamelCase(input, cap_next_letter, false); in UnderscoresToCamelCase()
Dcsharp_message.cc221 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in Generate()
222 vars["property_name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true); in Generate()
378 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in GenerateCloningCode()
379 vars["property_name"] = UnderscoresToCamelCase( in GenerateCloningCode()
449 "property_name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateFrameworkMethods()
476 "name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false)); in GenerateFrameworkMethods()
585 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in GenerateMergingMethods()
586 vars["property_name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true); in GenerateMergingMethods()
Dcsharp_field_base.cc179 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), true); in oneof_property_name()
183 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), false); in oneof_name()
191 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.cc277 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.h56 string UnderscoresToCamelCase(const FieldDescriptor* field);
57 string UnderscoresToCamelCase(const OneofDescriptor* oneof);
67 string UnderscoresToCamelCase(const MethodDescriptor* method);
Djavanano_helpers.cc145 string UnderscoresToCamelCase(const FieldDescriptor* field) { in UnderscoresToCamelCase() function
153 string UnderscoresToCamelCase(const MethodDescriptor* method) { in UnderscoresToCamelCase() function
157 string UnderscoresToCamelCase(const OneofDescriptor* oneof) { in UnderscoresToCamelCase() function
278 return "_" + RenameJavaKeywords(UnderscoresToCamelCase(field)) + "Default"; in FieldDefaultConstantName()
Djavanano_extension.cc83 (*variables)["name"] = RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); in SetVariables()
Djavanano_field.cc156 UnderscoresToCamelCase(descriptor->containing_oneof()); in SetCommonOneofVariables()
Djavanano_map_field.cc91 RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); in SetMapVariables()
Djavanano_message.cc189 vars["oneof_name"] = UnderscoresToCamelCase(oneof_desc); in Generate()
616 "oneof_name", UnderscoresToCamelCase(oneof_desc)); in GenerateEquals()
Djavanano_message_field.cc59 RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); in SetMessageVariables()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc148 "method", UnderscoresToCamelCase(method)); in GenerateNewReflectiveServiceMethod()
214 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallMethod()
261 vars["method"] = UnderscoresToCamelCase(method); in GenerateCallBlockingMethod()
447 vars["name"] = UnderscoresToCamelCase(method); in GenerateMethodSignature()
461 vars["method"] = UnderscoresToCamelCase(method); in GenerateBlockingMethodSignature()
Djava_helpers.cc159 std::string UnderscoresToCamelCase(const std::string& input, in UnderscoresToCamelCase() function
196 std::string UnderscoresToCamelCase(const FieldDescriptor* field) { in UnderscoresToCamelCase() function
197 return UnderscoresToCamelCase(FieldName(field), false); in UnderscoresToCamelCase()
201 return UnderscoresToCamelCase(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
208 std::string UnderscoresToCamelCase(const MethodDescriptor* method) { in UnderscoresToCamelCase() function
209 return UnderscoresToCamelCase(method->name(), false); in UnderscoresToCamelCase()
213 std::string name = UnderscoresToCamelCase(field); in UnderscoresToCamelCaseCheckReserved()
225 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.cc120 info.name = UnderscoresToCamelCase(oneof->name(), false); in InitializeFieldGeneratorInfoForMessage()
121 info.capitalized_name = UnderscoresToCamelCase(oneof->name(), true); in InitializeFieldGeneratorInfoForMessage()
Djava_name_resolver.cc143 return UnderscoresToCamelCase(StripProto(basename), true); in GetFileDefaultImmutableClassName()
/external/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc90 std::string UnderscoresToCamelCase(const string& name, bool cap_first_letter);
365 segment = UnderscoresToCamelCase( in GeneratedMetadataFileName()
380 segment = UnderscoresToCamelCase( in GeneratedMetadataFileName()
555 std::string UnderscoresToCamelCase(const string& input, bool cap_first_letter) { in UnderscoresToCamelCase() function
668 "camel_name", UnderscoresToCamelCase(field->name(), true), in GenerateFieldAccessor()
677 "camel_name", UnderscoresToCamelCase(field->name(), true), "name", in GenerateFieldAccessor()
693 "camel_name", UnderscoresToCamelCase(field->name(), true)); in GenerateFieldAccessor()
701 "camel_name", UnderscoresToCamelCase(field->name(), true)); in GenerateFieldAccessor()
763 "type", UnderscoresToCamelCase(field->cpp_type_name(), true)); in GenerateFieldAccessor()
806 "camel_name", UnderscoresToCamelCase(field->name(), true), in GenerateFieldAccessor()
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.h55 string UnderscoresToCamelCase(const FieldDescriptor* field);
60 string UnderscoresToCamelCase(const MethodDescriptor* method);
Djavamicro_helpers.cc102 string UnderscoresToCamelCase(const FieldDescriptor* field) { in UnderscoresToCamelCase() function
110 string UnderscoresToCamelCase(const MethodDescriptor* method) { in UnderscoresToCamelCase() function
Djavamicro_message_field.cc56 UnderscoresToCamelCase(descriptor); in SetMessageVariables()
Djavamicro_enum_field.cc57 UnderscoresToCamelCase(descriptor); in SetEnumVariables()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc106 string UnderscoresToCamelCase(const string& input, bool first_capitalized) { in UnderscoresToCamelCase() function
415 basename = UnderscoresToCamelCase(basename, true); in FilePath()
429 output = UnderscoresToCamelCase(basename, true); in FilePathBasename()
436 const string name = UnderscoresToCamelCase(StripProto(BaseFileName(file)), true) + "Root"; in FileClassName()
494 const string value_str = UnderscoresToCamelCase(descriptor->name(), true); in EnumValueName()
534 const string result = UnderscoresToCamelCase(name, false); in ExtensionMethodName()
540 string result = UnderscoresToCamelCase(name, false); in FieldName()
566 name += "_" + UnderscoresToCamelCase(descriptor->name(), true) + "_OneOfCase"; in OneofEnumName()
572 string name = UnderscoresToCamelCase(descriptor->name(), false); in OneofName()
/external/rust/crates/grpcio-sys/grpc/bazel/
Dgrpc_util.bzl28 # Otherwise, drop the character. See UnderscoresToCamelCase in:
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc775 format.Set("camel_oneof_name", UnderscoresToCamelCase(oneof->name(), true)); in GenerateFieldAccessorDeclarations()
915 format.Set("field_name", UnderscoresToCamelCase(field->name(), true)); in GenerateFieldAccessorDefinitions()
1144 format("enum $1$Case {\n", UnderscoresToCamelCase(oneof->name(), true)); in GenerateClassDefinition()
1148 UnderscoresToCamelCase(field->name(), true); in GenerateClassDefinition()
1519 std::string camel_oneof_name = UnderscoresToCamelCase(oneof->name(), true); in GenerateClassDefinition()
1576 format.Set("camel_oneof_name", UnderscoresToCamelCase(oneof->name(), true)); in GenerateInlineMethods()
2702 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateStructors()
2995 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateOneofClear()
3259 format("case k$1$: {\n", UnderscoresToCamelCase(field->name(), true)); in GenerateMergeFrom()
3690 format("case k$1$:\n", UnderscoresToCamelCase(field->name(), true)); in GenerateSerializeOneofFields()
[all …]

12