/external/clang/test/CodeGenCXX/ |
H A D | debug-info-global.cpp | 6 namespace ns { namespace 10 return ns::cnst + ns::cnst; 20 // CHECK: [[NS]] = !MDNamespace(name: "ns"
|
/external/clang/test/Modules/ |
H A D | merge-template-friend.cpp | 20 ::ns::C<int> c;
|
/external/lldb/test/lang/objc/objc-builtin-types/ |
H A D | main.cpp | 1 namespace ns { namespace 7 ns::id foo = 0;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/ |
H A D | op_times_rep.pass.cpp | 30 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 D | op_divide_rep.pass.cpp | 25 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 D | op_mod_rep.pass.cpp | 25 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 D | p6.cpp | 6 namespace ns { namespace 9 using namespace ns; 13 namespace ns { namespace
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
H A D | op_divide=.pass.cpp | 21 std::chrono::nanoseconds ns(15); 22 ns /= 5; 23 assert(ns.count() == 3);
|
H A D | op_times=.pass.cpp | 21 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 D | p11.cpp | 16 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 D | 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 [all...] |
H A D | p10.cpp | 24 namespace ns { namespace in namespace:test1 28 using ns::foo; 31 namespace ns { namespace in namespace:test1
|
/external/clang/test/SemaTemplate/ |
H A D | 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}}
|
/external/llvm/tools/llvm-cxxdump/ |
H A D | llvm-cxxdump.h | 20 #define LLVM_CXXDUMP_ENUM_ENT(ns, enum) \ 21 { #enum, ns::enum }
|
/external/clang/test/Modules/Inputs/merge-template-friend/ |
H A D | def.h | 1 namespace ns { namespace
|
H A D | friend.h | 1 namespace ns { template <typename T> class C; }; namespace 3 template <typename T> friend class ::ns::C;
|
/external/libutf/ |
H A D | runestrdup.c | 23 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 D | ms-friend-lookup.cpp | 14 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 D | chain-late-anonymous-namespace.cpp | 10 namespace ns {} namespace 16 namespace ns { 38 namespace ns {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
H A D | Pack.java | 17 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 D | Pack.java | 14 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 D | TimeUtilities.java | 64 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 D | literals1.pass.cpp | 43 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 D | p3.cpp | 75 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 D | ExtensionsProvider.java | 38 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
|