/external/clang/test/SemaCXX/ |
H A D | using-decl-1.cpp | 66 namespace ns { namespace in namespace:test0 76 void test(ns::Foo *p) { 100 namespace ns { int foo; } namespace in namespace:test2 101 template <class T> using ns::foo; // expected-error {{cannot template a using declaration}}
|
H A D | attr-deprecated.cpp | 82 namespace ns { namespace in namespace:test1 87 foo(ns::Foo()); // expected-warning {{deprecated}}
|
H A D | friend.cpp | 10 namespace ns { namespace in namespace:test0 15 friend void ns::f(int a);
|
H A D | using-directive.cpp | 130 namespace ns { typedef int test1; } namespace in namespace:test1 131 template <class T> using namespace ns; // expected-error {{cannot template a using directive}}
|
H A D | warn-memset-bad-sizeof.cpp | 117 namespace ns { namespace
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-using-decl.cpp | 53 namespace ns { namespace in namespace:test2 58 using ns::foo;
|
/external/expat/tests/benchmark/ |
H A D | benchmark.c | 32 int j = 0, ns = 0; local 39 ns = 1; 73 if (ns)
|
/external/libnfc-nxp/Linux_x86/ |
H A D | phOsalNfc.c | 189 uint8_t ns = (llc_header & 0x38) >> 3; local 191 snprintf(&llc[0], sizeof(llc), "I %d (%d)", ns, nr);
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | prune.h | 67 StateId ns = fst->NumStates(); local 68 if (ns == 0) return; 74 idistance = new vector<Weight>(ns, Weight::Zero()); 77 idistance->resize(ns, Weight::Zero()); 81 fdistance = new vector<Weight>(ns, Weight::Zero()); 84 fdistance->resize(ns, Weight::Zero()); 92 for (StateId state = 0; state < ns; ++state) {
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
H A D | QName.java | 273 NameSpace ns = (NameSpace) namespaces.elementAt(i); 275 while (null != ns) 277 if ((null != ns.m_prefix) && prefix.equals(ns.m_prefix)) 279 namespace = ns.m_uri; 285 ns = ns.m_next; 517 * prefix if available, or the '{ns}foo' notation if not. Performs 533 * the '{ns}foo' notation. Performs 581 * @param ns Namespac 586 equals(String ns, String localPart) argument [all...] |
H A D | DOMBuilder.java | 311 * @param ns The namespace of the node 319 String ns, String localName, String name, Attributes atts) 327 if ((null == ns) || (ns.length() == 0)) 330 elem = m_doc.createElementNS(ns, name); 421 * @param ns the namespace of the element 425 public void endElement(String ns, String localName, String name) argument 318 startElement( String ns, String localName, String name, Attributes atts) argument
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | win32.h | 72 char* ns = STACK_ARRAY(char, len8); local 73 ::WideCharToMultiByte(CP_UTF8, 0, wide, len, ns, len8, NULL, NULL); 74 return std::string(ns, len8);
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlnsstack.cc | 90 XmlnsStack::PrefixMatchesNs(const std::string & prefix, const std::string & ns) { argument 94 return (*match == ns); 98 XmlnsStack::PrefixForNs(const std::string & ns, bool isattr) { argument 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) { argument 153 SuggestPrefix(const std::string & ns) argument 182 AddNewPrefix(const std::string & ns, bool isAttr) argument [all...] |
H A D | xmlparser.cc | 214 XmlParser::ParseContext::StartNamespace(const char *prefix, const char *ns) { argument 217 // ns == NS_CLIENT ? NS_CLIENT : 218 // ns == NS_ROSTER ? NS_ROSTER : 219 // ns == NS_GR ? NS_GR : 220 std::string(ns));
|
/external/clang/test/CodeGenCXX/ |
H A D | visibility-inlines-hidden.cpp | 89 namespace ns __attribute__((visibility("default"))) { namespace in namespace:test2 95 ns::foo<arg>();
|
/external/clang/test/PCH/ |
H A D | chain-cxx.cpp | 19 namespace ns { namespace 70 namespace ns { namespace 119 ns::g(); 120 ns::g(1); 121 ns::pg(); 122 ns::g2();
|
/external/libxslt/libxslt/ |
H A D | 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 634 xsltGetNamespace(xsltTransformContextPtr ctxt, xmlNodePtr cur, xmlNsPtr ns, xmlNodePtr out) argument 707 xsltGetPlainNamespace(xsltTransformContextPtr ctxt, xmlNodePtr cur, xmlNsPtr ns, xmlNodePtr out) argument 825 xsltCopyNamespace(xsltTransformContextPtr ctxt ATTRIBUTE_UNUSED, xmlNodePtr elem, xmlNsPtr ns) argument [all...] |
/external/openfst/src/test/ |
H A D | fst_test.h | 64 StateId ns = 0; local 97 ++ns; 110 StateId ns = 0; local 114 ++ns; 116 CHECK_EQ(fst.NumStates(), ns);
|
/external/regex-re2/util/ |
H A D | benchmark.cc | 35 static int64 ns; variable 45 ns += nsec() - t0; 69 ns = 0; 80 ns += nsec() - t0; 105 while(ns < (int)1e9 && n < (int)1e9) { 107 if(ns/n == 0) 110 n = 1e9 / (ns/n); 121 if(ns > 0 && bytes > 0) 122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9)); 131 printf("%s%s\t%8lld\t%10lld ns/o [all...] |
/external/webkit/Tools/android/flex-2.5.4a/ |
H A D | nfa.c | 97 int sym, tsp1, tsp2, anum, ns; local 109 /* for ( ns = firstst[state1]; ns <= lastst[state1]; ++ns ) */ 110 for ( ns = 1; ns <= lastnfa; ++ns ) 112 fprintf( stderr, _( "state # %4d\t" ), ns ); 114 sym = transchar[ns]; 115 tsp1 = trans1[ns]; [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
H A D | NodeTest.java | 110 * @param ns The namespace to be tested for, or {@link #WILD}, or null. 112 public void setNamespace(String ns) argument 114 m_namespace = ns; 569 String ns = dtm.getLocalName(context); 571 return (subPartMatch(ns, m_name)) ? m_score : SCORE_NONE; 642 String ns = dtm.getLocalName(context); 644 return (subPartMatch(ns, m_name)) ? m_score : SCORE_NONE;
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/ |
H A D | openid.php | 213 $ns = preg_quote('http://specs.openid.net/auth/2.0/'); variable 214 if (preg_match('#<Service.*?>(.*)<Type>\s*'.$ns.'(.*?)\s*</Type>(.*)</Service>#s', $content, $m)) { 237 $ns = preg_quote('http://openid.net/signon/1.1'); variable 238 if (preg_match('#<Service.*?>(.*)<Type>\s*'.$ns.'\s*</Type>(.*)</Service>#s', $content, $m)) { 311 $params['openid.ns.sreg'] = 'http://openid.net/extensions/sreg/1.1'; 335 $params['openid.ns.ax'] = 'http://openid.net/srv/ax/1.0'; 350 foreach ($this->aliases as $alias => $ns) { 351 $params['openid.ax.type.' . $alias] = $ns; 394 'openid.ns' => 'http://specs.openid.net/auth/2.0', 457 # We're dealing with an OpenID 2.0 server, so let's set an ns [all...] |
/external/e2fsprogs/misc/ |
H A D | uuidd.c | 239 int i, s, ns, len, num; local 339 ns = accept(s, (struct sockaddr *) &from_addr, &fromlen); 341 if (ns < 0) { 347 len = read(ns, &op, 1); 357 if (read_all(ns, (char *) &num, sizeof(num)) != 4) 431 write_all(ns, (char *) &reply_len, sizeof(reply_len)); 432 write_all(ns, reply_buf, reply_len); 434 close(ns);
|
/external/icu4c/i18n/ |
H A D | dcfmtsym.cpp | 215 NumberingSystem* ns = NumberingSystem::createInstance(loc,status); local 216 if (U_SUCCESS(status) && ns->getRadix() == 10 && !ns->isAlgorithmic()) { 217 nsName = ns->getName(); 218 UnicodeString *DigitString = new UnicodeString(ns->getDescription()); 289 if (ns) { 290 delete ns;
|
H A D | numsys.cpp | 89 NumberingSystem *ns = new NumberingSystem(); local 91 ns->setRadix(radix_in); 92 ns->setDesc(desc_in); 93 ns->setAlgorithmic(isAlgorithmic_in); 94 ns->setName(NULL); 95 return ns; 122 NumberingSystem *ns = new NumberingSystem(); local 123 return ns; 132 NumberingSystem *ns = new NumberingSystem(); local 133 return ns; 178 NumberingSystem* ns = NumberingSystem::createInstance(radix,isAlgorithmic,nsd,status); local [all...] |