Home
last modified time | relevance | path

Searched refs:Namespace (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/external/harfbuzz_ng/src/
Dhb-ot-face.hh42 #define HB_OT_TABLE(Namespace, Type) namespace Namespace { struct Type; } argument
43 #define HB_OT_ACCELERATOR(Namespace, Type) HB_OT_TABLE (Namespace, Type##_accelerator_t) argument
53 #define HB_OT_TABLE_ORDER(Namespace, Type) \ argument
54 HB_PASTE (ORDER_, HB_PASTE (Namespace, HB_PASTE (_, Type)))
58 #define HB_OT_TABLE(Namespace, Type) HB_OT_TABLE_ORDER (Namespace, Type), argument
64 #define HB_OT_TABLE(Namespace, Type) \ argument
65 hb_table_lazy_loader_t<Namespace::Type, HB_OT_TABLE_ORDER (Namespace, Type)> Type;
66 #define HB_OT_ACCELERATOR(Namespace, Type) \ argument
67 hb_face_lazy_loader_t<Namespace::Type##_accelerator_t, HB_OT_TABLE_ORDER (Namespace, Type)> Type;
Dhb-null.hh97 #define DECLARE_NULL_NAMESPACE_BYTES(Namespace, Type) \ argument
99 extern HB_INTERNAL const unsigned char _hb_Null_##Namespace##_##Type[Namespace::Type::null_size]; \
101 struct Null<Namespace::Type> { \
102 static Namespace::Type const & get_null () { \
103 return *reinterpret_cast<const Namespace::Type *> (_hb_Null_##Namespace##_##Type); \
106 namespace Namespace { \
108 #define DEFINE_NULL_NAMESPACE_BYTES(Namespace, Type) \ argument
109 const unsigned char _hb_Null_##Namespace##_##Type[Namespace::Type::null_size]
/external/rust/cxx/syntax/
Dnamespace.rs14 pub struct Namespace { struct
18 impl Namespace { implementation
19 pub const ROOT: Self = Namespace {
27 pub fn parse_bridge_attr_namespace(input: ParseStream) -> Result<Namespace> { in parse_bridge_attr_namespace() argument
29 return Ok(Namespace::ROOT); in parse_bridge_attr_namespace()
34 let namespace = input.parse::<Namespace>()?; in parse_bridge_attr_namespace()
40 impl Default for &Namespace { implementation
42 const ROOT: &Namespace = &Namespace::ROOT; in default()
47 impl Parse for Namespace { implementation
50 Ok(Namespace { segments }) in parse()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DNamespaceAliaser.cpp31 StringRef Namespace, in createAlias() argument
37 if (AddedAliases[Function].count(Namespace.str()) != 0) in createAlias()
48 std::string(Namespace)))) in createAlias()
53 AddedAliases[Function][Namespace.str()] = ExistingAlias->getName().str(); in createAlias()
69 (llvm::Twine("\nnamespace ") + Abbreviation + " = " + Namespace + ";") in createAlias()
74 AddedAliases[Function][Namespace.str()] = Abbreviation; in createAlias()
83 StringRef Namespace) const { in getNamespaceName()
87 if (FunctionAliases->second.count(Namespace) != 0) { in getNamespaceName()
88 return FunctionAliases->second.find(Namespace)->getValue(); in getNamespaceName()
91 return Namespace.str(); in getNamespaceName()
/external/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
DIncludeFixerTest.cpp58 {{SymbolInfo::ContextType::Namespace, "std"}}), in runIncludeFixer()
61 {{SymbolInfo::ContextType::Namespace, "std"}}), in runIncludeFixer()
65 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer()
66 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer()
69 {{SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer()
70 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer()
73 {{SymbolInfo::ContextType::Namespace, "c"}, in runIncludeFixer()
74 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer()
78 {SymbolInfo::ContextType::Namespace, "b"}, in runIncludeFixer()
79 {SymbolInfo::ContextType::Namespace, "a"}}), in runIncludeFixer()
[all …]
/external/llvm-project/clang/test/Index/
Dctor-init-source-loc.cpp80 namespace Namespace { namespace
92 struct Derived9: Namespace::Templ<MyBase>::InnerIterator
94 Derived9() : Namespace::Templ<MyBase>::InnerIterator() {} in Derived9()
101 struct Derived10: Namespace::Templ<MyBase>
103 Derived10() : Namespace::Templ<MyBase>() {} in Derived10()
110 struct Derived11: Namespace::Outer::Inner<MyBase>::Parm
112 Derived11() : Namespace::Outer::Inner<MyBase>::Parm() {} in Derived11()
/external/llvm-project/clang-tools-extra/unittests/clang-doc/
DSerializeTest.cpp95 ExpectedB.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
104 F.Namespace.emplace_back(EmptySID, "B", InfoType::IT_namespace); in TEST()
105 F.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
141 ExpectedE.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
154 EConstructor.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
155 EConstructor.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
170 Method.Namespace.emplace_back(EmptySID, "E", InfoType::IT_record); in TEST()
171 Method.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
180 ExpectedF.Namespace.emplace_back(EmptySID, "GlobalNamespace", in TEST()
193 TemplateMethod.Namespace.emplace_back(EmptySID, "F", InfoType::IT_record); in TEST()
[all …]
DMergeTest.cpp19 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
34 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
51 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
81 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
103 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
122 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
156 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
177 Two.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
201 Expected->Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
231 One.Namespace.emplace_back(EmptySID, "A", InfoType::IT_namespace); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DPreferRegisterOverUnsignedCheck.cpp44 if (const auto *Namespace = dyn_cast<NamespaceDecl>(Context)) in check() local
45 if (isa<TranslationUnitDecl>(Namespace->getDeclContext()) && in check()
46 Namespace->getName() == "llvm") in check()
49 const NamespaceDecl *Namespace = UsingDirective->getNominatedNamespace(); in check() local
50 if (isa<TranslationUnitDecl>(Namespace->getDeclContext()) && in check()
51 Namespace->getName() == "llvm") in check()
/external/llvm-project/llvm/test/TableGen/Common/
DGlobalISelEmitterCommon.td6 let Namespace = "MyTarget";
9 def R0 : Register<"r0"> { let Namespace = "MyTarget"; }
12 def F0 : Register<"f0"> { let Namespace = "MyTarget"; }
15 def B0 : Register<"b0"> { let Namespace = "MyTarget"; }
20 def V0 : Register<"v0"> { let Namespace = "MyTarget"; }
27 let Namespace = "MyTarget";
/external/clang/include/clang/Lex/
DPPCallbacks.h200 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() argument
207 StringRef Namespace) { in PragmaDiagnosticPush() argument
213 StringRef Namespace) { in PragmaDiagnosticPop() argument
217 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, in PragmaDiagnostic() argument
394 void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() argument
396 First->PragmaMessage(Loc, Namespace, Kind, Str); in PragmaMessage()
397 Second->PragmaMessage(Loc, Namespace, Kind, Str); in PragmaMessage()
400 void PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) override { in PragmaDiagnosticPush() argument
401 First->PragmaDiagnosticPush(Loc, Namespace); in PragmaDiagnosticPush()
402 Second->PragmaDiagnosticPush(Loc, Namespace); in PragmaDiagnosticPush()
[all …]
/external/llvm-project/llvm/test/DebugInfo/PDB/
Dusing-namespace.test5 # CHECK-NEXT: Namespace: __vc_attributes
37 Namespace: __vc_attributes
40 Namespace: helper_attributes
43 Namespace: atl
46 Namespace: std
/external/llvm-project/clang-tools-extra/clang-doc/
DSerialize.cpp363 std::string Namespace; in populateParentNamespaces() local
365 Namespace = "@nonymous_namespace"; in populateParentNamespaces()
368 Namespace = N->getNameAsString(); in populateParentNamespaces()
369 Namespaces.emplace_back(getUSRForDecl(N), Namespace, in populateParentNamespaces()
396 populateParentNamespaces(I.Namespace, D, IsInAnonymousNamespace); in populateInfo()
502 I->Path = getInfoRelativePath(I->Namespace); in emitInfo()
503 if (I->Namespace.empty() && I->USR == SymbolID()) in emitInfo()
507 ParentI->USR = I->Namespace.empty() ? SymbolID() : I->Namespace[0].USR; in emitInfo()
509 getInfoRelativePath(I->Namespace)); in emitInfo()
510 if (I->Namespace.empty()) in emitInfo()
[all …]
/external/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/
Dgenerate_protos.py68 def protoc_cc_args(args: argparse.Namespace) -> Tuple[str, ...]: argument
77 def protoc_go_args(args: argparse.Namespace) -> Tuple[str, ...]: argument
84 def protoc_nanopb_args(args: argparse.Namespace) -> Tuple[str, ...]: argument
98 def protoc_nanopb_rpc_args(args: argparse.Namespace) -> Tuple[str, ...]: argument
107 def protoc_raw_rpc_args(args: argparse.Namespace) -> Tuple[str, ...]: argument
116 def protoc_python_args(args: argparse.Namespace) -> Tuple[str, ...]: argument
125 _DefaultArgsFunction = Callable[[argparse.Namespace], Tuple[str, ...]]
/external/llvm-project/clang/include/clang/Lex/
DPPCallbacks.h223 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() argument
230 StringRef Namespace) { in PragmaDiagnosticPush() argument
236 StringRef Namespace) { in PragmaDiagnosticPop() argument
240 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, in PragmaDiagnostic() argument
470 void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() argument
472 First->PragmaMessage(Loc, Namespace, Kind, Str); in PragmaMessage()
473 Second->PragmaMessage(Loc, Namespace, Kind, Str); in PragmaMessage()
476 void PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) override { in PragmaDiagnosticPush() argument
477 First->PragmaDiagnosticPush(Loc, Namespace); in PragmaDiagnosticPush()
478 Second->PragmaDiagnosticPush(Loc, Namespace); in PragmaDiagnosticPush()
[all …]
/external/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp95 std::string Namespace = in runEnums() local
106 << "extern const MCRegisterClass " << Namespace in runEnums()
109 if (!Namespace.empty()) in runEnums()
110 OS << "namespace " << Namespace << " {\n"; in runEnums()
119 if (!Namespace.empty()) in runEnums()
120 OS << "} // end namespace " << Namespace << "\n"; in runEnums()
130 if (!Namespace.empty()) in runEnums()
131 OS << "namespace " << Namespace << " {\n"; in runEnums()
137 if (!Namespace.empty()) in runEnums()
138 OS << "} // end namespace " << Namespace << "\n\n"; in runEnums()
[all …]
DInstrInfoEmitter.cpp63 const std::string &Namespace,
202 const std::string &Namespace, in initOperandMapData() argument
220 OperandMap[OpList].push_back(Namespace + "::" + Inst->TheDef->getName()); in initOperandMapData()
239 const std::string &Namespace = Target.getInstNamespace(); in emitOperandNameMappings() local
246 initOperandMapData(NumberedInstructions, Namespace, Operands, OperandMap); in emitOperandNameMappings()
251 OS << "namespace " << Namespace << " {\n"; in emitOperandNameMappings()
260 OS << "} // end namespace " << Namespace << "\n"; in emitOperandNameMappings()
267 OS << "namespace " << Namespace << " {\n"; in emitOperandNameMappings()
300 OS << "} // end namespace " << Namespace << "\n"; in emitOperandNameMappings()
312 const std::string &Namespace = Target.getInstNamespace(); in emitOperandTypesEnum() local
[all …]
/external/llvm-project/llvm/utils/TableGen/
DRegisterInfoEmitter.cpp109 StringRef Namespace = Registers.front().TheDef->getValueAsString("Namespace"); in runEnums() local
122 if (!Namespace.empty()) in runEnums()
123 OS << "namespace " << Namespace << " {\n"; in runEnums()
132 if (!Namespace.empty()) in runEnums()
133 OS << "} // end namespace " << Namespace << "\n"; in runEnums()
143 if (!Namespace.empty()) in runEnums()
144 OS << "namespace " << Namespace << " {\n"; in runEnums()
150 if (!Namespace.empty()) in runEnums()
151 OS << "} // end namespace " << Namespace << "\n\n"; in runEnums()
159 if (!Namespace.empty()) in runEnums()
[all …]
DInstrInfoEmitter.cpp84 StringRef Namespace,
229 StringRef Namespace, in initOperandMapData() argument
246 OperandMap[OpList].push_back(Namespace.str() + "::" + in initOperandMapData()
265 StringRef Namespace = Target.getInstNamespace(); in emitOperandNameMappings() local
272 initOperandMapData(NumberedInstructions, Namespace, Operands, OperandMap); in emitOperandNameMappings()
277 OS << "namespace " << Namespace << " {\n"; in emitOperandNameMappings()
286 OS << "} // end namespace " << Namespace << "\n"; in emitOperandNameMappings()
293 OS << "namespace " << Namespace << " {\n"; in emitOperandNameMappings()
326 OS << "} // end namespace " << Namespace << "\n"; in emitOperandNameMappings()
338 StringRef Namespace = Target.getInstNamespace(); in emitOperandTypeMappings() local
[all …]
/external/rust/cxx/gen/src/
Dfile.rs2 use crate::syntax::namespace::Namespace;
23 let mut namespace = Namespace::ROOT; in parse()
66 fn parse_args(attr: &Attribute) -> Result<Namespace> { in parse_args() argument
68 Ok(Namespace::ROOT) in parse_args()
70 attr.parse_args_with(Namespace::parse_bridge_attr_namespace) in parse_args()
Dbuiltin.rs134 out.begin_block(Block::Namespace("rust")); in write()
201 out.begin_block(Block::Namespace("detail")); in write()
227 out.end_block(Block::Namespace("detail")); in write()
264 out.begin_block(Block::Namespace("repr")); in write()
266 out.end_block(Block::Namespace("repr")); in write()
272 out.begin_block(Block::Namespace("repr")); in write()
277 out.end_block(Block::Namespace("repr")); in write()
355 out.begin_block(Block::Namespace("behavior")); in write()
374 out.end_block(Block::Namespace("behavior")); in write()
377 out.end_block(Block::Namespace("rust")); in write()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp234 case NestedNameSpecifier::Namespace: in getFullyQualifiedNestedNameSpecifier()
356 const NamespaceDecl *Namespace, in createNestedNameSpecifier() argument
358 while (Namespace && Namespace->isInline()) { in createNestedNameSpecifier()
360 Namespace = dyn_cast<NamespaceDecl>(Namespace->getDeclContext()); in createNestedNameSpecifier()
362 if (!Namespace) return nullptr; in createNestedNameSpecifier()
367 createOuterNNS(Ctx, Namespace, FullyQualified, WithGlobalNsPrefix), in createNestedNameSpecifier()
368 Namespace); in createNestedNameSpecifier()
/external/llvm-project/clang-tools-extra/test/clang-include-fixer/
Dmerge.test7 - ContextType: Namespace
17 - ContextType: Namespace
27 - ContextType: Namespace
/external/dynamic_depth/internal/dynamic_depth/
Dprofiles.cc39 DynamicDepthConst::Namespace(DynamicDepthConst::Profiles()), in FromDeserializer()
43 DynamicDepthConst::Namespace(DynamicDepthConst::Profiles()), in FromDeserializer()
74 DynamicDepthConst::Namespace(DynamicDepthConst::Profiles()), in Serialize()
83 DynamicDepthConst::Namespace(DynamicDepthConst::Profile()), in Serialize()
Dcameras.cc46 DynamicDepthConst::Namespace(kNodeName), kNodeName, 0); in FromDeserializer()
55 DynamicDepthConst::Namespace(kNodeName), kNodeName, ++i); in FromDeserializer()
78 serializer->CreateListSerializer(DynamicDepthConst::Namespace(kNodeName), in Serialize()
87 DynamicDepthConst::Namespace(kCameraName), kCameraName); in Serialize()

12345678910>>...26