Searched defs:numBytes (Results 1 - 25 of 122) sorted by relevance

12345

/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/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLRandom.java46 protected byte[] engineGenerateSeed(int numBytes) { argument
48 byte[] output = new byte[numBytes];
/external/deqp/execserver/
H A DxsPosixFileReader.hpp45 int read (deUint8* dst, int numBytes) { return m_buf.tryRead(numBytes, dst); } argument
H A DxsPosixTestProcess.hpp89 virtual int readTestLog (deUint8* dst, int numBytes);
90 virtual int readInfoLog (deUint8* dst, int numBytes) { return m_infoBuffer.tryRead(numBytes, dst); } argument
/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...]
/external/deqp/framework/delibs/decpp/
H A DdeArrayBuffer.cpp35 void* ArrayBuffer_AlignedMalloc (size_t numBytes, size_t alignment) argument
37 const int sizeAsInt = (int)numBytes;
41 if (sizeAsInt < 0 || numBytes != (size_t)sizeAsInt)
53 VALGRIND_MAKE_MEM_UNDEFINED(ptr, numBytes);
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;
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...]
/external/skia/src/codec/
H A DSkJpegUtility_codec.cpp40 static void sk_skip_input_data(j_decompress_ptr dinfo, long numBytes) { argument
42 size_t bytes = (size_t) numBytes;
55 src->next_input_byte += numBytes;
56 src->bytes_in_buffer -= numBytes;
/external/deqp/executor/
H A DxeTestLogParser.cpp52 void TestLogParser::parse (const deUint8* bytes, size_t numBytes) argument
54 m_containerParser.feed(bytes, numBytes);
H A DxeBatchResult.cpp40 void InfoLog::append (const deUint8* bytes, size_t numBytes) argument
42 DE_ASSERT(numBytes > 0);
44 m_data.resize(oldSize+numBytes);
45 deMemcpy(&m_data[oldSize], bytes, numBytes);
H A DxeTestCaseListParser.cpp79 void TestCaseListParser::parse (const deUint8* bytes, int numBytes) argument
82 m_xmlParser.feed(bytes, 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/deqp/modules/internal/
H A DditAstcTests.cpp88 inline size_t getNumBlocksFromBytes (size_t numBytes) argument
90 TCU_CHECK(numBytes % astc::BLOCK_SIZE_BYTES == 0);
91 return (numBytes / astc::BLOCK_SIZE_BYTES);
/external/dng_sdk/source/
H A Ddng_memory.cpp101 uint32 numBytes; local
102 if (!SafeUint32Mult(count, elementSizeAsUint32, &numBytes))
106 Allocate(numBytes);
H A Ddng_memory_stream.cpp132 uint32 numBytes; local
134 &numBytes))
139 dng_memory_block **list = (dng_memory_block **) malloc (numBytes);
153 // overflow because the computation of numBytes above would fail
/external/deqp/framework/common/
H A DtcuResource.cpp61 void FileResource::read (deUint8* dst, int numBytes) argument
63 int numRead = (int)fread(dst, 1, numBytes, m_file);
64 TCU_CHECK(numRead == 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/branches/1.x_Branch/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
/external/mockftpserver/tags/1.0/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
/external/mockftpserver/tags/1.1/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
/external/mockftpserver/tags/1.2/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
/external/mockftpserver/tags/1.2.1/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
/external/mockftpserver/tags/1.2.2/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
/external/mockftpserver/tags/1.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

Completed in 5402 milliseconds

12345