/dports/www/moodle311/moodle/lib/filestorage/ |
H A D | file_system_filedir.php | 355 if (file_exists($hashfile)) { 367 unlink($hashfile); 382 @unlink($hashfile.'.tmp'); 386 @unlink($hashfile.'.tmp'); 392 @unlink($hashfile.'.tmp'); 396 if (!rename($hashfile.'.tmp', $hashfile)) { 407 @unlink($hashfile.'.tmp'); 436 if (file_exists($hashfile)) { 448 unlink($hashfile); 476 unlink($hashfile.'.tmp'); [all …]
|
/dports/devel/git-svn/git-2.34.1/ |
H A D | csum-file.h | 9 struct hashfile { struct 31 int hashfile_truncate(struct hashfile *, struct hashfile_checkpoint *); 38 struct hashfile *hashfd(int fd, const char *name); 39 struct hashfile *hashfd_check(const char *name); 42 void hashwrite(struct hashfile *, const void *, unsigned int); 43 void hashflush(struct hashfile *f); 44 void crc32_begin(struct hashfile *); 45 uint32_t crc32_end(struct hashfile *); 54 static inline off_t hashfile_total(struct hashfile *f) in hashfile_total() 59 static inline void hashwrite_u8(struct hashfile *f, uint8_t data) in hashwrite_u8() [all …]
|
H A D | csum-file.c | 14 static void verify_buffer_or_die(struct hashfile *f, in verify_buffer_or_die() 28 static void flush(struct hashfile *f, const void *buf, unsigned int count) in flush() 43 void hashflush(struct hashfile *f) in hashflush() 54 static void free_hashfile(struct hashfile *f) in free_hashfile() 129 struct hashfile *hashfd_check(const char *name) in hashfd_check() 132 struct hashfile *f; in hashfd_check() 143 static struct hashfile *hashfd_internal(int fd, const char *name, in hashfd_internal() 147 struct hashfile *f = xmalloc(sizeof(*f)); in hashfd_internal() 164 struct hashfile *hashfd(int fd, const char *name) in hashfd() 205 void crc32_begin(struct hashfile *f) in crc32_begin() [all …]
|
/dports/devel/git-gui/git-2.34.1/ |
H A D | csum-file.h | 9 struct hashfile { struct 31 int hashfile_truncate(struct hashfile *, struct hashfile_checkpoint *); 38 struct hashfile *hashfd(int fd, const char *name); 39 struct hashfile *hashfd_check(const char *name); 42 void hashwrite(struct hashfile *, const void *, unsigned int); 43 void hashflush(struct hashfile *f); 44 void crc32_begin(struct hashfile *); 45 uint32_t crc32_end(struct hashfile *); 54 static inline off_t hashfile_total(struct hashfile *f) in hashfile_total() 59 static inline void hashwrite_u8(struct hashfile *f, uint8_t data) in hashwrite_u8() [all …]
|
H A D | csum-file.c | 14 static void verify_buffer_or_die(struct hashfile *f, in verify_buffer_or_die() 28 static void flush(struct hashfile *f, const void *buf, unsigned int count) in flush() 43 void hashflush(struct hashfile *f) in hashflush() 54 static void free_hashfile(struct hashfile *f) in free_hashfile() 129 struct hashfile *hashfd_check(const char *name) in hashfd_check() 132 struct hashfile *f; in hashfd_check() 143 static struct hashfile *hashfd_internal(int fd, const char *name, in hashfd_internal() 147 struct hashfile *f = xmalloc(sizeof(*f)); in hashfd_internal() 164 struct hashfile *hashfd(int fd, const char *name) in hashfd() 205 void crc32_begin(struct hashfile *f) in crc32_begin() [all …]
|
/dports/devel/git-p4/git-2.34.1/ |
H A D | csum-file.h | 9 struct hashfile { struct 31 int hashfile_truncate(struct hashfile *, struct hashfile_checkpoint *); 38 struct hashfile *hashfd(int fd, const char *name); 39 struct hashfile *hashfd_check(const char *name); 42 void hashwrite(struct hashfile *, const void *, unsigned int); 43 void hashflush(struct hashfile *f); 44 void crc32_begin(struct hashfile *); 45 uint32_t crc32_end(struct hashfile *); 54 static inline off_t hashfile_total(struct hashfile *f) in hashfile_total() 59 static inline void hashwrite_u8(struct hashfile *f, uint8_t data) in hashwrite_u8() [all …]
|
H A D | csum-file.c | 14 static void verify_buffer_or_die(struct hashfile *f, in verify_buffer_or_die() 28 static void flush(struct hashfile *f, const void *buf, unsigned int count) in flush() 43 void hashflush(struct hashfile *f) in hashflush() 54 static void free_hashfile(struct hashfile *f) in free_hashfile() 129 struct hashfile *hashfd_check(const char *name) in hashfd_check() 132 struct hashfile *f; in hashfd_check() 143 static struct hashfile *hashfd_internal(int fd, const char *name, in hashfd_internal() 147 struct hashfile *f = xmalloc(sizeof(*f)); in hashfd_internal() 164 struct hashfile *hashfd(int fd, const char *name) in hashfd() 205 void crc32_begin(struct hashfile *f) in crc32_begin() [all …]
|
/dports/devel/git/git-2.34.1/ |
H A D | csum-file.h | 9 struct hashfile { struct 31 int hashfile_truncate(struct hashfile *, struct hashfile_checkpoint *); 38 struct hashfile *hashfd(int fd, const char *name); 39 struct hashfile *hashfd_check(const char *name); 42 void hashwrite(struct hashfile *, const void *, unsigned int); 43 void hashflush(struct hashfile *f); 44 void crc32_begin(struct hashfile *); 45 uint32_t crc32_end(struct hashfile *); 54 static inline off_t hashfile_total(struct hashfile *f) in hashfile_total() 59 static inline void hashwrite_u8(struct hashfile *f, uint8_t data) in hashwrite_u8() [all …]
|
H A D | csum-file.c | 14 static void verify_buffer_or_die(struct hashfile *f, in verify_buffer_or_die() 28 static void flush(struct hashfile *f, const void *buf, unsigned int count) in flush() 43 void hashflush(struct hashfile *f) in hashflush() 54 static void free_hashfile(struct hashfile *f) in free_hashfile() 129 struct hashfile *hashfd_check(const char *name) in hashfd_check() 132 struct hashfile *f; in hashfd_check() 143 static struct hashfile *hashfd_internal(int fd, const char *name, in hashfd_internal() 147 struct hashfile *f = xmalloc(sizeof(*f)); in hashfd_internal() 164 struct hashfile *hashfd(int fd, const char *name) in hashfd() 205 void crc32_begin(struct hashfile *f) in crc32_begin() [all …]
|
/dports/devel/git-cvs/git-2.34.1/ |
H A D | csum-file.h | 9 struct hashfile { struct 31 int hashfile_truncate(struct hashfile *, struct hashfile_checkpoint *); 38 struct hashfile *hashfd(int fd, const char *name); 39 struct hashfile *hashfd_check(const char *name); 42 void hashwrite(struct hashfile *, const void *, unsigned int); 43 void hashflush(struct hashfile *f); 44 void crc32_begin(struct hashfile *); 45 uint32_t crc32_end(struct hashfile *); 54 static inline off_t hashfile_total(struct hashfile *f) in hashfile_total() 59 static inline void hashwrite_u8(struct hashfile *f, uint8_t data) in hashwrite_u8() [all …]
|
H A D | csum-file.c | 14 static void verify_buffer_or_die(struct hashfile *f, in verify_buffer_or_die() 28 static void flush(struct hashfile *f, const void *buf, unsigned int count) in flush() 43 void hashflush(struct hashfile *f) in hashflush() 54 static void free_hashfile(struct hashfile *f) in free_hashfile() 129 struct hashfile *hashfd_check(const char *name) in hashfd_check() 132 struct hashfile *f; in hashfd_check() 143 static struct hashfile *hashfd_internal(int fd, const char *name, in hashfd_internal() 147 struct hashfile *f = xmalloc(sizeof(*f)); in hashfd_internal() 164 struct hashfile *hashfd(int fd, const char *name) in hashfd() 205 void crc32_begin(struct hashfile *f) in crc32_begin() [all …]
|
/dports/www/moodle310/moodle/lib/filestorage/ |
H A D | file_system_filedir.php | 355 if (file_exists($hashfile)) { 367 unlink($hashfile); 381 @unlink($hashfile.'.tmp'); 384 @unlink($hashfile.'.tmp'); 390 @unlink($hashfile.'.tmp'); 394 if (!rename($hashfile.'.tmp', $hashfile)) { 396 @unlink($hashfile . '.tmp'); 431 if (file_exists($hashfile)) { 443 unlink($hashfile); 471 unlink($hashfile.'.tmp'); [all …]
|
/dports/devel/cgit/cgit-1.2.3/git/ |
H A D | csum-file.h | 9 struct hashfile { struct 28 void hashfile_checkpoint(struct hashfile *, struct hashfile_checkpoint *); argument 29 int hashfile_truncate(struct hashfile *, struct hashfile_checkpoint *); 36 struct hashfile *hashfd(int fd, const char *name); 37 struct hashfile *hashfd_check(const char *name); 40 void hashwrite(struct hashfile *, const void *, unsigned int); 41 void hashflush(struct hashfile *f); 42 void crc32_begin(struct hashfile *); 43 uint32_t crc32_end(struct hashfile *); 45 static inline void hashwrite_u8(struct hashfile *f, uint8_t data) in hashwrite_u8() [all …]
|
H A D | csum-file.c | 14 static void flush(struct hashfile *f, const void *buf, unsigned int count) in flush() 45 void hashflush(struct hashfile *f) in hashflush() 56 int finalize_hashfile(struct hashfile *f, unsigned char *result, unsigned int flags) in finalize_hashfile() 89 void hashwrite(struct hashfile *f, const void *buf, unsigned int count) in hashwrite() 121 struct hashfile *hashfd(int fd, const char *name) in hashfd() 126 struct hashfile *hashfd_check(const char *name) in hashfd_check() 129 struct hashfile *f; in hashfd_check() 142 struct hashfile *hashfd_throughput(int fd, const char *name, struct progress *tp) in hashfd_throughput() 144 struct hashfile *f = xmalloc(sizeof(*f)); in hashfd_throughput() 176 void crc32_begin(struct hashfile *f) in crc32_begin() [all …]
|
/dports/www/moodle39/moodle/lib/filestorage/ |
H A D | file_system_filedir.php | 355 if (file_exists($hashfile)) { 367 unlink($hashfile); 381 @unlink($hashfile.'.tmp'); 382 if (!copy($pathname, $hashfile.'.tmp')) { 384 @unlink($hashfile.'.tmp'); 390 @unlink($hashfile.'.tmp'); 394 rename($hashfile.'.tmp', $hashfile); 424 if (file_exists($hashfile)) { 436 unlink($hashfile); 464 unlink($hashfile.'.tmp'); [all …]
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/tools/scripts/ |
H A D | git-hash.sh | 12 Usage: $0 [--help|-h] [--write] [--hashfile=HASH_FILE] 14 --hashfile : Location of git hash file [project.githash] 21 hashfile="project.githash" 28 hashfile=${BASH_REMATCH[1]} 55 if [[ -f $hashfile ]]; then 56 ettus_githash32=$(cat $hashfile) 72 echo $ettus_githash32 > $hashfile 73 echo "INFO: Wrote $ettus_githash32 to $hashfile"
|
/dports/games/gnushogi/gnushogi-1.4.2/gnushogi/ |
H A D | main.c | 207 if ((hashfile = fopen(HASHFILE, RWA_ACC)) == NULL) in main() 208 hashfile = fopen(HASHFILE, WA_ACC); in main() 210 if (hashfile != NULL) in main() 224 fclose(hashfile); in main() 235 hashfile = fopen(HASHFILE, RWA_ACC); in main() 237 if (hashfile) in main() 239 fseek(hashfile, 0L, SEEK_END); in main() 243 if (hashfile != NULL) in main() 254 fseek(hashfile, 0L, SEEK_END); in main() 255 i = ftell(hashfile) / (sizeof(struct fileentry)); in main() [all …]
|
/dports/sysutils/webmin/webmin-1.981/useradmin/ |
H A D | macos-lib.pl | 108 local $hashfile = &read_file_contents("/var/db/shadow/hash/$uuid"); 109 if ($hashfile) { 110 return substr($hashfile, 169, 48); 122 local $hashfile = &read_file_contents("/var/db/shadow/hash/$uuid"); 123 if ($hashfile) { 130 substr($hashfile, 169, 48) = $pass; 132 &print_tempfile(HASHFILE, $hashfile);
|
/dports/audio/epos-devel/epos-2.5.37/src/ |
H A D | hash.cc | 36 text *hashfile; in hash() local 55 hashfile = new text(filename, dirname, treename, description, true); in hash() 56 if (!description && !hashfile->exists()) { in hash() 59 while (hashfile->get_line(buff)) l++; in hash() 65 hashfile->rewind(false); in hash() 67 while (l++, hashfile->get_line(buff)) try { in hash() 80 hashfile->current_file, hashfile->current_line); in hash() 84 shriek(811, "%s:%d Multiple values specified", hashfile->current_file, hashfile->current_line); in hash() 91 delete hashfile; in hash()
|
/dports/science/PETSc/petsc-3.14.1/config/PETSc/options/ |
H A D | arch.py | 73 def makeDependency(self,hash,hashfile,hashfilepackages): argument 79 self.framework.hashfile = hashfile 80 self.logPrint('Setting hashfile: '+hashfile) 83 self.logPrint('Deleting configure hash file: '+hashfile) 84 os.remove(hashfile) 85 self.logPrint('Deleted configure hash file: '+hashfile) 87 self.logPrint('Unable to delete configure hash file: '+hashfile) 184 self.makeDependency(hash,hashfile,hashfilepackages) 188 with open(hashfile, 'r') as f: 192 self.makeDependency(hash,hashfile,hashfilepackages) [all …]
|
/dports/net/p5-Socket-Class/Socket-Class-2.258/xs/sc_ssl/openssl/source/util/ |
H A D | fipslink.pl | 63 my ($hashfile, $hashval); 66 $hashfile = <IN>; 69 chomp $hashfile; 71 $hashfile =~ s/^.*=\s+//; 73 die "Invalid hash syntax in file" if (length($hashfile) != 40); 75 die "***HASH VALUE MISMATCH FOR FILE $filename ***" if ($hashval ne $hashfile);
|
/dports/net-mgmt/cowpatty/cowpatty-4.8/ |
H A D | genpmk.c | 111 strncpy(opt.hashfile, optarg, sizeof(opt.hashfile)); in main() 133 if (IsBlank(opt.hashfile)) { in main() 161 ret = stat(opt.hashfile, &teststat); in main() 165 printf("File %s does not exist, creating.\n", opt.hashfile); in main() 170 fpout = fopen(opt.hashfile, "wb"); in main() 184 fpout = fopen(opt.hashfile, "r+b"); in main() 208 printf("File %s exists, appending new data.\n", opt.hashfile); in main() 209 if (fopen(opt.hashfile, "ab") == NULL) { in main()
|
/dports/archivers/dpkg/dpkg-1.19.7/lib/dpkg/ |
H A D | db-fsys-digest.c | 50 const char *hashfile; in write_filehash_except() local 57 hashfile = pkg_infodb_get_file(pkg, pkgbin, HASHFILE); in write_filehash_except() 59 file = atomic_file_new(hashfile, 0); in write_filehash_except() 136 const char *hashfile; in parse_filehash() local 140 hashfile = pkg_infodb_get_file(pkg, pkgbin, HASHFILE); in parse_filehash() 142 if (file_slurp(hashfile, &buf, &err) < 0 && err.syserrno != ENOENT) in parse_filehash()
|
/dports/devel/R-cran-git2r/git2r/man/ |
H A D | hashfile.Rd | 3 \name{hashfile} 4 \alias{hashfile} 7 hashfile(path = NULL) 29 hashfile(path) 30 identical(hashfile(path), hash("Hello, world!\n"))
|
/dports/devel/R-cran-git2r/git2r/tests/ |
H A D | blob.R | 94 hashfile(file.path(path, "test-1.txt")))) 96 hashfile(file.path(path, "test-2.txt")))) 99 hashfile(c(file.path(path, "test-1.txt"), 101 assertError(hashfile(c(file.path(path, "test-1.txt"), 104 stopifnot(identical(hashfile(character(0)), character(0))) 150 check_error(assertError(hashfile(NA)), "invalid 'path' argument")
|