Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 11 of 11) sorted by relevance

/tools/
A Dsunxi-spl-image-builder.c114 FILE *src, FILE *rnd, FILE *dst, in write_page() argument
119 off_t pos = ftell(dst); in write_page()
173 fseek(dst, pos + offs, SEEK_SET); in write_page()
174 fwrite(buffer + offs, cnt, 1, dst); in write_page()
221 fseek(dst, pos + data_offs, SEEK_SET); in write_page()
223 fseek(dst, pos + ecc_offs - 4, SEEK_SET); in write_page()
224 fwrite(ecc - 4, eccbytes + 4, 1, dst); in write_page()
230 fwrite(buffer, 2, 1, dst); in write_page()
242 FILE *src, *dst, *rnd; in create_image() local
266 dst = fopen(info->dest, "w"); in create_image()
[all …]
A Dfit_common.c130 int copyfile(const char *src, const char *dst) in copyfile() argument
144 fd_dst = open(dst, O_WRONLY | O_CREAT | O_TRUNC, 0666); in copyfile()
146 printf("Can't open file %s (%s)\n", dst, strerror(errno)); in copyfile()
168 printf("Can't write file %s\n", dst); in copyfile()
A Dimx8image.c590 uint64_t dst = image_stack->dst; in set_image_array_entry() local
610 img->dst = 0x20C00000; in set_image_array_entry()
641 img->dst = (dst ? dst : entry); in set_image_array_entry()
678 img->dst = entry; in set_image_array_entry()
709 img->dst = entry; in set_image_array_entry()
725 img->dst = entry; in set_image_array_entry()
732 img->dst = entry; in set_image_array_entry()
739 img->dst = 0x1FFE0000; in set_image_array_entry()
769 img->dst = entry; in set_image_array_entry()
1081 if (img_sp->dst != ALIGN(img_sp->dst, sector_size)) { in build_container()
[all …]
A Dfit_common.h55 int copyfile(const char *src, const char *dst);
A Difwitool.c695 void *dst) in read_member() argument
699 *(uint8_t *)dst = read_at_le8(src, offset); in read_member()
702 *(uint16_t *)dst = read_at_le16(src, offset); in read_member()
705 *(uint32_t *)dst = read_at_le32(src, offset); in read_member()
708 *(uint64_t *)dst = read_at_le64(src, offset); in read_member()
1696 alloc_buffer(dst, curr_offset, name); in create_subpart()
1697 uint8_t *data = buffer_get(dst); in create_subpart()
1896 struct buffer dst; in ifwi_dir_extract() local
2040 struct buffer dst; in ifwi_dir_replace() local
2049 uint8_t *dst_data = buffer_get(&dst); in ifwi_dir_replace()
[all …]
A Dzynqmpbif.c581 char *dst = flat + le64_to_cpu(shdr->sh_addr) - min_addr; in elf2flat64() local
589 memcpy(dst, src, le64_to_cpu(shdr->sh_size)); in elf2flat64()
629 char *dst = flat + le32_to_cpu(shdr->sh_addr) - min_addr; in elf2flat32() local
637 memcpy(dst, src, le32_to_cpu(shdr->sh_size)); in elf2flat32()
A Dkwbimage.c587 static int kwb_export_pubkey(RSA *key, struct pubkey_der_v1 *dst, FILE *hashf, in kwb_export_pubkey() argument
598 if (!key || !key_e || !key_n || !dst) { in kwb_export_pubkey()
600 key, key_e, key_n, dst); in kwb_export_pubkey()
626 if (4 + size_seq > sizeof(dst->key)) { in kwb_export_pubkey()
628 4 + size_seq, sizeof(dst->key)); in kwb_export_pubkey()
633 cur = dst->key; in kwb_export_pubkey()
659 ret = kwb_compute_pubkey_hash(dst, &pk_hash); in kwb_export_pubkey()
/tools/dtoc/
A Dfdt.py753 dst = self.FindNode(src.name)
754 if dst:
755 dst.move_to_first()
757 dst = self.insert_subnode(src.name)
758 dst.merge_props(src, copy_phandles)
763 dst.copy_node(node, True)
764 return dst
783 dst = self.copy_node(node)
A Dtest_fdt312 def do_copy_checks(dtb, dst, second1_ph_val, expect_none): argument
315 [n.path for n in dst.subnodes])
379 dst = dtb.GetNode('/dest')
382 dst.copy_node(tmpl)
384 do_copy_checks(dtb, dst, second1_ph_val, expect_none=True)
404 dst = new_dtb.GetNode('/dest')
414 dst = dtb.GetNode('/dest')
415 dst.copy_subnodes_from_phandles(node_list)
427 [n.path for n in dst.subnodes])
430 over = dst.FindNode('over')
[all …]
A Dtest_fdt.py312 def do_copy_checks(dtb, dst, second1_ph_val, expect_none): argument
315 [n.path for n in dst.subnodes])
379 dst = dtb.GetNode('/dest')
382 dst.copy_node(tmpl)
384 do_copy_checks(dtb, dst, second1_ph_val, expect_none=True)
404 dst = new_dtb.GetNode('/dest')
414 dst = dtb.GetNode('/dest')
415 dst.copy_subnodes_from_phandles(node_list)
427 [n.path for n in dst.subnodes])
430 over = dst.FindNode('over')
[all …]
/tools/buildman/
A Dkconfiglib.py6396 def copy(src, dst): argument
6399 shutil.copyfile(src, dst)

Completed in 41 milliseconds