Searched refs:NS (Results 1 - 25 of 55) sorted by relevance

123

/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/
H A Dp1.cpp7 namespace NS { namespace
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
H A Dp3.cpp5 namespace NS { namespace in namespace:Class
8 using namespace NS;
20 namespace NS { namespace in namespace:Alias
23 using namespace NS;
25 using C = NS::C; // ok, same type
/external/clang/test/SemaCXX/
H A Dfor-range-no-std.cpp16 namespace NS { namespace
28 NS::iter begin(NS::NoADL); // expected-note {{not viable}}
29 NS::iter end(NS::NoADL);
36 for (int b : NS::ADL()) {} // ok
37 for (int b : NS::NoADL()) {} // expected-error {{no matching function for call to 'begin'}} expected-note {{range has type}}
H A Dwarn-missing-prototypes.cpp5 namespace NS { namespace
H A Delaborated-type-specifier.cpp19 namespace NS { namespace
28 void test_X_elab(NS::X x) {
30 x.test_elab2(s4); // expected-error{{cannot initialize a parameter of type 'NS::S4 *' with an lvalue of type 'struct S4 *'}}
33 namespace NS { namespace
/external/clang/test/Index/
H A Dfile-refs.cpp1 namespace NS { namespace
9 void NS::C::m() {
15 NS::C c1();
16 NS::C c2 = NS::C();
52 // CHECK: NamespaceRef=NS:1:11
53 // CHECK-NEXT: Namespace=NS:1:11 (Definition) =[1:11 - 1:13]
54 // CHECK-NEXT: NamespaceRef=NS:1:11 =[9:6 - 9:8]
55 // CHECK-NEXT: NamespaceRef=NS:1:11 =[15:3 - 15:5]
56 // CHECK-NEXT: NamespaceRef=NS
[all...]
/external/expat/lib/
H A Dxmltok_ns.c9 NS(XmlGetUtf8InternalEncoding)(void)
15 NS(XmlGetUtf16InternalEncoding)(void)
29 static const ENCODING * const NS(encodings)[] = {
40 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end,
43 return initScan(NS(encodings), (const INIT_ENCODING *)enc,
48 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end,
51 return initScan(NS(encodings), (const INIT_ENCODING *)enc,
56 NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr,
63 p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog);
64 p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanConten
[all...]
/external/clang/test/CodeGenCXX/
H A Dpredefined-expr.cpp4 // CHECK: private unnamed_addr constant [26 x i8] c"void NS::externFunction()\00"
7 // CHECK: private unnamed_addr constant [60 x i8] c"void NS::ClassTemplate<NS::Base *>::classTemplateFunction()\00"
8 // CHECK: private unnamed_addr constant [53 x i8] c"void NS::ClassTemplate<int>::classTemplateFunction()\00"
11 // CHECK: private unnamed_addr constant [45 x i8] c"void NS::Base::functionTemplate1(NS::Base *)\00"
12 // CHECK: private unnamed_addr constant [38 x i8] c"void NS::Base::functionTemplate1(int)\00"
15 // CHECK: private unnamed_addr constant [83 x i8] c"void NS::ContainerForAnonymousRecords::<anonymous union>::anonymousUnionFunction()\00"
18 // CHECK: private unnamed_addr constant [85 x i8] c"void NS::ContainerForAnonymousRecords::<anonymous struct>::anonymousStructFunction()\00"
21 // CHECK: private unnamed_addr constant [83 x i8] c"void NS
105 namespace NS { namespace
[all...]
H A Dmangle-subst.cpp50 namespace NS { namespace
62 namespace NS { namespace
66 namespace NS { namespace
H A Dmangle.cpp100 namespace NS { namespace
115 NS::ft1<int>(1);
163 namespace NS { namespace
168 template bool NS::operator==(const ::A<char>&, const ::A<char>&);
H A Dvisibility.cpp79 namespace NS HIDDEN {
80 // f is in NS which is hidden.
85 namespace NS { namespace in namespace:Test5
86 // g is in NS, but this NS decl is not hidden.
/external/clang/test/PCH/
H A Dchain-friend-instantiation.cpp8 namespace NS { namespace
20 class TClass: public NS::TBaseClass<T>
27 namespace NS { namespace
/external/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/
H A Dp1.cpp8 namespace NS { namespace
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
H A Dp1.cpp56 for (A NS:A()) { // expected-error {{no viable conversion from 'int' to 'A'}}
182 namespace NS { namespace
184 int *begin(ADL); // expected-note {{no known conversion from 'NS::NoADL' to 'NS::ADL'}}
189 int *begin(NS::NoADL);
190 int *end(NS::NoADL);
197 for (auto u : NS::ADL()) {
199 for (auto u : NS::NoADL()) { // expected-error {{no matching function for call to 'begin'}} expected-note {{range has type}}
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/
H A Dp2.cpp90 namespace NS { namespace in namespace:test5
94 void bar(NS::A& a);
/external/srec/srec/include/
H A Dcomp_stats.h128 #define print_cs_clock1( CLK, NS,FP,PR,IN) print_cs_clock( CLK, NS,FP,PR,IN)
139 #define print_cs_clock1( CLK, NS,FP,PR,IN)
/external/clang/test/CXX/class.access/class.friend/
H A Dp1.cpp292 namespace NS { namespace in namespace:test10
301 NS::bar->foo();
305 NS::bar->foo(); // expected-error {{private member}}
/external/chromium/base/mac/
H A Dmac_util.h146 CF_TO_NS_CAST_DECL(CF##name, NS##name) \
/external/clang/lib/Lex/
H A DPragma.cpp700 PragmaNamespace *NS = PragmaHandlers; local
707 NS = Existing->getIfNamespace();
708 assert(NS && "Invalid namespace, registered as a regular pragma handler!");
711 NS->RemovePragmaHandler(Handler);
715 if (NS != PragmaHandlers && NS->IsEmpty())
716 PragmaHandlers->RemovePragmaHandler(NS);
844 explicit PragmaDiagnosticHandler(const char *NS) : argument
845 PragmaHandler("diagnostic"), Namespace(NS) {}
/external/libvpx/vp8/common/x86/
H A Dboolcoder.cxx339 struct NS : bool_coder_namespace {
351 return new bool_coder_spec_float( Ebits, Mbits, NS::r( p), p? p->prec : 12);
356 return new bool_coder_spec_explicit_table( m, NS::r( p), p? p->prec : 16);
360 return new bool_coder_spec_exponential_table( x, NS::r( p), p? p->prec : 16);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h180 void addSourceLine(DIE *Die, DINameSpace NS);
232 DIE *getOrCreateNameSpace(DINameSpace NS);
H A DDwarfCompileUnit.cpp182 void CompileUnit::addSourceLine(DIE *Die, DINameSpace NS) { argument
184 if (!NS.Verify())
187 unsigned Line = NS.getLineNumber();
190 StringRef FN = NS.getFilename();
192 unsigned FileID = DD->GetOrCreateSourceID(FN, NS.getDirectory());
893 DIE *CompileUnit::getOrCreateNameSpace(DINameSpace NS) { argument
894 DIE *NDie = getDIE(NS);
898 insertDIE(NS, NDie);
899 if (!NS.getName().empty())
900 addString(NDie, dwarf::DW_AT_name, dwarf::DW_FORM_string, NS
[all...]
/external/llvm/tools/opt/
H A Dopt.cpp356 DINameSpace NS(Context);
357 if (!NS.getName().empty()) {
358 getContextName(NS.getContext(), N);
359 N = N + NS.getName().str() + "::";
/external/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp41 static bool InNamespace(const Decl *D, StringRef NS) { argument
46 if (!II || !II->getName().equals(NS))
/external/clang/include/clang/AST/
H A DDeclBase.h524 bool isInIdentifierNamespace(unsigned NS) const {
525 return getIdentifierNamespace() & NS;
532 static bool isTagIdentifierNamespace(unsigned NS) { argument
534 return (NS & ~IDNS_TagFriend) == (IDNS_Tag | IDNS_Type);
1003 /// the context NS, as defined in C++0x [namespace.def]p9. If either context
1008 bool InEnclosingNamespaceSetOf(const DeclContext *NS) const;

Completed in 429 milliseconds

123