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

1 2 3 4 5 6 7

  /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/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
xmlbuilder.cc 19 namespace buzz {
56 if (!attName.Namespace().empty()) {
130 } // namespace buzz
  /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/xml/
XmlDom.h 32 namespace aapt {
33 namespace xml {
63 * A Namespace XML node. Can only have one child.
65 struct Namespace : public BaseNode<Namespace> {
142 virtual void visit(Namespace* node) {}
153 void visit(Namespace* node) override {
173 * An XML DOM visitor that will record the package name for a namespace prefix.
187 void visit(Namespace* ns) override;
217 } // namespace xm
    [all...]
XmlDom.cpp 28 namespace aapt {
29 namespace xml {
40 * Extracts the namespace and name of an expanded element or attribute name.
77 std::unique_ptr<Namespace> ns = util::make_unique<Namespace>();
231 // We import the android namespace because on Windows NO_ERROR is a macro, not an enum, which
233 using namespace android;
249 std::unique_ptr<Namespace> node = util::make_unique<Namespace>();
368 while (nodeCast<Namespace>(child))
    [all...]
  /external/llvm/utils/TableGen/
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...]
RegisterInfoEmitter.cpp 30 using namespace llvm;
32 namespace {
68 } // End anonymous namespace
78 std::string Namespace =
79 Registers.front().TheDef->getValueAsString("Namespace");
86 OS << "namespace llvm {\n\n";
89 << "extern const MCRegisterClass " << Namespace
92 if (!Namespace.empty())
93 OS << "namespace " << Namespace << " {\n"
    [all...]
CodeGenTarget.cpp 26 using namespace llvm;
134 /// namespace qualifier if the record contains one.
137 std::string Namespace;
138 if (R->getValue("Namespace"))
139 Namespace = R->getValueAsString("Namespace");
140 if (Namespace.empty()) return R->getName();
141 return Namespace + "::" + R->getName();
167 // the namespace off the PHI instruction or something.
168 if (Inst->Namespace != "TargetOpcode"
    [all...]
AsmWriterEmitter.cpp 31 using namespace llvm;
35 namespace {
64 } // end anonymous namespace
110 O << " case " << FirstInst.CGI->Namespace << "::"
113 O << " case " << SimilarInsts[i].CGI->Namespace << "::"
124 OpsToPrint.push_back(std::make_pair(FirstInst.CGI->Namespace + "::" +
130 OpsToPrint.push_back(std::make_pair(AWI.CGI->Namespace+"::"+
589 std::string Namespace =
590 Registers.front().TheDef->getValueAsString("Namespace");
616 std::string Prefix = !Namespace.empty() ? Namespace + "::" : ""
    [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
387 StringRef Namespace,
393 if (!Namespace.empty())
394 OS << Namespace << ' ';
    [all...]
  /external/chromium-trace/catapult/third_party/webapp2/docs/_themes/webapp2/
pygapp2.py 26 Name.Namespace: "nobold noitalic #000",
  /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.
188 case Namespace:
218 case Namespace:
237 case Namespace:
264 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";
R600GenRegisterInfo.pl 28 let Namespace = "AMDGPU";
32 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...]
  /external/clang/test/SemaCXX/
expression-traits.cpp 289 namespace Namespace
297 // expr.prim/8 A nested-name-specifier that names a namespace
298 // (7.3), followed by the name of a member of that namespace (or
299 // the name of a member of a namespace made visible by a
301 // lookup for namespace members that appear in qualified-ids. The
305 ASSERT_LVALUE(Namespace::x);
306 ASSERT_LVALUE(Namespace::function);
  /external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
namespace_range.py 95 """Convert a namespace ordinal to a namespace string.
97 Converts an int, representing the sequence number of a namespace ordered
98 lexographically, into a namespace string.
110 n: A number representing the lexographical ordering of a namespace.
111 _max_length: The maximum namespace length.
113 A string representing the nth namespace in lexographical order.
126 def _namespace_to_ord(namespace):
127 """Converts a namespace string into an int representing its lexographic order.
137 namespace: A namespace string
    [all...]
  /external/clang/include/clang/AST/
NestedNameSpecifier.h 22 namespace clang {
40 /// specifiers, each of which can be a namespace, type, identifier
43 /// nested-namespace-specifier.
67 /// IdentifierInfo*, Namespace*, or Type*, depending on the kind of
77 /// \brief A namespace, stored as a NamespaceDecl*.
78 Namespace,
79 /// \brief A namespace alias, stored as a NamespaceAliasDecl*.
122 /// \brief Builds a nested name specifier that names a namespace.
127 /// \brief Builds a nested name specifier that names a namespace alias.
176 /// \brief Retrieve the namespace stored in this nested nam
    [all...]
  /external/clang/lib/Serialization/
ASTCommon.cpp 21 using namespace clang;
212 case Decl::Namespace:
272 case Decl::Namespace:

Completed in 936 milliseconds

1 2 3 4 5 6 7