/external/tensorflow/tensorflow/contrib/coder/kernels/ |
range_coder.cc | 314 // After the binary search, `pv` points to the smallest number v that 319 const int32* pv = cdf.data() + 1; local 327 const int32* mid = pv + half; 331 pv = mid + 1; 338 // If (size * v) / 2^precision <= offset for all v in cdf, then pv points to 343 CHECK_LT(pv, cdf.data() + cdf.size()); 345 const uint32 a = (size * static_cast<uint64>(*(pv - 1))) >> precision_; 346 const uint32 b = ((size * static_cast<uint64>(*pv)) >> precision_) - 1; 361 return pv - cdf.data() - 1;
|
/external/icu/icu4c/source/common/ |
uarrsort.cpp | 114 UComparator *cmp, const void *context, void *pv) { 127 uprv_memcpy(pv, item, itemSize); /* v=array[j] */ 129 uprv_memcpy(dest, pv, itemSize); /* array[insertionPoint]=v */ 138 void *pv; local 142 pv=v; 144 pv=uprv_malloc(itemSize); 145 if(pv==NULL) { 151 doInsertionSort(array, length, itemSize, cmp, context, pv); 153 if(pv!=v) { 154 uprv_free(pv); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
xpsprint.h | 96 void *pv, 102 const void *pv, 123 #define IXpsPrintJobStream_Read(This,pv,cb,pcbRead) (This)->lpVtbl->Read(This,pv,cb,pcbRead) 124 #define IXpsPrintJobStream_Write(This,pv,cb,pcbWritten) (This)->lpVtbl->Write(This,pv,cb,pcbWritten) 139 static FORCEINLINE HRESULT IXpsPrintJobStream_Read(IXpsPrintJobStream* This,void *pv,ULONG cb,ULONG *pcbRead) { 140 return This->lpVtbl->Read(This,pv,cb,pcbRead); 142 static FORCEINLINE HRESULT IXpsPrintJobStream_Write(IXpsPrintJobStream* This,const void *pv,ULONG cb,ULONG *pcbWritten) { 143 return This->lpVtbl->Write(This,pv,cb,pcbWritten) [all...] |
d3dx9math.inl | 967 static inline FLOAT D3DXVec2Length(const D3DXVECTOR2 *pv) 969 if (!pv) return 0.0f; 970 return sqrtf( pv->x * pv->x + pv->y * pv->y ); 973 static inline FLOAT D3DXVec2LengthSq(const D3DXVECTOR2 *pv) 975 if (!pv) return 0.0f; 976 return( (pv->x) * (pv->x) + (pv->y) * (pv->y) ) [all...] |
fdi.h | 199 typedef void (DIAMONDAPI *PFNFREE)(void *pv); 200 #define FNFREE(fn) void DIAMONDAPI fn(void *pv) 203 typedef UINT (DIAMONDAPI *PFNREAD) (INT_PTR hf,void *pv,UINT cb); 204 typedef UINT (DIAMONDAPI *PFNWRITE)(INT_PTR hf,void *pv,UINT cb); 209 #define FNREAD(fn) UINT DIAMONDAPI fn(INT_PTR hf,void *pv,UINT cb) 210 #define FNWRITE(fn) UINT DIAMONDAPI fn(INT_PTR hf,void *pv,UINT cb) 222 void *pv; member in struct:__anon64603
|
/prebuilts/go/darwin-x86/test/ken/ |
cplx5.go | 47 pv := &v 48 if *pv != 5-5i { 49 panic(*pv)
|
/prebuilts/go/linux-x86/test/ken/ |
cplx5.go | 47 pv := &v 48 if *pv != 5-5i { 49 panic(*pv)
|
/system/libvintf/ |
RuntimeInfo-target.cpp | 101 int pv; local 103 pv = security_policyvers(); 105 pv = 0; 107 if (pv < 0) { 108 return pv; 110 mRuntimeInfo->mKernelSepolicyVersion = pv;
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramVertex.java | 148 ProgramVertex pv = new ProgramVertex(id, mRS); local 149 initProgram(pv); 150 return pv;
|
/external/clang/test/Sema/ |
pragma-ms_struct.c | 46 void *pv; member in struct:__anon16606
|
warn-tautological-compare.c | 38 int test2(int* pointer, char ch, void * pv) {
|
/external/webrtc/webrtc/base/ |
asyncudpsocket.cc | 61 int AsyncUDPSocket::Send(const void *pv, size_t cb, 64 int ret = socket_->Send(pv, cb); 69 int AsyncUDPSocket::SendTo(const void *pv, size_t cb, 73 int ret = socket_->SendTo(pv, cb, addr);
|
firewallsocketserver.cc | 41 int Send(const void* pv, size_t cb) override { 42 return SendTo(pv, cb, GetRemoteAddress()); 44 int SendTo(const void* pv, size_t cb, const SocketAddress& addr) override { 53 return AsyncSocketAdapter::SendTo(pv, cb, addr); 55 int Recv(void* pv, size_t cb) override { 57 return RecvFrom(pv, cb, &addr); 59 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override { 62 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); 72 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr);
|
asynctcpsocket.cc | 127 int AsyncTCPSocketBase::SendTo(const void *pv, size_t cb, 132 return Send(pv, cb, options); 139 int AsyncTCPSocketBase::SendRaw(const void * pv, size_t cb) { 145 memcpy(outbuf_ + outpos_, pv, cb); 168 void AsyncTCPSocketBase::AppendToOutBuffer(const void* pv, size_t cb) { 170 memcpy(outbuf_ + outpos_, pv, cb); 249 int AsyncTCPSocket::Send(const void *pv, size_t cb, 262 AppendToOutBuffer(pv, cb);
|
socketadapters.h | 36 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) { 41 return AsyncSocketAdapter::Send(pv, cb); 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;
|
socket.h | 152 virtual int Send(const void *pv, size_t cb) = 0; 153 virtual int SendTo(const void *pv, size_t cb, const SocketAddress& addr) = 0; 154 virtual int Recv(void *pv, size_t cb) = 0; 155 virtual int RecvFrom(void *pv, size_t cb, SocketAddress *paddr) = 0;
|
/external/webrtc/webrtc/p2p/base/ |
asyncstuntcpsocket.h | 33 virtual int Send(const void* pv, size_t cb,
|
asyncstuntcpsocket.cc | 51 int AsyncStunTCPSocket::Send(const void *pv, size_t cb, 63 size_t expected_pkt_len = GetExpectedLength(pv, cb, &pad_bytes); 69 AppendToOutBuffer(pv, cb);
|
/external/skia/src/utils/win/ |
SkIStream.cpp | 52 HRESULT STDMETHODCALLTYPE SkBaseIStream::Read(void* pv 57 HRESULT STDMETHODCALLTYPE SkBaseIStream::Write(void const* pv 131 HRESULT STDMETHODCALLTYPE SkIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) { 132 *pcbRead = static_cast<ULONG>(this->fSkStream->read(pv, cb)); 137 HRESULT STDMETHODCALLTYPE SkIStream::Write(void const* pv 240 HRESULT STDMETHODCALLTYPE SkWIStream::Write(void const* pv 245 bool wrote = this->fSkWStream->write(pv, cb);
|
/external/skqp/src/utils/win/ |
SkIStream.cpp | 52 HRESULT STDMETHODCALLTYPE SkBaseIStream::Read(void* pv 57 HRESULT STDMETHODCALLTYPE SkBaseIStream::Write(void const* pv 131 HRESULT STDMETHODCALLTYPE SkIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) { 132 *pcbRead = static_cast<ULONG>(this->fSkStream->read(pv, cb)); 137 HRESULT STDMETHODCALLTYPE SkIStream::Write(void const* pv 240 HRESULT STDMETHODCALLTYPE SkWIStream::Write(void const* pv 245 bool wrote = this->fSkWStream->write(pv, cb);
|
/external/valgrind/memcheck/tests/ |
unit_oset.c | 91 UWord *pv; local 195 pv = NULL; 198 while ( (pv = VG_(OSetGen_Next)(oset)) ) { 199 UWord curr = *pv; 211 pv = VG_(OSetGen_Remove)(oset, vs[i]); 212 assert( pv ); 213 assert( pv == vs[i] ); 221 pv = VG_(OSetGen_LookupWithCmp)(oset, vs[i], NULL); 222 assert( pv ); 223 assert( pv == vs[i] ) 469 Block *pv; local [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
means_yuvx_444_2d_to_1d.rs | 40 uchar pv = rsGetElementAtYuv_uchar_V(mInput, src_x + i, src_y + x); 42 yuvx_444 elem = { py, pu, pv };
|
/external/valgrind/none/tests/ppc32/ |
test_isa_2_07_part2.c | 950 unsigned int * inA, * inB, * pv; local 959 pv = (unsigned int *)&vec_out; 966 for (idx = 0; idx < 4; idx++, pv++) 967 *pv = 0; 1088 unsigned int * pv; local 1192 unsigned int * pv; local 1233 unsigned int * pv = (unsigned int *) storeTest.base_addr; local 1358 unsigned long long * inB, * pv; local 1388 unsigned int * pv; local [all...] |
/external/valgrind/none/tests/ppc64/ |
test_isa_2_07_part2.c | 950 unsigned int * inA, * inB, * pv; local 959 pv = (unsigned int *)&vec_out; 966 for (idx = 0; idx < 4; idx++, pv++) 967 *pv = 0; 1088 unsigned int * pv; local 1192 unsigned int * pv; local 1233 unsigned int * pv = (unsigned int *) storeTest.base_addr; local 1358 unsigned long long * inB, * pv; local 1388 unsigned int * pv; local [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
message_test.go | 67 pv := &propVirtual{addr: "169.254.0.1", mask: "255.255.255.0"} 68 if err := pv.configure(1002); err != nil { 71 if err := pv.setup(); err != nil { 74 pv.teardown() 108 pv := &propVirtual{addr: "169.254.0.1", mask: "255.255.255.0"} 109 if err := pv.configure(vid); err != nil { 112 if err := pv.setup(); err != nil { 116 if err := pv.teardown(); err != nil {
|