Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 11815) sorted by relevance

12345678910>>...473

/third_party/python/Lib/test/
Dtest_bigmem.py72 def _test_capitalize(self, size): argument
75 s = _('-') * size + SUBSTR
81 @bigmemtest(size=_2G + 10, memuse=1)
82 def test_center(self, size): argument
84 s = SUBSTR.center(size)
85 self.assertEqual(len(s), size)
92 @bigmemtest(size=_2G, memuse=2)
93 def test_count(self, size): argument
96 s = _('.') * size + SUBSTR
97 self.assertEqual(s.count(_('.')), size)
[all …]
/third_party/littlefs/tests/
Dtest_entries.toml17 sprintf(path, "hi0"); size = 20;
20 memset(wbuffer, 'c', size);
21 lfs_file_write(&lfs, &file, wbuffer, size) => size;
22 lfs_file_size(&lfs, &file) => size;
25 sprintf(path, "hi1"); size = 20;
28 memset(wbuffer, 'c', size);
29 lfs_file_write(&lfs, &file, wbuffer, size) => size;
30 lfs_file_size(&lfs, &file) => size;
33 sprintf(path, "hi2"); size = 20;
36 memset(wbuffer, 'c', size);
[all …]
Dtest_seek.toml16 size = strlen("kittycatcat");
17 memcpy(buffer, "kittycatcat", size);
19 lfs_file_write(&lfs, &file, buffer, size);
28 size = strlen("kittycatcat");
30 lfs_file_read(&lfs, &file, buffer, size) => size;
31 memcmp(buffer, "kittycatcat", size) => 0;
37 lfs_file_read(&lfs, &file, buffer, size) => size;
38 memcmp(buffer, "kittycatcat", size) => 0;
41 lfs_file_read(&lfs, &file, buffer, size) => size;
42 memcmp(buffer, "kittycatcat", size) => 0;
[all …]
/third_party/vk-gl-cts/scripts/opengl/
Dgen_call_log_wrapper.py35 def pointer (size): argument
36 return lambda name: "getPointerStr(%s, %s)" % (name, size)
38 def enumPointer (group, size): argument
39 …numPointerStr(%(name)s, %(size)s, %(nameFunc)s)" % {"name": name, "size": size, "nameFunc": ("get%…
41 def booleanPointer (size): argument
42 return lambda name: "getBooleanPointerStr(%s, %s)" % (name, size)
90 "glDeleteBuffers": LogSpec({1: pointer(size = "n")}),
91 "glDeleteFramebuffers": LogSpec({1: pointer(size = "n")}),
92 "glDeleteQueries": LogSpec({1: pointer(size = "n")}),
93 "glDeleteRenderbuffers": LogSpec({1: pointer(size = "n")}),
[all …]
/third_party/ffmpeg/tests/checkasm/
Dhevc_pel.c76 int size, bit_depth, i, j, row; in checkasm_check_hevc_qpel() local
85 for (size = 1; size < 10; size++) { in checkasm_check_hevc_qpel()
94 … if (check_func(h.put_hevc_qpel[size][j][i], "put_hevc_%s%d_%d", type, sizes[size], bit_depth)) { in checkasm_check_hevc_qpel()
97 … call_ref(dstw0, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
98 … call_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
99 for (row = 0; row < size[sizes]; row++) { in checkasm_check_hevc_qpel()
100 … if (memcmp(dstw0 + row * MAX_PB_SIZE, dstw1 + row * MAX_PB_SIZE, sizes[size] * SIZEOF_PIXEL)) in checkasm_check_hevc_qpel()
103 … bench_new(dstw1, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], i, j, sizes[size]); in checkasm_check_hevc_qpel()
120 int size, bit_depth, i, j; in checkasm_check_hevc_qpel_uni() local
129 for (size = 1; size < 10; size++) { in checkasm_check_hevc_qpel_uni()
[all …]
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_structs.h24 size_t size = 0; in vn_sizeof_VkExtent3D() local
25 size += vn_sizeof_uint32_t(&val->width); in vn_sizeof_VkExtent3D()
26 size += vn_sizeof_uint32_t(&val->height); in vn_sizeof_VkExtent3D()
27 size += vn_sizeof_uint32_t(&val->depth); in vn_sizeof_VkExtent3D()
28 return size; in vn_sizeof_VkExtent3D()
50 size_t size = 0; in vn_sizeof_VkExtent3D_partial() local
54 return size; in vn_sizeof_VkExtent3D_partial()
70 size_t size = 0; in vn_sizeof_VkLayerProperties() local
71 size += vn_sizeof_array_size(VK_MAX_EXTENSION_NAME_SIZE); in vn_sizeof_VkLayerProperties()
72 size += vn_sizeof_char_array(val->layerName, VK_MAX_EXTENSION_NAME_SIZE); in vn_sizeof_VkLayerProperties()
[all …]
Dvn_protocol_driver_pipeline.h19 size_t size = 0; in vn_sizeof_VkSpecializationMapEntry() local
20 size += vn_sizeof_uint32_t(&val->constantID); in vn_sizeof_VkSpecializationMapEntry()
21 size += vn_sizeof_uint32_t(&val->offset); in vn_sizeof_VkSpecializationMapEntry()
22 size += vn_sizeof_size_t(&val->size); in vn_sizeof_VkSpecializationMapEntry()
23 return size; in vn_sizeof_VkSpecializationMapEntry()
31 vn_encode_size_t(enc, &val->size); in vn_encode_VkSpecializationMapEntry()
39 size_t size = 0; in vn_sizeof_VkSpecializationInfo() local
40 size += vn_sizeof_uint32_t(&val->mapEntryCount); in vn_sizeof_VkSpecializationInfo()
42 size += vn_sizeof_array_size(val->mapEntryCount); in vn_sizeof_VkSpecializationInfo()
44 size += vn_sizeof_VkSpecializationMapEntry(&val->pMapEntries[i]); in vn_sizeof_VkSpecializationInfo()
[all …]
Dvn_protocol_driver_device.h25 size_t size = 0; in vn_sizeof_VkPhysicalDeviceLimits() local
26 size += vn_sizeof_uint32_t(&val->maxImageDimension1D); in vn_sizeof_VkPhysicalDeviceLimits()
27 size += vn_sizeof_uint32_t(&val->maxImageDimension2D); in vn_sizeof_VkPhysicalDeviceLimits()
28 size += vn_sizeof_uint32_t(&val->maxImageDimension3D); in vn_sizeof_VkPhysicalDeviceLimits()
29 size += vn_sizeof_uint32_t(&val->maxImageDimensionCube); in vn_sizeof_VkPhysicalDeviceLimits()
30 size += vn_sizeof_uint32_t(&val->maxImageArrayLayers); in vn_sizeof_VkPhysicalDeviceLimits()
31 size += vn_sizeof_uint32_t(&val->maxTexelBufferElements); in vn_sizeof_VkPhysicalDeviceLimits()
32 size += vn_sizeof_uint32_t(&val->maxUniformBufferRange); in vn_sizeof_VkPhysicalDeviceLimits()
33 size += vn_sizeof_uint32_t(&val->maxStorageBufferRange); in vn_sizeof_VkPhysicalDeviceLimits()
34 size += vn_sizeof_uint32_t(&val->maxPushConstantsSize); in vn_sizeof_VkPhysicalDeviceLimits()
[all …]
Dvn_protocol_driver_render_pass.h19 size_t size = 0; in vn_sizeof_VkAttachmentDescription() local
20 size += vn_sizeof_VkFlags(&val->flags); in vn_sizeof_VkAttachmentDescription()
21 size += vn_sizeof_VkFormat(&val->format); in vn_sizeof_VkAttachmentDescription()
22 size += vn_sizeof_VkSampleCountFlagBits(&val->samples); in vn_sizeof_VkAttachmentDescription()
23 size += vn_sizeof_VkAttachmentLoadOp(&val->loadOp); in vn_sizeof_VkAttachmentDescription()
24 size += vn_sizeof_VkAttachmentStoreOp(&val->storeOp); in vn_sizeof_VkAttachmentDescription()
25 size += vn_sizeof_VkAttachmentLoadOp(&val->stencilLoadOp); in vn_sizeof_VkAttachmentDescription()
26 size += vn_sizeof_VkAttachmentStoreOp(&val->stencilStoreOp); in vn_sizeof_VkAttachmentDescription()
27 size += vn_sizeof_VkImageLayout(&val->initialLayout); in vn_sizeof_VkAttachmentDescription()
28 size += vn_sizeof_VkImageLayout(&val->finalLayout); in vn_sizeof_VkAttachmentDescription()
[all …]
/third_party/ffmpeg/tests/ref/seek/
Dextra-mp41 ret: 0 st: 0 flags:1 dts:-0.033333 pts: 0.000000 pos: 1287 size: 183
2 ret: 0 st: 0 flags:0 dts: 0.000000 pts: 0.033333 pos: 1470 size: 24
3 ret: 0 st: 0 flags:0 dts: 0.033333 pts: 0.066667 pos: 1494 size: 6779
4 ret: 0 st: 0 flags:0 dts: 0.066667 pts: 0.100000 pos: 8273 size: 11041
6 ret: 0 st: 0 flags:1 dts:-0.033333 pts: 0.000000 pos: 1287 size: 183
7 ret: 0 st: 0 flags:0 dts: 0.000000 pts: 0.033333 pos: 1470 size: 24
8 ret: 0 st: 0 flags:0 dts: 0.033333 pts: 0.066667 pos: 1494 size: 6779
9 ret: 0 st: 0 flags:0 dts: 0.066667 pts: 0.100000 pos: 8273 size: 11041
11 ret: 0 st: 0 flags:1 dts: 101.300000 pts: 101.333333 pos:10982311 size: 67237
12 ret: 0 st: 0 flags:0 dts: 101.333333 pts: 101.433333 pos:11049548 size: 3524
[all …]
Dempty-edit-mp41 ret: 0 st: 0 flags:1 dts: 5.000000 pts: 5.000000 pos: 48 size: 2917
2 ret: 0 st: 0 flags:0 dts: 5.100000 pts: 5.100000 pos: 2965 size: 672
3 ret: 0 st: 0 flags:0 dts: 5.200000 pts: 5.200000 pos: 3637 size: 464
4 ret: 0 st: 0 flags:0 dts: 5.300000 pts: 5.300000 pos: 4101 size: 454
6 ret: 0 st: 0 flags:1 dts: 5.000000 pts: 5.000000 pos: 48 size: 2917
7 ret: 0 st: 0 flags:0 dts: 5.100000 pts: 5.100000 pos: 2965 size: 672
8 ret: 0 st: 0 flags:0 dts: 5.200000 pts: 5.200000 pos: 3637 size: 464
9 ret: 0 st: 0 flags:0 dts: 5.300000 pts: 5.300000 pos: 4101 size: 454
11 ret: 0 st: 0 flags:1 dts: 11.000000 pts: 11.000000 pos: 40515 size: 3214
12 ret: 0 st: 0 flags:0 dts: 11.100000 pts: 11.100000 pos: 43729 size: 581
[all …]
Dtest-iibbibb-mp41 ret: 0 st: 0 flags:1 dts:-2.000000 pts: 0.000000 pos: 48 size: 7804
2 ret: 0 st: 0 flags:1 dts:-1.000000 pts: 3.000000 pos: 7852 size: 7808
3 ret: 0 st: 0 flags:0 dts: 0.000000 pts: 2.000000 pos: 15660 size: 1301
4 ret: 0 st: 0 flags:0 dts: 1.000000 pts: 1.000000 pos: 16961 size: 1114
6 ret: 0 st: 0 flags:1 dts:-2.000000 pts: 0.000000 pos: 48 size: 7804
7 ret: 0 st: 0 flags:1 dts:-1.000000 pts: 3.000000 pos: 7852 size: 7808
8 ret: 0 st: 0 flags:0 dts: 0.000000 pts: 2.000000 pos: 15660 size: 1301
9 ret: 0 st: 0 flags:0 dts: 1.000000 pts: 1.000000 pos: 16961 size: 1114
11 ret: 0 st: 0 flags:1 dts: 2.000000 pts: 6.000000 pos: 18075 size: 7730
12 ret: 0 st: 0 flags:0 dts: 3.000000 pts: 5.000000 pos: 25805 size: 1247
[all …]
Dtest-iibbibb-neg-ctts-mp41 ret: 0 st: 0 flags:1 dts:-2.000000 pts: 0.000000 pos: 48 size: 7804
2 ret: 0 st: 0 flags:1 dts:-1.000000 pts: 3.000000 pos: 7852 size: 7808
3 ret: 0 st: 0 flags:0 dts: 0.000000 pts: 2.000000 pos: 15660 size: 1301
4 ret: 0 st: 0 flags:0 dts: 1.000000 pts: 1.000000 pos: 16961 size: 1114
6 ret: 0 st: 0 flags:1 dts:-2.000000 pts: 0.000000 pos: 48 size: 7804
7 ret: 0 st: 0 flags:1 dts:-1.000000 pts: 3.000000 pos: 7852 size: 7808
8 ret: 0 st: 0 flags:0 dts: 0.000000 pts: 2.000000 pos: 15660 size: 1301
9 ret: 0 st: 0 flags:0 dts: 1.000000 pts: 1.000000 pos: 16961 size: 1114
11 ret: 0 st: 0 flags:1 dts: 2.000000 pts: 6.000000 pos: 18075 size: 7730
12 ret: 0 st: 0 flags:0 dts: 3.000000 pts: 5.000000 pos: 25805 size: 1247
[all …]
/third_party/parse5/test/data/parser-feedback/
Dtests23.test5 …"description": "<p><font size=4><font color=red><font size=4><font size=4><font size=4><font size=…
6 …"input": "<p><font size=4><font color=red><font size=4><font size=4><font size=4><font size=4><fon…
17 "size": "4"
31 "size": "4"
38 "size": "4"
45 "size": "4"
52 "size": "4"
59 "size": "4"
82 "description": "<p><font size=4><font size=4><font size=4><font size=4><p>X",
83 "input": "<p><font size=4><font size=4><font size=4><font size=4><p>X",
[all …]
/third_party/vk-gl-cts/framework/referencerenderer/
DrrVertexAttrib.cpp60 inline void readOrder (typename tcu::Vector<DstScalarType, 4>& dst, const int size, const void* ptr) in readOrder() argument
63 deMemcpy(aligned, ptr, size * sizeof(SrcScalarType)); in readOrder()
66 if (size >= 2) dst[Order::T1] = DstScalarType(aligned[1]); in readOrder()
67 if (size >= 3) dst[Order::T2] = DstScalarType(aligned[2]); in readOrder()
68 if (size >= 4) dst[Order::T3] = DstScalarType(aligned[3]); in readOrder()
72 inline void readUnormOrder (tcu::Vec4& dst, const int size, const void* ptr) in readUnormOrder() argument
77 deMemcpy(aligned, ptr, size * sizeof(SrcScalarType)); in readUnormOrder()
80 if (size >= 2) dst[Order::T1] = float(aligned[1]) / float(range); in readUnormOrder()
81 if (size >= 3) dst[Order::T2] = float(aligned[2]) / float(range); in readUnormOrder()
82 if (size >= 4) dst[Order::T3] = float(aligned[3]) / float(range); in readUnormOrder()
[all …]
/third_party/mesa3d/src/util/
Dvma.c33 uint64_t size; member
47 uint64_t start, uint64_t size) in util_vma_heap_init() argument
50 util_vma_heap_free(heap, start, size); in util_vma_heap_init()
70 assert(hole->size > 0); in util_vma_heap_validate()
76 assert(hole->size + hole->offset == 0 || in util_vma_heap_validate()
77 hole->size + hole->offset > hole->offset); in util_vma_heap_validate()
84 assert(hole->size + hole->offset > hole->offset && in util_vma_heap_validate()
85 hole->size + hole->offset < prev_offset); in util_vma_heap_validate()
96 uint64_t offset, uint64_t size) in util_vma_hole_alloc() argument
99 assert(hole->size >= offset - hole->offset + size); in util_vma_hole_alloc()
[all …]
/third_party/glslang/Test/baseResults/
Dreflection.vert.out3 named.deadMember1: offset 0, type 8b51, size 1, index 0, binding -1, stages 1
4 anonDeadMember2: offset 64, type 8b52, size 1, index 1, binding -1, stages 1
5 ufDead4: offset -1, type 1406, size 1, index -1, binding -1, stages 1
6 anonMember1: offset 0, type 8b51, size 1, index 1, binding -1, stages 1
7 uf1: offset -1, type 1406, size 1, index -1, binding -1, stages 1
8 uf2: offset -1, type 1406, size 1, index -1, binding -1, stages 1
9 named.member3: offset 32, type 8b52, size 1, index 0, binding -1, stages 1
10 image_ui2D: offset -1, type 9063, size 1, index -1, binding -1, stages 1
11 sampler_2D: offset -1, type 8b5e, size 1, index -1, binding -1, stages 1
12 sampler_2DMSArray: offset -1, type 910b, size 1, index -1, binding -1, stages 1
[all …]
/third_party/pcre2/pcre2/src/sljit/
DsljitExecAllocator.c84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() argument
86 return VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); in alloc_chunk()
89 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
91 SLJIT_UNUSED_ARG(size); in free_chunk()
171 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() argument
191 retval = mmap(NULL, size, prot, flags, fd, 0); in alloc_chunk()
197 if (mprotect(retval, size, PROT_READ | PROT_WRITE | PROT_EXEC) < 0) { in alloc_chunk()
198 munmap(retval, size); in alloc_chunk()
203 SLJIT_UPDATE_WX_FLAGS(retval, (uint8_t *)retval + size, 0); in alloc_chunk()
208 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() argument
[all …]
DsljitProtExecAllocator.c188 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() argument
197 if (ftruncate(fd, (off_t)size)) { in alloc_chunk()
202 retval = (struct chunk_header *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in alloc_chunk()
209 retval->executable = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_SHARED, fd, 0); in alloc_chunk()
212 munmap((void *)retval, size); in alloc_chunk()
225 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() argument
229 retval = (struct chunk_header *)mmap(NULL, size, in alloc_chunk()
236 retval->executable = mremap(retval, size, NULL, size, MAP_REMAPDUP); in alloc_chunk()
238 munmap((void *)retval, size); in alloc_chunk()
242 if (mprotect(retval->executable, size, PROT_READ | PROT_EXEC) == -1) { in alloc_chunk()
[all …]
/third_party/elfutils/tests/
Drun-aggregate-size.sh71 c size 1
72 i size 4
73 l size 8
74 v size 8
75 s size 16
76 ca size 16
77 ia size 128
78 va size 512
79 sa size 128
83 c size 1
[all …]
Drun-elfputzdata.sh45 Lets compress 22 .sbss, size: 0
47 Lets compress 24 .stab, size: 21540
48 Lets compress 25 .stabstr, size: 57297
49 Lets compress 26 .comment, size: 648
50 Lets compress 27 .debug_aranges, size: 56
51 Lets compress 28 .debug_pubnames, size: 93
52 Lets compress 29 .debug_info, size: 960
53 Lets compress 30 .debug_abbrev, size: 405
54 Lets compress 31 .debug_line, size: 189
55 Lets compress 32 .note, size: 240
[all …]
/third_party/ffmpeg/libavcodec/
Davpacket.c84 static int packet_alloc(AVBufferRef **buf, int size) in packet_alloc() argument
87 if (size < 0 || size >= INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE) in packet_alloc()
90 ret = av_buffer_realloc(buf, size + AV_INPUT_BUFFER_PADDING_SIZE); in packet_alloc()
94 memset((*buf)->data + size, 0, AV_INPUT_BUFFER_PADDING_SIZE); in packet_alloc()
99 int av_new_packet(AVPacket *pkt, int size) in av_new_packet() argument
102 int ret = packet_alloc(&buf, size); in av_new_packet()
109 pkt->size = size; in av_new_packet()
114 void av_shrink_packet(AVPacket *pkt, int size) in av_shrink_packet() argument
116 if (pkt->size <= size) in av_shrink_packet()
118 pkt->size = size; in av_shrink_packet()
[all …]
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Ddescriptors.c62 expandable_size_parse (guint64 size, guint8 * ptr, guint32 array_size) in expandable_size_parse() argument
67 while (size > 0 && index < array_size) { in expandable_size_parse()
68 ptr[index++] = (size > 0x7F ? 0x80 : 0x0) | (size & 0x7F); in expandable_size_parse()
69 size = size >> 7; in expandable_size_parse()
100 desc_base_descriptor_init (BaseDescriptor * bd, guint8 tag, guint32 size) in desc_base_descriptor_init() argument
103 expandable_size_parse (size, bd->size, 4); in desc_base_descriptor_init()
215 guint32 size) in desc_dec_specific_info_alloc_data() argument
220 dsid->data = g_new0 (guint8, size); in desc_dec_specific_info_alloc_data()
221 dsid->length = size; in desc_dec_specific_info_alloc_data()
225 desc_base_descriptor_set_size (BaseDescriptor * bd, guint32 size) in desc_base_descriptor_set_size() argument
[all …]
/third_party/skia/src/core/
DSkPictureRecord.cpp44 size_t size = sizeof(kUInt32Size); in onFlush() local
45 size_t initialOffset = this->addDraw(FLUSH, &size); in onFlush()
46 this->validate(initialOffset, size); in onFlush()
60 size_t size = sizeof(kUInt32Size); in recordSave() local
61 size_t initialOffset = this->addDraw(SAVE, &size); in recordSave()
63 this->validate(initialOffset, size); in recordSave()
68 size_t size = sizeof(kUInt32Size) + nameLen; // op + name in onMarkCTM() local
69 size_t initialOffset = this->addDraw(MARK_CTM, &size); in onMarkCTM()
71 this->validate(initialOffset, size); in onMarkCTM()
94 size_t size = sizeof(kUInt32Size) + sizeof(uint32_t); // op + flags in onDoSaveBehind() local
[all …]
/third_party/ffmpeg/tests/ref/fate/
Dmov-aac-2048-priming1 ….046440|dts=-2048|dts_time=-0.046440|duration=1024|duration_time=0.023220|size=258|pos=36|flags=KD…
3 ….023220|dts=-1024|dts_time=-0.023220|duration=1024|duration_time=0.023220|size=258|pos=294|flags=KD
4 …ime=0.000000|dts=0|dts_time=0.000000|duration=1024|duration_time=0.023220|size=146|pos=552|flags=K_
5 …=0.023220|dts=1024|dts_time=0.023220|duration=1024|duration_time=0.023220|size=186|pos=698|flags=K_
6 …=0.046440|dts=2048|dts_time=0.046440|duration=1024|duration_time=0.023220|size=222|pos=884|flags=K_
7 …=0.069660|dts=3072|dts_time=0.069660|duration=1024|duration_time=0.023220|size=186|pos=1106|flags=…
8 …=0.092880|dts=4096|dts_time=0.092880|duration=1024|duration_time=0.023220|size=206|pos=1292|flags=…
9 …=0.116100|dts=5120|dts_time=0.116100|duration=1024|duration_time=0.023220|size=199|pos=1498|flags=…
10 …=0.139320|dts=6144|dts_time=0.139320|duration=1024|duration_time=0.023220|size=236|pos=1697|flags=…
11 …=0.162540|dts=7168|dts_time=0.162540|duration=1024|duration_time=0.023220|size=208|pos=1933|flags=…
[all …]

12345678910>>...473