Searched refs:ns (Results 1 - 25 of 346) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Ddebug-info-global.cpp6 namespace ns { namespace
10 return ns::cnst + ns::cnst;
20 // CHECK: [[NS]] = !MDNamespace(name: "ns"
/external/clang/test/Modules/
H A Dmerge-template-friend.cpp20 ::ns::C<int> c;
/external/lldb/test/lang/objc/objc-builtin-types/
H A Dmain.cpp1 namespace ns { namespace
7 ns::id foo = 0;
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
H A Dop_times_rep.pass.cpp30 std::chrono::nanoseconds ns(3);
31 ns = ns * 5;
32 assert(ns.count() == 15);
33 ns = 6 * ns;
34 assert(ns.count() == 90);
38 constexpr std::chrono::nanoseconds ns(3);
39 constexpr std::chrono::nanoseconds ns2 = ns * 5;
41 constexpr std::chrono::nanoseconds ns3 = 6 * ns;
[all...]
H A Dop_divide_rep.pass.cpp25 std::chrono::nanoseconds ns(15);
26 ns = ns / 5;
27 assert(ns.count() == 3);
31 constexpr std::chrono::nanoseconds ns(15);
32 constexpr std::chrono::nanoseconds ns2 = ns / 5;
H A Dop_mod_rep.pass.cpp25 std::chrono::nanoseconds ns(15);
26 ns = ns % 6;
27 assert(ns.count() == 3);
31 constexpr std::chrono::nanoseconds ns(15);
32 constexpr std::chrono::nanoseconds ns2 = ns % 6;
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/
H A Dp6.cpp6 namespace ns { namespace
9 using namespace ns;
13 namespace ns { namespace
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
H A Dop_divide=.pass.cpp21 std::chrono::nanoseconds ns(15);
22 ns /= 5;
23 assert(ns.count() == 3);
H A Dop_times=.pass.cpp21 std::chrono::nanoseconds ns(3);
22 ns *= 5;
23 assert(ns.count() == 15);
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp11.cpp16 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace in namespace:test0
18 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
22 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace in namespace:test1
23 using ns::foo; //expected-note {{using declaration}}
28 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace in namespace:test2
31 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
35 using ns::foo; //expected-note {{using declaration}}
41 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace in namespace:test3
45 using ns::foo; // expected-error {{target of using declaration conflicts with declaration already in scope}}
51 using ns
58 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace in namespace:test4
76 namespace ns { void foo(int); } namespace in namespace:test5
96 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace in namespace:test6
98 namespace ns { namespace in namespace:test6
[all...]
H A Dp8.cpp8 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
[all...]
H A Dp10.cpp24 namespace ns { namespace in namespace:test1
28 using ns::foo;
31 namespace ns { namespace in namespace:test1
/external/clang/test/SemaTemplate/
H A Ddependent-names-no-std.cpp7 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}}
/external/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.h20 #define LLVM_CXXDUMP_ENUM_ENT(ns, enum) \
21 { #enum, ns::enum }
/external/clang/test/Modules/Inputs/merge-template-friend/
H A Ddef.h1 namespace ns { namespace
H A Dfriend.h1 namespace ns { template <typename T> class C; }; namespace
3 template <typename T> friend class ::ns::C;
/external/libutf/
H A Drunestrdup.c23 Rune *ns; local
25 ns = (Rune*)malloc(sizeof(Rune)*(runestrlen(s) + 1));
26 if(ns == 0)
29 return runestrcpy(ns, s);
/external/clang/test/SemaCXX/
H A Dms-friend-lookup.cpp14 namespace ns { namespace in namespace:enclosing_friend_decl
23 static void f() { ns::A x; }
29 namespace ns { namespace in namespace:enclosing_friend_qualified
37 static void f() { ns::A x; }
43 namespace ns { namespace in namespace:enclosing_friend_no_tag
51 static void f() { ns::A x; }
57 namespace ns { namespace in namespace:enclosing_friend_func
59 // Amusingly, in MSVC, this declares ns::f(), and doesn't find the outer f().
65 void f() { ns::A x; } // expected-error {{calling a protected constructor of class 'enclosing_friend_func::ns
[all...]
/external/clang/test/PCH/
H A Dchain-late-anonymous-namespace.cpp10 namespace ns {} namespace
16 namespace ns {
38 namespace ns {
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
H A DPack.java17 public static void bigEndianToInt(byte[] bs, int off, int[] ns) argument
19 for (int i = 0; i < ns.length; ++i)
21 ns[i] = bigEndianToInt(bs, off);
41 public static byte[] intToBigEndian(int[] ns) argument
43 byte[] bs = new byte[4 * ns.length];
44 intToBigEndian(ns, bs, 0);
48 public static void intToBigEndian(int[] ns, byte[] bs, int off) argument
50 for (int i = 0; i < ns.length; ++i)
52 intToBigEndian(ns[i], bs, off);
64 public static void bigEndianToLong(byte[] bs, int off, long[] ns) argument
86 longToBigEndian(long[] ns) argument
93 longToBigEndian(long[] ns, byte[] bs, int off) argument
111 littleEndianToInt(byte[] bs, int off, int[] ns) argument
120 littleEndianToInt(byte[] bs, int bOff, int[] ns, int nOff, int count) argument
144 intToLittleEndian(int[] ns) argument
151 intToLittleEndian(int[] ns, byte[] bs, int off) argument
167 littleEndianToLong(byte[] bs, int off, long[] ns) argument
189 longToLittleEndian(long[] ns) argument
196 longToLittleEndian(long[] ns, byte[] bs, int off) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DPack.java14 public static void bigEndianToInt(byte[] bs, int off, int[] ns) argument
16 for (int i = 0; i < ns.length; ++i)
18 ns[i] = bigEndianToInt(bs, off);
38 public static byte[] intToBigEndian(int[] ns) argument
40 byte[] bs = new byte[4 * ns.length];
41 intToBigEndian(ns, bs, 0);
45 public static void intToBigEndian(int[] ns, byte[] bs, int off) argument
47 for (int i = 0; i < ns.length; ++i)
49 intToBigEndian(ns[i], bs, off);
61 public static void bigEndianToLong(byte[] bs, int off, long[] ns) argument
83 longToBigEndian(long[] ns) argument
90 longToBigEndian(long[] ns, byte[] bs, int off) argument
108 littleEndianToInt(byte[] bs, int off, int[] ns) argument
117 littleEndianToInt(byte[] bs, int bOff, int[] ns, int nOff, int count) argument
141 intToLittleEndian(int[] ns) argument
148 intToLittleEndian(int[] ns, byte[] bs, int off) argument
164 littleEndianToLong(byte[] bs, int off, long[] ns) argument
186 longToLittleEndian(long[] ns) argument
193 longToLittleEndian(long[] ns, byte[] bs, int off) argument
[all...]
/external/vogar/src/vogar/util/
H A DTimeUtilities.java64 public static String nsToString(long ns) { argument
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));
111 nsToS(long ns) argument
[all...]
/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/
H A Dliterals1.pass.cpp43 nanoseconds ns = 645ns; local
44 assert ( ns == nanoseconds(645));
45 auto ns2 = 645.ns;
46 assert ( ns == ns2 );
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/
H A Dp3.cpp75 namespace ns { namespace in namespace:test5
83 A::foo(); // expected-error {{'foo' is a private member of 'test5::ns::A'}}
88 ns::A::foo(); // expected-error {{'foo' is a private member of 'test5::ns::A'}}
98 namespace ns { namespace in namespace:test6
113 ns::B::foo(); // expected-error {{'foo' is a private member of 'test6::ns::B'}}
121 namespace ns { namespace in namespace:test7a
125 using namespace ns;
131 class ns
138 namespace ns { namespace in namespace:test7b
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/
H A DExtensionsProvider.java38 public boolean functionAvailable(String ns, String funcName) argument
44 public boolean elementAvailable(String ns, String elemName) argument
50 public Object extFunction(String ns, String funcName, argument

Completed in 905 milliseconds

1234567891011>>