fh                520 modules/file_shelter.c     fs_fheader *fh = (void*)p;
fh                521 modules/file_shelter.c     while (fh->magic==FMAGIC || fh->magic==DMAGIC) {
fh                522 modules/file_shelter.c         p += sizeof(fs_fheader) + wordpad(fh->nlen) + wordpad(fh->size);
fh                526 modules/file_shelter.c         fh = (void*)p;
fh                527 modules/file_shelter.c         if (!magic || fh->magic == magic) {
fh                541 modules/file_shelter.c     fs_fheader *fh = p;
fh                543 modules/file_shelter.c     if (!is_valid_stptr(p) || !is_valid_stptr(p+fh->nlen)) {
fh                555 modules/file_shelter.c     fs_fheader *fh = p;
fh                556 modules/file_shelter.c     p += sizeof(fs_fheader) + wordpad(fh->nlen);
fh                557 modules/file_shelter.c     if (!is_valid_stptr(p) || !is_valid_stptr(p+fh->size)) {
fh                586 modules/file_shelter.c     fs_fheader *fh = storptr;
fh                587 modules/file_shelter.c     fh->magic = DMAGIC;
fh                588 modules/file_shelter.c     fh->size = 0;
fh                589 modules/file_shelter.c     fh->mtime = de->mtime;
fh                590 modules/file_shelter.c     fh->nlen = strlen(path) + 1;
fh                591 modules/file_shelter.c     fh->crc = 0;
fh                594 modules/file_shelter.c     storptr += wordpad(fh->nlen);
fh                602 modules/file_shelter.c     fs_fheader *fh = storptr;
fh                603 modules/file_shelter.c     fh->magic = FMAGIC;
fh                604 modules/file_shelter.c     fh->size = de->size;
fh                605 modules/file_shelter.c     fh->mtime = de->mtime;
fh                606 modules/file_shelter.c     fh->nlen = strlen(path) + 1 + strlen(file) + 1;
fh                607 modules/file_shelter.c     fh->crc = 0;
fh                611 modules/file_shelter.c     storptr += wordpad(fh->nlen);
fh                613 modules/file_shelter.c     if ( read_file(name, storptr, fh->size) ) {
fh                616 modules/file_shelter.c         storptr -= wordpad(fh->nlen);
fh                620 modules/file_shelter.c         crc32(storptr, fh->size, &fh->crc); // fh->crc is set to zero prior to this
fh                621 modules/file_shelter.c         storptr += wordpad(fh->size);
fh                690 modules/file_shelter.c     fs_fheader *fh = storptr;
fh                692 modules/file_shelter.c         if (fh->magic==DMAGIC) {
fh                696 modules/file_shelter.c                 fh->status = RS_NAMELONG;
fh                715 modules/file_shelter.c         else if (fh->magic==FMAGIC) {
fh                716 modules/file_shelter.c             if (strlen(dest)+1+fh->nlen-2 > 255) {
fh                717 modules/file_shelter.c                 fh->status = RS_NAMELONG;
fh                734 modules/file_shelter.c                 crc32(fd, fh->size, &crc); // crc is set to zero prior to this
fh                735 modules/file_shelter.c                 if (crc != fh->crc) {
fh                736 modules/file_shelter.c                     fh->status = RS_CRC;
fh                747 modules/file_shelter.c                 if ( write_file(buf, fd, fh->size) ) {
fh                749 modules/file_shelter.c                     fh->status = RS_FERR;
fh                755 modules/file_shelter.c                     if ( compute_file_crc(buf, tmpbuf, fh->size, tmpsiz, &crc) ) {
fh                757 modules/file_shelter.c                         fh->status = RS_FERR;
fh                761 modules/file_shelter.c                         if ( fh->crc != crc) {
fh                763 modules/file_shelter.c                             fh->status = RS_FERR;
fh                768 modules/file_shelter.c                             t.actime = t.modtime = fh->mtime;
fh                775 modules/file_shelter.c                     t.actime = t.modtime = fh->mtime;
fh                796 modules/file_shelter.c         fh = storptr;
fh                932 modules/file_shelter.c                 fs_fheader *fh = storptr;
fh                933 modules/file_shelter.c                 fh->magic = 0;
fh                 82 modules/firmware_crc.c     FILE *fh = fopen("A/PRIMARY.BIN","wb");
fh                 83 modules/firmware_crc.c     if(!fh) {
fh                 86 modules/firmware_crc.c     fwrite((char *)camera_info.rombaseaddr,dump_size,1,fh);
fh                 87 modules/firmware_crc.c     fclose(fh);