Home
last modified time | relevance | path

Searched refs:DATA_SIZE (Results 1 – 15 of 15) sorted by relevance

/external/brotli/c/enc/
Dhistogram.h29 #define DATA_SIZE BROTLI_NUM_LITERAL_SYMBOLS macro
33 #undef DATA_SIZE
38 #define DATA_SIZE BROTLI_NUM_COMMAND_SYMBOLS macro
40 #undef DATA_SIZE
44 #define DATA_SIZE BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS macro
47 #undef DATA_SIZE
Dhistogram_inc.h13 uint32_t data_[DATA_SIZE];
46 for (i = 0; i < DATA_SIZE; ++i) { in FN()
51 static BROTLI_INLINE size_t FN(HistogramDataSize)(void) { return DATA_SIZE; } in FN()
/external/flac/src/test_libFLAC/
Dcrc.c39 #define DATA_SIZE 32768 macro
44 FLAC__byte data[DATA_SIZE] = { 0 }; in test_crc()
47 for (i = 1; i < DATA_SIZE; i++) in test_crc()
52 if (! test_crc8(data, DATA_SIZE)) in test_crc()
55 if (! test_crc16(data, DATA_SIZE)) in test_crc()
58 if (! test_crc16_update(data, DATA_SIZE)) in test_crc()
61 if (! test_crc16_32bit_words((FLAC__uint32 *)data, DATA_SIZE / 4)) in test_crc()
64 if (! test_crc16_64bit_words((FLAC__uint64 *)data, DATA_SIZE / 8)) in test_crc()
/external/e2fsprogs/tests/progs/
Drandom_exercise.c37 #define DATA_SIZE 65536 macro
39 char data_buffer[DATA_SIZE];
88 size = random() & (DATA_SIZE-1); in create_random_file()
106 size = random() & (DATA_SIZE-1); in truncate_file()
/external/libopus/celt/tests/
Dtest_unit_laplace.c43 #define DATA_SIZE 40000 macro
61 ptr = (unsigned char *)malloc(DATA_SIZE); in main()
62 ec_enc_init(&enc,ptr,DATA_SIZE); in main()
Dtest_unit_entropy.c50 #define DATA_SIZE 10000000 macro
82 ptr = (unsigned char *)malloc(DATA_SIZE); in main()
83 ec_enc_init(&enc,ptr, DATA_SIZE); in main()
110 ec_dec_init(&dec,ptr,DATA_SIZE); in main()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sock_lowlevel.py275 DATA_SIZE = 10_000_00
277 chunk = b'0123456789' * (DATA_SIZE // 10)
282 b'Content-Length: %d\r\n' % DATA_SIZE +
287 data = await self.loop.sock_recv(sock, DATA_SIZE)
292 data += await self.loop.sock_recv(sock, DATA_SIZE)
297 size = DATA_SIZE
305 data = await self.loop.sock_recv(sock, DATA_SIZE)
324 DATA_SIZE = 10_000_00
326 chunk = b'0123456789' * (DATA_SIZE // 10)
331 b'Content-Length: %d\r\n' % DATA_SIZE +
[all …]
/external/vboot_reference/tests/
Drun_cgpt_tests.sh44 DATA_SIZE=20
81 $CGPT add $MTD -b ${DATA_START} -s ${DATA_SIZE} -t ${DATA_GUID} \
99 [ "$X $Y" = "$DATA_START $DATA_SIZE" ] || error
129 DATA_SIZE=$((DATA_SIZE + 10))
130 $CGPT add $MTD -i 1 -s ${DATA_SIZE} ${DEV} || error
132 [ "$X" = "$DATA_SIZE" ] || error
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiComputeInstanceResultBuffer.cpp69 (VkDeviceSize) DATA_SIZE, // size in createResultBuffer()
86 for (size_t offset = 0; offset < DATA_SIZE; offset += sizeof(float)) in createResultBuffer()
107 DATA_SIZE, // size in createResultBufferBarrier()
DvktApiComputeInstanceResultBuffer.hpp43 DATA_SIZE = sizeof(tcu::Vec4[4]) enumerator
DvktApiBufferComputeInstance.cpp167 … = makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize) ComputeInstanceResultBuffer::DATA_SIZE); in createDescriptorSet()
204 … = makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize) ComputeInstanceResultBuffer::DATA_SIZE); in createDescriptorSet()
/external/deqp/execserver/tools/
DxsTest.cpp622 DATA_SIZE = 100*1024*1024 enumerator
683 if (receivedBytes != DATA_SIZE) in runClient()
685 printf(" received: %d bytes\n expected: %d bytes\n", receivedBytes, DATA_SIZE); in runClient()
690 …printf(" Streamed %d bytes in %d ms: %.2f MiB/s\n", DATA_SIZE, timeMs, ((float)DATA_SIZE / (float… in runClient()
703 while (numWritten < DATA_SIZE) in runProgram()
706 …XS_CHECK(deFile_write(file, &tmpBuf[0], de::min((int)sizeof(tmpBuf), DATA_SIZE-numWritten), &numWr… in runProgram()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DReadAndDispatchMessageTest.java41 private static final int DATA_SIZE = 1024; field in ReadAndDispatchMessageTest
55 mData = BindingsTestUtils.newRandomMessage(DATA_SIZE).getData(); in setUp()
/external/mdnsresponder/mDNSShared/
DDebugServices.h1556 …, LABEL, LABEL_SIZE, LABEL_MIN_SIZE, TYPE, TYPE_SIZE, DATA_START, DATA, DATA_SIZE, FLAGS, BUFFER, … argument
1558 ( DATA_START ), ( DATA ), ( DATA_SIZE ), ( FLAGS ), ( BUFFER ), ( BUFFER_SIZE ) )
1560 …, LABEL, LABEL_SIZE, LABEL_MIN_SIZE, TYPE, TYPE_SIZE, DATA_START, DATA, DATA_SIZE, FLAGS, BUFFER, … argument
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1948 DATA_SIZE = sizeof(tcu::Vec4[4]) enumerator
2003 (vk::VkDeviceSize)DATA_SIZE, // size in createResultBuffer()
2014 for (size_t offset = 0; offset < DATA_SIZE; offset += sizeof(float)) in createResultBuffer()
2035 DATA_SIZE, // size in createResultBufferBarrier()
2526 …vk::makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize)ComputeInstanceResultBuffer::DATA_SIZE); in writeDescriptorSet()
2589 …vk::makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize)ComputeInstanceResultBuffer::DATA_SIZE); in writeDescriptorSetWithTemplate()
4798 …ptorBufferInfo(m_result.getBuffer(), 0u, (vk::VkDeviceSize)ComputeInstanceResultBuffer::DATA_SIZE); in writeDescriptorSet()
4862 …ptorBufferInfo(m_result.getBuffer(), 0u, (vk::VkDeviceSize)ComputeInstanceResultBuffer::DATA_SIZE); in writeDescriptorSetWithTemplate()
6570 …ptorBufferInfo(m_result.getBuffer(), 0u, (vk::VkDeviceSize)ComputeInstanceResultBuffer::DATA_SIZE); in writeSamplerDescriptorSet()
6644 …ptorBufferInfo(m_result.getBuffer(), 0u, (vk::VkDeviceSize)ComputeInstanceResultBuffer::DATA_SIZE); in writeSamplerDescriptorSetWithTemplate()
[all …]