Home
last modified time | relevance | path

Searched refs:partial (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/external/python/cpython2/Lib/test/
Dtest_functools.py41 partial = functools.partial variable in TestPartial
44 p = self.partial(capture, 1, 2, a=10, b=20)
47 p = self.partial(map, lambda x: x*10)
51 p = self.partial(capture, 1, 2, a=10, b=20)
61 p = self.partial(hex)
70 self.assertRaises(TypeError, self.partial) # need at least a func arg
72 self.partial(2)()
83 p = self.partial(func, a=5)
92 p = self.partial(capture)
95 p = self.partial(capture, 1, 2)
[all …]
/external/python/cpython2/Lib/idlelib/
DFormatParagraph.py129 partial = indent1
137 if len((partial + word).expandtabs()) > limit and \
138 partial != indent1:
139 new.append(partial.rstrip())
140 partial = indent2
141 partial = partial + word + " "
143 partial = partial + " "
145 new.append(partial.rstrip())
/external/fio/crc/
Dsha3.c96 sctx->partial = 0; in fio_sha3_init()
129 if ((sctx->partial + len) > (sctx->rsiz - 1)) { in fio_sha3_update()
130 if (sctx->partial) { in fio_sha3_update()
131 done = -sctx->partial; in fio_sha3_update()
132 memcpy(sctx->buf + sctx->partial, data, in fio_sha3_update()
148 sctx->partial = 0; in fio_sha3_update()
150 memcpy(sctx->buf + sctx->partial, src, len - done); in fio_sha3_update()
151 sctx->partial += (len - done); in fio_sha3_update()
158 unsigned int i, inlen = sctx->partial; in fio_sha3_final()
Dsha256.c246 unsigned int partial, done; in fio_sha256_update() local
249 partial = sctx->count & 0x3f; in fio_sha256_update()
254 if ((partial + len) > 63) { in fio_sha256_update()
255 if (partial) { in fio_sha256_update()
256 done = -partial; in fio_sha256_update()
257 memcpy(sctx->buf + partial, data, done + 64); in fio_sha256_update()
267 partial = 0; in fio_sha256_update()
269 memcpy(sctx->buf + partial, src, len - done); in fio_sha256_update()
/external/clang/test/SemaObjC/
Dproperty-deprecated-warning.m12 …erty 'partialPtarget' is declared partial here}} expected-note@+2 {{'partialPtarget' has been expl…
27 …rty 'partialTarget' is declared partial here}} expected-note@+2 {{'setPartialTarget:' has been exp…
43partial here}} expected-note@+2 2 {{'partial_dep_target' has been explicitly marked partial here}}…
60 …g@+2 {{'partial_dep_target' is partial: introduced in iOS 5.0}} expected-warning@+2 {{'setPartial_…
85 …// expected-warning@+2 {{'setPartialTarget:' is partial: introduced in iOS 5.0}} expected-note@+2 …
89 …g@+2 {{'partial_dep_target' is partial: introduced in iOS 5.0}} expected-warning@+2 {{'setPartial_…
103 …rty 'partialEnabled' is declared partial here}} expected-note@+2 {{'partialIsEnabled' has been exp…
108 …'partialDelegate' is declared partial here}} expected-note@+2 {{'partialSetNewDelegate:' has been …
118 …ing@+2 {{'partialIsEnabled' is partial: introduced in iOS 5.0}} expected-warning@+3 {{'partialSetN…
141 // expected-warning@+2 {{'partialPtarget' is partial: introduced in iOS 5.0}} expected-note@+2 {{ex…
Dattr-availability.m8 // expected-note@+2 2 {{'partial_proto_method' has been explicitly marked partial here}}
16 // expected-note@+2 {{'partialMethod' has been explicitly marked partial here}}
49 …// expected-warning@+2 {{'partialMethod' is partial: introduced in macOS 10.8}} expected-note@+2 {…
54 …// expected-warning@+2 {{'partial_proto_method' is partial: introduced in macOS 10.8}} expected-no…
58 …// expected-warning@+2 {{'partial_proto_method' is partial: introduced in macOS 10.8}} expected-no…
143 // expected-note@+2 {{'ipartialMethod2' has been explicitly marked partial here}}
148 // expected-note@+2 {{'ipartialMethod2' has been explicitly marked partial here}}
166 …// expected-warning@+2 {{'ipartialMethod2' is partial: introduced in macOS 10.8}} expected-note@+2…
173 …// expected-warning@+2 {{'ipartialMethod2' is partial: introduced in macOS 10.8}} expected-note@+2…
180 // expected-note@+2 {{'PartialI2' has been explicitly marked partial here}}
[all …]
/external/python/cpython2/Doc/library/
Dfunctools.rst77 .. function:: partial(func[,*args][, **keywords])
79 Return a new :class:`partial` object which when called will behave like *func*
85 def partial(func, *args, **keywords):
95 The :func:`partial` is used for partial function application which "freezes"
97 with a simplified signature. For example, :func:`partial` can be used to create
101 >>> from functools import partial
102 >>> basetwo = partial(int, base=2)
131 ``partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated)``.
162 :class:`partial` Objects
165 :class:`partial` objects are callable objects created by :func:`partial`. They
[all …]
Dxml.dom.pulldom.rst1 :mod:`xml.dom.pulldom` --- Support for building partial DOM trees
5 :synopsis: Support for building partial DOM trees from SAX events.
/external/llvm/test/Transforms/LoopVectorize/X86/
Dmetadata-enable.ll1 ; RUN: opt < %s -mcpu=corei7 -O1 -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O1
2 ; RUN: opt < %s -mcpu=corei7 -O2 -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O2
3 ; RUN: opt < %s -mcpu=corei7 -O3 -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=O3
4 ; RUN: opt < %s -mcpu=corei7 -Os -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=Os
5 ; RUN: opt < %s -mcpu=corei7 -Oz -S -unroll-allow-partial=0 | FileCheck %s --check-prefix=Oz
6 ; RUN: opt < %s -mcpu=corei7 -O1 -vectorize-loops -S -unroll-allow-partial=0 | FileCheck %s --check…
7 ; RUN: opt < %s -mcpu=corei7 -Oz -vectorize-loops -S -unroll-allow-partial=0 | FileCheck %s --check…
8 ; RUN: opt < %s -mcpu=corei7 -O1 -loop-vectorize -S -unroll-allow-partial=0 | FileCheck %s --check-…
9 ; RUN: opt < %s -mcpu=corei7 -Oz -loop-vectorize -S -unroll-allow-partial=0 | FileCheck %s --check-…
10 ; RUN: opt < %s -mcpu=corei7 -O3 -disable-loop-vectorization -S -unroll-allow-partial=0 | FileCheck…
/external/python/cpython2/Lib/
Dquopri.py133 partial = 0; n = n-1
138 partial = 1
145 elif i+1 == n and not partial:
146 partial = 1; break
153 if not partial:
Dfunctools.py10 from _functools import partial, reduce
50 return partial(update_wrapper, wrapped=wrapped,
/external/llvm/test/Transforms/Inline/
DPR4909.ll1 ; RUN: opt < %s -partial-inliner -disable-output
2 ; RUN: opt < %s -passes=partial-inliner -disable-output
/external/pdfium/testing/resources/
Dbug_113.in12 % partial object
18 % duplicate definition of partial object
/external/libcxx/include/
D__std_stream143 case codecvt_base::partial:
161 } while (__r == _VSTD::codecvt_base::partial);
205 case codecvt_base::partial:
293 else if (__r == codecvt_base::ok || __r == codecvt_base::partial)
298 if (__r == codecvt_base::partial)
305 } while (__r == codecvt_base::partial);
339 } while (__r == codecvt_base::partial);
/external/curl/tests/
Dvalgrind.pm33 my $partial;
108 $partial=1;
/external/v8/tools/
Dcallstats.py458 partial = { 'time_list': [0] * len(L[i][1]['time_list']),
460 assert len(partial['time_list']) == len(L[i][1]['time_list'])
461 assert len(partial['count_list']) == len(L[i][1]['count_list'])
463 partial['time_list'][j] += v
465 partial['count_list'][j] += v
470 partial['time_stat'] = statistics(partial['time_list'])
471 partial['count_stat'] = statistics(partial['count_list'])
472 print_entry("Partial", partial)
/external/libcxx/src/
Dlocale.cpp1552 return partial; in do_out()
1564 return partial; in do_out()
1574 return frm_nxt == frm_end ? ok : partial; in do_out()
1612 return partial; in do_in()
1619 return frm_nxt == frm_end ? ok : partial; in do_in()
1640 return frm_nxt == frm_end ? ok : partial; in do_in()
1654 return partial; in do_unshift()
1735 return codecvt_base::partial; in utf16_to_utf8()
1748 return codecvt_base::partial; in utf16_to_utf8()
1754 return codecvt_base::partial; in utf16_to_utf8()
[all …]
/external/openssh/
Dauth2.c301 int partial = 0; in userauth_finish() local
321 partial = 1; in userauth_finish()
326 auth_log(authctxt, authenticated, partial, method, submethod); in userauth_finish()
365 if (!partial && !authctxt->server_caused_failure && in userauth_finish()
376 partial, methods); in userauth_finish()
379 packet_put_char(partial); in userauth_finish()
/external/syslinux/gpxe/src/net/
Dtcpip.c100 uint16_t tcpip_continue_chksum ( uint16_t partial, const void *data, in tcpip_continue_chksum() argument
102 unsigned int cksum = ( ( ~partial ) & 0xffff ); in tcpip_continue_chksum()
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2010-06-29-PartialRedefFastAlloc.ll5 ; This tests the fast register allocator's handling of partial redefines:
10 ; %reg1028 gets allocated %Q0, and if %reg1030 is reloaded for the partial
/external/llvm/test/CodeGen/ARM/
D2010-06-29-PartialRedefFastAlloc.ll5 ; This tests the fast register allocator's handling of partial redefines:
10 ; %reg1028 gets allocated %Q0, and if %reg1030 is reloaded for the partial
/external/brotli/python/tests/
Dcompressor_test.py44 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
55 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client.c193 struct wpabuf *partial; in tlsv1_client_handshake() local
195 partial = wpabuf_alloc_copy(pos, end - pos); in tlsv1_client_handshake()
197 conn->partial_input = partial; in tlsv1_client_handshake()
350 struct wpabuf *partial; in tlsv1_client_decrypt() local
352 partial = wpabuf_alloc_copy(pos, in_end - pos); in tlsv1_client_decrypt()
354 conn->partial_input = partial; in tlsv1_client_decrypt()
/external/curl/tests/data/
Dtest111730 partial body
68 partial body
/external/eigen/doc/
DTutorialReductionsVisitorsBroadcasting.dox137 \subsection TutorialReductionsVisitorsBroadcastingPartialReductionsCombined Combining partial reduc…
138 It is also possible to use the result of a partial reduction to do further processing.
140 within a matrix. With column-wise partial reductions this can be coded as:
173 The concept behind broadcasting is similar to partial reductions, with the difference that broadcas…
222 reductions and partial reductions.
224 Now that broadcasting, reductions and partial reductions have been introduced, we can dive into a m…
226 computing the squared Euclidean distance with the partial reduction named \link MatrixBase::squared…
253 …- <tt>(m.colwise() - v).colwise().squaredNorm()</tt> is a partial reduction, computing the squared…

12345678910>>...34