Home
last modified time | relevance | path

Searched refs:seg_size (Results 1 – 9 of 9) sorted by relevance

/third_party/vk-gl-cts/external/amber/src/src/
Dformat.cc271 uint32_t seg_size = 0; in AddSegmentsForType() local
285 seg_size += array_stride; in AddSegmentsForType()
287 seg_size += ary_seg_size; in AddSegmentsForType()
291 seg_size = AddSegmentsForType(member.type); in AddSegmentsForType()
294 if (seg_size > 0 && seg_size < base_alignment_in_bytes) { in AddSegmentsForType()
295 AddPaddedSegmentPackable(base_alignment_in_bytes - seg_size); in AddSegmentsForType()
296 seg_size += base_alignment_in_bytes - seg_size; in AddSegmentsForType()
299 cur_offset += seg_size; in AddSegmentsForType()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c621 uint32_t blk_size, seg_size; in f2fs_init_sit_area() local
627 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_sit_area()
629 zero_buf = calloc(sizeof(uint8_t), seg_size); in f2fs_init_sit_area()
640 if (dev_fill(zero_buf, sit_seg_addr, seg_size)) { in f2fs_init_sit_area()
646 sit_seg_addr += seg_size; in f2fs_init_sit_area()
655 uint32_t blk_size, seg_size; in f2fs_init_nat_area() local
661 seg_size = (1 << get_sb(log_blocks_per_seg)) * blk_size; in f2fs_init_nat_area()
663 nat_buf = calloc(sizeof(uint8_t), seg_size); in f2fs_init_nat_area()
674 if (dev_fill(nat_buf, nat_seg_addr, seg_size)) { in f2fs_init_nat_area()
680 nat_seg_addr = nat_seg_addr + (2 * seg_size); in f2fs_init_nat_area()
/third_party/elfio/tests/
DELFIOTest2.cpp467 Elf_Xword seg_size = r1.segments[1]->get_memory_size(); in TEST() local
474 EXPECT_EQ( v[0].segments[1]->get_memory_size(), seg_size ); in TEST()
480 EXPECT_EQ( r2.segments[1]->get_memory_size(), seg_size ); in TEST()
/third_party/ffmpeg/libavfilter/
Dvsrc_testsrc.c549 int seg_size; in test_fill_picture() local
623 seg_size = width / 80; in test_fill_picture()
624 if (seg_size >= 1 && height >= 13 * seg_size) { in test_fill_picture()
635 x = width - (width - seg_size * 64) / 2; in test_fill_picture()
636 y = (height - seg_size * 13) / 2; in test_fill_picture()
639 p -= 3 * 8 * seg_size; in test_fill_picture()
640 draw_digit(second % 10, p, frame->linesize[0], seg_size); in test_fill_picture()
/third_party/node/deps/v8/src/wasm/
Dwasm-external-refs.cc492 uint32_t seg_size = instance.data_segment_sizes()[seg_index]; in memory_init_wrapper() local
493 if (!base::IsInBounds<uint32_t>(src, size, seg_size)) return kOutOfBounds; in memory_init_wrapper()
/third_party/f2fs-tools/fsck/
Dmount.c3011 unsigned int seg_size = 1 << get_sb(log_blocks_per_seg); in duplicate_checkpoint() local
3017 buf = malloc(F2FS_BLKSIZE * seg_size); in duplicate_checkpoint()
3022 dst = src + seg_size; in duplicate_checkpoint()
3025 src = dst + seg_size; in duplicate_checkpoint()
3029 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
3033 seg_size << F2FS_BLKSIZE_BITS); in duplicate_checkpoint()
3726 uint32_t seg_size = 1 << get_sb(log_blocks_per_seg); in f2fs_sparse_initialize_meta() local
3734 sit_size = sit_seg_count * seg_size; in f2fs_sparse_initialize_meta()
3748 nat_size = nat_seg_count * seg_size; in f2fs_sparse_initialize_meta()
3772 payload_addr += seg_size; in f2fs_sparse_initialize_meta()
/third_party/ffmpeg/libavformat/
Dhls.c724 int64_t seg_size = -1; in parse_playlist() local
878 seg_size = strtoll(ptr, NULL, 10); in parse_playlist()
954 seg->size = seg_size; in parse_playlist()
955 if (seg_size >= 0) { in parse_playlist()
957 seg_offset += seg_size; in parse_playlist()
958 seg_size = -1; in parse_playlist()
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi67143 …<var-decl name="seg_size" type-id="2f162548" visibility="default" filepath="drivers/usb/host/xhci.…
Dtest-PR27569-v0.abi67129 …<var-decl name="seg_size" type-id="2f162548" visibility="default" filepath="drivers/usb/host/xhci.…