Home
last modified time | relevance | path

Searched refs:output_file (Results 1 – 23 of 23) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dwrgif.c213 putc(val, dinfo->pub.output_file); in put_3bytes()
214 putc(val, dinfo->pub.output_file); in put_3bytes()
215 putc(val, dinfo->pub.output_file); in put_3bytes()
243 putc('G', dinfo->pub.output_file); in emit_header()
244 putc('I', dinfo->pub.output_file); in emit_header()
245 putc('F', dinfo->pub.output_file); in emit_header()
246 putc('8', dinfo->pub.output_file); in emit_header()
247 putc('7', dinfo->pub.output_file); in emit_header()
346 putc(0, dest->pub.output_file); in finish_output_gif()
348 putc(';', dest->pub.output_file); in finish_output_gif()
[all …]
A Dwrppm.c96 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows()
119 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in copy_pixel_rows()
149 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_demapped_rgb()
168 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_demapped_gray()
185 fprintf(dest->pub.output_file, "P5\n%ld %ld\n%d\n", in start_output_ppm()
191 fprintf(dest->pub.output_file, "P6\n%ld %ld\n%d\n", in start_output_ppm()
209 fflush(dinfo->output_file); in finish_output_ppm()
210 if (ferror(dinfo->output_file)) in finish_output_ppm()
A Dwrtarga.c89 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t) 18) in write_header()
117 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows()
135 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_gray_rows()
159 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_demapped_gray()
190 outfile = dest->pub.output_file; in start_output_tga()
215 fflush(dinfo->output_file); in finish_output_tga()
216 if (ferror(dinfo->output_file)) in finish_output_tga()
A Dcdjpeg.c169 FILE * output_file = stdout; in write_stdout() local
175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) { in write_stdout()
180 return output_file; in write_stdout()
A Dwrbmp.c219 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t) 14) in write_bmp_header()
221 if (JFWRITE(dest->pub.output_file, bmpinfoheader, 40) != (size_t) 40) in write_bmp_header()
276 if (JFWRITE(dest->pub.output_file, bmpfileheader, 14) != (size_t) 14) in write_os2_header()
278 if (JFWRITE(dest->pub.output_file, bmpcoreheader, 12) != (size_t) 12) in write_os2_header()
297 FILE * outfile = dest->pub.output_file; in write_colormap()
347 register FILE * outfile = dest->pub.output_file; in finish_output_bmp()
A Dwrrle.c187 header.rle_file = dest->pub.output_file; in finish_output_rle()
266 fflush(dest->pub.output_file); in finish_output_rle()
267 if (ferror(dest->pub.output_file)) in finish_output_rle()
A Dcdjpeg.h62 FILE * output_file; member
/AliOS-Things-master/components/ota/tools/
A Dota_image_package.py29 output_file = input_file+".ota"
32 fout = open(output_file, 'wb')
45 os.rename(output_file, input_file)
70 output_file = main_file+"_ota.bin"
71 if os.path.exists(output_file):
72 os.remove(output_file)
77 fp = open(output_file,'ab')
91 comp_file_md5(output_file, magic)
/AliOS-Things-master/components/mbedtls/programs/pkey/
A Dkey_app_writer.c121 const char *output_file; /* where to store the constructed key file */ member
125 static int write_public_key( mbedtls_pk_context *key, const char *output_file ) in write_public_key() argument
153 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_public_key()
167 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() argument
195 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_private_key()
240 opt.output_file = DFL_OUTPUT_FILENAME; in main()
283 opt.output_file = q; in main()
418 write_public_key( &key, opt.output_file ); in main()
422 write_private_key( &key, opt.output_file ); in main()
A Dgen_key.c165 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() argument
190 if( ( f = fopen( output_file, "wb" ) ) == NULL ) in write_private_key()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/
A Dmlir_convert.py153 with tempfile.NamedTemporaryFile() as output_file, \
181 output_file.name,
187 return (None if exit_code != 0 else output_file.read()), log
213 with tempfile.NamedTemporaryFile() as output_file, \
230 output_file.name,
236 return (None if exit_code != 0 else output_file.read()), log
/AliOS-Things-master/components/mbedtls/programs/x509/
A Dcert_req.c123 const char *output_file; /* where to store the constructed key file */ member
130 int write_certificate_request( mbedtls_x509write_csr *req, const char *output_file, in write_certificate_request() argument
145 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_certificate_request()
190 opt.output_file = DFL_OUTPUT_FILENAME; in main()
209 opt.output_file = q; in main()
389 if( ( ret = write_certificate_request( &req, opt.output_file, in main()
A Dcert_write.c180 const char *output_file; /* where to store the constructed CRT */ member
198 int write_certificate( mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument
214 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_certificate()
278 opt.output_file = DFL_OUTPUT_FILENAME; in main()
316 opt.output_file = q; in main()
791 if( ( ret = write_certificate( &crt, opt.output_file, in main()
/AliOS-Things-master/components/py_engine/engine/mpy-cross/
A Dmain.c58 STATIC int compile_and_save(const char *file, const char *output_file, const char *source_file) { in compile_and_save() argument
79 if (output_file == NULL) { in compile_and_save()
84 vstr_add_str(&vstr, output_file); in compile_and_save()
225 const char *output_file = NULL; in main_() local
252 output_file = argv[a]; in main_()
324 int ret = compile_and_save(input_file, output_file, source_file); in main_()
/AliOS-Things-master/components/py_engine/engine/py/
A Dmakeqstrdefs.py129 with open(args.output_file + ".hash") as f:
140 os.remove(args.output_file)
143 os.rename(args.output_dir + "/out", args.output_file)
144 with open(args.output_file + ".hash", "w") as f:
194 args.output_file = None if len(sys.argv) == 5 else sys.argv[5] # Unused for command=split
/AliOS-Things-master/components/mbedtls/programs/util/
A Dpem2der.c86 const char *output_file; /* where to store the output */ member
221 opt.output_file = DFL_OUTPUT_FILENAME; in main()
234 opt.output_file = q; in main()
281 ret = write_file( opt.output_file, der_buffer, der_size ); in main()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/unused/
A Ddjpeg.c440 FILE * output_file; in main() local
521 if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) { in main()
527 output_file = write_stdout(); in main()
579 dest_mgr->output_file = output_file; in main()
612 if (output_file != stdout) in main()
613 fclose(output_file); in main()
A Dcjpeg.c529 FILE * output_file; in main() local
608 if ((output_file = fopen(outfilename, WRITE_BINARY)) == NULL) { in main()
614 output_file = write_stdout(); in main()
635 jpeg_stdio_dest(&cinfo, output_file); in main()
654 if (output_file != stdout) in main()
655 fclose(output_file); in main()
/AliOS-Things-master/hardware/chip/rtl872xd/
A Dgen_crc_bin.py56 output_file = open(output_file_path, "ab")
60 output_file.write(fileContent)
62 output_file.close()
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A Dfreeze.py238 save_graph_def(FLAGS.output_file, frozen_graph_def)
240 save_saved_model(FLAGS.output_file, sess, input_tensor, output_tensor)
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngcp.c398 const char *output_file; /* The name of the output file */ member
491 dp->output_file = "no output file"; in display_init()
538 dp->output_file = NULL; in display_clean()
1861 dp->output_file = "<no write>"; in display_start_write()
1867 dp->output_file = filename; in display_start_write()
1873 dp->output_file = "<stdout>"; in display_start_write()
1879 dp->output_file, strerror(errno)); in display_start_write()
1900 dp->output_file, strerror(errno)); in write_function()
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy-tool.py932 def merge_mpy(raw_codes, output_file): argument
977 if output_file is None:
980 with open(output_file, "wb") as f:
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/
A Dtrain_micro_speech_model.ipynb308 "--output_file={SAVED_MODEL}"

Completed in 33 milliseconds