Home
last modified time | relevance | path

Searched refs:pv (Results 1 – 25 of 137) sorted by relevance

123456

/external/icu/icu4c/source/common/
Dpropsvec.c43 UPropsVectors *pv; in upvec_open() local
56 pv=(UPropsVectors *)uprv_malloc(sizeof(UPropsVectors)); in upvec_open()
58 if(pv==NULL || v==NULL) { in upvec_open()
59 uprv_free(pv); in upvec_open()
64 uprv_memset(pv, 0, sizeof(UPropsVectors)); in upvec_open()
65 pv->v=v; in upvec_open()
66 pv->columns=columns; in upvec_open()
67 pv->maxRows=UPVEC_INITIAL_ROWS; in upvec_open()
68 pv->rows=2+(UPVEC_MAX_CP-UPVEC_FIRST_SPECIAL_CP); in upvec_open()
71 row=pv->v; in upvec_open()
[all …]
Dpropsvec.h77 upvec_close(UPropsVectors *pv);
86 upvec_setValue(UPropsVectors *pv,
97 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column);
105 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex,
133 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCod…
141 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns);
149 upvec_cloneArray(const UPropsVectors *pv,
157 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode);
Duarrsort.c109 UComparator *cmp, const void *context, void *pv) { in doInsertionSort() argument
122 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ in doInsertionSort()
124 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ in doInsertionSort()
133 void *pv; in insertionSort() local
137 pv=v; in insertionSort()
139 pv=uprv_malloc(itemSize); in insertionSort()
140 if(pv==NULL) { in insertionSort()
146 doInsertionSort(array, length, itemSize, cmp, context, pv); in insertionSort()
148 if(pv!=v) { in insertionSort()
149 uprv_free(pv); in insertionSort()
/external/flac/libFLAC/
Dmemory.c67 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_int32_array() member
78 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_int32_array()
96 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_uint32_array() member
107 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_uint32_array()
125 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_uint64_array() member
136 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_uint64_array()
154 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_unsigned_array() member
165 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_unsigned_array()
185 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_real_array() member
196 pu = FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_real_array()
/external/clang/test/Sema/
Dnonnull.c90 int evil_nonnull_func(int* pointer, void * pv) in evil_nonnull_func() argument
98 pointer = pv; in evil_nonnull_func()
104 …if (pv == NULL) {} // expected-warning {{comparison of nonnull parameter 'pv' equal to a null poin… in evil_nonnull_func()
108 int another_evil_nonnull_func(int* pointer, char ch, void * pv) __attribute__((nonnull(1, 3)));
109 int another_evil_nonnull_func(int* pointer, char ch, void * pv) { in another_evil_nonnull_func() argument
122 …if (pv == NULL) {} // expected-warning {{comparison of nonnull parameter 'pv' equal to a null poin… in another_evil_nonnull_func()
129 extern void *pv;
133 while (pv) { in yet_another_evil_nonnull_func()
140 pointer = returns_null(&pv); in yet_another_evil_nonnull_func()
/external/webrtc/webrtc/base/
Dasyncsocket.cc57 int AsyncSocketAdapter::Send(const void* pv, size_t cb) { in Send() argument
58 return socket_->Send(pv, cb); in Send()
61 int AsyncSocketAdapter::SendTo(const void* pv, in SendTo() argument
64 return socket_->SendTo(pv, cb, addr); in SendTo()
67 int AsyncSocketAdapter::Recv(void* pv, size_t cb) { in Recv() argument
68 return socket_->Recv(pv, cb); in Recv()
71 int AsyncSocketAdapter::RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { in RecvFrom() argument
72 return socket_->RecvFrom(pv, cb, paddr); in RecvFrom()
Dsocketadapters.cc53 int BufferedReadAdapter::Send(const void *pv, size_t cb) { in Send() argument
59 return AsyncSocketAdapter::Send(pv, cb); in Send()
62 int BufferedReadAdapter::Recv(void *pv, size_t cb) { in Recv() argument
72 memcpy(pv, buffer_, read); in Recv()
77 pv = static_cast<char *>(pv) + read; in Recv()
83 int res = AsyncSocketAdapter::Recv(pv, cb); in Recv()
862 int LoggingSocketAdapter::Send(const void *pv, size_t cb) { in Send() argument
863 int res = AsyncSocketAdapter::Send(pv, cb); in Send()
865 LogMultiline(level_, label_.c_str(), false, pv, res, hex_mode_, &lms_); in Send()
869 int LoggingSocketAdapter::SendTo(const void *pv, size_t cb, in SendTo() argument
[all …]
Dsocketadapters.h36 int Send(const void* pv, size_t cb) override;
37 int Recv(void* pv, size_t cb) override;
40 int DirectSend(const void* pv, size_t cb) { in DirectSend() argument
41 return AsyncSocketAdapter::Send(pv, cb); in DirectSend()
223 int Send(const void* pv, size_t cb) override;
224 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override;
225 int Recv(void* pv, size_t cb) override;
226 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override;
Dfirewallsocketserver.cc41 int Send(const void* pv, size_t cb) override { in Send() argument
42 return SendTo(pv, cb, GetRemoteAddress()); in Send()
44 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override { in SendTo() argument
53 return AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
55 int Recv(void* pv, size_t cb) override { in Recv() argument
57 return RecvFrom(pv, cb, &addr); in Recv()
59 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override { in RecvFrom() argument
62 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
72 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
Dasynctcpsocket.h29 int Send(const void *pv, size_t cb,
37 int SendTo(const void* pv,
56 virtual int SendRaw(const void* pv, size_t cb);
59 void AppendToOutBuffer(const void* pv, size_t cb);
91 int Send(const void* pv,
Dasynctcpsocket.cc127 int AsyncTCPSocketBase::SendTo(const void *pv, size_t cb, in SendTo() argument
132 return Send(pv, cb, options); in SendTo()
139 int AsyncTCPSocketBase::SendRaw(const void * pv, size_t cb) { in SendRaw() argument
145 memcpy(outbuf_ + outpos_, pv, cb); in SendRaw()
168 void AsyncTCPSocketBase::AppendToOutBuffer(const void* pv, size_t cb) { in AppendToOutBuffer() argument
170 memcpy(outbuf_ + outpos_, pv, cb); in AppendToOutBuffer()
249 int AsyncTCPSocket::Send(const void *pv, size_t cb, in Send() argument
262 AppendToOutBuffer(pv, cb); in Send()
Dasyncsocket.h57 int Send(const void* pv, size_t cb) override;
58 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override;
59 int Recv(void* pv, size_t cb) override;
60 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override;
Dopenssladapter.h38 int Send(const void* pv, size_t cb) override;
39 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override;
40 int Recv(void* pv, size_t cb) override;
41 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override;
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_vb.c144 dst->attrib[FRAG_ATTRIB_TEX0][0] = src->pv.u0; in TAG()
145 dst->attrib[FRAG_ATTRIB_TEX0][1] = src->pv.v0; in TAG()
146 dst->attrib[FRAG_ATTRIB_TEX0][3] = src->pv.q0; in TAG()
148 dst->attrib[FRAG_ATTRIB_TEX1][0] = src->pv.u1; in TAG()
149 dst->attrib[FRAG_ATTRIB_TEX1][1] = src->pv.v1; in TAG()
150 dst->attrib[FRAG_ATTRIB_TEX1][3] = src->pv.q1; in TAG()
153 dst->attrib[FRAG_ATTRIB_TEX2][0] = src->pv.u2; in TAG()
154 dst->attrib[FRAG_ATTRIB_TEX2][1] = src->pv.v2; in TAG()
155 dst->attrib[FRAG_ATTRIB_TEX2][3] = src->pv.q2; in TAG()
159 dst->attrib[FRAG_ATTRIB_TEX3][0] = src->pv.u3; in TAG()
[all …]
/external/wpa_supplicant_8/src/crypto/
Ddh_groups.c1195 struct wpabuf *pv; in dh_init() local
1220 pv = wpabuf_alloc(pv_len); in dh_init()
1221 if (pv == NULL) { in dh_init()
1228 dh->prime, dh->prime_len, wpabuf_mhead(pv), in dh_init()
1230 wpabuf_clear_free(pv); in dh_init()
1236 wpabuf_put(pv, pv_len); in dh_init()
1237 wpa_hexdump_buf(MSG_DEBUG, "DH: public value", pv); in dh_init()
1239 return pv; in dh_init()
/external/clang/test/CXX/expr/expr.mptr.oper/
Dp5.cpp16 volatile X0 *pv, in test_object_cvquals() argument
32 …(pv->*pm)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attrib… in test_object_cvquals()
33 …(pv->*pmc)(); // expected-error-re{{call to pointer to member function of type 'void (){{( __attri… in test_object_cvquals()
34 (pv->*pmv)(); in test_object_cvquals()
35 (pv->*pmcv)(); in test_object_cvquals()
/external/valgrind/none/tests/ppc64/
Dtest_isa_2_07_part2.c950 unsigned int * inA, * inB, * pv; in test_vx_fp_ops() local
959 pv = (unsigned int *)&vec_out; in test_vx_fp_ops()
966 for (idx = 0; idx < 4; idx++, pv++) in test_vx_fp_ops()
967 *pv = 0; in test_vx_fp_ops()
1088 unsigned int * pv; in test_vsx_one_fp_arg() local
1091 pv = (unsigned int *)&vec_out; in test_vsx_one_fp_arg()
1093 for (idx = 0; idx < 4; idx++, pv++) in test_vsx_one_fp_arg()
1094 *pv = 0; in test_vsx_one_fp_arg()
1146 pv = (unsigned int *)&vec_inB; in test_vsx_one_fp_arg()
1147 for (idx = 0; idx < 4; idx++, pv++) in test_vsx_one_fp_arg()
[all …]
Dtest_isa_2_06_part1.c1545 unsigned int * inA, * inB, * pv; in test_vx_fp_ops() local
1586 pv = (unsigned int *)&vec_out; in test_vx_fp_ops()
1588 for (idx = 0; idx < 4; idx++, pv++) in test_vx_fp_ops()
1589 *pv = 0; in test_vx_fp_ops()
1706 unsigned int * inB, * pv; in test_xs_conv_ops() local
1712 pv = (unsigned int *)&vec_out; in test_xs_conv_ops()
1714 for (idx = 0; idx < 4; idx++, pv++) in test_xs_conv_ops()
1715 *pv = 0; in test_xs_conv_ops()
1743 unsigned int * pv = (unsigned int *)&vec_out; in do_load_test() local
1746 for (idx = 0; idx < 4; idx++, pv+=idx) in do_load_test()
[all …]
/external/valgrind/none/tests/ppc32/
Dtest_isa_2_07_part2.c950 unsigned int * inA, * inB, * pv; in test_vx_fp_ops() local
959 pv = (unsigned int *)&vec_out; in test_vx_fp_ops()
966 for (idx = 0; idx < 4; idx++, pv++) in test_vx_fp_ops()
967 *pv = 0; in test_vx_fp_ops()
1088 unsigned int * pv; in test_vsx_one_fp_arg() local
1091 pv = (unsigned int *)&vec_out; in test_vsx_one_fp_arg()
1093 for (idx = 0; idx < 4; idx++, pv++) in test_vsx_one_fp_arg()
1094 *pv = 0; in test_vsx_one_fp_arg()
1146 pv = (unsigned int *)&vec_inB; in test_vsx_one_fp_arg()
1147 for (idx = 0; idx < 4; idx++, pv++) in test_vsx_one_fp_arg()
[all …]
Dtest_isa_2_06_part1.c1545 unsigned int * inA, * inB, * pv; in test_vx_fp_ops() local
1586 pv = (unsigned int *)&vec_out; in test_vx_fp_ops()
1588 for (idx = 0; idx < 4; idx++, pv++) in test_vx_fp_ops()
1589 *pv = 0; in test_vx_fp_ops()
1706 unsigned int * inB, * pv; in test_xs_conv_ops() local
1712 pv = (unsigned int *)&vec_out; in test_xs_conv_ops()
1714 for (idx = 0; idx < 4; idx++, pv++) in test_xs_conv_ops()
1715 *pv = 0; in test_xs_conv_ops()
1743 unsigned int * pv = (unsigned int *)&vec_out; in do_load_test() local
1746 for (idx = 0; idx < 4; idx++, pv+=idx) in do_load_test()
[all …]
/external/skia/src/utils/win/
DSkIStream.cpp56 HRESULT STDMETHODCALLTYPE SkBaseIStream::Read(void* pv in Read() argument
61 HRESULT STDMETHODCALLTYPE SkBaseIStream::Write(void const* pv in Write() argument
135 HRESULT STDMETHODCALLTYPE SkIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) { in Read() argument
136 *pcbRead = static_cast<ULONG>(this->fSkStream->read(pv, cb)); in Read()
141 HRESULT STDMETHODCALLTYPE SkIStream::Write(void const* pv in Write() argument
246 HRESULT STDMETHODCALLTYPE SkWIStream::Write(void const* pv in Write() argument
251 bool wrote = this->fSkWStream->write(pv, cb); in Write()
/external/skia/include/utils/win/
DSkIStream.h44 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
46 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
98 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
100 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
125 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
/external/valgrind/memcheck/tests/
Dunit_oset.c90 UWord *pv; in example1singleset() local
194 pv = NULL; in example1singleset()
197 while ( (pv = VG_(OSetGen_Next)(oset)) ) { in example1singleset()
198 UWord curr = *pv; in example1singleset()
210 assert( pv = VG_(OSetGen_Remove)(oset, vs[i]) ); in example1singleset()
211 assert( pv == vs[i] ); in example1singleset()
219 assert( pv = VG_(OSetGen_LookupWithCmp)(oset, vs[i], NULL) ); in example1singleset()
220 assert( pv == vs[i] ); in example1singleset()
231 assert( pv = VG_(OSetGen_Remove)(oset, vs[i]) ); in example1singleset()
232 assert( pv == vs[i] ); in example1singleset()
[all …]
/external/icu/icu4c/source/test/cintltst/
Ducnvseltst.c508 UPropsVectors *pv = upvec_open(100, &errorCode); in TestUPropsVector() local
509 if (pv != NULL) { in TestUPropsVector()
514 pv = upvec_open(-1, &errorCode); in TestUPropsVector()
515 if (pv != NULL || U_SUCCESS(errorCode)) { in TestUPropsVector()
520 pv = upvec_open(100, &errorCode); in TestUPropsVector()
521 if (pv == NULL || U_FAILURE(errorCode)) { in TestUPropsVector()
526 if (upvec_getValue(pv, 0, 1) != 0) { in TestUPropsVector()
529 if (upvec_getRow(pv, 0, NULL, NULL) == NULL) { in TestUPropsVector()
532 if (upvec_getArray(pv, NULL, NULL) != NULL) { in TestUPropsVector()
536 upvec_close(pv); in TestUPropsVector()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DLaguerreSolver.java373 Complex pv = null; in solve() local
386 pv = coefficients[n]; in solve()
391 dv = pv.add(z.multiply(dv)); in solve()
392 pv = coefficients[j].add(z.multiply(pv)); in solve()
404 if (pv.abs() <= functionValueAccuracy) { in solve()
411 G = dv.divide(pv); in solve()
413 H = G2.subtract(d2v.divide(pv)); in solve()

123456