Home
last modified time | relevance | path

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

1234567891011

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpscramble.h63 const Ipp32u* pData, cpSize dataSize) in cpScramblePut() argument
68 dataSize *= sizeof(Ipp32u); in cpScramblePut()
69 for(i=0; i<dataSize; i++) in cpScramblePut()
73 dataSize *= sizeof(Ipp16u); in cpScramblePut()
74 for(i=0; i<dataSize; i++) in cpScramblePut()
78 for(i=0; i<dataSize; i++) in cpScramblePut()
82 for(; dataSize>=2; dataSize-=2, pArray+=CACHE_LINE_SIZE, pData+=2) { in cpScramblePut()
86 if(dataSize) in cpScramblePut()
90 for(; dataSize>=4; dataSize-=4, pArray+=CACHE_LINE_SIZE, pData+=4) { in cpScramblePut()
96 for(; dataSize>0; dataSize--, pArray+=sizeof(Ipp32u), pData++) in cpScramblePut()
[all …]
/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);
/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.cpp415 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java110 byte[] dataSize = new byte[4]; in writeHeader()
117 dataSize[3] = (byte) (tempDataSize >> 24); in writeHeader()
118 dataSize[2] = (byte) (tempDataSize >> 16); in writeHeader()
119 dataSize[1] = (byte) (tempDataSize >> 8); in writeHeader()
120 dataSize[0] = (byte) tempDataSize; in writeHeader()
137 dataSize[0], dataSize[1], dataSize[2], dataSize[3], in writeHeader()
/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/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCacheTests.cpp1350 size_t dataSize = 0u; in PipelineFromCacheTestInstance() local
1352 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in PipelineFromCacheTestInstance()
1354 m_data = new deUint8[dataSize]; in PipelineFromCacheTestInstance()
1356 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, (void*)m_data)); in PipelineFromCacheTestInstance()
1363dataSize, // deUintptr initialData… in PipelineFromCacheTestInstance()
1414 size_t dataSize = 0u; in PipelineFromIncompleteCacheTestInstance() local
1415 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in PipelineFromIncompleteCacheTestInstance()
1417 if (dataSize == 0) in PipelineFromIncompleteCacheTestInstance()
1420 dataSize--; in PipelineFromIncompleteCacheTestInstance()
1422 m_data = new deUint8[dataSize]; in PipelineFromIncompleteCacheTestInstance()
[all …]
/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c152 DWORD dataSize = 0; in getpythonregpath() local
177 &numEntries, &nameSize, &dataSize, NULL, NULL); in getpythonregpath()
179 if (bWin32s && numEntries==0 && dataSize==0) { in getpythonregpath()
182 dataSize = 511; in getpythonregpath()
199 dataSize += reqdSize + 1; /* 1 for the ";" */ in getpythonregpath()
201 dataBuf = malloc(dataSize+1); in getpythonregpath()
208 long reqdSize = dataSize; in getpythonregpath()
218 dataSize -= adjust; in getpythonregpath()
222 dataSize--; in getpythonregpath()
227 rc = RegQueryValue(newKey, "", dataBuf+off, &dataSize); in getpythonregpath()
/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/python/cpython2/PC/
Dgetpathp.c227 DWORD dataSize = 0; in getpythonregpath() local
263 NULL, NULL, &dataSize, NULL, NULL); in getpythonregpath()
265 if (skipcore) dataSize = 0; /* Only count core ones if we want them! */ in getpythonregpath()
296 dataSize += reqdSize + 1; /* 1 for the ";" */ in getpythonregpath()
303 if (dataSize == 0) goto done; in getpythonregpath()
306 dataBuf = malloc((dataSize+1) * sizeof(TCHAR)); in getpythonregpath()
309 DWORD reqdSize = dataSize; in getpythonregpath()
314 dataSize--; in getpythonregpath()
320 assert(dataSize > (DWORD)len); in getpythonregpath()
321 dataSize -= (DWORD)len; in getpythonregpath()
[all …]
/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/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/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()
Denergy_FLP.c37 opus_int dataSize in silk_energy_FLP() argument
45 for( i = 0; i < dataSize - 3; i += 4 ) { in silk_energy_FLP()
53 for( ; i < dataSize; i++ ) { in silk_energy_FLP()
Dinner_product_FLP.c38 opus_int dataSize in silk_inner_product_FLP() argument
46 for( i = 0; i < dataSize - 3; i += 4 ) { in silk_inner_product_FLP()
54 for( ; i < dataSize; i++ ) { in silk_inner_product_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.h115 opus_int dataSize
123 opus_int dataSize
130 opus_int dataSize
136 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/lzma/CPP/Windows/
DRegistry.cpp305 LONG CKey::QueryValue(LPCTSTR name, CByteBuffer &value, UInt32 &dataSize) in QueryValue() argument
308 dataSize = 0; in QueryValue()
309 LONG res = RegQueryValueEx(_object, (LPTSTR)name, NULL, &type, NULL, (DWORD *)&dataSize); in QueryValue()
312 value.Alloc(dataSize); in QueryValue()
313 return QueryValue(name, (BYTE *)value, dataSize); in QueryValue()
363 UInt32 dataSize = 0; in GetValue_Strings() local
364 LONG res = QueryValue(valueName, buffer, dataSize); in GetValue_Strings()
367 if (dataSize > buffer.Size()) in GetValue_Strings()
369 if (dataSize % sizeof(wchar_t) != 0) in GetValue_Strings()
373 size_t numChars = dataSize / sizeof(wchar_t); in GetValue_Strings()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5ImagesArrayIndexing.cpp126 glw::GLuint dataSize = m_texture_width * m_texture_height * m_texture_n_components; in initTest() local
127 m_data_buffer = new glw::GLuint[dataSize * m_array_size]; in initTest()
131 for (glw::GLuint index = 0; index < dataSize; ++index) in initTest()
133 m_data_buffer[index + array_index * dataSize] = 1 + array_index; in initTest()
147 m_texture_height, GL_RED_INTEGER, GL_UNSIGNED_INT, &m_data_buffer[index * dataSize]); in initTest()
200 const glw::GLuint dataSize = m_texture_width * m_texture_height * m_texture_n_components * 4; in iterate() local
201 m_data_buffer = new glw::GLuint[dataSize]; in iterate()
/external/mesa3d/src/mesa/main/
Dperformance_query.c250 GLuint *dataSize, in _mesa_GetPerfQueryInfoINTEL() argument
283 if (dataSize) in _mesa_GetPerfQueryInfoINTEL()
284 *dataSize = queryDataSize; in _mesa_GetPerfQueryInfoINTEL()
311 GLuint *dataSize, in _mesa_GetPerfCounterInfoINTEL() argument
373 if (dataSize) in _mesa_GetPerfCounterInfoINTEL()
374 *dataSize = counterDataSize; in _mesa_GetPerfCounterInfoINTEL()
585 GLsizei dataSize, void *data, GLuint *bytesWritten) in _mesa_GetPerfQueryDataINTEL() argument
637 ctx->Driver.GetPerfQueryData(ctx, obj, dataSize, data, bytesWritten); in _mesa_GetPerfQueryDataINTEL()

1234567891011