Searched refs:numBytes (Results 1 - 25 of 218) sorted by relevance

123456789

/external/deqp/framework/delibs/debase/
H A DdeMemory.h35 void* deMalloc (size_t numBytes);
36 void* deCalloc (size_t numBytes);
37 void* deRealloc (void* ptr, size_t numBytes);
40 void* deAlignedMalloc (size_t numBytes, size_t alignBytes);
41 void* deAlignedRealloc(void* ptr, size_t numBytes, size_t alignBytes);
50 * \param numBytes Number of bytes to write.
52 DE_INLINE void deMemset (void* ptr, int value, size_t numBytes) argument
55 memset(ptr, value, numBytes);
58 DE_INLINE int deMemCmp (const void* a, const void* b, size_t numBytes) argument
60 return memcmp(a, b, numBytes);
70 deMemcpy(void* dst, const void* src, size_t numBytes) argument
75 deMemmove(void* dst, const void* src, size_t numBytes) argument
[all...]
H A DdeMemory.c57 * \param numBytes Number of bytes to allocate.
60 void* deMalloc (size_t numBytes) argument
64 DE_ASSERT(numBytes > 0);
66 ptr = malloc((size_t)numBytes);
72 memset(ptr, 0xcd, numBytes);
77 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes);
87 * \param numBytes Number of bytes to allocate.
90 void* deCalloc (size_t numBytes) argument
92 void* ptr = deMalloc(numBytes);
94 deMemset(ptr, 0, numBytes);
104 deRealloc(void* ptr, size_t numBytes) argument
123 size_t numBytes; member in struct:AlignedAllocHeader_s
136 deAlignedMalloc(size_t numBytes, size_t alignBytes) argument
183 deAlignedRealloc(void* ptr, size_t numBytes, size_t alignBytes) argument
275 size_t numBytes; member in struct:__anon4742
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeMemPool.hpp51 void* alloc (deUintptr numBytes);
52 void* alignedAlloc (deUintptr numBytes, deUint32 alignBytes);
86 inline void* MemPool::alloc (deUintptr numBytes) argument
89 DE_ASSERT((deUintptr)(int)numBytes == numBytes);
90 void* ptr = deMemPool_alloc(m_pool, (int)numBytes);
96 inline void* MemPool::alignedAlloc (deUintptr numBytes, deUint32 alignBytes) argument
99 DE_ASSERT((deUintptr)(int)numBytes == numBytes);
100 void* ptr = deMemPool_alignedAlloc(m_pool, (int)numBytes, alignByte
[all...]
H A DdeRingBuffer.cpp63 int numBytes = rnd.getInt(1, buffer.getNumElements()); local
64 vector<int> tmp (numBytes);
66 buffer.popBack(&tmp[0], numBytes);
68 for (int i = 0; i < numBytes; i++)
71 readPos += numBytes;
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree())); local
78 buffer.pushFront(&data[writePos], numBytes);
79 writePos += numBytes;
/external/deqp/execserver/
H A DxsPosixFileReader.hpp45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); } argument
H A DxsTestProcess.hpp51 virtual int readTestLog (deUint8* dst, int numBytes) = DE_NULL;
52 virtual int readInfoLog (deUint8* dst, int numBytes) = DE_NULL;
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DDataPipeConsumerHandleImpl.java44 public int discardData(int numBytes, ReadFlags flags) { argument
45 return mCore.discardData(this, numBytes, flags);
60 public ByteBuffer beginReadData(int numBytes, ReadFlags flags) { argument
61 return mCore.beginReadData(this, numBytes, flags);
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DOpenSSLRandom.java44 protected byte[] engineGenerateSeed(int numBytes) { argument
45 byte[] output = new byte[numBytes];
/external/deqp/modules/glshared/
H A DglsBufferTestUtil.hpp54 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed);
55 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes);
90 void setSize (int numBytes);
91 void setData (int numBytes, const deUint8* bytes);
92 void setSubData (int offset, int numBytes, const deUint8* bytes);
123 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) = DE_NULL;
124 virtual void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint);
142 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes);
143 void write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint);
160 virtual void write (deUint32 buffer, int offset, int numBytes, cons
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fBufferTestUtil.hpp50 void fillWithRandomBytes (deUint8* ptr, int numBytes, deUint32 seed);
51 bool compareByteArrays (tcu::TestLog& log, const deUint8* resPtr, const deUint8* refPtr, int numBytes);
83 void setSize (int numBytes);
84 void setData (int numBytes, const deUint8* bytes);
85 void setSubData (int offset, int numBytes, const deUint8* bytes);
112 virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = DE_NULL;
132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
165 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
/external/deqp/framework/platform/android/
H A DtcuAndroidAssets.cpp60 void AssetResource::read (deUint8* dst, int numBytes) argument
62 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes);
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
H A DSession.java63 * @param numBytes - the number of bytes from data to send
65 public void sendData(byte[] data, int numBytes); argument
75 * Read and return (up to) numBytes of data from the client across the data connection
77 * @return the data that was read; the byte[] will be up to numBytes bytes long
79 public byte[] readData(int numBytes); argument
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/session/
H A DSession.java63 * @param numBytes - the number of bytes from data to send
65 public void sendData(byte[] data, int numBytes); argument
75 * Read and return (up to) numBytes of data from the client across the data connection
77 * @return the data that was read; the byte[] will be up to numBytes bytes long
79 public byte[] readData(int numBytes); argument
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/session/
H A DSession.java63 * @param numBytes - the number of bytes from data to send
65 public void sendData(byte[] data, int numBytes); argument
75 * Read and return (up to) numBytes of data from the client across the data connection
77 * @return the data that was read; the byte[] will be up to numBytes bytes long
79 public byte[] readData(int numBytes); argument
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/session/
H A DSession.java63 * @param numBytes - the number of bytes from data to send
65 public void sendData(byte[] data, int numBytes); argument
75 * Read and return (up to) numBytes of data from the client across the data connection
77 * @return the data that was read; the byte[] will be up to numBytes bytes long
79 public byte[] readData(int numBytes); argument
/external/deqp/executor/
H A DxeTestCaseListParser.hpp42 void parse (const deUint8* bytes, int numBytes);
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java88 int numBytes;
89 while ((numBytes = inputStream.read(buffer)) != -1) {
90 LOG.trace("Sending " + numBytes + " bytes...");
91 session.sendData(buffer, numBytes);
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/command/
H A DFileRetrCommandHandler.java91 int numBytes = 0;
92 while ((numBytes = inputStream.read(buffer)) != -1) {
93 LOG.trace("Sending " + numBytes + " bytes...");
94 session.sendData(buffer, numBytes);

Completed in 1822 milliseconds

123456789