/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.duration/time.duration.nonmember/ |
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...] |
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;
|
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/ |
p6.cpp | 6 namespace ns { namespace 9 using namespace ns; 13 namespace ns { namespace
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_divide=.pass.cpp | 21 std::chrono::nanoseconds ns(15); 22 ns /= 5; 23 assert(ns.count() == 3);
|
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/ |
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 74 namespace ns { void foo(int); } 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 | 24 namespace ns { namespace in namespace:test1 28 using ns::foo; 31 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/smack/src/org/jivesoftware/smackx/pubsub/packet/ |
PubSubNamespace.java | 38 String ns = "http://jabber.org/protocol/pubsub";
local 41 ns += '#' + fragment;
43 return ns;
51 public static PubSubNamespace valueOfFromXmlns(String ns)
53 int index = ns.lastIndexOf('#');
57 String suffix = ns.substring(ns.lastIndexOf('#')+1);
|
PubSub.java | 29 private PubSubNamespace ns = PubSubNamespace.BASIC;
field in class:PubSub 52 return ns.getXmlns();
60 * @param ns - The new value for the namespace.
62 public void setPubSubNamespace(PubSubNamespace ns)
64 this.ns = ns;
80 return ns;
|
/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 {
|
/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...] |
/frameworks/base/media/java/android/media/audiofx/ |
NoiseSuppressor.java | 22 * Noise Suppressor (NS). 23 * <p>Noise suppression (NS) is an audio pre-processing which removes background noise from the 27 * <p>NS is mostly used by voice communication applications (voice chat, video conferencing, 29 * <p>An application creates a NoiseSuppressor object to instantiate and control an NS 35 * <p>On some devices, NS can be inserted by default in the capture path by the platform 37 * call NoiseSuppressor.getEnable() after creating the NS to check the default NS activation 64 NoiseSuppressor ns = null; local 66 ns = new NoiseSuppressor(audioSession); 68 Log.w(TAG, "not implemented on this device "+ns); [all...] |
/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...] |
/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
Pack.java | 14 public static void bigEndianToInt(byte[] bs, int off, int[] ns) 16 for (int i = 0; i < ns.length; ++i) 18 ns[i] = bigEndianToInt(bs, off); 31 public static void intToBigEndian(int[] ns, byte[] bs, int off) 33 for (int i = 0; i < ns.length; ++i) 35 intToBigEndian(ns[i], bs, off); 62 public static void littleEndianToInt(byte[] bs, int off, int[] ns) 64 for (int i = 0; i < ns.length; ++i) 66 ns[i] = littleEndianToInt(bs, off); 79 public static void intToLittleEndian(int[] ns, byte[] bs, int off [all...] |
/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/smack/src/org/jivesoftware/smackx/pubsub/ |
SimplePayload.java | 27 private String ns;
field in class:SimplePayload 42 ns = namespace;
52 return ns;
|