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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/
p6.cpp 5 namespace ns { namespace
8 using namespace ns;
12 namespace ns { namespace
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
p11.cpp 14 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace in namespace:test0
16 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
20 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace in namespace:test1
21 using ns::foo; //expected-note {{using declaration}}
26 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace in namespace:test2
29 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
33 using ns::foo; //expected-note {{using declaration}}
39 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace in namespace:test3
43 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
49 using ns::foo; //expected-note {{using declaration}
56 namespace ns { void foo(); } \/\/ expected-note 2 {{target of using declaration}} namespace in namespace:test4
76 namespace ns { void foo(int); } \/\/ expected-note {{target of using declaration}} namespace in namespace:test5
    [all...]
p8.cpp 8 namespace ns { namespace in namespace:test0
12 using ns::foo;
13 using ns::foo;
19 namespace ns { namespace in namespace:test0
27 using ns::foo;
33 using ns::foo;
38 namespace ns { namespace in namespace:test1
43 using ns::foo;
50 namespace ns { namespace in namespace:test1
59 using ns::foo
    [all...]
p10.cpp 23 namespace ns { namespace in namespace:test1
27 using ns::foo;
30 namespace ns { namespace in namespace:test1
  /external/clang/test/SemaTemplate/
dependent-names-no-std.cpp 7 namespace ns { namespace in namespace:PR10053
18 void f(ns::Data); // expected-note {{in namespace 'PR10053::ns'}}
20 A<ns::Data> a; // expected-note {{in instantiation of member function}}
  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
NamespaceSupportTest.java 33 NamespaceSupport ns; field in class:NamespaceSupportTest
42 ns = new NamespaceSupport();
43 ns.pushContext();
45 ns.declarePrefix("ak", marketUri);
46 ns.declarePrefix("bk", marketUri);
47 ns.declarePrefix("", defaultUri);
55 ns = new NamespaceSupport();
56 Enumeration<String> prefixes = ns.getDeclaredPrefixes();
67 ns.popContext();
77 ns = new NamespaceSupport()
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
util.h 41 int32 ns = 0; local
42 strm.read(reinterpret_cast<char *>(&ns), sizeof(ns));
43 for (int i = 0; i < ns; ++i) {
61 int32 ns = s.size(); local
62 strm.write(reinterpret_cast<const char *>(&ns), sizeof(ns));
63 return strm.write(s.data(), ns);
  /external/clang/test/PCH/
chain-late-anonymous-namespace.cpp 8 namespace ns {} namespace
14 namespace ns {
36 namespace ns {
chain-cxx.cpp 19 namespace ns { namespace
65 namespace ns { namespace
110 ns::g();
111 ns::g(1);
112 ns::pg();
113 ns::g2();
  /external/flac/include/share/
alloc.h 40 size_t ns = n; local
42 return n == ns ? malloc(ns) : NULL;
49 size_t ns = n; local
51 return n == ns ? malloc(ns) : NULL;
58 size_t ns = n; local
60 return n == ns ? malloc(ns) : NULL;
67 size_t ns = n local
    [all...]
  /external/libxslt/libxslt/
namespaces.c 203 * Store the ns-node in the alias-object.
323 * Find a matching (prefix and ns-name) ns-declaration
325 * If none is found then a new ns-declaration will be
327 * already in use, then a ns-declaration with a modified ns-prefix
329 * preserve ns-prefixes; it will only change a prefix if there's
341 xmlNsPtr ns; local
349 * NOTE: Namespace exclusion and ns-aliasing is performed at
360 * the ns-decls currently in-scope via a specialized context
    [all...]
  /cts/libs/vogar-expect/src/vogar/util/
TimeUtilities.java 64 public static String nsToString(long ns) {
65 if (ns < 1000L) {
66 return Long.toString(ns) + "ns";
67 } else if (ns < 1000000L) {
68 return Long.toString(ns/1000L) + "us";
69 } else if (ns < 1000000000L) {
70 return Long.toString(ns/1000000L) + "ms";
71 } else if (ns < 60000000000L) {
72 return String.format("%.2fs", nsToS(ns));
    [all...]
  /system/core/nexus/
PropertyManager.h 34 int attachProperty(const char *ns, Property *p);
35 int detachProperty(const char *ns, Property *p);
43 PropertyNamespace *lookupNamespace_UNLOCKED(const char *ns);
44 Property *lookupProperty_UNLOCKED(PropertyNamespace *ns, const char *name);
  /frameworks/base/tools/localize/
XMLNode.h 10 string ns; member in struct:XMLAttribute
15 const string& ns, const string& name, const string& def);
  /external/chromium/third_party/libjingle/source/talk/xmllite/
qname.cc 36 static int QName_Hash(const std::string & ns, const char * local) {
37 int result = static_cast<int>(ns.size()) * 101;
53 AllocateOrFind(const std::string & ns, const char * local) {
54 int index = QName_Hash(ns, local);
60 return new QName::Data(ns, local);
63 qname_table[index].namespace_ == ns) {
72 Add(const std::string & ns, const char * local) {
73 int index = QName_Hash(ns, local);
79 qname_table[index].namespace_ = ns;
86 qname_table[index].namespace_ == ns) {
    [all...]
xmlnsstack.h 43 void AddXmlns(const std::string & prefix, const std::string & ns);
50 bool PrefixMatchesNs(const std::string & prefix, const std::string & ns);
51 std::pair<std::string, bool> PrefixForNs(const std::string & ns, bool isAttr);
52 std::pair<std::string, bool> AddNewPrefix(const std::string & ns, bool isAttr);
xmlnsstack.cc 90 XmlnsStack::PrefixMatchesNs(const std::string & prefix, const std::string & ns) {
94 return (*match == ns);
98 XmlnsStack::PrefixForNs(const std::string & ns, bool isattr) {
99 if (ns == NS_XML)
101 if (ns == NS_XMLNS)
103 if (isattr ? ns == STR_EMPTY : PrefixMatchesNs(STR_EMPTY, ns))
109 if (*(pos + 1) == ns &&
110 (!isattr || !pos->empty()) && PrefixMatchesNs(*pos, ns))
127 XmlnsStack::AddXmlns(const std::string & prefix, const std::string & ns) {
    [all...]
qname.h 41 explicit QName(bool add, const std::string & ns, const char * local);
42 explicit QName(bool add, const std::string & ns, const std::string & local);
43 explicit QName(const std::string & ns, const char * local);
63 Data(const std::string & ns, const std::string & local) :
64 namespace_(ns),
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResults.java 43 private static final String ns = CtsXmlResultReporter.ns; field in class:TestResults
125 serializer.startTag(ns, "HostInfo");
131 serializer.attribute(ns, "name", hostName);
133 serializer.startTag(ns, "Os");
134 serializer.attribute(ns, "name", System.getProperty("os.name"));
135 serializer.attribute(ns, "version", System.getProperty("os.version"));
136 serializer.attribute(ns, "arch", System.getProperty("os.arch"));
137 serializer.endTag(ns, "Os");
139 serializer.startTag(ns, "Java")
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/
ExtensionsProvider.java 38 public boolean functionAvailable(String ns, String funcName)
44 public boolean elementAvailable(String ns, String elemName)
50 public Object extFunction(String ns, String funcName,
  /external/clang/test/Parser/
cxx0x-attributes.cpp 27 [[]] namespace ns { int i; } // expected-error {{an attribute list cannot appear here}} namespace
31 [[]] using ns::i; // expected-error {{an attribute list cannot appear here}}
32 [[]] using namespace ns;
  /external/expat/lib/
xmltok_ns.c 9 NS(XmlGetUtf8InternalEncoding)(void)
11 return &ns(internal_utf8_encoding).enc;
15 NS(XmlGetUtf16InternalEncoding)(void)
18 return &ns(internal_little2_encoding).enc;
20 return &ns(internal_big2_encoding).enc;
24 ? &ns(internal_little2_encoding).enc
25 : &ns(internal_big2_encoding).enc);
29 static const ENCODING * const NS(encodings)[] = {
30 &ns(latin1_encoding).enc,
31 &ns(ascii_encoding).enc
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/extensions/
ExtensionsTable.java 101 * @param ns the URI of namespace in which the function is needed
108 public boolean functionAvailable(String ns, String funcName)
113 if (null != ns)
116 (ExtensionHandler) m_extensionFunctionNamespaces.get(ns);
125 * @param ns the URI of namespace in which the function is needed
132 public boolean elementAvailable(String ns, String elemName)
136 if (null != ns)
139 (ExtensionHandler) m_extensionFunctionNamespaces.get(ns);
148 * @param ns the URI of namespace in which the function is needed
161 public Object extFunction(String ns, String funcName,
213 String ns = extFunction.getNamespace(); local
    [all...]
  /external/bluetooth/bluez/network/
server.c 105 struct network_server *ns = list->data; local
107 if (ns->id == id)
108 return ns;
314 struct network_server *ns = data; local
319 session = find_session(ns->sessions, chan);
324 g_dbus_emit_signal(connection, adapter_get_path(ns->na->adapter),
325 ns->iface, "DeviceDisconnected",
335 static int server_connadd(struct network_server *ns,
356 if (bnep_add_to_bridge(devname, ns->bridge) < 0) {
358 devname, ns->bridge, strerror(errno), errno)
444 struct network_server *ns; local
566 struct network_server *ns; local
656 struct network_server *ns = user_data; local
672 struct network_server *ns = data; local
707 struct network_server *ns = data; local
733 struct network_server *ns = data; local
797 struct network_server *ns = data; local
859 struct network_server *ns; local
904 struct network_server *ns; local
    [all...]
  /external/libxml2/
c14n.c 47 xmlNsPtr *nsTab; /* array of ns in no particular order */
75 xmlNsPtr ns,
83 xmlNsPtr ns);
85 xmlNsPtr ns,
253 xmlNs ns; local
255 memcpy(&ns, node, sizeof(ns));
259 ns.next = (xmlNsPtr)parent->parent;
261 ns.next = (xmlNsPtr)parent;
268 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns));
599 xmlNsPtr ns, tmp; local
703 xmlNsPtr ns; local
1059 xmlNsPtr ns; local
    [all...]

Completed in 654 milliseconds

1 2 3 4 5 6 7 8 91011>>