Home
last modified time | relevance | path

Searched refs:lowercase_name (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_placer.cc146 const auto lowercase_name = str_util::Lowercase(device_name); in to_lfqn_or_empty() local
147 bool parsed = DeviceNameUtils::ParseFullName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
149 parsed = DeviceNameUtils::ParseLocalName(lowercase_name, &parsed_name); in to_lfqn_or_empty()
153 if (lowercase_name == "gpu" || lowercase_name == "cpu") { in to_lfqn_or_empty()
155 parsed_name.type = lowercase_name; in to_lfqn_or_empty()
/external/perfetto/tools/proto_to_cpp/
Dproto_to_cpp.cc329 GetCppType(field, true), "n", field->lowercase_name()); in GenHeader()
332 GetCppType(field, false), "n", field->lowercase_name()); in GenHeader()
335 GetCppType(field, true), "n", field->lowercase_name()); in GenHeader()
340 "n", field->lowercase_name()); in GenHeader()
346 "t", GetCppType(field, false), "n", field->lowercase_name()); in GenHeader()
348 GetCppType(field, false), "n", field->lowercase_name()); in GenHeader()
350 GetCppType(field, false), "n", field->lowercase_name()); in GenHeader()
352 field->lowercase_name()); in GenHeader()
354 "t", GetCppType(field, false), "n", field->lowercase_name()); in GenHeader()
366 field->lowercase_name()); in GenHeader()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc1067 EXPECT_EQ("foo_foo", message_->field(0)->lowercase_name()); in TEST_F()
1068 EXPECT_EQ("foobar" , message_->field(1)->lowercase_name()); in TEST_F()
1069 EXPECT_EQ("foobaz" , message_->field(2)->lowercase_name()); in TEST_F()
1070 EXPECT_EQ("foofoo" , message_->field(3)->lowercase_name()); in TEST_F()
1071 EXPECT_EQ("foobar" , message_->field(4)->lowercase_name()); in TEST_F()
1073 EXPECT_EQ("bar_foo", message_->extension(0)->lowercase_name()); in TEST_F()
1074 EXPECT_EQ("barbar" , message_->extension(1)->lowercase_name()); in TEST_F()
1075 EXPECT_EQ("barbaz" , message_->extension(2)->lowercase_name()); in TEST_F()
1076 EXPECT_EQ("barfoo" , message_->extension(3)->lowercase_name()); in TEST_F()
1077 EXPECT_EQ("barbar" , message_->extension(4)->lowercase_name()); in TEST_F()
[all …]
Ddescriptor.h238 const string& lowercase_name) const;
525 const string& lowercase_name() const;
1680 PROTOBUF_DEFINE_STRING_ACCESSOR(FieldDescriptor, lowercase_name) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor.cc587 const void* parent, const string& lowercase_name) const;
828 const void* parent, const string& lowercase_name) const { in FindFieldByLowercaseName()
830 PointerStringPair(parent, lowercase_name.c_str())); in FindFieldByLowercaseName()
951 PointerStringPair lowercase_key(parent, field->lowercase_name().c_str()); in AddFieldByStylizedNames()
4209 string lowercase_name(proto.name()); in BuildFieldOrExtension() local
4210 LowerString(&lowercase_name); in BuildFieldOrExtension()
4211 if (lowercase_name == proto.name()) { in BuildFieldOrExtension()
4214 result->lowercase_name_ = tables_->AllocateString(lowercase_name); in BuildFieldOrExtension()
5179 string lowercase_name = ToLowercaseWithoutUnderscores( in ValidateProto3Message() local
5181 if (name_to_field.find(lowercase_name) != name_to_field.end()) { in ValidateProto3Message()
[all …]