Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 210) sorted by relevance

123456789

/u-boot/lib/libavb/
A Davb_hashtree_descriptor.c25 dest->image_size = avb_be64toh(dest->image_size); in avb_hashtree_descriptor_validate_and_byteswap()
26 dest->tree_offset = avb_be64toh(dest->tree_offset); in avb_hashtree_descriptor_validate_and_byteswap()
27 dest->tree_size = avb_be64toh(dest->tree_size); in avb_hashtree_descriptor_validate_and_byteswap()
28 dest->data_block_size = avb_be32toh(dest->data_block_size); in avb_hashtree_descriptor_validate_and_byteswap()
29 dest->hash_block_size = avb_be32toh(dest->hash_block_size); in avb_hashtree_descriptor_validate_and_byteswap()
30 dest->fec_num_roots = avb_be32toh(dest->fec_num_roots); in avb_hashtree_descriptor_validate_and_byteswap()
31 dest->fec_offset = avb_be64toh(dest->fec_offset); in avb_hashtree_descriptor_validate_and_byteswap()
32 dest->fec_size = avb_be64toh(dest->fec_size); in avb_hashtree_descriptor_validate_and_byteswap()
34 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hashtree_descriptor_validate_and_byteswap()
35 dest->root_digest_len = avb_be32toh(dest->root_digest_len); in avb_hashtree_descriptor_validate_and_byteswap()
[all …]
A Davb_hash_descriptor.c13 avb_memcpy(dest, src, sizeof(AvbHashDescriptor)); in avb_hash_descriptor_validate_and_byteswap()
16 (AvbDescriptor*)dest)) in avb_hash_descriptor_validate_and_byteswap()
19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_HASH) { in avb_hash_descriptor_validate_and_byteswap()
24 dest->image_size = avb_be64toh(dest->image_size); in avb_hash_descriptor_validate_and_byteswap()
25 dest->partition_name_len = avb_be32toh(dest->partition_name_len); in avb_hash_descriptor_validate_and_byteswap()
26 dest->salt_len = avb_be32toh(dest->salt_len); in avb_hash_descriptor_validate_and_byteswap()
27 dest->digest_len = avb_be32toh(dest->digest_len); in avb_hash_descriptor_validate_and_byteswap()
28 dest->flags = avb_be32toh(dest->flags); in avb_hash_descriptor_validate_and_byteswap()
32 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_hash_descriptor_validate_and_byteswap()
33 !avb_safe_add_to(&expected_size, dest->salt_len) || in avb_hash_descriptor_validate_and_byteswap()
[all …]
A Davb_footer.c9 bool avb_footer_validate_and_byteswap(const AvbFooter* src, AvbFooter* dest) { in avb_footer_validate_and_byteswap() argument
10 avb_memcpy(dest, src, sizeof(AvbFooter)); in avb_footer_validate_and_byteswap()
12 dest->version_major = avb_be32toh(dest->version_major); in avb_footer_validate_and_byteswap()
13 dest->version_minor = avb_be32toh(dest->version_minor); in avb_footer_validate_and_byteswap()
15 dest->original_image_size = avb_be64toh(dest->original_image_size); in avb_footer_validate_and_byteswap()
16 dest->vbmeta_offset = avb_be64toh(dest->vbmeta_offset); in avb_footer_validate_and_byteswap()
17 dest->vbmeta_size = avb_be64toh(dest->vbmeta_size); in avb_footer_validate_and_byteswap()
20 if (avb_safe_memcmp(dest->magic, AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) != in avb_footer_validate_and_byteswap()
29 if (dest->version_major > AVB_FOOTER_VERSION_MAJOR) { in avb_footer_validate_and_byteswap()
A Davb_chain_partition_descriptor.c10 const AvbChainPartitionDescriptor* src, AvbChainPartitionDescriptor* dest) { in avb_chain_partition_descriptor_validate_and_byteswap() argument
13 avb_memcpy(dest, src, sizeof(AvbChainPartitionDescriptor)); in avb_chain_partition_descriptor_validate_and_byteswap()
16 (AvbDescriptor*)dest)) in avb_chain_partition_descriptor_validate_and_byteswap()
19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_CHAIN_PARTITION) { in avb_chain_partition_descriptor_validate_and_byteswap()
24 dest->rollback_index_location = avb_be32toh(dest->rollback_index_location); in avb_chain_partition_descriptor_validate_and_byteswap()
25 dest->partition_name_len = avb_be32toh(dest->partition_name_len); in avb_chain_partition_descriptor_validate_and_byteswap()
26 dest->public_key_len = avb_be32toh(dest->public_key_len); in avb_chain_partition_descriptor_validate_and_byteswap()
28 if (dest->rollback_index_location < 1) { in avb_chain_partition_descriptor_validate_and_byteswap()
35 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) || in avb_chain_partition_descriptor_validate_and_byteswap()
36 !avb_safe_add_to(&expected_size, dest->public_key_len)) { in avb_chain_partition_descriptor_validate_and_byteswap()
[all …]
A Davb_vbmeta_image.c237 dest->algorithm_type = avb_be32toh(dest->algorithm_type); in avb_vbmeta_image_header_to_host_byte_order()
239 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order()
240 dest->hash_size = avb_be64toh(dest->hash_size); in avb_vbmeta_image_header_to_host_byte_order()
242 dest->signature_offset = avb_be64toh(dest->signature_offset); in avb_vbmeta_image_header_to_host_byte_order()
243 dest->signature_size = avb_be64toh(dest->signature_size); in avb_vbmeta_image_header_to_host_byte_order()
245 dest->public_key_offset = avb_be64toh(dest->public_key_offset); in avb_vbmeta_image_header_to_host_byte_order()
246 dest->public_key_size = avb_be64toh(dest->public_key_size); in avb_vbmeta_image_header_to_host_byte_order()
252 dest->descriptors_offset = avb_be64toh(dest->descriptors_offset); in avb_vbmeta_image_header_to_host_byte_order()
253 dest->descriptors_size = avb_be64toh(dest->descriptors_size); in avb_vbmeta_image_header_to_host_byte_order()
255 dest->rollback_index = avb_be64toh(dest->rollback_index); in avb_vbmeta_image_header_to_host_byte_order()
[all …]
A Davb_kernel_cmdline_descriptor.c10 const AvbKernelCmdlineDescriptor* src, AvbKernelCmdlineDescriptor* dest) { in avb_kernel_cmdline_descriptor_validate_and_byteswap() argument
13 avb_memcpy(dest, src, sizeof(AvbKernelCmdlineDescriptor)); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
16 (AvbDescriptor*)dest)) in avb_kernel_cmdline_descriptor_validate_and_byteswap()
19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_KERNEL_CMDLINE) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
24 dest->flags = avb_be32toh(dest->flags); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
25 dest->kernel_cmdline_length = avb_be32toh(dest->kernel_cmdline_length); in avb_kernel_cmdline_descriptor_validate_and_byteswap()
29 if (!avb_safe_add_to(&expected_size, dest->kernel_cmdline_length)) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
33 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_kernel_cmdline_descriptor_validate_and_byteswap()
A Davb_property_descriptor.c10 const AvbPropertyDescriptor* src, AvbPropertyDescriptor* dest) { in avb_property_descriptor_validate_and_byteswap() argument
13 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
16 (AvbDescriptor*)dest)) in avb_property_descriptor_validate_and_byteswap()
19 if (dest->parent_descriptor.tag != AVB_DESCRIPTOR_TAG_PROPERTY) { in avb_property_descriptor_validate_and_byteswap()
24 dest->key_num_bytes = avb_be64toh(dest->key_num_bytes); in avb_property_descriptor_validate_and_byteswap()
25 dest->value_num_bytes = avb_be64toh(dest->value_num_bytes); in avb_property_descriptor_validate_and_byteswap()
29 if (!avb_safe_add_to(&expected_size, dest->key_num_bytes) || in avb_property_descriptor_validate_and_byteswap()
30 !avb_safe_add_to(&expected_size, dest->value_num_bytes)) { in avb_property_descriptor_validate_and_byteswap()
34 if (expected_size > dest->parent_descriptor.num_bytes_following) { in avb_property_descriptor_validate_and_byteswap()
A Davb_crypto.c346 const AvbRSAPublicKeyHeader* src, AvbRSAPublicKeyHeader* dest) { in avb_rsa_public_key_header_validate_and_byteswap() argument
347 avb_memcpy(dest, src, sizeof(AvbRSAPublicKeyHeader)); in avb_rsa_public_key_header_validate_and_byteswap()
349 dest->key_num_bits = avb_be32toh(dest->key_num_bits); in avb_rsa_public_key_header_validate_and_byteswap()
350 dest->n0inv = avb_be32toh(dest->n0inv); in avb_rsa_public_key_header_validate_and_byteswap()
/u-boot/arch/arm/mach-imx/
A Dcmd_bmode.c41 if (dest) { in create_usage()
42 memcpy(dest, p->name, len); in create_usage()
43 dest += len; in create_usage()
44 *dest++ = '|'; in create_usage()
51 if (dest) in create_usage()
55 if (dest) in create_usage()
100 char *dest; in add_board_boot_modes() local
112 dest = malloc(size); in add_board_boot_modes()
113 if (dest) { in add_board_boot_modes()
114 create_usage(dest); in add_board_boot_modes()
[all …]
/u-boot/lib/
A Dstring.c77 char *tmp = dest; in strcpy()
98 char *tmp = dest; in strncpy()
146 while (*dest) in strcat()
147 dest++; in strcat()
170 while (*dest) in strncat()
171 dest++; in strncat()
174 *dest = '\0'; in strncat()
569 return dest; in memcpy()
584 return dest; in memcpy()
601 if (dest <= src || (src + count) <= dest) { in memmove()
[all …]
A Dcharset.c418 u16 *tmp = dest; in u16_strcpy()
420 for (;; dest++, src++) { in u16_strcpy()
421 *dest = *src; in u16_strcpy()
456 dest[destlen + srclen] = 0x0000; in u16_strlcat()
474 *dest++ = (code >> 18) | 0xF0; in utf16_to_utf8()
480 *dest++ = '?'; in utf16_to_utf8()
488 *dest++ = code; in utf16_to_utf8()
490 *dest++ = (code >> 6) | 0xC0; in utf16_to_utf8()
497 *dest++ = '?'; in utf16_to_utf8()
499 *dest++ = (code >> 12) | 0xE0; in utf16_to_utf8()
[all …]
/u-boot/tools/patman/
A D__main__.py41 parser.add_argument('-c', '--count', dest='count', type=int,
53 parser.add_argument('-s', '--start', dest='start', type=int,
60 subparsers = parser.add_subparsers(dest='cmd')
64 dest='ignore_errors', default=False,
69 dest='add_maintainers', default=True,
72 '--get-maintainer-script', dest='get_maintainer_script', type=str,
77 send.add_argument('-n', '--dry-run', action='store_true', dest='dry_run',
84 send.add_argument('-T', '--thread', action='store_true', dest='thread',
86 send.add_argument('--cc-cmd', dest='cc_cmd', type=str, action='store',
94 send.add_argument('--tree', dest='check_patch_use_tree', default=False,
[all …]
A Dpatman41 parser.add_argument('-c', '--count', dest='count', type=int,
53 parser.add_argument('-s', '--start', dest='start', type=int,
60 subparsers = parser.add_subparsers(dest='cmd')
64 dest='ignore_errors', default=False,
69 dest='add_maintainers', default=True,
72 '--get-maintainer-script', dest='get_maintainer_script', type=str,
77 send.add_argument('-n', '--dry-run', action='store_true', dest='dry_run',
84 send.add_argument('-T', '--thread', action='store_true', dest='thread',
86 send.add_argument('--cc-cmd', dest='cc_cmd', type=str, action='store',
94 send.add_argument('--tree', dest='check_patch_use_tree', default=False,
[all …]
/u-boot/tools/buildman/
A Dcmdline.py27 parser.add_option('-B', '--bloat', dest='show_bloat',
32 parser.add_option('-c', '--count', dest='count', type='int',
34 parser.add_option('-C', '--force-reconfig', dest='force_reconfig',
37 parser.add_option('-d', '--detail', dest='show_detail',
48 parser.add_option('-f', '--force-build', dest='force_build',
64 parser.add_option('-i', '--in-tree', dest='in_tree',
69 parser.add_option('-j', '--jobs', dest='jobs', type='int',
91 parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run',
95 parser.add_option('-o', '--output-dir', type='string', dest='output_dir',
118 parser.add_option('-t', '--test', action='store_true', dest='test',
[all …]
/u-boot/lib/zlib/
A Duncompr.c27 int ZEXPORT uncompress2(dest, destLen, source, sourceLen) in uncompress2() argument
28 Bytef *dest; in uncompress2()
47 dest = buf;
60 stream.next_out = dest;
78 if (dest != buf)
90 int ZEXPORT uncompress(dest, destLen, source, sourceLen) in uncompress() argument
91 Bytef *dest; in uncompress()
96 return uncompress2(dest, destLen, source, &sourceLen);
/u-boot/scripts/
A Dmake_pip.sh74 dest=${dir}/src/${tool}
75 mkdir -p ${dest}
76 cp -v tools/$tool/{*.py,*.rst} ${dest}
83 pathname="${dest}/${subdir}"
90 find ${dest} -name __pycache__ -type f -exec rm {} \;
91 find ${dest} -depth -name __pycache__ -exec rmdir 112 \;
94 rm -rf ${dest}/*test*
/u-boot/arch/arm/lib/
A Deabi_compat.c29 void __aeabi_memcpy(void *dest, const void *src, size_t n) in __aeabi_memcpy() argument
31 (void) memcpy(dest, src, n); in __aeabi_memcpy()
34 void __aeabi_memset(void *dest, size_t n, int c) in __aeabi_memset() argument
36 (void) memset(dest, c, n); in __aeabi_memset()
/u-boot/arch/x86/cpu/broadwell/
A Drefcode.c77 char *src, *dest; in cpu_run_reference_code() local
102 dest = (char *)CFG_X86_REFCODE_RUN_ADDR; in cpu_run_reference_code()
105 debug("Copying refcode from %p to %p, size %x\n", src, dest, size); in cpu_run_reference_code()
106 memcpy(dest, src, size); in cpu_run_reference_code()
109 debug("Zeroing BSS at %p, size %x\n", dest + hdr->bss_begin, size); in cpu_run_reference_code()
110 memset(dest + hdr->bss_begin, '\0', size); in cpu_run_reference_code()
112 func = (asmlinkage int (*)(void *))dest; in cpu_run_reference_code()
/u-boot/lib/efi_loader/
A Defi_freestanding.c45 void *memmove(void *dest, const void *src, size_t n) in memmove() argument
47 u8 *d = dest; in memmove()
59 return dest; in memmove()
70 void *memcpy(void *dest, const void *src, size_t n) in memcpy() argument
72 return memmove(dest, src, n); in memcpy()
/u-boot/cmd/
A Dbooti.c31 ulong dest; in booti_start() local
53 dest = env_get_ulong("kernel_comp_addr_r", 16, 0); in booti_start()
55 if (!dest || !comp_len) { in booti_start()
59 if (dest < gd->ram_base || dest > gd->ram_top) { in booti_start()
65 ctype, comp_len, (ulong)dest); in booti_start()
68 (void *)dest, (void *)ld, comp_len, in booti_start()
73 memmove((void *) ld, (void *)dest, dest_end); in booti_start()
/u-boot/fs/squashfs/
A Dsqfs_decompressor.c95 static int sqfs_zstd_decompress(struct squashfs_ctxt *ctxt, void *dest, in sqfs_zstd_decompress() argument
107 ret = zstd_decompress_dctx(ctx, dest, dest_len, source, src_len); in sqfs_zstd_decompress()
113 int sqfs_decompress(struct squashfs_ctxt *ctxt, void *dest, in sqfs_decompress() argument
123 ret = lzo1x_decompress_safe(source, src_len, dest, &lzo_dest_len); in sqfs_decompress()
134 ret = uncompress(dest, dest_len, source, src_len); in sqfs_decompress()
144 ret = sqfs_zstd_decompress(ctxt, dest, *dest_len, source, src_len); in sqfs_decompress()
/u-boot/fs/jffs2/
A Dmini_inflate.c106 static void decompress_none(struct bitstream *stream, unsigned char *dest) in decompress_none() argument
116 stream->memcpy(dest, stream->data, length); in decompress_none()
149 *(dest++) = symbol; /* symbol is a literal */ in decompress_huffman()
174 *dest = dest[-dist]; in decompress_huffman()
175 dest++; in decompress_huffman()
313 decompress_huffman(stream, dest); in decompress_dynamic()
344 decompress_huffman(stream, dest); in decompress_fixed()
350 long decompress_block(unsigned char *dest, unsigned char *source, in decompress_block() argument
360 if (btype == NO_COMP) decompress_none(&stream, dest + stream.decoded); in decompress_block()
362 decompress_dynamic(&stream, dest + stream.decoded); in decompress_block()
[all …]
/u-boot/fs/erofs/
A Ddecompress.c9 char *dest = rq->out; in z_erofs_decompress_lz4() local
30 dest = buff; in z_erofs_decompress_lz4()
34 ret = LZ4_decompress_safe_partial(src + inputmargin, dest, in z_erofs_decompress_lz4()
38 ret = LZ4_decompress_safe(src + inputmargin, dest, in z_erofs_decompress_lz4()
48 memcpy(rq->out, dest + rq->decodedskip, in z_erofs_decompress_lz4()
/u-boot/drivers/usb/gadget/
A Dconfig.c37 u8 *dest = buf; in usb_descriptor_fillbuf() local
48 memcpy(dest, *src, len); in usb_descriptor_fillbuf()
50 dest += len; in usb_descriptor_fillbuf()
52 return dest - (u8 *)buf; in usb_descriptor_fillbuf()
/u-boot/boot/
A Dvbe_request.c183 ofnode dest; in bootmeth_vbe_ft_fixup() local
187 ret = ofnode_add_subnode(dest_parent, name, &dest); in bootmeth_vbe_ft_fixup()
190 ret = ofnode_copy_props(node, dest); in bootmeth_vbe_ft_fixup()
195 ret = vbe_process_request(dest, &result); in bootmeth_vbe_ft_fixup()
199 ofnode_get_name(dest), ret); in bootmeth_vbe_ft_fixup()
205 ret = ofnode_write_string(dest, "vbe,error", in bootmeth_vbe_ft_fixup()
213 ret = ofnode_write_u32(dest, "vbe,errnum", in bootmeth_vbe_ft_fixup()
221 ofnode_read_bool(dest, "vbe,required")) { in bootmeth_vbe_ft_fixup()
223 ofnode_get_name(dest)); in bootmeth_vbe_ft_fixup()

Completed in 35 milliseconds

123456789