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

12345678

/external/deqp/framework/delibs/debase/
H A DdeMemory.h35 void* deMalloc (int numBytes);
36 void* deCalloc (int numBytes);
37 void* deRealloc (void* ptr, int numBytes);
40 void* deAlignedMalloc (int numBytes, int alignBytes);
49 * \param numBytes Number of bytes to write.
51 DE_INLINE void deMemset (void* ptr, int value, int numBytes) argument
54 memset(ptr, value, numBytes);
57 DE_INLINE int deMemCmp (const void* a, const void* b, int numBytes) argument
59 return memcmp(a, b, numBytes);
66 * \param numBytes Numbe
69 deMemcpy(void* dst, const void* src, int numBytes) argument
74 deMemmove(void* dst, const void* src, int numBytes) argument
[all...]
H A DdeMemory.c43 * \param numBytes Number of bytes to allocate.
46 void* deMalloc (int numBytes) argument
50 DE_ASSERT(numBytes > 0);
52 ptr = malloc((size_t)numBytes);
58 memset(ptr, 0xcd, numBytes);
63 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes);
73 * \param numBytes Number of bytes to allocate.
76 void* deCalloc (int numBytes) argument
78 void* ptr = deMalloc(numBytes);
80 deMemset(ptr, 0, numBytes);
84 deAlignedMalloc(int numBytes, int alignBytes) argument
106 deRealloc(void* ptr, int numBytes) argument
[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/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.cpp58 void AssetResource::read (deUint8* dst, int numBytes) argument
60 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes);
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DRandomImpl.java45 protected byte[] engineGenerateSeed(int numBytes) { argument
47 byte[] b = new byte[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 DxeBatchExecutor.hpp83 void onTestLogData (const deUint8* bytes, int numBytes);
84 void onInfoLogData (const deUint8* bytes, int numBytes);
90 static void enqueueTestLogData (void* userPtr, const deUint8* bytes, int numBytes);
91 static void enqueueInfoLogData (void* userPtr, const deUint8* bytes, int numBytes);
H A DxeBatchResult.cpp40 void InfoLog::append (const deUint8* bytes, int numBytes) argument
42 DE_ASSERT(numBytes > 0);
44 m_data.resize(oldSize+numBytes);
45 deMemcpy(&m_data[oldSize], bytes, numBytes);
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);

Completed in 2260 milliseconds

12345678