Searched refs:image (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Delf_memory.c34 elf_memory(char *image, size_t sz) argument
41 if (image == NULL || sz == 0) {
46 return (_libelf_memory((unsigned char *) image, sz, 1));
H A Delf_open.c54 elf_openmemory(char *image, size_t sz) argument
61 if (image == NULL || sz == 0) {
66 return (_libelf_memory((unsigned char *) image, sz, 0));
H A Dlibelf_memory.c37 * Create an ELF descriptor for a memory image, optionally reporting
42 _libelf_memory(unsigned char *image, size_t sz, int reporterror) argument
49 assert(image != NULL);
56 e->e_rawfile = image;
64 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) {
65 e_byteorder = image[EI_DATA];
66 e_class = image[EI_CLASS];
67 e_version = image[EI_VERSION];
92 strncmp((const char *) image, ARMAG, (size_t) SARMAG) == 0)
/freebsd-11-stable/contrib/gcc/
H A Dunwind-dw2-fde-darwin.c74 /* Node of KEYMGR_GCC3_LIVE_IMAGE_LIST. Info about each resident image. */
77 struct mach_header *mh; /* the image info */
93 IMAGE_IS_TEXT_MASK = 4, /* This image is in the TEXT segment. */
96 image list. */
108 live_image_destructor (struct live_images *image)
110 if (image->object_info)
122 __deregister_frame_info_bases (image->fde);
130 free (image->object_info);
131 image->object_info = NULL;
132 if (image
107 live_image_destructor(struct live_images *image) argument
148 struct live_images *image; local
[all...]
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_annotate.c87 struct pmcstat_image *image; local
100 image = map->ppm_image;
102 (image->pi_vaddr - image->pi_start));
103 sym = pmcstat_symbol_search(image, newpc);
111 image->pi_vaddr), (uintmax_t)(sym->ps_end +
112 image->pi_vaddr));
H A Dpmcpl_annotate_cg.c88 struct pmcstat_image *image; local
98 image = NULL;
106 image = map->ppm_image;
108 (image->pi_vaddr - image->pi_start));
109 sym = pmcstat_symbol_search(image, newpc);
112 if (map != NULL && image != NULL && sym != NULL) {
113 (void) pmcstat_image_addr2line(image, cc[i],
H A Dpmcstat_log.c111 * pmcstat_pcmap structures track per-image mappings.
128 * values, we map each pc value to a tuple (image, symbol), where
129 * 'image' denotes an executable object and 'symbol' is the closest
137 * All image descriptors are kept in a hash table.
172 /* image */
414 * Determine whether a given executable image is an A.OUT object, and
416 * Sets image->pi_type.
420 pmcstat_image_get_aout_params(struct pmcstat_image *image) argument
428 path = pmcstat_string_unintern(image->pi_execpath);
431 if (image
486 pmcstat_symbol_search(struct pmcstat_image *image, uintfptr_t addr) argument
507 pmcstat_image_add_symbols(struct pmcstat_image *image, Elf *e, Elf_Scn *scn, GElf_Shdr *sh) argument
620 pmcstat_image_get_elf_params(struct pmcstat_image *image) argument
781 pmcstat_image_determine_type(struct pmcstat_image *image) argument
861 pmcstat_image_link(struct pmcstat_process *pp, struct pmcstat_image *image, uintfptr_t start) argument
966 pmcstat_image_addr2line(struct pmcstat_image *image, uintfptr_t addr, char *sourcefile, size_t sourcefile_len, unsigned *sourceline, char *funcname, size_t funcname_len) argument
1164 pmcstat_process_aout_exec(struct pmcstat_process *pp, struct pmcstat_image *image, uintfptr_t entryaddr) argument
1178 pmcstat_process_elf_exec(struct pmcstat_process *pp, struct pmcstat_image *image, uintfptr_t entryaddr) argument
1301 struct pmcstat_image *image; local
1367 struct pmcstat_image *image; local
[all...]
H A Dpmcpl_gprof.c124 struct pmcstat_image *image)
137 gm.lpc = image->pi_start;
138 gm.hpc = image->pi_end;
175 * (image,pmcid) combination. Return the interned string.
179 pmcstat_gmon_create_name(const char *samplesdir, struct pmcstat_image *image, argument
191 pmcstat_string_unintern(image->pi_samplename));
236 pmcstat_gmon_append_arc(struct pmcstat_image *image, pmc_id_t pmcid, argument
243 if ((pgf = pmcstat_image_find_gmonfile(image, pmcid)) == NULL)
252 arc.raw_frompc = rawfrom + image->pi_vaddr;
253 arc.raw_selfpc = rawto + image
123 pmcstat_gmon_create_file(struct pmcstat_gmonfile *pgf, struct pmcstat_image *image) argument
261 pmcstat_image_find_gmonfile(struct pmcstat_image *image, pmc_id_t pmcid) argument
415 struct pmcstat_image *image; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/fs/cd9660/
H A Dt_high_ino_big_file.sh28 # The image used in these tests has been provided by Thomas Schmitt under
83 bunzip2 < $(atf_get_srcdir)/pr_48787.image.bz2 > pr_48787.image
86 rump_cd9660 -o norrip ./pr_48787.image ${mntpnt}
94 rump_cd9660 ./pr_48787.image ${mntpnt}
/freebsd-11-stable/usr.bin/mkimg/tests/
H A Dmkimg.sh73 local baseline image result tmpfile update
75 image=$1
78 baseline=$image.gz.uu
92 gzip -c $result | uuencode $image.gz >> $baseline
95 rm $image $result _tmp-*
117 image=`makeimage $format $scheme $blksz $geom img $partinfo`
118 result=$image.out
119 hexdump -C $image > $result
121 mkimg_rebase $image $result
123 baseline=`atf_get_srcdir`/$image
[all...]
H A Dmkimg_test.sh73 local baseline image result tmpfile update
75 image=$1
78 baseline=$image.hex
95 rm $image $result _tmp-*
117 image=`makeimage $format $scheme $blksz $geom img $partinfo`
118 result=$image.out
119 hexdump -C $image > $result
121 mkimg_rebase $image $result
123 baseline=`atf_get_srcdir`/$image
/freebsd-11-stable/contrib/netbsd-tests/dev/fss/
H A Dt_fss.sh45 dd if=/dev/zero of=./image bs=32k count=64
46 vndconfig -c vnd0 ./image
/freebsd-11-stable/contrib/netbsd-tests/fs/common/
H A Dfstest_ext2fs.c55 ext2fs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
65 size, image);
79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
82 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
H A Dfstest_msdosfs.c55 msdosfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
65 size, image);
79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
83 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
H A Dfstest_sysvbfs.c55 sysvbfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
65 size, image);
79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
82 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
H A Dfstest_v7fs.c55 v7fs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
65 size, image);
79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
83 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
H A Dfstest_zfs.c51 zfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
66 /* create backing image, sparse file is enough */
67 if ((fd = open(image, O_RDWR | O_CREAT, 0777)) == -1)
75 res = rump_pub_etfs_register(ZFSDEV, image, RUMP_ETFS_BLK);
H A Dfstest_ffs.c56 ffs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, argument
66 snprintf(cmd, 1024, "newfs -F -s %"PRId64" %s >/dev/null", size, image);
84 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
87 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
H A Dfstest_udf.c56 udf_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, argument
69 snprintf(cmd, 1024, "newfs_udf -F -s %"PRId64" %s >/dev/null", size, image);
87 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
91 res = rump_pub_etfs_register(args->ta_devpath, image, RUMP_ETFS_BLK);
/freebsd-11-stable/usr.sbin/cpucontrol/
H A Dcpucontrol.h34 typedef void ucode_update_t(const char *dev, const char *image);
/freebsd-11-stable/release/
H A DMakefile.ec25 # Makefile for creating an EC2 AMI from a disk image.
51 .if !exists(/usr/local/bin/bsdec2-image-upload)
59 .if exists(${PORTSDIR}/net/bsdec2-image-upload/Makefile)
60 env - PATH=$$PATH make -C ${PORTSDIR}/net/bsdec2-image-upload BATCH=1 all install clean
65 env ASSUME_ALWAYS_YES=yes pkg install -y net/bsdec2-image-upload
88 /usr/local/bin/bsdec2-image-upload ${PUBLISH} ${PUBLICSNAP} \
H A DMakefile.vm8 VMTARGETS= vm-image
14 VHD_DESC= Azure, VirtualPC, Hyper-V, Xen disk image
15 VMDK_DESC= VMWare, VirtualBox disk image
16 QCOW2_DESC= Qemu, KVM disk image
17 RAW_DESC= Unformatted raw disk image
24 AZURE_DESC= Microsoft Azure platform image
27 EC2_DESC= Amazon EC2 image
30 GCE_DESC= Google Compute Engine image
33 OPENSTACK_DESC= OpenStack platform image
111 vm-base: vm-image
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dada-tasks.c296 char image[256]; local
322 if (atcb.image.P_ARRAY != NULL)
324 READ_MEMORY ((CORE_ADDR) EXTRACT_ADDRESS (atcb.image.P_BOUNDS), bounds);
326 read_memory ((CORE_ADDR) EXTRACT_ADDRESS (atcb.image.P_ARRAY),
327 (char *) &image, bounds[1]);
328 printf_filtered ("Name: %.*s\n", bounds[1], image);
357 if (atcb2.image.P_ARRAY != NULL)
359 READ_MEMORY ((CORE_ADDR) EXTRACT_ADDRESS (atcb2.image.P_BOUNDS),
362 read_memory ((CORE_ADDR) EXTRACT_ADDRESS (atcb2.image.P_ARRAY),
363 (char *) &image, bound
472 char image[256]; local
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree_quoted_filename.c32 static const char image [] = { variable
69 assertEqualString(buff, image);
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_fw.c144 iwm_fill_paging_mem(struct iwm_softc *sc, const struct iwm_fw_sects *image) argument
150 * find where is the paging image start point:
151 * if CPU2 exist and it's in paging format, then the image looks like:
158 * CPU2 paging image (including instruction and data)
161 if (image->fw_sect[sec_idx].offset == IWM_PAGING_SEPARATOR_SECTION) {
171 if (sec_idx >= nitems(image->fw_sect) - 1) {
184 image->fw_sect[sec_idx].data,
201 (const char *)image->fw_sect[sec_idx].data + offset,
215 (const char *)image->fw_sect[sec_idx].data + offset,
227 iwm_alloc_fw_paging_mem(struct iwm_softc *sc, const struct iwm_fw_sects *image) argument
[all...]

Completed in 360 milliseconds

12345