Home
last modified time | relevance | path

Searched full:datasize (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/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/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc397 NumberOfContours() * DataSize::kUSHORT); in Initialize()
399 (NumberOfContours() + 1) * DataSize::kUSHORT; in Initialize()
400 flags_offset_ = instructions_offset_ + instruction_size_ * DataSize::kBYTE; in Initialize()
406 x_coordinates_offset_ = flags_offset_ + flag_byte_count_ * DataSize::kBYTE; in Initialize()
408 DataSize::kBYTE; in Initialize()
416 5 * DataSize::kSHORT + in Initialize()
417 (NumberOfContours() * DataSize::kUSHORT) + in Initialize()
418 DataSize::kUSHORT + in Initialize()
419 (instruction_size_ * DataSize::kBYTE) + in Initialize()
420 (flag_byte_count_ * DataSize::kBYTE) + in Initialize()
[all …]
/external/sfntly/cpp/src/sfntly/table/bitmap/
Deblc_table.h36 kHeaderLength = kNumSizes + DataSize::kULONG,
89 DataSize::kULONG +
93 DataSize::kULONG,
104 DataSize::kULONG,
105 kIndexSubTable4_codeOffsetPairLength = 2 * DataSize::kUSHORT,
107 kIndexSubTable4_codeOffsetPair_offset = DataSize::kUSHORT,
113 DataSize::kULONG,
117 DataSize::kULONG,
121 kCodeOffsetPairLength = 2 * DataSize::kUSHORT,
123 kCodeOffsetPair_offset = DataSize::kUSHORT,
Debsc_table.h31 kNumSizes = DataSize::kFixed,
32 kHeaderLength = kNumSizes + DataSize::kULONG,
40 kBitmapScaleTable_ppemY = kBitmapScaleTable_ppemX + DataSize::kBYTE,
42 DataSize::kBYTE,
44 DataSize::kBYTE,
46 DataSize::kBYTE,
Dbitmap_glyph.h58 DataSize::kUSHORT,
63 DataSize::kUSHORT,
66 kEbdtComponentLength = DataSize::kUSHORT + 2 * DataSize::kCHAR,
/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/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/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/sfntly/cpp/src/test/
Dfont_data_test.cc49 * DataSize::kUSHORT,
51 DataSize::kUSHORT,
52 kLowerByteArrayForSearchingLength * DataSize::kUSHORT,
53 DataSize::kUSHORT },
57 * DataSize::kUSHORT,
59 2 * DataSize::kUSHORT,
60 DataSize::kUSHORT,
61 2 * DataSize::kUSHORT },
65 * DataSize::kUSHORT,
66 kLowerByteArrayForSearchingLength * DataSize::kUSHORT,
[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()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java109 byte[] dataSize = new byte[4]; in writeHeader()
116 dataSize[3] = (byte) (tempDataSize >> 24); in writeHeader()
117 dataSize[2] = (byte) (tempDataSize >> 16); in writeHeader()
118 dataSize[1] = (byte) (tempDataSize >> 8); in writeHeader()
119 dataSize[0] = (byte) tempDataSize; in writeHeader()
136 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/clang/lib/AST/
DRecordLayout.cpp32 CharUnits datasize, in ASTRecordLayout() argument
34 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
45 CharUnits datasize, in ASTRecordLayout() argument
57 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
/external/compiler-rt/lib/profile/
DInstrProfilingMerge.c27 uint64_t DataSize = __llvm_profile_get_data_size(__llvm_profile_begin_data(), in lprofGetLoadModuleSignature() local
35 return (NamesSize << 40) + (CounterSize << 30) + (DataSize << 20) + in lprofGetLoadModuleSignature()
36 (NumVnodes << 10) + (DataSize > 0 ? FirstD->NameRef : 0); in lprofGetLoadModuleSignature()
48 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_check_compatibility()
56 Header->DataSize != in __llvm_profile_check_compatibility()
67 Header->DataSize * sizeof(__llvm_profile_data) + in __llvm_profile_check_compatibility()
95 SrcDataEnd = SrcDataStart + Header->DataSize; in __llvm_profile_merge_from_buffer()
/external/pdfium/core/fxge/ge/
Dcfx_folderfontinfo.cpp336 uint32_t datasize = 0; in GetFontData() local
339 datasize = pFont->m_FontOffset ? 0 : pFont->m_FileSize; in GetFontData()
341 datasize = pFont->m_FontOffset ? pFont->m_FileSize : 0; in GetFontData()
348 datasize = GET_TT_LONG(p + 12); in GetFontData()
353 if (!datasize || size < datasize) in GetFontData()
354 return datasize; in GetFontData()
361 FXSYS_fread(buffer, datasize, 1, pFile) != 1) { in GetFontData()
362 datasize = 0; in GetFontData()
365 return datasize; in GetFontData()
/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/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()
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/syslinux/gpxe/src/util/
Dzbin.c215 size_t datasize ) { in process_zinfo_add() argument
223 if ( ( offset + datasize ) > output->len ) { in process_zinfo_add()
232 switch ( datasize ) { in process_zinfo_add()
243 fprintf ( stderr, "Unsupported add datasize %zd\n", in process_zinfo_add()
244 datasize ); in process_zinfo_add()
251 mask = ( ( datasize < sizeof ( mask ) ) ? in process_zinfo_add()
252 ( ( 1UL << ( 8 * datasize ) ) - 1 ) : ~0UL ); in process_zinfo_add()
265 offset, datasize, in process_zinfo_add()
270 switch ( datasize ) { in process_zinfo_add()
284 "%#lx\n", offset, ( offset + datasize ), in process_zinfo_add()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCacheTests.cpp1483 size_t dataSize = 0u; in PipelineFromCacheTestInstance() local
1485 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in PipelineFromCacheTestInstance()
1487 m_data = new deUint8[dataSize]; in PipelineFromCacheTestInstance()
1489 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, (void*)m_data)); in PipelineFromCacheTestInstance()
1496dataSize, // deUintptr initialData… in PipelineFromCacheTestInstance()
1547 size_t dataSize = 0u; in PipelineFromIncompleteCacheTestInstance() local
1548 VK_CHECK(vk.getPipelineCacheData(vkDevice, *m_cache, (deUintptr*)&dataSize, DE_NULL)); in PipelineFromIncompleteCacheTestInstance()
1550 if (dataSize == 0) in PipelineFromIncompleteCacheTestInstance()
1553 dataSize--; in PipelineFromIncompleteCacheTestInstance()
1555 m_data = new deUint8[dataSize]; in PipelineFromIncompleteCacheTestInstance()
[all …]
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc231 // Datasize in EbmlMasterElementSize()
241 // Datasize in EbmlElementSize()
244 // Size of Datasize in EbmlElementSize()
258 // Datasize in EbmlElementSize()
261 // Size of Datasize in EbmlElementSize()
271 // Datasize in EbmlElementSize()
274 // Size of Datasize in EbmlElementSize()
287 // Datasize in EbmlElementSize()
290 // Size of Datasize in EbmlElementSize()
303 // Datasize in EbmlElementSize()
[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/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/curl/lib/
Dhttp_chunks.c161 ch->datasize=curlx_strtoofft(ch->hexbuffer, &endptr, 16); in Curl_httpchunk_read()
162 if((ch->datasize == CURL_OFF_T_MAX) && (errno == ERANGE)) in Curl_httpchunk_read()
173 if(0 == ch->datasize) { in Curl_httpchunk_read()
186 /* We expect 'datasize' of data. We have 'length' right now, it can be in Curl_httpchunk_read()
187 more or less than 'datasize'. Get the smallest piece. in Curl_httpchunk_read()
189 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize); in Curl_httpchunk_read()
235 ch->datasize -= piece; /* decrease amount left to expect */ in Curl_httpchunk_read()
239 if(0 == ch->datasize) in Curl_httpchunk_read()

12345678910>>...16