Lines Matching refs:to
22 * 3. The name of the author may not be used to endorse or promote
64 static char * o_dump = NULL; /* Seama file to dump. */
67 static char * o_images[MAX_IMAGE];/* The image files to pack or seal */
98 " -s {file} Seal the images to the seama file.\n"
105 " To extract the raw image from SEAMA, you need to specify the meta.\n"
106 " The first image match the specified meta will be extract to\n"
168 static size_t copy_file(FILE * to, FILE * from)
179 fwrite(buf, sizeof(uint8_t), i, to);
200 if (stat(fname, &st) < 0) ERRBREAK("Unable to get the info of '%s'\n",fname);
201 if ((fh = fopen(fname, "r+"))==NULL) ERRBREAK("Unable to open '%s' for reading!\n",fname);
231 ERRBREAK("Unable to read SEAMA META data!\n");
399 printf("Unable to open image file '%s'\n",o_images[i]);
479 if (!ofh) printf("SEAMA: unable to open '%s' for writting.\n",output);