Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 1364) sorted by relevance

12345678910>>...55

/external/python/cpython3/PC/layout/
Dmain.py70 def get_lib_layout(ns): argument
76 return ns.include_tests
78 return ns.include_tcltk
80 return ns.include_idle
82 return ns.include_venv
85 return ns.include_tcltk
87 return ns.include_bdist_wininst
90 for dest, src in rglob(ns.source / "Lib", "**/*", _c):
93 if not ns.include_bdist_wininst:
94 src = ns.source / BDIST_WININST_STUB
[all …]
/external/u-boot/drivers/spi/
Datcspi200_spi.c93 static int __atcspi200_spi_set_speed(struct nds_spi_slave *ns) in __atcspi200_spi_set_speed() argument
97 tm = ns->regs->timing; in __atcspi200_spi_set_speed()
100 if(ns->freq >= ns->clock) in __atcspi200_spi_set_speed()
104 if (ns->freq >= ns->clock / (2 * (div + 1))) in __atcspi200_spi_set_speed()
110 ns->regs->timing = tm; in __atcspi200_spi_set_speed()
116 static int __atcspi200_spi_claim_bus(struct nds_spi_slave *ns) in __atcspi200_spi_claim_bus() argument
119 ns->regs->ctrl |= (TXFRST|RXFRST|SPIRST); in __atcspi200_spi_claim_bus()
120 while((ns->regs->ctrl &(TXFRST|RXFRST|SPIRST))&&(ns->to--)) in __atcspi200_spi_claim_bus()
121 if(!ns->to) in __atcspi200_spi_claim_bus()
124 ns->cmd_len = 0; in __atcspi200_spi_claim_bus()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DPack.java26 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() argument
28 for (int i = 0; i < ns.length; ++i) in bigEndianToInt()
30 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
50 public static byte[] intToBigEndian(int[] ns) in intToBigEndian() argument
52 byte[] bs = new byte[4 * ns.length]; in intToBigEndian()
53 intToBigEndian(ns, bs, 0); in intToBigEndian()
57 public static void intToBigEndian(int[] ns, byte[] bs, int off) in intToBigEndian() argument
59 for (int i = 0; i < ns.length; ++i) in intToBigEndian()
61 intToBigEndian(ns[i], bs, off); in intToBigEndian()
73 public static void bigEndianToLong(byte[] bs, int off, long[] ns) in bigEndianToLong() argument
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DPack.java24 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() argument
26 for (int i = 0; i < ns.length; ++i) in bigEndianToInt()
28 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
48 public static byte[] intToBigEndian(int[] ns) in intToBigEndian() argument
50 byte[] bs = new byte[4 * ns.length]; in intToBigEndian()
51 intToBigEndian(ns, bs, 0); in intToBigEndian()
55 public static void intToBigEndian(int[] ns, byte[] bs, int off) in intToBigEndian() argument
57 for (int i = 0; i < ns.length; ++i) in intToBigEndian()
59 intToBigEndian(ns[i], bs, off); in intToBigEndian()
71 public static void bigEndianToLong(byte[] bs, int off, long[] ns) in bigEndianToLong() argument
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Dcmdline.py310 ns = argparse.Namespace(testdir=None, verbose=0, quiet=False,
317 if not hasattr(ns, k):
320 setattr(ns, k, v)
321 if ns.use_resources is None:
322 ns.use_resources = []
327 ns.args = parser.parse_known_args(args=args, namespace=ns)[1]
328 for arg in ns.args:
333 if ns.single and ns.fromfile:
335 if ns.use_mp is not None and ns.trace:
337 if ns.use_mp is not None and ns.findleaks:
[all …]
Dmain.py70 self.ns = None
138 if self.ns.quiet:
144 if fails and not self.ns.pgo:
160 ns = _parse_args(sys.argv[1:], **kwargs)
162 if ns.timeout and not hasattr(faulthandler, 'dump_traceback_later'):
165 ns.timeout = None
167 if ns.threshold is not None and gc is None:
169 ns.threshold = None
171 if ns.findleaks:
181 ns.findleaks = False
[all …]
Druntest.py76 def get_abs_module(ns, test): argument
77 if test.startswith('test.') or ns.testdir:
84 def runtest(ns, test): argument
105 output_on_failure = ns.verbose3
107 use_timeout = (ns.timeout is not None)
109 faulthandler.dump_traceback_later(ns.timeout, exit=True)
111 support.set_match_tests(ns.match_tests)
115 support.junit_xml_list = xml_list = [] if ns.xmlpath else None
116 if ns.failfast:
127 result = runtest_inner(ns, test, display_failure=False)
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/
DPack.java19 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() argument
21 for (int i = 0; i < ns.length; ++i) in bigEndianToInt()
23 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
43 public static byte[] intToBigEndian(int[] ns) in intToBigEndian() argument
45 byte[] bs = new byte[4 * ns.length]; in intToBigEndian()
46 intToBigEndian(ns, bs, 0); in intToBigEndian()
50 public static void intToBigEndian(int[] ns, byte[] bs, int off) in intToBigEndian() argument
52 for (int i = 0; i < ns.length; ++i) in intToBigEndian()
54 intToBigEndian(ns[i], bs, off); in intToBigEndian()
66 public static void bigEndianToLong(byte[] bs, int off, long[] ns) in bigEndianToLong() argument
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPack.java17 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt() argument
19 for (int i = 0; i < ns.length; ++i) in bigEndianToInt()
21 ns[i] = bigEndianToInt(bs, off); in bigEndianToInt()
41 public static byte[] intToBigEndian(int[] ns) in intToBigEndian() argument
43 byte[] bs = new byte[4 * ns.length]; in intToBigEndian()
44 intToBigEndian(ns, bs, 0); in intToBigEndian()
48 public static void intToBigEndian(int[] ns, byte[] bs, int off) in intToBigEndian() argument
50 for (int i = 0; i < ns.length; ++i) in intToBigEndian()
52 intToBigEndian(ns[i], bs, off); in intToBigEndian()
64 public static void bigEndianToLong(byte[] bs, int off, long[] ns) in bigEndianToLong() argument
[all …]
/external/dng_sdk/source/
Ddng_xmp.h91 bool Exists (const char *ns,
94 bool HasNameSpace (const char *ns) const;
98 const char *ns = 0,
101 void Remove (const char *ns,
104 void RemoveProperties (const char *ns);
106 void RemoveEmptyStringOrArray (const char *ns,
109 void RemoveEmptyStringsAndArrays (const char *ns = 0);
111 void Set (const char *ns,
115 bool GetString (const char *ns,
119 void SetString (const char *ns,
[all …]
Ddng_xmp_sdk.h59 typedef bool (IteratePathsCallback) (const char *ns,
101 bool Exists (const char *ns,
104 void AppendArrayItem (const char *ns,
110 int32 CountArrayItems (const char *ns,
113 bool HasNameSpace (const char *ns) const;
115 void Remove (const char *ns,
118 void RemoveProperties (const char *ns);
120 bool IsEmptyString (const char *ns,
123 bool IsEmptyArray (const char *ns,
126 void ComposeArrayItemPath (const char *ns,
[all …]
Ddng_xmp_sdk.cpp495 void dng_xmp_sdk::AppendArrayItem (const char *ns, in AppendArrayItem() argument
507 fPrivate->fMeta->AppendArrayItem (ns, in AppendArrayItem()
522 int32 dng_xmp_sdk::CountArrayItems (const char *ns, in CountArrayItems() argument
532 return fPrivate->fMeta->CountArrayItems (ns, path); in CountArrayItems()
546 bool dng_xmp_sdk::Exists (const char *ns, in Exists() argument
556 return fPrivate->fMeta->DoesPropertyExist (ns, path); in Exists()
575 bool dng_xmp_sdk::HasNameSpace (const char *ns) const in HasNameSpace()
586 SXMPIterator iter (*fPrivate->fMeta, ns); in HasNameSpace()
613 void dng_xmp_sdk::Remove (const char *ns, in Remove() argument
623 fPrivate->fMeta->DeleteProperty (ns, path); in Remove()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceRegList.h24 #define REGLIST1(ns, r0) \ argument
25 { ns::Reg_##r0 }
26 #define REGLIST2(ns, r0, r1) \ argument
27 { ns::Reg_##r0, ns::Reg_##r1 }
28 #define REGLIST3(ns, r0, r1, r2) \ argument
29 { ns::Reg_##r0, ns::Reg_##r1, ns::Reg_##r2 }
30 #define REGLIST4(ns, r0, r1, r2, r3) \ argument
31 { ns::Reg_##r0, ns::Reg_##r1, ns::Reg_##r2, ns::Reg_##r3 }
32 #define REGLIST7(ns, r0, r1, r2, r3, r4, r5, r6) \ argument
34 ns::Reg_##r0, ns::Reg_##r1, ns::Reg_##r2, ns::Reg_##r3, ns::Reg_##r4, \
[all …]
/external/google-benchmark/docs/
Dtools.md41 BM_memcpy/8 36 ns 36 ns 19101577 211.669MB/s
42 BM_memcpy/64 76 ns 76 ns 9412571 800.199MB/s
43 BM_memcpy/512 84 ns 84 ns 8249070 5.64771GB/s
44 BM_memcpy/1024 116 ns 116 ns 6181763 8.19505GB/s
45 BM_memcpy/8192 643 ns 643 ns 1062855 11.8636GB/s
46 BM_copy/8 222 ns 222 ns 3137987 34.3772MB/s
47 BM_copy/64 1608 ns 1608 ns 432758 37.9501MB/s
48 BM_copy/512 12589 ns 12589 ns 54806 38.7867MB/s
49 BM_copy/1024 25169 ns 25169 ns 27713 38.8003MB/s
50 BM_copy/8192 201165 ns 201112 ns 3486 38.8466MB/s
[all …]
/external/libcxx/utils/google-benchmark/docs/
Dtools.md41 BM_memcpy/8 36 ns 36 ns 19101577 211.669MB/s
42 BM_memcpy/64 76 ns 76 ns 9412571 800.199MB/s
43 BM_memcpy/512 84 ns 84 ns 8249070 5.64771GB/s
44 BM_memcpy/1024 116 ns 116 ns 6181763 8.19505GB/s
45 BM_memcpy/8192 643 ns 643 ns 1062855 11.8636GB/s
46 BM_copy/8 222 ns 222 ns 3137987 34.3772MB/s
47 BM_copy/64 1608 ns 1608 ns 432758 37.9501MB/s
48 BM_copy/512 12589 ns 12589 ns 54806 38.7867MB/s
49 BM_copy/1024 25169 ns 25169 ns 27713 38.8003MB/s
50 BM_copy/8192 201165 ns 201112 ns 3486 38.8466MB/s
[all …]
/external/jemalloc_new/src/
Dnstime.c12 nstime_init(nstime_t *time, uint64_t ns) { in nstime_init() argument
13 time->ns = ns; in nstime_init()
18 time->ns = sec * BILLION + nsec; in nstime_init2()
23 return time->ns; in nstime_ns()
28 return time->ns / MILLION; in nstime_msec()
33 return time->ns / BILLION; in nstime_sec()
38 return time->ns % BILLION; in nstime_nsec()
48 return (a->ns > b->ns) - (a->ns < b->ns); in nstime_compare()
53 assert(UINT64_MAX - time->ns >= addend->ns); in nstime_add()
55 time->ns += addend->ns; in nstime_add()
[all …]
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
Dp11.cpp16 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace
18 …using ns::foo; // expected-error {{target of using declaration conflicts with declaration already …
22 namespace ns { void foo(); } // expected-note {{target of using declaration}} namespace
23 using ns::foo; //expected-note {{using declaration}}
28 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace
31 …using ns::foo; // expected-error {{target of using declaration conflicts with declaration already … in test0()
35 using ns::foo; //expected-note {{using declaration}} in test1()
41 namespace ns { void foo(); } // expected-note 2 {{target of using declaration}} namespace
45 …using ns::foo; // expected-error {{target of using declaration conflicts with declaration already … in test()
51 using ns::foo; //expected-note {{using declaration}} in test()
[all …]
/external/ltp/testcases/network/
D.gitignore28 /stress/ns-tools/ns-icmp_redirector
29 /stress/ns-tools/ns-icmpv4_sender
30 /stress/ns-tools/ns-icmpv6_sender
31 /stress/ns-tools/ns-igmp_querier
32 /stress/ns-tools/ns-mcast_join
33 /stress/ns-tools/ns-mcast_receiver
34 /stress/ns-tools/ns-tcpclient
35 /stress/ns-tools/ns-tcpserver
36 /stress/ns-tools/ns-udpclient
37 /stress/ns-tools/ns-udpsender
[all …]
/external/python/cpython3/Objects/
Dnamespaceobject.c29 _PyNamespaceObject *ns = (_PyNamespaceObject *)self; in namespace_new() local
30 ns->ns_dict = PyDict_New(); in namespace_new()
31 if (ns->ns_dict == NULL) { in namespace_new()
32 Py_DECREF(ns); in namespace_new()
41 namespace_init(_PyNamespaceObject *ns, PyObject *args, PyObject *kwds) in namespace_init() argument
53 return PyDict_Update(ns->ns_dict, kwds); in namespace_init()
58 namespace_dealloc(_PyNamespaceObject *ns) in namespace_dealloc() argument
60 PyObject_GC_UnTrack(ns); in namespace_dealloc()
61 Py_CLEAR(ns->ns_dict); in namespace_dealloc()
62 Py_TYPE(ns)->tp_free((PyObject *)ns); in namespace_dealloc()
[all …]
/external/python/cpython3/Lib/test/
Dtest_regrtest.py60 ns = libregrtest._parse_args(['--timeout', '4.2'])
61 self.assertEqual(ns.timeout, 4.2)
66 ns = libregrtest._parse_args(['--wait'])
67 self.assertTrue(ns.wait)
70 ns = libregrtest._parse_args(['--worker-args', '[[], {}]'])
71 self.assertEqual(ns.worker_args, '[[], {}]')
77 ns = libregrtest._parse_args([opt, 'foo'])
78 self.assertEqual(ns.start, 'foo')
82 ns = libregrtest._parse_args(['-v'])
83 self.assertEqual(ns.verbose, 1)
[all …]
/external/jemalloc/src/
Dnstime.c6 nstime_init(nstime_t *time, uint64_t ns) in nstime_init() argument
9 time->ns = ns; in nstime_init()
16 time->ns = sec * BILLION + nsec; in nstime_init2()
23 return (time->ns); in nstime_ns()
30 return (time->ns / BILLION); in nstime_sec()
37 return (time->ns % BILLION); in nstime_nsec()
51 return ((a->ns > b->ns) - (a->ns < b->ns)); in nstime_compare()
58 assert(UINT64_MAX - time->ns >= addend->ns); in nstime_add()
60 time->ns += addend->ns; in nstime_add()
69 time->ns -= subtrahend->ns; in nstime_subtract()
[all …]
/external/u-boot/arch/arm/dts/
Domap-gpmc-smsc911x.dtsi30 gpmc,cs-on-ns = <5>;
31 gpmc,cs-rd-off-ns = <150>;
32 gpmc,cs-wr-off-ns = <150>;
33 gpmc,adv-on-ns = <0>;
34 gpmc,adv-rd-off-ns = <15>;
35 gpmc,adv-wr-off-ns = <40>;
36 gpmc,oe-on-ns = <45>;
37 gpmc,oe-off-ns = <140>;
38 gpmc,we-on-ns = <45>;
39 gpmc,we-off-ns = <140>;
[all …]
Domap-gpmc-smsc9221.dtsi32 gpmc,cs-on-ns = <0>;
33 gpmc,cs-rd-off-ns = <42>;
34 gpmc,cs-wr-off-ns = <36>;
35 gpmc,adv-on-ns = <6>;
36 gpmc,adv-rd-off-ns = <12>;
37 gpmc,adv-wr-off-ns = <12>;
38 gpmc,oe-on-ns = <0>;
39 gpmc,oe-off-ns = <42>;
40 gpmc,we-on-ns = <0>;
41 gpmc,we-off-ns = <36>;
[all …]
/external/libxml2/
Dc14n.c79 xmlNsPtr ns,
87 xmlNsPtr ns);
89 xmlNsPtr ns,
261 xmlNs ns; in xmlC14NIsNodeInNodeset() local
263 memcpy(&ns, node, sizeof(ns)); in xmlC14NIsNodeInNodeset()
267 ns.next = (xmlNsPtr)parent->parent; in xmlC14NIsNodeInNodeset()
269 ns.next = (xmlNsPtr)parent; in xmlC14NIsNodeInNodeset()
276 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns)); in xmlC14NIsNodeInNodeset()
315 xmlC14NVisibleNsStackAdd(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlNodePtr node) { in xmlC14NVisibleNsStackAdd() argument
354 cur->nsTab[cur->nsCurEnd] = ns; in xmlC14NVisibleNsStackAdd()
[all …]
/external/bcc/tests/
Dwrapper.sh.in14 ns=$name
19 sudo ip netns delete $ns
26 sudo ip netns add $ns
27 sudo ip link add $ns.in type veth peer name $ns.out
28 sudo ip link set $ns.in netns $ns
29 sudo ip netns exec $ns ip link set $ns.in name eth0
30 sudo ip netns exec $ns ip addr add dev eth0 172.16.1.2/24
31 sudo ip netns exec $ns ip link set eth0 up
32 sudo ip netns exec $ns ethtool -K eth0 tx off
33 sudo ip addr add dev $ns.out 172.16.1.1/24
[all …]

12345678910>>...55