/dports/emulators/qemu5/qemu-5.2.0/roms/seabios/src/fw/ |
H A D | coreboot.c | 362 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/qemu-powernv/qemu-powernv-3.0.50/roms/seabios-hppa/src/fw/ |
H A D | coreboot.c | 362 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/qemu-powernv/qemu-powernv-3.0.50/roms/seabios/src/fw/ |
H A D | coreboot.c | 362 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/qemu-utils/qemu-4.2.1/roms/seabios/src/fw/ |
H A D | coreboot.c | 362 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/misc/seabios/seabios-1.14.0/src/fw/ |
H A D | coreboot.c | 362 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/qemu42/qemu-4.2.1/roms/seabios/src/fw/ |
H A D | coreboot.c | 362 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/qemu42/qemu-4.2.1/roms/seabios-hppa/src/fw/ |
H A D | coreboot.c | 362 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/qemu-utils/qemu-4.2.1/roms/seabios-hppa/src/fw/ |
H A D | coreboot.c | 362 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/qemu-guest-agent/qemu-5.0.1/roms/seabios/src/fw/ |
H A D | coreboot.c | 362 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/qemu-guest-agent/qemu-5.0.1/roms/seabios-hppa/src/fw/ |
H A D | coreboot.c | 362 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/qemu/qemu-6.2.0/roms/seabios/src/fw/ |
H A D | coreboot.c | 362 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/qemu/qemu-6.2.0/roms/seabios-hppa/src/fw/ |
H A D | coreboot.c | 362 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/shells/dash/dash-0.5.11.5/src/ |
H A D | mksyntax.c | 92 static FILE *cfile; variable 111 if ((cfile = fopen("syntax.c", "w")) == NULL) { in main() 120 fputs(writer, cfile); in main() 161 fputs("#include \"shell.h\"\n", cfile); in main() 162 fputs("#include \"syntax.h\"\n\n", cfile); in main() 276 fputs(" ", cfile); in print() 278 fputs(",\n ", cfile); in print() 281 putc(',', cfile); in print() 283 putc(' ', cfile); in print() 285 fputs(syntax[i], cfile); in print() [all …]
|
/dports/archivers/gcab/gcab-1.4/libgcab/ |
H A D | gcab-file.c | 49 cfile_t *cfile; member 76 cfile_free (self->cfile); in gcab_file_finalize() 99 g_free (self->cfile->name); in gcab_file_set_name() 100 self->cfile->name = fname; in gcab_file_set_name() 263 return self->cfile->usize; in gcab_file_get_usize() 284 return self->cfile; in gcab_file_get_cfile() 301 return self->cfile->usize; in gcab_file_get_size() 322 date = self->cfile->date; in gcab_file_get_date_time() 323 time = self->cfile->time; in gcab_file_get_date_time() 407 return self->cfile->name; in gcab_file_get_name() [all …]
|
/dports/devel/creduce/creduce-2.10.0/creduce/ |
H A D | pass_comments.pm | 25 my ($cfile, $which) = @_; 26 open INF, "<$cfile" or die; 38 my ($cfile, $which) = @_; 46 (my $cfile, my $which, my $state) = @_; 59 my ($cfile, $tmpfile, $which, $state) = @_; 62 my $instances = count_comments($cfile, $which); 67 open INF, "<$cfile" or die; 93 (my $cfile, my $which, my $state) = @_; 96 my $prog = read_file ($cfile); 131 if (compare($cfile, $tmpfile) == 0) { [all …]
|
/dports/security/krb5-appl/krb5-appl-1.0.3/gssftp/ftp/ |
H A D | ruserpass.c | 63 static FILE *cfile; variable 97 if (feof(cfile)) in token() 108 c = getc(cfile); in token() 113 while ((c = getc(cfile)) != EOF in token() 116 c = getc(cfile); in token() 142 cfile = fopen(buf, "r"); 143 if (cfile == NULL) { 224 (void) fclose(cfile); 264 if ((c=getc(cfile)) == EOF) { 290 (void) fclose(cfile); [all …]
|
/dports/ftp/bsdftpd-ssl/bsdftpd-ssl-1.1.0/ftp/ |
H A D | ruserpass.c | 62 static FILE *cfile; variable 107 cfile = fopen(buf, "r"); 108 if (cfile == NULL) { 193 (void)fclose(cfile); 196 while ((c=getc(cfile)) != EOF) 237 if ((c=getc(cfile)) == EOF) { 264 (void)fclose(cfile); 267 (void)fclose(cfile); 278 if (feof(cfile) || ferror(cfile)) in token() 289 c = getc(cfile); in token() [all …]
|
/dports/ftp/tnftp/tnftp-20210827/src/ |
H A D | ruserpass.c | 63 static FILE *cfile; variable 100 cfile = fopen(netrc, "r"); in ruserpass() 101 if (cfile == NULL) { in ruserpass() 188 (void)fclose(cfile); in ruserpass() 191 while ((c = getc(cfile)) != EOF) in ruserpass() 271 (void)fclose(cfile); in ruserpass() 274 (void)fclose(cfile); in ruserpass() 285 if (feof(cfile) || ferror(cfile)) in token() 296 if ((c = getc(cfile)) == EOF) in token() 306 while ((c = getc(cfile)) != EOF in token() [all …]
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/linux/net/ |
H A D | ruserpass.c | 52 static FILE *cfile; variable 120 cfile = fopen(buf, "rc"); 121 if (cfile == NULL) { 209 if (fstat64(fileno(cfile), &stb) >= 0 224 (void) fclose(cfile); 249 while ((c=getc_unlocked(cfile)) != EOF 291 (void) fclose(cfile); 294 (void) fclose(cfile); 306 if (feof(cfile) || ferror(cfile)) in libc_hidden_def() 317 c = getc_unlocked(cfile); in libc_hidden_def() [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/NIFTI/src/nifti/nifti2/nifti_regress_test/ |
H A D | @test | 71 foreach cfile ( $cfiles ) 72 echo -n $cfile ... 73 echo "--------------------------------------------------------" > e.$cfile 74 cat ../commands/$cfile >> e.$cfile 75 echo "" >> e.$cfile 76 echo "--------------------------" >> e.$cfile 77 echo "" >> e.$cfile 78 source ../commands/$cfile >>& e.$cfile # to keep alias
|
/dports/science/afni/afni-AFNI_21.3.16/src/nifti/nifti2/nifti_regress_test/ |
H A D | @test | 71 foreach cfile ( $cfiles ) 72 echo -n $cfile ... 73 echo "--------------------------------------------------------" > e.$cfile 74 cat ../commands/$cfile >> e.$cfile 75 echo "" >> e.$cfile 76 echo "--------------------------" >> e.$cfile 77 echo "" >> e.$cfile 78 source ../commands/$cfile >>& e.$cfile # to keep alias
|
/dports/science/nifticlib/nifticlib-2.0.0/Testing/nifti_regress_test/ |
H A D | @test | 71 foreach cfile ( $cfiles ) 72 echo -n $cfile ... 73 echo "--------------------------------------------------------" > e.$cfile 74 cat ../commands/$cfile >> e.$cfile 75 echo "" >> e.$cfile 76 echo "--------------------------" >> e.$cfile 77 echo "" >> e.$cfile 78 source ../commands/$cfile >>& e.$cfile # to keep alias
|
/dports/sysutils/webmin/webmin-1.981/ |
H A D | setup.sh | 467 echo "port=$port" >> $cfile 476 echo "ssl=$ssl" >> $cfile 477 echo "no_ssl2=1" >> $cfile 478 echo "no_ssl3=1" >> $cfile 481 echo "no_tls1=1" >> $cfile 496 echo "log=1" >> $cfile 499 echo "syslog=1" >> $cfile 500 echo "ipv6=1" >> $cfile 507 echo "session=1" >> $cfile 510 echo "pam=$pam" >> $cfile [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios/src/ |
H A D | romfile.c | 112 struct const_romfile_s *cfile; in const_read_file() local 113 cfile = container_of(file, struct const_romfile_s, file); in const_read_file() 116 memcpy(dst, cfile->data, maxlen); in const_read_file() 123 struct const_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in const_romfile_add() local 124 if (!cfile) { in const_romfile_add() 128 memset(cfile, 0, sizeof(*cfile)); in const_romfile_add() 129 strtcpy(cfile->file.name, name, sizeof(cfile->file.name)); in const_romfile_add() 130 cfile->file.size = size; in const_romfile_add() 131 cfile->file.copy = const_read_file; in const_romfile_add() 132 cfile->data = data; in const_romfile_add() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/seabios-hppa/src/ |
H A D | romfile.c | 113 struct const_romfile_s *cfile; in const_read_file() local 114 cfile = container_of(file, struct const_romfile_s, file); in const_read_file() 117 memcpy(dst, cfile->data, maxlen); in const_read_file() 124 struct const_romfile_s *cfile = malloc_tmp(sizeof(*cfile)); in const_romfile_add() local 125 if (!cfile) { in const_romfile_add() 129 memset(cfile, 0, sizeof(*cfile)); in const_romfile_add() 130 strtcpy(cfile->file.name, name, sizeof(cfile->file.name)); in const_romfile_add() 131 cfile->file.size = size; in const_romfile_add() 132 cfile->file.copy = const_read_file; in const_romfile_add() 133 cfile->data = data; in const_romfile_add() [all …]
|