Home
last modified time | relevance | path

Searched refs:block_buffer (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/disk/
Dpart_amiga.c29 static unsigned char block_buffer[DEFAULT_SECTOR_SIZE]; variable
142 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_rdisk()
145 struct rigid_disk_block *trdb = (struct rigid_disk_block *)block_buffer; in get_rdisk()
149 if (sum_block((struct block_header *)block_buffer) == 0) in get_rdisk()
184 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_bootcode()
187 struct bootcode_block *boot = (struct bootcode_block *)block_buffer; in get_bootcode()
191 if (sum_block((struct block_header *)block_buffer) == 0) in get_bootcode()
260 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition()
263 p = (struct partition_block *)block_buffer; in find_partition()
286 return (struct partition_block *)block_buffer; in find_partition()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/h264/
Dh264_video_toolbox_nalu.cc87 CMBlockBufferRef block_buffer = in H264CMSampleBufferToAnnexBBuffer() local
89 if (block_buffer == nullptr) { in H264CMSampleBufferToAnnexBBuffer()
95 if (!CMBlockBufferIsRangeContiguous(block_buffer, 0, 0)) { in H264CMSampleBufferToAnnexBBuffer()
97 nullptr, block_buffer, nullptr, nullptr, 0, 0, 0, &contiguous_buffer); in H264CMSampleBufferToAnnexBBuffer()
104 contiguous_buffer = block_buffer; in H264CMSampleBufferToAnnexBBuffer()
107 block_buffer = nullptr; in H264CMSampleBufferToAnnexBBuffer()
204 CMBlockBufferRef block_buffer = nullptr; in H264AnnexBBufferToCMSampleBuffer() local
208 &block_buffer); in H264AnnexBBufferToCMSampleBuffer()
217 if (!CMBlockBufferIsRangeContiguous(block_buffer, 0, 0)) { in H264AnnexBBufferToCMSampleBuffer()
219 nullptr, block_buffer, nullptr, nullptr, 0, 0, 0, &contiguous_buffer); in H264AnnexBBufferToCMSampleBuffer()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Ddiffer_block_unittest.cc29 uint8_t block_buffer[kSizeOfBlock * 2 + 16]; variable
33 ((reinterpret_cast<uintptr_t>(&block_buffer[0]) + 15) & ~15); in PrepareBuffers()
/external/u-boot/fs/ext4/
Dext4_common.c635 char *block_buffer = NULL; in search_dir() local
644 block_buffer = zalloc(fs->blksz); in search_dir()
645 if (!block_buffer) in search_dir()
656 0, fs->blksz, (char *)block_buffer); in search_dir()
667 dir = (struct ext2_dirent *)(block_buffer + offset); in search_dir()
685 free(block_buffer); in search_dir()
691 free(block_buffer); in search_dir()
868 char *block_buffer = NULL; in unlink_filename() local
875 block_buffer = zalloc(fs->blksz); in unlink_filename()
876 if (!block_buffer) in unlink_filename()
[all …]