HomeSort by relevance Sort by last modified time
    Searched refs:Namespace (Results 1 - 25 of 197) sorted by null

1 2 3 4 5 6 7 8

  /cts/tests/tests/net/src/android/net/cts/
LocalSocketAddress_NamespaceTest.java 19 import android.net.LocalSocketAddress.Namespace;
25 assertEquals(Namespace.ABSTRACT, Namespace.valueOf("ABSTRACT"));
26 assertEquals(Namespace.RESERVED, Namespace.valueOf("RESERVED"));
27 assertEquals(Namespace.FILESYSTEM, Namespace.valueOf("FILESYSTEM"));
31 Namespace[] expected = Namespace.values();
32 assertEquals(Namespace.ABSTRACT, expected[0])
    [all...]
LocalSocketAddressTest.java 20 import android.net.LocalSocketAddress.Namespace;
26 // default namespace
29 assertEquals(Namespace.ABSTRACT, localSocketAddress.getNamespace());
31 // specify the namespace
33 new LocalSocketAddress("name2", Namespace.ABSTRACT);
35 assertEquals(Namespace.ABSTRACT, localSocketAddress2.getNamespace());
38 new LocalSocketAddress("name3", Namespace.FILESYSTEM);
40 assertEquals(Namespace.FILESYSTEM, localSocketAddress3.getNamespace());
43 new LocalSocketAddress("name4", Namespace.RESERVED);
45 assertEquals(Namespace.RESERVED, localSocketAddress4.getNamespace())
    [all...]
  /frameworks/base/core/java/android/net/
