/external/deqp/execserver/ |
D | xsProtocol.cpp | 50 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 …]
|
D | xsProtocol.hpp | 77 …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);
|
D | xsExecutionServer.cpp | 260 …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/ |
D | Object_spt.c | 197 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() 708 UINT16 dataSize, // IN: the size of sensitive data, excluding the in ProduceOuterWrap() argument 752 TPM_ALG_CFB, symKey.t.buffer, iv, dataSize, in ProduceOuterWrap() 756 ComputeOuterIntegrity(name, protector, hashAlg, seed, dataSize + ivSize, in ProduceOuterWrap() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deRingBuffer.cpp | 42 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()
|
D | deThreadSafeRingBuffer.cpp | 99 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/ |
D | ustdio.c | 413 int32_t dataSize; in ufile_fill_uchar_buffer() local 423 dataSize = (int32_t)(str->fLimit - str->fPos); in ufile_fill_uchar_buffer() 424 if (f->fFileno == 0 && dataSize > 0) { in ufile_fill_uchar_buffer() 430 if(dataSize != 0) { in ufile_fill_uchar_buffer() 431 … uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); /* not accessing beyond memory */ in ufile_fill_uchar_buffer() 436 availLength = UFILE_UCHARBUFFER_SIZE - dataSize; in ufile_fill_uchar_buffer() 460 myTarget = f->fUCBuffer + dataSize; in ufile_fill_uchar_buffer() 489 int32_t dataSize; in u_fgets() local 512 dataSize = (int32_t)(str->fLimit - str->fPos); in u_fgets() 515 if (dataSize == 0) in u_fgets() [all …]
|
/external/zlib/src/contrib/minizip/ |
D | mztools.c | 119 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/protobuf/java/src/main/java/com/google/protobuf/nano/ |
D | Extension.java | 508 int dataSize = computePackedDataSize(array); in writeRepeatedData() local 512 output.writeRawVarint32(dataSize); in writeRepeatedData() 599 int dataSize = 0; in computePackedDataSize() local 604 dataSize = arrayLength; in computePackedDataSize() 609 dataSize = arrayLength * CodedOutputByteBufferNano.LITTLE_ENDIAN_32_SIZE; in computePackedDataSize() 614 dataSize = arrayLength * CodedOutputByteBufferNano.LITTLE_ENDIAN_64_SIZE; in computePackedDataSize() 618 dataSize += CodedOutputByteBufferNano.computeInt32SizeNoTag( in computePackedDataSize() 624 dataSize += CodedOutputByteBufferNano.computeSInt32SizeNoTag( in computePackedDataSize() 630 dataSize += CodedOutputByteBufferNano.computeUInt32SizeNoTag( in computePackedDataSize() 636 dataSize += CodedOutputByteBufferNano.computeInt64SizeNoTag( in computePackedDataSize() [all …]
|
/external/libopus/silk/fixed/ |
D | vector_ops_FIX.c | 39 …const opus_int dataSize /* I Length … in silk_scale_copy_vector16() argument 45 for( i = 0; i < dataSize; i++ ) { in silk_scale_copy_vector16() 55 …opus_int dataSize /* I length … in silk_scale_vector32_Q26_lshift_18() argument 60 for( i = 0; i < dataSize; i++ ) { in silk_scale_vector32_Q26_lshift_18()
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfScanLineInputFile.cpp | 134 int dataSize; member 158 dataSize (0), in LineBuffer() 259 int dataSize; in reconstructLineOffsets() local 260 Xdr::read <StreamIO> (is, dataSize); in reconstructLineOffsets() 262 Xdr::skip <StreamIO> (is, dataSize); in reconstructLineOffsets() 327 int &dataSize) in readPixelData() argument 359 Xdr::read <StreamIO> (*ifd->is, dataSize); in readPixelData() 364 if (dataSize > (int) ifd->lineBufferSize) in readPixelData() 372 buffer = ifd->is->readMemoryMapped (dataSize); in readPixelData() 374 ifd->is->read (buffer, dataSize); in readPixelData() [all …]
|
D | ImfTiledInputFile.cpp | 136 int dataSize; member 160 dataSize (0), in TileBuffer() 282 int &dataSize) in readTileData() argument 319 Xdr::read <StreamIO> (*ifd->is, dataSize); in readTileData() 333 if (dataSize > (int) ifd->tileBufferSize) in readTileData() 341 buffer = ifd->is->readMemoryMapped (dataSize); in readTileData() 343 ifd->is->read (buffer, dataSize); in readTileData() 351 ifd->currentPosition = tileOffset + 5 * Xdr::size<int>() + dataSize; in readTileData() 360 int &dataSize) in readNextTileData() argument 374 Xdr::read <StreamIO> (*ifd->is, dataSize); in readNextTileData() [all …]
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | ByteStringTest.java | 719 final int dataSize = ByteString.CONCATENATE_BY_COPY_SIZE + 1; in testWriteToOutputStream() local 720 byte[] data1 = new byte[dataSize]; in testWriteToOutputStream() 731 byte[] data2 = new byte[dataSize]; in testWriteToOutputStream() 742 result = substringUsingWriteTo(root, 0, dataSize); in testWriteToOutputStream() 743 assertEquals(dataSize, result.length); in testWriteToOutputStream() 745 assertEquals((byte) 1, result[dataSize - 1]); in testWriteToOutputStream() 747 result = substringUsingWriteTo(root, dataSize, dataSize); in testWriteToOutputStream() 748 assertEquals(dataSize, result.length); in testWriteToOutputStream() 750 assertEquals((byte) 2, result[dataSize - 1]); in testWriteToOutputStream() 752 result = substringUsingWriteTo(root, dataSize / 2, dataSize); in testWriteToOutputStream() [all …]
|
/external/libopus/silk/float/ |
D | scale_vector_FLP.c | 38 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()
|
D | energy_FLP.c | 37 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()
|
D | inner_product_FLP.c | 38 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()
|
D | scale_copy_vector_FLP.c | 39 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()
|
D | SigProc_FLP.h | 122 opus_int dataSize 130 opus_int dataSize 137 opus_int dataSize 143 opus_int dataSize
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | FileBackedOutputStreamTest.java | 77 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/ |
D | CtPrimitiveType.java | 29 private int dataSize; field in CtPrimitiveType 41 dataSize = size; in CtPrimitiveType() 110 public int getDataSize() { return dataSize; } in getDataSize()
|
/external/aac/libSYS/src/ |
D | wav_file.cpp | 215 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/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawIndexedTest.cpp | 124 const vk::VkDeviceSize dataSize = m_indexes.size() * sizeof(deUint32); in iterate() local 126 BufferCreateInfo(dataSize, in iterate() 133 deMemcpy(ptr, &m_indexes[0], static_cast<size_t>(dataSize)); in iterate() 138 dataSize); in iterate() 225 const vk::VkDeviceSize dataSize = m_indexes.size() * sizeof(deUint32); in iterate() local 227 BufferCreateInfo(dataSize, in iterate() 234 deMemcpy(ptr, &m_indexes[0], static_cast<size_t>(dataSize)); in iterate() 238 dataSize); in iterate()
|
/external/lzma/CPP/Windows/ |
D | Registry.cpp | 292 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()
|
D | Registry.h | 65 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/lzma/CPP/7zip/UI/Common/ |
D | UpdateCallback.cpp | 154 , const void **data, UInt32 *dataSize, UInt32 *propType) in GetRootRawProp() argument 157 *dataSize = 0; in GetRootRawProp() 173 *dataSize = (UInt32)buf.Size(); in GetRootRawProp() 179 return GetRootProps->GetRootRawProp(propID, data, dataSize, propType); in GetRootRawProp() 188 …ack::GetRawProp(UInt32 index, PROPID propID, const void **data, UInt32 *dataSize, UInt32 *propType) in GetRawProp() argument 191 *dataSize = 0; in GetRawProp() 204 propID, data, dataSize, propType); in GetRawProp() 228 *dataSize = (UInt32)buf.Size(); in GetRawProp() 244 *dataSize = (UInt32)buf->Size(); in GetRawProp()
|