Home
last modified time | relevance | path

Searched refs:cfile (Results 76 – 100 of 5141) sorted by relevance

12345678910>>...206

/dports/emulators/qemu/qemu-6.2.0/roms/seabios/src/fw/
H A Dmultiboot.c45 struct mbfs_romfile_s *cfile; in mbfs_copyfile() local
47 u32 size = cfile->file.size; in mbfs_copyfile()
48 void *src = cfile->data; in mbfs_copyfile()
86 cfile = malloc_tmp(sizeof(*cfile)); in multiboot_init()
87 if (!cfile) { in multiboot_init()
91 memset(cfile, 0, sizeof(*cfile)); in multiboot_init()
95 free(cfile); in multiboot_init()
99 cfile->file.size = len; in multiboot_init()
103 free(cfile); in multiboot_init()
108 cfile->data = copy; in multiboot_init()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/seabios-hppa/src/fw/
H A Dmultiboot.c45 struct mbfs_romfile_s *cfile; in mbfs_copyfile() local
47 u32 size = cfile->file.size; in mbfs_copyfile()
48 void *src = cfile->data; in mbfs_copyfile()
86 cfile = malloc_tmp(sizeof(*cfile)); in multiboot_init()
87 if (!cfile) { in multiboot_init()
91 memset(cfile, 0, sizeof(*cfile)); in multiboot_init()
95 free(cfile); in multiboot_init()
99 cfile->file.size = len; in multiboot_init()
103 free(cfile); in multiboot_init()
108 cfile->data = copy; in multiboot_init()
[all …]
/dports/shells/dash/dash-0.5.11.5/src/
H A Dmknodes.c212 FILE *cfile; in output() local
253 fputs(writer, cfile); in output()
257 outsizes(cfile); in output()
259 outfunc(cfile, 1); in output()
261 outfunc(cfile, 0); in output()
263 fputs(line, cfile); in output()
270 outsizes(FILE *cfile) in outsizes() argument
312 indent(12, cfile); in outfunc()
316 indent(12, cfile); in outfunc()
323 indent(12, cfile); in outfunc()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/cfile/
H A Dcfile.cpp861 CFILE* cfile; in cfget_cfile_block() local
899 if ( cfile->data && cfile->mem_mapped ) { in cfclose()
914 munmap(const_cast<void*>(cfile->data), cfile->data_length); in cfclose()
937 if (cfile->type != CFILE_BLOCK_USED && (cfile->fp != nullptr || cfile->data != nullptr)) in cf_is_valid()
1138 cfile->max_read_len = cfile->raw_position + len; in cf_set_max_read_len()
1385 Assert( cfile->size == filelength(fileno(cfile->fp)) ); in cfwrite()
1427 Assert( cfile->size == filelength(fileno(cfile->fp)) ); in cfputc()
1468 Assert( cfile->size == filelength(fileno(cfile->fp)) ); in cfputs()
1742 cfile = NULL; in cf_chksum_short()
1792 cfile = NULL; in cf_chksum_long()
[all …]
/dports/net/yaz/yaz-5.31.1/src/
H A Doidtoc.tcl101 set cfile [open ${cname} w]
107 puts $cfile $preamble
112 puts $cfile "\#if HAVE_CONFIG_H"
114 puts $cfile "\#endif"
117 puts $cfile ""
132 puts $cfile ",-1\};"
138 puts $cfile "\{"
143 puts -nonewline $cfile "$v, "
145 puts $cfile "\},"
149 puts $cfile "\};"
[all …]
H A Dcsvtodiag.tcl22 puts $cfile $preamble
25 puts $cfile "\#endif"
27 puts $cfile "
76 puts $cfile "\{0, 0\}\}\;"
77 puts $cfile $funcproto
78 puts $cfile "\{"
80 puts $cfile "\}"
83 puts $cfile $funcalias
84 puts $cfile "\{"
86 puts $cfile "\}"
[all …]
/dports/multimedia/lives/lives-3.2.0/src/
H A Dtranscode.c200 if (vpp->init_audio && mainw->save_with_sound && cfile->achans * cfile->arps > 0) { in transcode_clip()
201 int in_arate = cfile->arate; in transcode_clip()
207 ospf = spf = (double)(cfile->arate) / cfile->fps; in transcode_clip()
218 …lives_lseek_buffered_rdonly(fd, (int)((double)(cfile->start - 1.) * spf) * cfile->achans * (cfile-… in transcode_clip()
223 if (cfile->asampsize > 8) { in transcode_clip()
284 width = cfile->hsize; in transcode_clip()
285 height = cfile->vsize; in transcode_clip()
357 nsamps = in_bytes / cfile->achans / (cfile->asampsize >> 3); in transcode_clip()
367 1.0, cfile->achans, cfile->achans, !asigned ? SWAP_U_TO_S : 0); in transcode_clip()
378 weed_layer_set_audio_data(layer, fltbuf, cfile->arate, cfile->achans, nsamps); in transcode_clip()
[all …]
/dports/databases/mdbtools/mdbtools-1.0.0/src/util/
H A Dmdb-header.c43 FILE *cfile; in main() local
64 cfile = fopen ("dumptypes.c", "w"); in main()
69 copy_header (cfile); in main()
70 fprintf (cfile, "#include <stdio.h>\n"); in main()
71 fprintf (cfile, "#include \"dumptypes.h\"\n"); in main()
109 fprintf (cfile, " = \");\n"); in main()
114 fprintf (cfile, "\tdump_int (x."); in main()
118 fprintf (cfile, "\tdump_long (x."); in main()
136 fprintf (cfile, ");\n"); in main()
141 fprintf (cfile, "}\n\n"); in main()
[all …]
/dports/science/paje/Paje_1.97/Tracers/JRastro/libRastro/src/
H A Drastro_generate.c138 fprintf(cfile, "0x%x);\n", res); in generate_function_start()
156 fprintf(cfile, "{\n"); in generate_body()
158 generate_function_start(ct, cfile); in generate_body()
176 fprintf(cfile, "\trst_endevent(ptr);\n"); in generate_body()
178 fprintf(cfile, "}\n\n"); in generate_body()
188 generate_body(argtypes, arglist, &ct, cfile); in generate_function()
216 fprintf(cfile, in generate_cfile_start()
245 FILE *cfile; in main() local
255 cfile = openfile(cfilename, "w"); in main()
259 generate_cfile_start(cfile, hfilename); in main()
[all …]
/dports/sysutils/usermin/usermin-1.830/
H A Dsetup.sh383 echo "port=$port" >> $cfile
384 echo "root=$wadir" >> $cfile
391 echo "logtime=168" >> $cfile
393 echo "ssl=$ssl" >> $cfile
394 echo "no_ssl2=1" >> $cfile
395 echo "no_ssl3=1" >> $cfile
398 echo "no_tls1=1" >> $cfile
407 echo "log=1" >> $cfile
416 echo "session=1" >> $cfile
419 echo "pam=usermin" >> $cfile
[all …]
/dports/sysutils/toybox/toybox-0.8.5/toys/pending/
H A Dcrond.c376 CRONFILE *cfile; in scan_cronfiles() local
396 if (!cfile->job) { in scan_cronfiles()
400 if (cfile->mailto) free(cfile->mailto); in scan_cronfiles()
407 free(cfile); in scan_cronfiles()
409 if (!cfile->mailto) cfile->mailto = cfile->username; in scan_cronfiles()
510 while (cfile) { in count_running_jobs()
531 if ((cfile = cfile->next) == gclist) break; in count_running_jobs()
542 while (cfile) { in execute_jobs()
579 if ((cfile = cfile->next) == gclist) break; in execute_jobs()
596 while (cfile) { in schedule_jobs()
[all …]
/dports/science/libccp4/libccp4-6.5.1/ccp4/
H A Dcmap_open.c84 CCP4File *cfile; in ccp4_cmap_open() local
91 ccp4_file_raw_setstamp(cfile, stamp_offset); in ccp4_cmap_open()
93 if (cfile->read) { in ccp4_cmap_open()
94 if (!is_cmap(cfile) || cfile->length < 1025) { in ccp4_cmap_open()
97 ccp4_file_close(cfile); in ccp4_cmap_open()
99 ccp4_file_rarch(cfile); in ccp4_cmap_open()
101 mfile->stream = cfile; in ccp4_cmap_open()
102 mfile->file_name = cfile->name; in ccp4_cmap_open()
105 } else if (cfile->write) { in ccp4_cmap_open()
107 mfile->stream = cfile; in ccp4_cmap_open()
[all …]
/dports/biology/biosig/biosig-2.3.3/biosig4c++/XMLParser/
H A Dtinyxml.cpp819 assert( cfile ); in Print()
872 assert( cfile ); in gzPrint()
1396 assert( cfile ); in Print()
1480 if ( cfile ) { in Print()
1488 if ( cfile ) { in Print()
1506 if ( cfile ) { in gzPrint()
1514 if ( cfile ) { in gzPrint()
1742 if ( cfile ) fprintf( cfile, "<?xml " ); in Print()
1757 if ( cfile ) fprintf( cfile, "?>" ); in Print()
1764 if ( cfile ) gzprintf( cfile, "<?xml " ); in gzPrint()
[all …]
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-utils/python/modtool/tools/
H A Dcmakefile_editor.py38 self.cfile = f.read()
47 (self.cfile, nsubs) = regexp.subn(substi, self.cfile, count=1)
84 (self.cfile, nsubs) = re.subn(regexp, r'\1\2', self.cfile, count=1)
91 (self.cfile, nsubs) = re.subn(regexp, '', self.cfile, count=1)
97 f.write(self.cfile)
101 self.cfile = re.compile('\n\n\n+', re.MULTILINE).sub('\n\n', self.cfile)
109 for line in self.cfile.splitlines():
127 for line in self.cfile.splitlines():
137 (self.cfile, nsubs) = re.subn(r'(\b'+fname+r'\b)\s*', comment_out_re, self.cfile)
145 for line in self.cfile.splitlines():
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/langtools/tools/javap/
H A DBadAttributeName.java80 cfile.seek(0); in getConstantPoolUTF8Pos()
82 v1 = cfile.readInt(); in getConstantPoolUTF8Pos()
85 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
86 v2 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
89 v1 = cfile.readUnsignedShort(); in getConstantPoolUTF8Pos()
94 byte tag = cfile.readByte(); in getConstantPoolUTF8Pos()
99 cfile.skipBytes(2); in getConstantPoolUTF8Pos()
108 cfile.skipBytes(4); in getConstantPoolUTF8Pos()
113 cfile.skipBytes(8); in getConstantPoolUTF8Pos()
116 long fp = cfile.getFilePointer(); in getConstantPoolUTF8Pos()
[all …]
/dports/net/cloud-init/cloud-init-21.4/tests/unittests/test_handler/
H A Dtest_handler_apt_conf_v1.py21 self.cfile = os.path.join(self.tmp, "config.cfg")
33 self.assertFalse(os.path.isfile(self.cfile))
43 self.assertFalse(os.path.isfile(self.cfile))
61 self.assertFalse(os.path.isfile(self.cfile))
69 util.write_file(self.cfile, "content doesnt matter")
72 self.assertFalse(os.path.isfile(self.cfile))
75 util.write_file(self.cfile, "content doesnt matter")
88 self.assertTrue(os.path.isfile(self.cfile))
97 self.assertTrue(os.path.isfile(self.cfile))
98 self.assertEqual(util.load_file(self.cfile), "foo")
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios/src/fw/
H A Dcoreboot.c362 if (cfile->flags) { in cbfs_copyfile()
414 struct cbfs_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in process_links_file() local
415 if (!cfile) { in process_links_file()
419 memcpy(cfile, cufile, sizeof(*cfile)); in process_links_file()
420 strtcpy(cfile->file.name, linkname, sizeof(cfile->file.name)); in process_links_file()
456 struct cbfs_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in coreboot_cbfs_init() local
457 if (!cfile) { in coreboot_cbfs_init()
461 memset(cfile, 0, sizeof(*cfile)); in coreboot_cbfs_init()
463 cfile->file.size = cfile->rawsize = be32_to_cpu(fhdr->len); in coreboot_cbfs_init()
472 cfile->file.size = *(u32*)(cfile->data + LZMA_PROPERTIES_SIZE); in coreboot_cbfs_init()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios-hppa/src/fw/
H A Dcoreboot.c362 if (cfile->flags) { in cbfs_copyfile()
414 struct cbfs_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in process_links_file() local
415 if (!cfile) { in process_links_file()
419 memcpy(cfile, cufile, sizeof(*cfile)); in process_links_file()
420 strtcpy(cfile->file.name, linkname, sizeof(cfile->file.name)); in process_links_file()
456 struct cbfs_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in coreboot_cbfs_init() local
457 if (!cfile) { in coreboot_cbfs_init()
461 memset(cfile, 0, sizeof(*cfile)); in coreboot_cbfs_init()
463 cfile->file.size = cfile->rawsize = be32_to_cpu(fhdr->len); in coreboot_cbfs_init()
472 cfile->file.size = *(u32*)(cfile->data + LZMA_PROPERTIES_SIZE); in coreboot_cbfs_init()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/seabios-hppa/src/fw/
H A Dcoreboot.c362 if (cfile->flags) { in cbfs_copyfile()
414 struct cbfs_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in process_links_file() local
415 if (!cfile) { in process_links_file()
419 memcpy(cfile, cufile, sizeof(*cfile)); in process_links_file()
420 strtcpy(cfile->file.name, linkname, sizeof(cfile->file.name)); in process_links_file()
456 struct cbfs_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in coreboot_cbfs_init() local
457 if (!cfile) { in coreboot_cbfs_init()
461 memset(cfile, 0, sizeof(*cfile)); in coreboot_cbfs_init()
463 cfile->file.size = cfile->rawsize = be32_to_cpu(fhdr->len); in coreboot_cbfs_init()
472 cfile->file.size = *(u32*)(cfile->data + LZMA_PROPERTIES_SIZE); in coreboot_cbfs_init()
[all …]

12345678910>>...206