Home
last modified time | relevance | path

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

1234

/external/icu4c/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.c58 UComparator *cmp, const void *context, void *pv) { in doInsertionSort() argument
63 uprv_memcpy(pv, array+j*itemSize, itemSize); in doInsertionSort()
66 if(/* v>=array[i-1] */ cmp(context, pv, array+(i-1)*itemSize)>=0) { in doInsertionSort()
76 uprv_memcpy(array+i*itemSize, pv, itemSize); in doInsertionSort()
85 void *pv; in insertionSort() local
89 pv=v; in insertionSort()
91 pv=uprv_malloc(itemSize); in insertionSort()
92 if(pv==NULL) { in insertionSort()
98 doInsertionSort(array, 0, length, itemSize, cmp, context, pv); in insertionSort()
100 if(pv!=v) { in insertionSort()
[all …]
/external/qemu/hw/
Dhw.h100 static inline void qemu_put_be64s(QEMUFile *f, const uint64_t *pv) in qemu_put_be64s() argument
102 qemu_put_be64(f, *pv); in qemu_put_be64s()
105 static inline void qemu_put_be32s(QEMUFile *f, const uint32_t *pv) in qemu_put_be32s() argument
107 qemu_put_be32(f, *pv); in qemu_put_be32s()
110 static inline void qemu_put_be16s(QEMUFile *f, const uint16_t *pv) in qemu_put_be16s() argument
112 qemu_put_be16(f, *pv); in qemu_put_be16s()
115 static inline void qemu_put_8s(QEMUFile *f, const uint8_t *pv) in qemu_put_8s() argument
117 qemu_put_byte(f, *pv); in qemu_put_8s()
120 static inline void qemu_get_be64s(QEMUFile *f, uint64_t *pv) in qemu_get_be64s() argument
122 *pv = qemu_get_be64(f); in qemu_get_be64s()
[all …]
/external/quake/quake/src/WinQuake/
Dvid_dos.cpp139 vmode_t *pv; in VID_GetModePtr() local
141 pv = pvidmodes; in VID_GetModePtr()
142 if (!pv) in VID_GetModePtr()
147 pv = pv->pnext; in VID_GetModePtr()
148 if (!pv) in VID_GetModePtr()
152 return pv; in VID_GetModePtr()
174 vmode_t *pv; in VID_ModeInfo() local
176 pv = VID_GetModePtr (modenum); in VID_ModeInfo()
178 if (!pv) in VID_ModeInfo()
187 *ppheader = pv->header; in VID_ModeInfo()
[all …]
Dr_sprite.cpp139 float dot, scale, *pv; in R_SetupAndDrawSprite() local
196 pv = &clip_verts[clip_current][0][0]; in R_SetupAndDrawSprite()
201 VectorSubtract (pv, r_origin, local); in R_SetupAndDrawSprite()
212 pout->s = pv[3]; in R_SetupAndDrawSprite()
213 pout->t = pv[4]; in R_SetupAndDrawSprite()
221 pv += sizeof (vec5_t) / sizeof (*pv); in R_SetupAndDrawSprite()
/external/flac/libFLAC/
Dmemory.c79 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_int32_array() member
90 pu = (FLAC__int32*)FLAC__memory_alloc_aligned(sizeof(*pu) * (size_t)elements, &u.pv); in FLAC__memory_alloc_aligned_int32_array()
108 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_uint32_array() member
119 pu = (FLAC__uint32*)FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_uint32_array()
137 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_uint64_array() member
148 pu = (FLAC__uint64*)FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_uint64_array()
166 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_unsigned_array() member
177 pu = (unsigned*)FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_unsigned_array()
197 void *pv; /* aligned pointer alias */ in FLAC__memory_alloc_aligned_real_array() member
208 pu = (FLAC__real*)FLAC__memory_alloc_aligned(sizeof(*pu) * elements, &u.pv); in FLAC__memory_alloc_aligned_real_array()
/external/chromium/third_party/libjingle/source/talk/base/
Dasyncsocket.h74 virtual int Send(const void* pv, size_t cb) { in Send() argument
75 return socket_->Send(pv, cb); in Send()
77 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) { in SendTo() argument
78 return socket_->SendTo(pv, cb, addr); in SendTo()
80 virtual int Recv(void* pv, size_t cb) { in Recv() argument
81 return socket_->Recv(pv, cb); in Recv()
83 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { in RecvFrom() argument
84 return socket_->RecvFrom(pv, cb, paddr); in RecvFrom()
Dfirewallsocketserver.cc57 virtual int Send(const void* pv, size_t cb) { in Send() argument
58 return SendTo(pv, cb, GetRemoteAddress()); in Send()
60 virtual int SendTo(const void* pv, size_t cb, const SocketAddress& addr) { in SendTo() argument
69 return AsyncSocketAdapter::SendTo(pv, cb, addr); in SendTo()
71 virtual int Recv(void* pv, size_t cb) { in Recv() argument
73 return RecvFrom(pv, cb, &addr); in Recv()
75 virtual int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { in RecvFrom() argument
78 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
88 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom()
Dsocketadapters.cc68 int BufferedReadAdapter::Send(const void *pv, size_t cb) { in Send() argument
74 return AsyncSocketAdapter::Send(pv, cb); in Send()
77 int BufferedReadAdapter::Recv(void *pv, size_t cb) { in Recv() argument
87 memcpy(pv, buffer_, read); in Recv()
92 pv = static_cast<char *>(pv) + read; in Recv()
98 int res = AsyncSocketAdapter::Recv(pv, cb); in Recv()
860 int LoggingSocketAdapter::Send(const void *pv, size_t cb) { in Send() argument
861 int res = AsyncSocketAdapter::Send(pv, cb); in Send()
863 LogMultiline(level_, label_.c_str(), false, pv, res, hex_mode_, &lms_); in Send()
867 int LoggingSocketAdapter::SendTo(const void *pv, size_t cb, in SendTo() argument
[all …]
Dsocketadapters.h53 virtual int Send(const void* pv, size_t cb);
54 virtual int Recv(void* pv, size_t cb);
57 int DirectSend(const void* pv, size_t cb) { in DirectSend() argument
58 return AsyncSocketAdapter::Send(pv, cb); in DirectSend()
239 virtual int Send(const void *pv, size_t cb);
240 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr);
241 virtual int Recv(void *pv, size_t cb);
242 virtual int RecvFrom(void *pv, size_t cb, SocketAddress *paddr);
Dasynctcpsocket.cc101 int AsyncTCPSocket::Send(const void *pv, size_t cb) { in Send() argument
113 memcpy(outbuf_ + PKT_LEN_SIZE, pv, cb); in Send()
127 int AsyncTCPSocket::SendTo(const void *pv, size_t cb, in SendTo() argument
130 return Send(pv, cb); in SendTo()
161 int AsyncTCPSocket::SendRaw(const void * pv, size_t cb) { in SendRaw() argument
167 memcpy(outbuf_ + outpos_, pv, cb); in SendRaw()
Dasyncudpsocket.cc75 int AsyncUDPSocket::Send(const void *pv, size_t cb) { in Send() argument
76 return socket_->Send(pv, cb); in Send()
80 const void *pv, size_t cb, const SocketAddress& addr) { in SendTo() argument
81 return socket_->SendTo(pv, cb, addr); in SendTo()
Dasynctcpsocket.h48 virtual int Send(const void *pv, size_t cb);
49 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr);
59 int SendRaw(const void* pv, size_t cb);
/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()
1225 dh->prime, dh->prime_len, wpabuf_mhead(pv), in dh_init()
1227 wpabuf_free(pv); in dh_init()
1231 wpabuf_put(pv, pv_len); in dh_init()
1232 wpa_hexdump_buf(MSG_DEBUG, "DH: public value", pv); in dh_init()
1234 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{{call to pointer to member function of type 'void ()' drops 'volati… in test_object_cvquals()
33 …(pv->*pmc)(); // expected-error{{call to pointer to member function of type 'void () const' drops … in test_object_cvquals()
34 (pv->*pmv)(); in test_object_cvquals()
35 (pv->*pmcv)(); in test_object_cvquals()
/external/skia/include/utils/win/
DSkIStream.h40 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
42 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
94 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
96 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
121 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
/external/skia/legacy/include/utils/win/
DSkIStream.h40 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
42 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
94 virtual HRESULT STDMETHODCALLTYPE Read(void* pv, ULONG cb, ULONG* pcbRead);
96 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
121 virtual HRESULT STDMETHODCALLTYPE Write(void const* pv
/external/skia/src/utils/win/
DSkIStream.cpp54 HRESULT STDMETHODCALLTYPE SkBaseIStream::Read(void* pv in Read() argument
59 HRESULT STDMETHODCALLTYPE SkBaseIStream::Write(void const* pv in Write() argument
130 HRESULT STDMETHODCALLTYPE SkIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) { in Read() argument
131 *pcbRead = this->fSkStream->read(pv, cb); in Read()
136 HRESULT STDMETHODCALLTYPE SkIStream::Write(void const* pv in Write() argument
237 HRESULT STDMETHODCALLTYPE SkWIStream::Write(void const* pv in Write() argument
242 bool wrote = this->fSkWStream->write(pv, cb); in Write()
/external/valgrind/main/none/tests/ppc64/
Dtest_isa_2_06_part1.c1637 unsigned int * inA, * inB, * pv; in test_vx_fp_ops() local
1669 pv = (unsigned int *)&vec_out; in test_vx_fp_ops()
1671 for (idx = 0; idx < 4; idx++, pv++) in test_vx_fp_ops()
1672 *pv = 0; in test_vx_fp_ops()
1784 unsigned int * inB, * pv; in test_xs_conv_ops() local
1790 pv = (unsigned int *)&vec_out; in test_xs_conv_ops()
1792 for (idx = 0; idx < 4; idx++, pv++) in test_xs_conv_ops()
1793 *pv = 0; in test_xs_conv_ops()
1823 unsigned int * pv = (unsigned int *)&vec_out; in do_load_test() local
1826 for (idx = 0; idx < 4; idx++, pv+=idx) in do_load_test()
[all …]
/external/valgrind/main/none/tests/ppc32/
Dtest_isa_2_06_part1.c1637 unsigned int * inA, * inB, * pv; in test_vx_fp_ops() local
1669 pv = (unsigned int *)&vec_out; in test_vx_fp_ops()
1671 for (idx = 0; idx < 4; idx++, pv++) in test_vx_fp_ops()
1672 *pv = 0; in test_vx_fp_ops()
1784 unsigned int * inB, * pv; in test_xs_conv_ops() local
1790 pv = (unsigned int *)&vec_out; in test_xs_conv_ops()
1792 for (idx = 0; idx < 4; idx++, pv++) in test_xs_conv_ops()
1793 *pv = 0; in test_xs_conv_ops()
1823 unsigned int * pv = (unsigned int *)&vec_out; in do_load_test() local
1826 for (idx = 0; idx < 4; idx++, pv+=idx) in do_load_test()
[all …]
/external/valgrind/main/memcheck/tests/
Dunit_oset.c90 Word *pv; in example1singleset() local
147 pv = NULL; in example1singleset()
150 while ( (pv = VG_(OSetGen_Next)(oset)) ) { in example1singleset()
151 Word curr = *pv; in example1singleset()
163 assert( pv = VG_(OSetGen_Remove)(oset, vs[i]) ); in example1singleset()
164 assert( pv == vs[i] ); in example1singleset()
172 assert( pv = VG_(OSetGen_LookupWithCmp)(oset, vs[i], NULL) ); in example1singleset()
173 assert( pv == vs[i] ); in example1singleset()
184 assert( pv = VG_(OSetGen_Remove)(oset, vs[i]) ); in example1singleset()
185 assert( pv == vs[i] ); in example1singleset()
[all …]
/external/clang/test/SemaObjC/
Dcompare-qualified-class.m18 void * pv = 0;
20 if (pv)
21 return classA == pv;
/external/icu4c/test/cintltst/
Ducnvseltst.c510 UPropsVectors *pv = upvec_open(100, &errorCode); in TestUPropsVector() local
511 if (pv != NULL) { in TestUPropsVector()
516 pv = upvec_open(-1, &errorCode); in TestUPropsVector()
517 if (pv != NULL || U_SUCCESS(errorCode)) { in TestUPropsVector()
522 pv = upvec_open(100, &errorCode); in TestUPropsVector()
523 if (pv == NULL || U_FAILURE(errorCode)) { in TestUPropsVector()
528 if (upvec_getValue(pv, 0, 1) != 0) { in TestUPropsVector()
531 if (upvec_getRow(pv, 0, NULL, NULL) == NULL) { in TestUPropsVector()
534 if (upvec_getArray(pv, NULL, NULL) != NULL) { in TestUPropsVector()
538 upvec_close(pv); in TestUPropsVector()
/external/quake/quake/src/QW/client/
Dr_sprite.c139 float dot, scale, *pv; in R_SetupAndDrawSprite() local
196 pv = &clip_verts[clip_current][0][0]; in R_SetupAndDrawSprite()
201 VectorSubtract (pv, r_origin, local); in R_SetupAndDrawSprite()
212 pout->s = pv[3]; in R_SetupAndDrawSprite()
213 pout->t = pv[4]; in R_SetupAndDrawSprite()
221 pv += sizeof (vec5_t) / sizeof (pv); in R_SetupAndDrawSprite()

1234