Home
last modified time | relevance | path

Searched refs:LocalName (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyCheck.cpp80 ClangTidyCheck::OptionsView::get(StringRef LocalName) const { in get()
81 const auto &Iter = CheckOptions.find(NamePrefix + LocalName.str()); in get()
84 return llvm::make_error<MissingOptionError>((NamePrefix + LocalName).str()); in get()
89 StringRef LocalName) { in findPriorityOption() argument
90 auto IterLocal = Options.find((NamePrefix + LocalName).str()); in findPriorityOption()
91 auto IterGlobal = Options.find(LocalName.str()); in findPriorityOption()
102 ClangTidyCheck::OptionsView::getLocalOrGlobal(StringRef LocalName) const { in getLocalOrGlobal()
103 auto Iter = findPriorityOption(CheckOptions, NamePrefix, LocalName); in getLocalOrGlobal()
106 return llvm::make_error<MissingOptionError>((NamePrefix + LocalName).str()); in getLocalOrGlobal()
124 ClangTidyCheck::OptionsView::get<bool>(StringRef LocalName) const { in get()
[all …]
DClangTidyCheck.h212 llvm::Expected<std::string> get(StringRef LocalName) const;
219 std::string get(StringRef LocalName, StringRef Default) const { in get() argument
220 if (llvm::Expected<std::string> Val = get(LocalName)) in get()
233 llvm::Expected<std::string> getLocalOrGlobal(StringRef LocalName) const;
241 std::string getLocalOrGlobal(StringRef LocalName, StringRef Default) const { in getLocalOrGlobal() argument
242 if (llvm::Expected<std::string> Val = getLocalOrGlobal(LocalName)) in getLocalOrGlobal()
258 get(StringRef LocalName) const { in get() argument
259 if (llvm::Expected<std::string> Value = get(LocalName)) { in get()
264 (NamePrefix + LocalName).str(), *Value); in get()
276 std::enable_if_t<std::is_integral<T>::value, T> get(StringRef LocalName, in get() argument
[all …]
/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils_test.cc232 EXPECT_EQ(DeviceNameUtils::LocalName("CPU", 1), "/device:CPU:1"); in TEST()
233 EXPECT_EQ(DeviceNameUtils::LocalName("GPU", 2), "/device:GPU:2"); in TEST()
234 EXPECT_EQ(DeviceNameUtils::LocalName("MySpecialDevice", 13), in TEST()
238 DeviceNameUtils::LocalName("/job:foo/replica:1/task:2/device:CPU:3"), in TEST()
241 EXPECT_EQ(DeviceNameUtils::LocalName("/job:foo/replica:1/task:2/cpu:3"), in TEST()
245 DeviceNameUtils::LocalName("/job:foo/replica:1/task:2/device:abc:73"), in TEST()
Ddevice_name_utils.h171 static std::string LocalName(StringPiece type, int id);
175 static std::string LocalName(StringPiece fullname);
Ddevice_name_utils.cc484 string DeviceNameUtils::LocalName(StringPiece type, int id) { in LocalName() function in tensorflow::DeviceNameUtils
497 string DeviceNameUtils::LocalName(StringPiece fullname) { in LocalName() function in tensorflow::DeviceNameUtils
500 return LocalName(x.type, x.id); in LocalName()
574 return {DeviceNameUtils::LocalName(pn.type, pn.id), in GetLocalNamesForDeviceMappings()
/external/libxml2/python/
Ddrv_libxml2.py192 _d(reader.LocalName()))
211 _d(reader.LocalName()))
238 (_d(reader.NamespaceUri()),_d(reader.LocalName())),
/external/llvm/utils/
Dllvm.grm72 LocalName ::= LOCALVAR | STRINGCONSTANT | PCTSTRINGCONSTANT ;
73 OptLocalName ::= LocalName | _ ;
77 OptLocalAssign ::= LocalName "=" | _ ;
338 | LocalName
/external/llvm-project/llvm/utils/
Dllvm.grm72 LocalName ::= LOCALVAR | STRINGCONSTANT | PCTSTRINGCONSTANT ;
73 OptLocalName ::= LocalName | _ ;
77 OptLocalAssign ::= LocalName "=" | _ ;
339 | LocalName
/external/llvm-project/llvm/lib/Target/Mips/
DMips16HardFloat.cpp454 std::string LocalName = "$$__fn_local_" + Name; in createFPFnStub() local
472 AsmText += "la $$25, " + LocalName + "\n"; in createFPFnStub()
477 AsmText += LocalName + " = " + Name + "\n"; in createFPFnStub()
/external/llvm/lib/Target/Mips/
DMips16HardFloat.cpp462 std::string LocalName = "$$__fn_local_" + Name; in createFPFnStub() local
480 AsmText += "la $$25, " + LocalName + "\n"; in createFPFnStub()
485 AsmText += LocalName + " = " + Name + "\n"; in createFPFnStub()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16HardFloat.cpp454 std::string LocalName = "$$__fn_local_" + Name; in createFPFnStub() local
472 AsmText += "la $$25, " + LocalName + "\n"; in createFPFnStub()
477 AsmText += LocalName + " = " + Name + "\n"; in createFPFnStub()
/external/libxml2/python/tests/
Dreader.py260 reader.LocalName() != "xmlns" or reader.Name() != "xmlns" or \
277 reader.LocalName() != "prefix" or reader.Name() != "xmlns:prefix" or \
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DItaniumDemangle.cpp418 Name = static_cast<const LocalName *>(Name)->Entity; in getFunctionBaseName()
460 auto *LN = static_cast<const LocalName *>(Name); in getFunctionDeclContextName()
549 N = static_cast<const LocalName *>(N)->Entity; in isCtorOrDtor()
/external/llvm-project/llvm/lib/Demangle/
DItaniumDemangle.cpp416 Name = static_cast<const LocalName *>(Name)->Entity; in getFunctionBaseName()
458 auto *LN = static_cast<const LocalName *>(Name); in getFunctionDeclContextName()
547 N = static_cast<const LocalName *>(N)->Entity; in isCtorOrDtor()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dremote_device.cc40 local_dev_name_(DeviceNameUtils::LocalName(da.name())) {} in RemoteDevice()
Dworker.cc439 string local_name = DeviceNameUtils::LocalName(parsed.src_device); in PrepareRecvTensor()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_ops.cc101 *node.mutable_device() = DeviceNameUtils::LocalName(node.device()); in Compute()
/external/llvm-project/libcxxabi/src/demangle/
DItaniumDemangle.h57 X(LocalName) \
863 struct LocalName : Node { struct
867 LocalName(Node *Encoding_, Node *Entity_) in LocalName() argument
2630 return make<LocalName>(Encoding, StringLitName); in parseLocalName()
2640 return make<LocalName>(Encoding, N); in parseLocalName()
2647 return make<LocalName>(Encoding, Entity); in parseLocalName()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h57 X(LocalName) \
861 struct LocalName : Node { struct
865 LocalName(Node *Encoding_, Node *Entity_) in LocalName() argument
2566 return make<LocalName>(Encoding, StringLitName); in parseLocalName()
2576 return make<LocalName>(Encoding, N); in parseLocalName()
2583 return make<LocalName>(Encoding, Entity); in parseLocalName()
/external/llvm-project/llvm/include/llvm/Demangle/
DItaniumDemangle.h57 X(LocalName) \
863 struct LocalName : Node { struct
867 LocalName(Node *Encoding_, Node *Entity_) in LocalName() argument
2630 return make<LocalName>(Encoding, StringLitName); in parseLocalName()
2640 return make<LocalName>(Encoding, N); in parseLocalName()
2647 return make<LocalName>(Encoding, Entity); in parseLocalName()
/external/libcxxabi/src/demangle/
DItaniumDemangle.h59 X(LocalName) \
893 struct LocalName : Node { struct
897 LocalName(Node *Encoding_, Node *Entity_) in LocalName() argument
2386 return make<LocalName>(Encoding, StringLitName); in parseLocalName()
2396 return make<LocalName>(Encoding, N); in parseLocalName()
2403 return make<LocalName>(Encoding, Entity); in parseLocalName()
/external/dng_sdk/source/
Ddng_negative.h877 const dng_string & LocalName () const in LocalName() function
Ddng_image_writer.cpp6407 negative.LocalName (), in WriteDNG()
6410 if (negative.LocalName ().NotEmpty ()) in WriteDNG()
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session.cc1678 device_names.push_back(DeviceNameUtils::LocalName(device->name())); in CreateGraphs()
1684 DeviceNameUtils::LocalName(partition.first); in CreateGraphs()
/external/llvm-project/polly/lib/CodeGen/
DPPCGCodeGeneration.cpp2103 const char *LocalName[3] = {"__gen_ocl_get_local_id0", in insertKernelCallsSPIR() local
2134 createFunc(LocalName[i], isl_id_list_get_id(Kernel->thread_ids, i), SizeT); in insertKernelCallsSPIR()

12