LocalSocketAddress.java 24 * abstract (non-filesystem) UNIX domain namespace.
29 * The namespace that this address exists in. See also
32 public enum Namespace {
33 /** A socket in the Linux abstract namespace */
36 * A socket in the Android reserved namespace in /dev/socket.
47 Namespace (int id) {
60 private final Namespace namespace; field in class:LocalSocketAddress
66 * @param namespace namespace the name should be created in
    [all...]
  /external/swiftshader/third_party/LLVM/utils/TableGen/
InstrEnumEmitter.cpp 19 using namespace llvm;
24 OS << "namespace llvm {\n\n";
29 std::string Namespace = Target.getInstNamespace();
31 if (Namespace.empty()) {
39 OS << "namespace " << Namespace << " {\n";
47 OS << "} // End llvm namespace \n";
CodeEmitterGen.h 21 namespace llvm {
35 void emitMachineOpEmitter(raw_ostream &o, const std::string &Namespace);
36 void emitGetValueBit(raw_ostream &o, const std::string &Namespace);
47 } // End llvm namespace
RegisterInfoEmitter.cpp 26 using namespace llvm;
34 std::string Namespace = Registers[0]->TheDef->getValueAsString("Namespace");
41 OS << "namespace llvm {\n\n";
44 << "extern MCRegisterClass " << Namespace << "MCRegisterClasses[];\n\n";
46 if (!Namespace.empty())
47 OS << "namespace " << Namespace << " {\n";
57 if (!Namespace.empty())
63 if (!Namespace.empty()
    [all...]
  /external/webrtc/webrtc/libjingle/xmllite/
qname_unittest.cc 21 EXPECT_EQ(name.Namespace(), "");
27 EXPECT_EQ(name.Namespace(), "a");
28 QName name2("a-very:long:namespace:test-this");
30 EXPECT_EQ(name2.Namespace(), "a-very:long:namespace");
36 EXPECT_EQ(name.Namespace(), "a");
38 QName name2("a-very:long:namespace", "test-this");
40 EXPECT_EQ(name2.Namespace(), "a-very:long:namespace");
41 EXPECT_EQ(name2.Merged(), "a-very:long:namespace:test-this")
    [all...]
xmlprinter.cc 21 namespace buzz {
60 } 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());
174 } // namespace buzz
qname.h 16 namespace buzz {
44 const std::string& Namespace() const { return namespace_; }
81 } // namespace buzz
  /external/flatbuffers/include/flatbuffers/
code_generators.h 24 namespace flatbuffers {
76 const Namespace &ns);
94 std::string NamespaceDir(const Namespace &ns) const;
100 static std::string FullNamespace(const char *separator, const Namespace &ns);
102 static std::string LastNamespacePart(const Namespace &ns);
104 // tracks the current namespace for early exit in WrapInNameSpace
105 // c++, java and csharp returns a different namespace from
108 virtual const Namespace *CurrentNameSpace() const { return nullptr; }
110 // Ensure that a type is prefixed with its namespace whenever it is used
111 // outside of its namespace
    [all...]
  /external/clang/include/clang/Lex/
PPCallbacks.h 26 namespace clang {
197 /// \param Namespace The namespace of the message directive.
200 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace,
207 StringRef Namespace) {
213 StringRef Namespace) {
217 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace,
394 void PragmaMessage(SourceLocation Loc, StringRef Namespace,
396 First->PragmaMessage(Loc, Namespace, Kind, Str);
397 Second->PragmaMessage(Loc, Namespace, Kind, Str)
    [all...]
  /frameworks/base/tools/aapt2/link/
XmlNamespaceRemover.cpp 23 namespace aapt {
25 namespace {
37 while (child && xml::NodeCast<xml::Namespace>(child.get())) {
68 } // namespace
75 // Replace any root namespaces until the root is a non-namespace node
76 while (xml::NodeCast<xml::Namespace>(resource->root.get())) {
88 } // namespace aapt
XmlNamespaceRemover_test.cpp 21 namespace aapt {
35 void Visit(xml::Namespace* ns) override {
48 void Visit(xml::Namespace* ns) override {
49 ADD_FAILURE() << "Detected namespace: " << ns->namespace_prefix << "=\""
122 } // namespace aapt
  /external/flatbuffers/src/
code_generators.cpp 21 namespace flatbuffers {
71 const Namespace &ns) {
83 std::string BaseGenerator::NamespaceDir(const Namespace &ns) const {
100 const Namespace &ns) {
110 std::string BaseGenerator::LastNamespacePart(const Namespace &ns) {
117 // Ensure that a type is prefixed with its namespace whenever it is used
118 // outside of its namespace.
119 std::string BaseGenerator::WrapInNameSpace(const Namespace *ns,
158 } // namespace flatbuffers
idl_gen_fbs.cpp 24 namespace flatbuffers {
41 static void GenNameSpace(const Namespace &name_space, std::string *_schema,
42 const Namespace **last_namespace) {
46 schema += "namespace ";
86 const Namespace *last_namespace = nullptr;
130 } // namespace flatbuffers
  /external/llvm/utils/TableGen/
RegisterInfoEmitter.cpp 44 using namespace llvm;
46 namespace {
85 } // end anonymous namespace
95 std::string Namespace =
96 Registers.front().TheDef->getValueAsString("Namespace");
103 OS << "namespace llvm {\n\n";
106 << "extern const MCRegisterClass " << Namespace
109 if (!Namespace.empty())
110 OS << "namespace " << Namespace << " {\n"
    [all...]
InstrInfoEmitter.cpp 29 using namespace llvm;
31 namespace {
63 const std::string &Namespace,
73 } // end anonymous namespace
202 const std::string &Namespace,
220 OperandMap[OpList].push_back(Namespace + "::" + Inst->TheDef->getName());
228 /// - An enum in the llvm::TargetNamespace::OpName namespace, with one entry
239 const std::string &Namespace = Target.getInstNamespace();
246 initOperandMapData(NumberedInstructions, Namespace, Operands, OperandMap);
250 OS << "namespace llvm {\n"
    [all...]
  /external/clang/lib/Frontend/
PrintPreprocessedOutput.cpp 31 using namespace clang;
79 namespace {
132 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,
174 } // end anonymous namespace
397 StringRef Namespace,
403 if (!Namespace.empty())
404 OS << Namespace << ' ';
    [all...]
  /external/clang/lib/Tooling/Core/
QualTypeNames.cpp 23 namespace clang {
25 namespace TypeName {
33 /// \param[in] WithGlobalNsPrefix - Indicate whether the global namespace
44 /// \param[in] WithGlobalNsPrefix - Indicate whether the global namespace
59 /// \param[in] WithGlobalNsPrefix - Indicate whether the global namespace
208 // Ignore inline namespace;
234 case NestedNameSpecifier::Namespace:
238 // Namespace aliases are only valid for the duration of the
240 // invalid at the end of the TU. So use the namespace name more
319 // Decl's context was neither the TU, a namespace, nor
    [all...]
  /frameworks/base/tools/aapt2/xml/
XmlDom.h 33 namespace aapt {
34 namespace xml {
74 * A Namespace XML node. Can only have one child.
76 class Namespace : public BaseNode<Namespace> {
177 virtual void Visit(Namespace* node) {}
189 void Visit(Namespace* node) override { VisitChildren(node); }
203 * An XML DOM visitor that will record the package name for a namespace prefix.
209 void Visit(Namespace* ns) override;
246 } // namespace xm
    [all...]
XmlDom.cpp 35 namespace aapt {
36 namespace xml {
48 * Extracts the namespace and name of an expanded element or attribute name.
100 std::unique_ptr<Namespace> ns = util::make_unique<Namespace>();
263 // We import the android namespace because on Windows NO_ERROR is a macro, not
266 using namespace android;
283 std::unique_ptr<Namespace> node = util::make_unique<Namespace>();
359 std::unique_ptr<Node> Namespace::Clone(const ElementCloneFunc& el_cloner)
    [all...]
  /external/guice/core/test/com/google/inject/
NullableInjectionPointTest.java 225 @Inject CustomNullableFooConstructor(@Namespace.Nullable Foo foo) {
231 @Inject @Namespace.Nullable Foo foo;
235 @Inject void setFoo(@Namespace.Nullable Foo foo) {
245 static interface Namespace {
  /external/clang/lib/AST/
NestedNameSpecifier.cpp 25 using namespace clang;
62 assert(NS && "Namespace cannot be NULL");
78 assert(Alias && "Namespace alias cannot be NULL");
143 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias;
156 /// \brief Retrieve the namespace stored in this nested name specifier.
164 /// \brief Retrieve the namespace alias stored in this nested name specifier.
197 case Namespace:
227 case Namespace:
246 case Namespace:
273 case Namespace
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
SIGenRegisterInfo.pl 29 let Namespace = "AMDGPU" in {
44 let Namespace = "AMDGPU";
48 let Namespace = "AMDGPU";
53 let Namespace = "AMDGPU";
58 let Namespace = "AMDGPU";
  /external/clang/lib/Lex/
Pragma.cpp 29 using namespace clang;
68 "A handler with this name is already registered in this namespace");
74 "Handler not registered in this namespace");
81 // Read the 'namespace' that the directive is in, e.g. STDC. Do not macro
115 // Invoke the first level of pragma handlers which reads the namespace id.
125 namespace {
727 /// If 'Namespace' is non-null, then it is a token required to exist on the
729 void Preprocessor::AddPragmaHandler(StringRef Namespace,
733 // If this is specified to be in a namespace, step down into it.
734 if (!Namespace.empty())
    [all...]

Completed in 650 milliseconds

1 2 3 4 5 6 7 8