Searched defs:image (Results 1 - 25 of 74) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dmain.c22 #include <ipxe/image.h>
62 struct image *image; local
92 if ( ( image = first_image() ) != NULL ) {
93 /* We have an embedded image; execute it */
94 image_exec ( image );
H A Ddownloader.c31 #include <ipxe/image.h>
51 struct image *image; member in struct:downloader
52 /** Current position within image buffer */
65 image_put ( downloader->image );
80 downloader->image->name );
83 downloader->image->name, strerror ( rc ) );
103 if ( len <= downloader->image->len )
110 new_buffer = urealloc ( downloader->image->data, len );
116 downloader->image
235 create_downloader( struct interface *job, struct image *image, int type, ... ) argument
[all...]
H A Dimage.c32 #include <ipxe/image.h>
44 __einfo_uniqify ( EINFO_EACCES, 0x01, "Untrusted image" )
53 /** Currently-executing image */
54 struct image *current_image;
56 /** Current image trust requirement */
59 /** Prevent changes to image trust requirement */
63 * Free executable image
68 struct image *image = container_of ( refcnt, struct image, refcn local
87 struct image *image; local
121 image_set_name( struct image *image, const char *name ) argument
143 image_set_cmdline( struct image *image, const char *cmdline ) argument
210 struct image *image; local
351 struct image *image = current_image; local
410 struct image *image; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/image/
H A Dembedded.c3 * Embedded image support
12 #include <ipxe/image.h>
16 /* Raw image data for all embedded images */
39 static struct image embedded_images[] = {
48 struct image *image; local
59 image = &embedded_images[i];
66 data = ( ( void * ) image->data );
67 image->data = virt_to_user ( data );
69 DBG ( "Embedded image \"
[all...]
H A Delf.c24 * ELF image format
26 * A "pure" ELF image is not a bootable image. There are various
35 #include <ipxe/image.h>
46 * @v image ELF file
53 static int elf_load_segment ( struct image *image, Elf_Phdr *phdr, argument
66 /* Check segment lies within image */
67 if ( ( phdr->p_offset + phdr->p_filesz ) > image->len ) {
68 DBGC ( image, "EL
133 elf_load( struct image *image, physaddr_t *entry, physaddr_t *max ) argument
[all...]
H A Defi_image.c24 #include <ipxe/image.h>
31 /** EFI loaded image protocol GUID */
36 * Create a Unicode command line for the image
38 * @v image EFI image
39 * @v devpath_out Device path to pass to image (output)
44 static int efi_image_make_cmdline ( struct image *image, argument
58 /* Get the URI string of the image */
59 uri_len = unparse_uri ( NULL, 0, image
120 EFI_LOADED_IMAGE_PROTOCOL *image; member in union:__anon15471
[all...]
H A Dscript.c36 #include <ipxe/image.h>
51 * @v image Script
56 static int process_script ( struct image *image, argument
69 eol = memchr_user ( image->data, script_offset, '\n',
70 ( image->len - script_offset ) );
72 eol = image->len;
81 copy_from_user ( line, image->data, script_offset, len );
93 } while ( script_offset < image->len );
133 * @v image Scrip
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/usr/
H A Dimgtrust.c26 #include <ipxe/image.h>
37 * Verify image using downloaded signature
39 * @v image Image to verify
44 int imgverify ( struct image *image, struct image *signature, argument
52 /* Mark image as untrusted */
53 image_untrust ( image );
72 /* Use signature to verify image */
74 if ( ( rc = cms_verify ( sig, image
[all...]
H A Dautoboot.c28 #include <ipxe/image.h>
144 struct image *image; local
173 if ( ( rc = imgdownload ( filename, &image ) ) != 0 )
175 if ( ( rc = image_exec ( image ) ) != 0 ) {
176 printf ( "Could not boot image: %s\n",
/vbox/src/VBox/Main/webservice/samples/php/
H A Dclienttest.php67 $image = imagecreatetruecolor($screenWidth, $screenHeight); variable
77 //$alpha = $image[$start+3];
79 $colour = imagecolorallocate($image, $red, $green, $blue);
81 imagesetpixel($image, $width, $height, $colour);
85 imagepng($image, $filename);
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/core/
H A Druntime.c34 #include <ipxe/image.h>
63 /** Free command line image */
65 struct image *image = container_of ( refcnt, struct image, refcnt ); local
67 DBGC ( image, "RUNTIME freeing command line\n" );
72 static struct image cmdline_image = {
149 /* Prepare and register image */
160 /* Drop our reference to the image */
177 struct image *imag local
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/
H A DQIRichTextLabel.cpp68 /* Register image: */
69 void QIRichTextLabel::registerImage(const QImage &image, const QString &strName) argument
71 /* Register passed image in internal text-document: */
72 m_pTextEdit->document()->addResource(QTextDocument::ImageResource, QUrl(strName), QVariant(image));
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/
H A Dcomboot.c22 * SYSLINUX COMBOOT (16-bit) image format
38 #include <ipxe/image.h>
49 /** INT 20 instruction, executed if COMBOOT image returns with RET */
66 * @v image COMBOOT image
68 static void comboot_copy_cmdline ( struct image * image, userptr_t seg_userptr ) { argument
69 const char *cmdline = ( image->cmdline ? image->cmdline : "" );
99 * @v image COMBOO
102 comboot_init_psp( struct image * image, userptr_t seg_userptr ) argument
[all...]
H A Dbzimage.c24 * Linux bzImage image format
36 #include <ipxe/image.h>
86 * @v image bzImage file
91 static int bzimage_parse_header ( struct image *image, argument
98 if ( image->len < ( BZI_HDR_OFFSET + sizeof ( bzimg->bzhdr ) ) ) {
99 DBGC ( image, "bzImage %p too short for kernel header\n",
100 image );
114 if ( bzimg->rm_filesz > image->len ) {
115 DBGC ( image, "bzImag
196 bzimage_update_header( struct image *image, struct bzimage_context *bzimg, userptr_t dst ) argument
246 bzimage_parse_cmdline( struct image *image, struct bzimage_context *bzimg, const char *cmdline ) argument
307 bzimage_set_cmdline( struct image *image, struct bzimage_context *bzimg, const char *cmdline ) argument
331 bzimage_load_initrd( struct image *image, struct image *initrd, userptr_t address ) argument
389 bzimage_load_initrds( struct image *image, struct bzimage_context *bzimg ) argument
[all...]
H A Dmultiboot.c24 * Multiboot image format
34 #include <ipxe/image.h>
88 /** Offset of header within the multiboot image */
102 * @v image Multiboot image
107 static void multiboot_build_memmap ( struct image *image, argument
121 DBGC ( image, "MULTIBOOT %p limit of %d memmap "
122 "entries reached\n", image, limit );
143 * @v image Imag
185 multiboot_add_modules( struct image *image, physaddr_t start, struct multiboot_info *mbinfo, struct multiboot_module *modules, unsigned int limit ) argument
268 multiboot_find_header( struct image *image, struct multiboot_header_info *hdr ) argument
317 multiboot_load_raw( struct image *image, struct multiboot_header_info *hdr, physaddr_t *entry, physaddr_t *max ) argument
365 multiboot_load_elf( struct image *image, physaddr_t *entry, physaddr_t *max ) argument
[all...]
H A Dnbi.c11 #include <ipxe/image.h>
16 * NBI image format.
32 * An NBI image header
97 /** Info passed to NBI image */
104 * Prepare a segment for an NBI image
106 * @v image NBI image
107 * @v offset Offset within NBI image
113 static int nbi_prepare_segment ( struct image *image, size_ argument
136 nbi_load_segment( struct image *image, size_t offset, userptr_t dest, size_t filesz, size_t memsz __unused ) argument
151 nbi_process_segments( struct image *image, struct imgheader *imgheader, int ( * process ) ( struct image *image, size_t offset, userptr_t dest, size_t filesz, size_t memsz ) ) argument
247 nbi_boot16( struct image *image, struct imgheader *imgheader ) argument
285 nbi_boot32( struct image *image, struct imgheader *imgheader ) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/
H A Ddigest_cmd.c27 #include <ipxe/image.h>
48 "<image> [<image>...]" );
61 struct image *image; local
78 /* Acquire image */
79 if ( ( rc = imgacquire ( argv[i], &image ) ) != 0 )
82 len = image->len;
90 copy_from_user ( buf, image->data, offset, frag_len );
100 printf ( " %s\n", image
[all...]
H A Dimage_trust_cmd.c24 #include <ipxe/image.h>
75 printf ( "Could not set image trust requirement: %s\n",
102 "[--signer <signer>] [--keep] <uri|image> "
103 "<signature uri|image>" );
116 struct image *image; local
117 struct image *signature;
124 /* Parse image name/URI string */
130 /* Acquire the image */
131 if ( ( rc = imgacquire ( image_name_uri, &image ) ) !
[all...]
H A Dimage_cmd.c26 #include <ipxe/image.h>
53 "[--name <name>] <uri|image> [<arguments>...]" );
59 /** Function to use to acquire the image */
60 int ( * acquire ) ( const char *name, struct image **image );
61 /** Pre-action to take upon image, or NULL */
62 void ( * preaction ) ( struct image *image );
63 /** Action to take upon image, or NULL */
64 int ( * action ) ( struct image *imag
84 struct image *image; local
266 struct image *image; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dimage.h21 /** An executable image */
22 struct image { struct
29 /** URI of image */
36 /** Command line to pass to image */
38 /** Raw file image */
40 /** Length of raw file image */
46 /** Replacement image
48 * An image wishing to replace itself with another image (in a
50 * exec() method with the replacement image se
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/globals/
H A DUIImageTools.cpp3 * VBox Qt GUI - Implementation of utility classes and functions for image manipulation.
36 * asserts if the bit depth of the given image could not processed. */
38 QImage toGray(const QImage& image) argument
40 QImage result = image.convertToFormat(QImage::Format_ARGB32);
53 void dimImage(QImage& image) argument
57 for (int y = 0; y < image.height(); ++y)
59 QRgb *sl = (QRgb*)image.scanLine(y);
62 if (image.depth() == 32)
64 for (int x = 0; x < image.width(); ++x)
71 ::memset(sl, 0, image
[all...]
/vbox/src/VBox/Additions/haiku/VBoxTray/
H A DVBoxGuestDeskbarView.cpp68 our_image(image_info& image) argument
72 while (get_next_image_info(B_CURRENT_TEAM, &cookie, &image) == B_OK)
74 if ((char *)our_image >= (char *)image.text
75 && (char *)our_image <= (char *)image.text + image.text_size)
/vbox/src/VBox/Additions/x11/x11include/pixman-0.16.0/
H A Dpixman-edge-imp.h27 RASTERIZE_EDGES (pixman_image_t *image, argument
35 uint32_t *buf = (image)->bits.bits;
36 int stride = (image)->bits.rowstride;
37 int width = (image)->bits.width;
125 WRITE(image, a, READ(image, a) | startmask);
129 WRITE(image, a++, 0xffffffff);
131 WRITE(image, a, READ(image, a) | endmask);
/vbox/src/VBox/Additions/linux/drm/
H A Dvbox_fb.c213 const struct fb_image *image)
217 sys_imageblit(info, image);
218 vbox_dirty_update(afbdev, image->dx, image->dy, image->width,
219 image->height);
212 vbox_imageblit(struct fb_info *info, const struct fb_image *image) argument
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dxfont.c44 XImage *image; local
59 image = XGetImage(dpy, pixmap, 0, 0, 8*width, height, 1, XYPixmap);
60 if (image) {
64 if (XGetPixel(image, x, y))
66 XDestroyImage(image);

Completed in 48 milliseconds

123