Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 25 of 221) sorted by relevance

123456789

/external/deqp/execserver/
DxsProtocol.cpp50 MessageParser (const deUint8* data, size_t dataSize) in MessageParser() argument
52 , m_size (dataSize) in MessageParser()
141 void Message::parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& size) in parseHeader() argument
143 XS_CHECK_MSG(dataSize >= MESSAGE_HEADER_SIZE, "Incomplete header"); in parseHeader()
144 MessageParser parser(data, dataSize); in parseHeader()
163 HelloMessage::HelloMessage (const deUint8* data, size_t dataSize) in HelloMessage() argument
166 MessageParser parser(data, dataSize); in HelloMessage()
177 TestMessage::TestMessage (const deUint8* data, size_t dataSize) in TestMessage() argument
180 MessageParser parser(data, dataSize); in TestMessage()
191 ExecuteBinaryMessage::ExecuteBinaryMessage (const deUint8* data, size_t dataSize) in ExecuteBinaryMessage() argument
[all …]
DxsProtocol.hpp77 …static void parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& messag…
92 …essage (const deUint8* data, size_t dataSize) : Message((MessageType)MsgType) { DE_UNREF(data); XS… in SimpleMessage() argument
108 HelloMessage (const deUint8* data, size_t dataSize);
123 ExecuteBinaryMessage (const deUint8* data, size_t dataSize);
135 ProcessLogDataMessage (const deUint8* data, size_t dataSize);
146 ProcessLaunchFailedMessage (const deUint8* data, size_t dataSize);
158 ProcessFinishedMessage (const deUint8* data, size_t dataSize);
170 InfoMessage (const deUint8* data, size_t dataSize);
182 TestMessage (const deUint8* data, size_t dataSize);
DxsExecutionServer.cpp260 …id ExecutionRequestHandler::processMessage (MessageType type, const deUint8* data, size_t dataSize) in processMessage() argument
266 HelloMessage msg(data, dataSize); in processMessage()
275 TestMessage msg(data, dataSize); in processMessage()
282 KeepAliveMessage msg(data, dataSize); in processMessage()
290 ExecuteBinaryMessage msg(data, dataSize); in processMessage()
299 StopExecutionMessage msg(data, dataSize); in processMessage()
/external/tpm2/
DObject_spt.c197 UINT16 dataSize, // IN: the size of sensitive data in ComputeInnerIntegrity() argument
206 CryptUpdateDigest(&hashState, dataSize, sensitiveData); in ComputeInnerIntegrity()
226 UINT16 dataSize, // IN: the size of sensitive data, excluding the in ProduceInnerIntegrity() argument
241 ComputeInnerIntegrity(hashAlg, name, dataSize, sensitiveData, &integrity); in ProduceInnerIntegrity()
246 return dataSize + integritySize; in ProduceInnerIntegrity()
263 UINT16 dataSize, // IN: the size of sensitive data, including the in CheckInnerIntegrity() argument
276 size = (INT32) dataSize; in CheckInnerIntegrity()
710 UINT16 dataSize, // IN: the size of sensitive data, excluding the in ProduceOuterWrap() argument
754 TPM_ALG_CFB, symKey.t.buffer, iv, dataSize, in ProduceOuterWrap()
758 ComputeOuterIntegrity(name, protector, hashAlg, seed, dataSize + ivSize, in ProduceOuterWrap()
[all …]
/external/deqp/framework/delibs/decpp/
DdeRingBuffer.cpp42 int dataSize = rnd.getInt(100, 10000); in RingBuffer_selfTest() local
44 vector<int> data (dataSize); in RingBuffer_selfTest()
46 for (int i = 0; i < dataSize; i++) in RingBuffer_selfTest()
52 while (writePos < dataSize || readPos < dataSize) in RingBuffer_selfTest()
55 bool canWrite = writePos < dataSize && buffer.getNumFree() > 0; in RingBuffer_selfTest()
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree())); in RingBuffer_selfTest()
DdeThreadSafeRingBuffer.cpp99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize) in Producer() argument
102 , m_dataSize (dataSize) in Producer()
132 int dataSize = rnd.getInt(1000, 10000); in ThreadSafeRingBuffer_selfTest() local
138 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in ThreadSafeRingBuffer_selfTest()
165 for (int i = 0; i < dataSize; i++) in ThreadSafeRingBuffer_selfTest()
/external/icu/icu4c/source/io/
Dustdio.c415 int32_t dataSize; in ufile_fill_uchar_buffer() local
425 dataSize = (int32_t)(str->fLimit - str->fPos); in ufile_fill_uchar_buffer()
426 if (f->fFileno == 0 && dataSize > 0) { in ufile_fill_uchar_buffer()
432 if(dataSize != 0) { in ufile_fill_uchar_buffer()
433 u_memmove(f->fUCBuffer, str->fPos, dataSize); /* not accessing beyond memory */ in ufile_fill_uchar_buffer()
438 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; in ufile_fill_uchar_buffer()
462 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer()
491 int32_t dataSize; in u_fgets() local
514 dataSize = (int32_t)(str->fLimit - str->fPos); in u_fgets()
517 if (dataSize == 0) in u_fgets()
[all …]
/external/zlib/src/contrib/minizip/
Dmztools.c119 int dataSize = cpsize; variable
120 if (dataSize == 0) {
121 dataSize = uncpsize;
123 if (dataSize > 0) {
124 char* data = malloc(dataSize);
126 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) {
127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) {
128 offset += dataSize;
129 totalBytes += dataSize;
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTHash.h66 CPVRTHash(const void* pData, unsigned int dataSize, unsigned int dataCount) : m_uiHash(0) in CPVRTHash() argument
69 _ASSERT(dataSize > 0); in CPVRTHash()
73 m_uiHash = MakeHash(pData, dataSize, dataCount); in CPVRTHash()
142 static CPVRTHash MakeHash(const void* pData, unsigned int dataSize, unsigned int dataCount) in MakeHash() argument
145 _ASSERT(dataSize > 0); in MakeHash()
156 for(unsigned int i = 0; i < dataSize * dataCount; ++i) in MakeHash()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java473 int dataSize = computePackedDataSize(array); in writeRepeatedData() local
477 output.writeRawVarint32(dataSize); in writeRepeatedData()
564 int dataSize = 0; in computePackedDataSize() local
569 dataSize = arrayLength; in computePackedDataSize()
574 dataSize = arrayLength * CodedOutputByteBufferNano.LITTLE_ENDIAN_32_SIZE; in computePackedDataSize()
579 dataSize = arrayLength * CodedOutputByteBufferNano.LITTLE_ENDIAN_64_SIZE; in computePackedDataSize()
583 dataSize += CodedOutputByteBufferNano.computeInt32SizeNoTag( in computePackedDataSize()
589 dataSize += CodedOutputByteBufferNano.computeSInt32SizeNoTag( in computePackedDataSize()
595 dataSize += CodedOutputByteBufferNano.computeUInt32SizeNoTag( in computePackedDataSize()
601 dataSize += CodedOutputByteBufferNano.computeInt64SizeNoTag( in computePackedDataSize()
[all …]
/external/protobuf/objectivec/
DGPBCodedOutputStream.m436 //% __block size_t dataSize = 0;
439 //% dataSize += GPBCompute##NAME##SizeNoTag(value);
442 //% GPBWriteRawVarint32(&state_, (int32_t)dataSize);
470 __block size_t dataSize = 0;
473 dataSize += GPBComputeDoubleSizeNoTag(value);
476 GPBWriteRawVarint32(&state_, (int32_t)dataSize);
497 __block size_t dataSize = 0;
500 dataSize += GPBComputeFloatSizeNoTag(value);
503 GPBWriteRawVarint32(&state_, (int32_t)dataSize);
524 __block size_t dataSize = 0;
[all …]
/external/libopus/silk/fixed/
Dvector_ops_FIX.c40 …const opus_int dataSize /* I Length … in silk_scale_copy_vector16() argument
46 for( i = 0; i < dataSize; i++ ) { in silk_scale_copy_vector16()
56 …opus_int dataSize /* I length … in silk_scale_vector32_Q26_lshift_18() argument
61 for( i = 0; i < dataSize; i++ ) { in silk_scale_vector32_Q26_lshift_18()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java721 final int dataSize = ByteString.CONCATENATE_BY_COPY_SIZE + 1; in testWriteToOutputStream() local
722 byte[] data1 = new byte[dataSize]; in testWriteToOutputStream()
733 byte[] data2 = new byte[dataSize]; in testWriteToOutputStream()
744 result = substringUsingWriteTo(root, 0, dataSize); in testWriteToOutputStream()
745 assertEquals(dataSize, result.length); in testWriteToOutputStream()
747 assertEquals((byte) 1, result[dataSize - 1]); in testWriteToOutputStream()
749 result = substringUsingWriteTo(root, dataSize, dataSize); in testWriteToOutputStream()
750 assertEquals(dataSize, result.length); in testWriteToOutputStream()
752 assertEquals((byte) 2, result[dataSize - 1]); in testWriteToOutputStream()
754 result = substringUsingWriteTo(root, dataSize / 2, dataSize); in testWriteToOutputStream()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCacheTests.cpp1513 size_t dataSize = 0u; in PipelineFromCacheTestInstance() local
1515 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in PipelineFromCacheTestInstance()
1517 m_data = new deUint8[dataSize]; in PipelineFromCacheTestInstance()
1519 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, (void*)m_data)); in PipelineFromCacheTestInstance()
1526dataSize, // deUintptr initialData… in PipelineFromCacheTestInstance()
1577 size_t dataSize = 0u; in PipelineFromIncompleteCacheTestInstance() local
1578 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in PipelineFromIncompleteCacheTestInstance()
1580 if (dataSize == 0) in PipelineFromIncompleteCacheTestInstance()
1583 dataSize--; in PipelineFromIncompleteCacheTestInstance()
1585 m_data = new deUint8[dataSize]; in PipelineFromIncompleteCacheTestInstance()
[all …]
/external/libopus/silk/float/
Dscale_vector_FLP.c38 opus_int dataSize in silk_scale_vector_FLP() argument
44 dataSize4 = dataSize & 0xFFFC; in silk_scale_vector_FLP()
53 for( ; i < dataSize; i++ ) { in silk_scale_vector_FLP()
Dinner_product_FLP.c38 opus_int dataSize in silk_inner_product_FLP() argument
46 dataSize4 = dataSize & 0xFFFC; in silk_inner_product_FLP()
55 for( ; i < dataSize; i++ ) { in silk_inner_product_FLP()
Denergy_FLP.c37 opus_int dataSize in silk_energy_FLP() argument
45 dataSize4 = dataSize & 0xFFFC; in silk_energy_FLP()
54 for( ; i < dataSize; i++ ) { in silk_energy_FLP()
Dscale_copy_vector_FLP.c39 opus_int dataSize in silk_scale_copy_vector_FLP() argument
45 dataSize4 = dataSize & 0xFFFC; in silk_scale_copy_vector_FLP()
54 for( ; i < dataSize; i++ ) { in silk_scale_copy_vector_FLP()
DSigProc_FLP.h122 opus_int dataSize
130 opus_int dataSize
137 opus_int dataSize
143 opus_int dataSize
/external/guava/guava-tests/test/com/google/common/io/
DFileBackedOutputStreamTest.java77 private void testThreshold(int fileThreshold, int dataSize, boolean singleByte, in testThreshold() argument
79 byte[] data = newPreFilledByteArray(dataSize); in testThreshold()
82 int chunk1 = Math.min(dataSize, fileThreshold); in testThreshold()
83 int chunk2 = dataSize - chunk1; in testThreshold()
97 assertEquals(dataSize, file.length()); in testThreshold()
/external/javassist/src/main/javassist/
DCtPrimitiveType.java29 private int dataSize; field in CtPrimitiveType
41 dataSize = size; in CtPrimitiveType()
110 public int getDataSize() { return dataSize; } in getDataSize()
/external/aac/libSYS/src/
Dwav_file.cpp215 wav->header.dataSize = offset; in WAV_InputOpen()
220 FDKfread(&(wav->header.dataSize), 1, 1, wav->fp); in WAV_InputOpen()
422 wav->header.dataSize = LittleEndian32(0x7fffffff - 36); in WAV_OutputOpen()
433 wav->header.dataSize = wav->header.riffSize = 0; in WAV_OutputOpen()
516 wav->header.dataSize += (numberOfSamples * (bps>>3)); in WAV_OutputWrite()
535 wav->header.dataSize = LittleEndian32(wav->header.dataSize); in WAV_OutputClose()
536 wav->header.riffSize = LittleEndian32(wav->header.dataSize + 36); in WAV_OutputClose()
/external/lzma/CPP/Windows/
DRegistry.cpp292 LONG CKey::QueryValue(LPCTSTR name, CByteBuffer &value, UInt32 &dataSize) in QueryValue() argument
295 dataSize = 0; in QueryValue()
296 LONG res = RegQueryValueEx(_object, (LPTSTR)name, NULL, &type, NULL, (DWORD *)&dataSize); in QueryValue()
299 value.Alloc(dataSize); in QueryValue()
300 return QueryValue(name, (BYTE *)value, dataSize); in QueryValue()
345 UInt32 dataSize; in GetValue_Strings() local
346 LONG res = QueryValue(valueName, buffer, dataSize); in GetValue_Strings()
349 if (dataSize % sizeof(wchar_t) != 0) in GetValue_Strings()
352 unsigned numChars = dataSize / sizeof(wchar_t); in GetValue_Strings()
DRegistry.h65 LONG QueryValue(LPCTSTR name, LPTSTR value, UInt32 &dataSize) throw();
72 LONG QueryValue(LPCWSTR name, LPWSTR value, UInt32 &dataSize);
76 LONG QueryValue(LPCTSTR name, void *value, UInt32 &dataSize) throw();
77 LONG QueryValue(LPCTSTR name, CByteBuffer &value, UInt32 &dataSize);
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawIndexedTest.cpp141 const vk::VkDeviceSize dataSize = m_indexes.size() * sizeof(deUint32); in iterate() local
143 BufferCreateInfo(dataSize, in iterate()
150 deMemcpy(ptr, &m_indexes[0], static_cast<size_t>(dataSize)); in iterate()
155 dataSize); in iterate()
242 const vk::VkDeviceSize dataSize = m_indexes.size() * sizeof(deUint32); in iterate() local
244 BufferCreateInfo(dataSize, in iterate()
251 deMemcpy(ptr, &m_indexes[0], static_cast<size_t>(dataSize)); in iterate()
255 dataSize); in iterate()

123456789