Searched refs:Namespace (Results 1 - 25 of 119) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DInstrEnumEmitter.cpp29 std::string Namespace = Target.getInstNamespace(); local
31 if (Namespace.empty()) {
39 OS << "namespace " << Namespace << " {\n"; local
H A DCodeEmitterGen.h35 void emitMachineOpEmitter(raw_ostream &o, const std::string &Namespace);
36 void emitGetValueBit(raw_ostream &o, const std::string &Namespace);
H A DRegisterInfoEmitter.cpp34 std::string Namespace = Registers[0]->TheDef->getValueAsString("Namespace"); local
44 << "extern MCRegisterClass " << Namespace << "MCRegisterClasses[];\n\n"; local
46 if (!Namespace.empty())
47 OS << "namespace " << Namespace << " {\n"; local
57 if (!Namespace.empty())
63 if (!Namespace.empty())
64 OS << "namespace " << Namespace << " {\n"; local
72 if (!Namespace.empty())
81 if (!Namespace
82 OS << "namespace " << Namespace << " {\\n"; local
436 std::string Namespace = SubRegIndices[0]->getValueAsString("Namespace"); local
438 OS << "namespace " << Namespace << " {\\n"; local
[all...]
H A DCodeGenTarget.cpp102 std::string Namespace; local
103 if (R->getValue("Namespace"))
104 Namespace = R->getValueAsString("Namespace");
105 if (Namespace.empty()) return R->getName();
106 return Namespace + "::" + R->getName();
131 if ((*i)->Namespace != "TargetOpcode")
132 return (*i)->Namespace;
276 assert(Instr->Namespace == "TargetOpcode" && "Bad namespace");
284 if (CGI->Namespace !
[all...]
H A DInstrInfoEmitter.cpp348 std::string Namespace = Target.getInstNamespace(); local
350 if (Namespace.empty()) {
358 OS << "namespace " << Namespace << " {\n"; local
/external/webrtc/webrtc/libjingle/xmllite/
H A Dqname_unittest.cc21 EXPECT_EQ(name.Namespace(), "");
27 EXPECT_EQ(name.Namespace(), "a");
30 EXPECT_EQ(name2.Namespace(), "a-very:long:namespace");
36 EXPECT_EQ(name.Namespace(), "a");
40 EXPECT_EQ(name2.Namespace(), "a-very:long:namespace");
49 EXPECT_EQ(namecopy.Namespace(), "a");
53 EXPECT_EQ(nameassigned.Namespace(), "a");
60 EXPECT_EQ(namecopy.Namespace(), "a");
64 EXPECT_EQ(nameassigned.Namespace(), "a");
H A Dxmlprinter.cc60 } else if (attr->Name().Namespace() == NS_XMLNS) {
69 prefix = ns_stack_->AddNewPrefix(element->Name().Namespace(), false);
72 new_ns.push_back(element->Name().Namespace());
76 prefix = ns_stack_->AddNewPrefix(attr->Name().Namespace(), true);
79 new_ns.push_back(attr->Name().Namespace());
H A Dqname.h44 const std::string& Namespace() const { return namespace_; } function in class:buzz::QName
H A Dxmlbuilder.cc56 if (!attName.Namespace().empty()) {
/external/flatbuffers/include/flatbuffers/
H A Dcode_generators.h76 const Namespace &ns);
94 std::string NamespaceDir(const Namespace &ns) const;
98 static std::string FullNamespace(const char *separator, const Namespace &ns);
100 static std::string LastNamespacePart(const Namespace &ns);
106 virtual const Namespace *CurrentNameSpace() const { return nullptr; }
110 std::string WrapInNameSpace(const Namespace *ns,
/external/flatbuffers/src/
H A Dcode_generators.cpp77 const Namespace &ns) {
89 std::string BaseGenerator::NamespaceDir(const Namespace &ns) const {
94 const Namespace &ns) {
104 std::string BaseGenerator::LastNamespacePart(const Namespace &ns) {
113 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns,
128 const Namespace *ns = def.defined_namespace;
H A Didl_gen_fbs.cpp43 static void GenNameSpace(const Namespace &name_space, std::string *_schema,
44 const Namespace **last_namespace) {
87 const Namespace *last_namespace = nullptr;
/external/clang/include/clang/Lex/
H A DPPCallbacks.h197 /// \param Namespace The namespace of the message directive.
200 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, argument
207 StringRef Namespace) {
213 StringRef Namespace) {
217 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, argument
394 void PragmaMessage(SourceLocation Loc, StringRef Namespace,
396 First->PragmaMessage(Loc, Namespace, Kind, Str);
397 Second->PragmaMessage(Loc, Namespace, Kind, Str);
400 void PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) override {
401 First->PragmaDiagnosticPush(Loc, Namespace);
206 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) argument
212 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) argument
[all...]
/external/llvm/utils/TableGen/
H A DRegisterInfoEmitter.cpp95 std::string Namespace = local
96 Registers.front().TheDef->getValueAsString("Namespace");
106 << "extern const MCRegisterClass " << Namespace local
109 if (!Namespace.empty())
110 OS << "namespace " << Namespace << " {\n"; local
119 if (!Namespace.empty())
120 OS << "} // end namespace " << Namespace << "\n"; local
130 if (!Namespace.empty())
131 OS << "namespace " << Namespace << " {\n"; local
137 if (!Namespace
138 OS << "} // end namespace " << Namespace << "\\n\\n"; local
147 OS << "namespace " << Namespace << " {\\n"; local
154 OS << "} // end namespace " << Namespace << "\\n\\n"; local
160 std::string Namespace = SubRegIndices.front().getNamespace(); local
162 OS << "namespace " << Namespace << " {\\n"; local
169 OS << "} // end namespace " << Namespace << "\\n\\n"; local
364 std::string Namespace = Regs.front().TheDef->getValueAsString("Namespace"); local
366 OS << "// " << Namespace << " Dwarf<->LLVM register mappings.\\n"; local
371 OS << "extern const MCRegisterInfo::DwarfLLVMRegPair " << Namespace; local
426 OS << "extern const MCRegisterInfo::DwarfLLVMRegPair " << Namespace; local
[all...]
H A DInstrInfoEmitter.cpp63 const std::string &Namespace,
202 const std::string &Namespace,
220 OperandMap[OpList].push_back(Namespace + "::" + Inst->TheDef->getName());
239 const std::string &Namespace = Target.getInstNamespace(); local
246 initOperandMapData(NumberedInstructions, Namespace, Operands, OperandMap);
251 OS << "namespace " << Namespace << " {\n"; local
260 OS << "} // end namespace " << Namespace << "\n"; local
267 OS << "namespace " << Namespace << " {\n"; local
300 OS << "} // end namespace " << Namespace << "\n"; local
312 const std::string &Namespace local
200 initOperandMapData( ArrayRef<const CodeGenInstruction *> NumberedInstructions, const std::string &Namespace, std::map<std::string, unsigned> &Operands, OpNameMapTy &OperandMap) argument
318 OS << "namespace " << Namespace << " {\\n"; local
331 OS << "} // end namespace " << Namespace << "\\n"; local
573 std::string Namespace = Target.getInstNamespace(); local
578 OS << "namespace " << Namespace << " {\\n"; local
593 OS << "} // end " << Namespace << " namespace\\n"; local
[all...]
H A DCodeGenTarget.cpp137 std::string Namespace; local
138 if (R->getValue("Namespace"))
139 Namespace = R->getValueAsString("Namespace");
140 if (Namespace.empty()) return R->getName();
141 return Namespace + "::" + R->getName();
168 if (Inst->Namespace != "TargetOpcode")
169 return Inst->Namespace;
311 assert(Instr->Namespace == "TargetOpcode" && "Bad namespace");
318 if (CGI->Namespace !
[all...]
H A DAsmWriterEmitter.cpp104 O << " case " << FirstInst.CGI->Namespace << "::"
107 O << " case " << AWI.CGI->Namespace << "::"
119 OpsToPrint.push_back(std::make_pair(FirstInst.CGI->Namespace + "::" +
124 OpsToPrint.push_back(std::make_pair(AWI.CGI->Namespace+"::"+
553 std::string Namespace = local
554 Registers.front().TheDef->getValueAsString("Namespace");
580 std::string Prefix = !Namespace.empty() ? Namespace + "::" : "";
800 std::string Namespace = Target.getName(); local
929 Cond = "!STI.getFeatureBits()[" + Namespace
[all...]
/external/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp132 void PragmaMessage(SourceLocation Loc, StringRef Namespace,
135 void PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) override;
136 void PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) override;
137 void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace,
397 StringRef Namespace,
403 if (!Namespace.empty())
404 OS << Namespace << ' '; local
436 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) { argument
439 OS << "#pragma " << Namespace << " diagnostic push"; local
444 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) { argument
396 PragmaMessage(SourceLocation Loc, StringRef Namespace, PragmaMessageKind Kind, StringRef Str) argument
447 OS << "#pragma " << Namespace << " diagnostic pop"; local
451 PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, diag::Severity Map, StringRef Str) argument
457 OS << "#pragma " << Namespace << " diagnostic "; local
[all...]
/external/clang/lib/Tooling/Core/
H A DQualTypeNames.cpp234 case NestedNameSpecifier::Namespace:
238 // Namespace aliases are only valid for the duration of the
356 const NamespaceDecl *Namespace,
358 while (Namespace && Namespace->isInline()) {
360 Namespace = dyn_cast<NamespaceDecl>(Namespace->getDeclContext());
362 if (!Namespace) return nullptr;
367 createOuterNNS(Ctx, Namespace, FullyQualified, WithGlobalNsPrefix),
368 Namespace);
355 createNestedNameSpecifier(const ASTContext &Ctx, const NamespaceDecl *Namespace, bool WithGlobalNsPrefix) argument
[all...]
/external/guice/core/test/com/google/inject/
H A DNullableInjectionPointTest.java225 @Inject CustomNullableFooConstructor(@Namespace.Nullable Foo foo) {
231 @Inject @Namespace.Nullable Foo foo;
235 @Inject void setFoo(@Namespace.Nullable Foo foo) {
245 static interface Namespace { interface in class:NullableInjectionPointTest
/external/clang/lib/AST/
H A DNestedNameSpecifier.cpp62 assert(NS && "Namespace cannot be NULL");
78 assert(Alias && "Namespace alias cannot be NULL");
143 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias;
197 case Namespace:
227 case Namespace:
246 case Namespace:
273 case Namespace:
352 case NestedNameSpecifier::Namespace:
418 case NestedNameSpecifier::Namespace:
575 NamespaceDecl *Namespace,
574 Extend(ASTContext &Context, NamespaceDecl *Namespace, SourceLocation NamespaceLoc, SourceLocation ColonColonLoc) argument
[all...]
/external/clang/lib/Lex/
H A DPragma.cpp727 /// If 'Namespace' is non-null, then it is a token required to exist on the
729 void Preprocessor::AddPragmaHandler(StringRef Namespace, argument
734 if (!Namespace.empty()) {
738 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) {
745 InsertNS = new PragmaNamespace(Namespace);
757 /// preprocessor. If \arg Namespace is non-null, then it should be the
760 void Preprocessor::RemovePragmaHandler(StringRef Namespace, argument
765 if (!Namespace.empty()) {
766 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace);
767 assert(Existing && "Namespace containin
967 const char *Namespace; member in struct:__anon1742::PragmaDiagnosticHandler
1195 const StringRef Namespace; member in struct:__anon1742::PragmaMessageHandler
[all...]
/external/ltp/testcases/kernel/containers/pidns/
H A DREADME34 2> After creation of container the PID Namespace of the container should have the parent group id as 1 and also session id as 1.
/external/clang/include/clang/Index/
H A DIndexSymbol.h27 Namespace, member in class:clang::index::SymbolKind
/external/clang/test/SemaCXX/
H A Dexpression-traits.cpp289 namespace Namespace namespace
305 ASSERT_LVALUE(Namespace::x);
306 ASSERT_LVALUE(Namespace::function);

Completed in 834 milliseconds

12345