/dports/devel/lion/lion/contrib/libdirlist/ |
H A D | dirlist_child_sort.c | 63 (*(file_t **)data1)->name, in sortby_name() 64 (*(file_t **)data2)->name) in sortby_name() 71 (*(file_t **)data1)->name, in sortby_name_reverse() 72 (*(file_t **)data2)->name) in sortby_name_reverse() 79 (*(file_t **)data1)->name, in sortby_name_case() 80 (*(file_t **)data2)->name) in sortby_name_case() 95 (*(file_t **)data2)->size) in sortby_size() 104 (*(file_t **)data2)->size) in sortby_size_reverse() 113 (*(file_t **)data2)->date) in sortby_date() 122 (*(file_t **)data2)->date) in sortby_date_reverse() [all …]
|
/dports/graphics/yafaray/libYafaRay-3.5.1/src/yafraycore/ |
H A D | file.cc | 100 file_t::file_t(const std::string &path) : path(path) in file_t() function in file_t 104 file_t::file_t(const path_t &path) : path(path) in file_t() function in file_t 108 file_t::~file_t() in ~file_t() 110 file_t::close(); in ~file_t() 128 file_t::close(); in save() 134 file_t tmp = file_t(pathTmp); in save() 140 result &= file_t::open("wb"); in save() 142 file_t::close(); in save() 193 return file_t::append(str.data(), str.size()) && file_t::append(&zero, sizeof(char)); in append() 203 int file_t::close() in close() [all …]
|
/dports/games/rottdc/rottdc-1.0-2/rott/dc/include/kos/ |
H A D | fs.h | 58 typedef uint32 file_t; typedef 61 #define FILEHND_INVALID ((file_t)0) 82 void (*close)(file_t hnd); 94 off_t (*tell)(file_t hnd); 97 size_t (*total)(file_t hnd); 112 void* (*mmap)(file_t fd); 146 void fs_close(file_t hnd); 150 off_t fs_tell(file_t hnd); 151 size_t fs_total(file_t hnd); 152 dirent_t* fs_readdir(file_t hnd); [all …]
|
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnscore/include/dnscore/ |
H A D | file.h | 54 typedef struct file_t_* file_t; typedef 58 ssize_t (*read)(file_t f, void *buffer, ssize_t size); 59 ssize_t (*write)(file_t f, const void *buffer, ssize_t size); 60 ssize_t (*seek)(file_t f, ssize_t position, int from); 61 ssize_t (*tell)(file_t f); 62 int (*flush)(file_t f); 63 int (*close)(file_t f); 64 ssize_t (*size)(file_t f); 65 int (*resize)(file_t f, ssize_t size); 80 static inline int file_flush(file_t f) { return f->vtbl->flush(f); } in file_flush() [all …]
|
H A D | mapped-file.h | 62 ya_result mapped_file_open_ex(file_t *fp, const char *filename, int flags); 63 ya_result mapped_file_create_ex(file_t *fp, const char *filename, int flags, mode_t mode); 64 ya_result mapped_file_create_volatile(file_t *fp, const char *filename, size_t base_size); 66 ya_result mapped_file_get_buffer(file_t f, void **address, ssize_t *size); 67 ya_result mapped_file_get_buffer_const(file_t f, const void **address, ssize_t *size);
|
/dports/security/rhash/RHash-1.4.2/ |
H A D | file.h | 42 typedef struct file_t struct 53 } file_t; argument 93 int file_init_by_print_path(file_t* file, file_t* prepend_dir, const char* print_path, unsigned ini… 94 void file_cleanup(file_t* file); 95 void file_clone(file_t* file, const file_t* orig_file); 96 void file_swap(file_t* first, file_t* second); 114 int file_modify_path(file_t* dst, file_t* src, const char* str, int operation); 131 int file_rename(const file_t* from, const file_t* to); 132 int file_move_to_bak(file_t* file); 133 int file_is_readable(file_t* file); [all …]
|
H A D | output.h | 13 struct file_t; 42 int fprintf_file_t(FILE* out, const char* format, struct file_t* file, unsigned output_flags); 46 void log_msg_file_t(const char* format, struct file_t* file); 50 void log_error_file_t(struct file_t* file); 51 void log_error_msg_file_t(const char* format, struct file_t* file); 54 int print_verifying_header(struct file_t* file);
|
/dports/misc/lv/lv-f7ba677/src/ |
H A D | file.h | 98 } file_t; typedef 103 #define file_t file_t far macro 116 public void FileFreeLine( file_t *f ); 119 public file_t *FileAttach( byte *fileName, stream_t *st, 126 public void FilePreload( file_t *f ); 128 public boolean_t FileFree( file_t *f ); 129 public boolean_t FileDetach( file_t *f ); 132 public boolean_t FileSeek( file_t *f, unsigned int segment ); 134 public void FileRefresh( file_t *f ); 135 public byte *FileStatus( file_t *f ); [all …]
|
H A D | screen.h | 13 public boolean_t ScreenTop( file_t *f, unsigned int logical ); 14 public boolean_t ScreenTopPhysical( file_t *f, position_t *pos ); 15 public boolean_t ScreenBot( file_t *f ); 17 public unsigned int ScreenPrev( file_t *f, int physical ); 18 public unsigned int ScreenNext( file_t *f, int physical ); 20 public void ScreenRefresh( file_t *f );
|
H A D | file.c | 63 public void FileFreeLine( file_t *f ) in FileFreeLine() 334 public void FileCacheInit( file_t *f ) in FileCacheInit() 349 public void FileRefresh( file_t *f ) in FileRefresh() 379 file_t *f; in FileAttach() 383 #undef file_t in FileAttach() 384 if( NULL == (f = (file_t far *)FarMalloc( sizeof( file_t ) )) ) in FileAttach() 386 #define file_t file_t far in FileAttach() macro 388 f = (file_t *)Malloc( sizeof( file_t ) ); in FileAttach() 428 public void FilePreload( file_t *f ) in FilePreload() 480 public byte *FileName( file_t *f ) in FileName() [all …]
|
/dports/graphics/pqiv/pqiv-2.12/ |
H A D | pqiv.h | 41 typedef struct _file file_t; typedef 42 typedef GBytes *(*file_data_loader_fn_t)(file_t *file, GError **error_pointer); 134 typedef BOSNode *(*file_type_alloc_fn_t)(load_images_state_t state, file_t *file); 138 typedef void (*file_type_free_fn_t)(file_t *file); 144 typedef void (*file_type_unload_fn_t)(file_t *file); 148 typedef double (*file_type_animation_initialize_fn_t)(file_t *file); 152 typedef double (*file_type_animation_next_frame_fn_t)(file_t *file); 155 typedef void (*file_type_draw_fn_t)(file_t *file, cairo_t *cr); 187 GInputStream *image_loader_stream_file(file_t *file, GError **error_pointer); 193 file_t *image_loader_duplicate_file(file_t *file, gchar *custom_file_name, gchar *custom_display_na… [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/sys/ |
H A D | filedesc.h | 188 int fd_allocfile(file_t **, int *); 189 void fd_affix(struct proc *, file_t *, unsigned); 190 void fd_abort(struct proc *, file_t *, unsigned); 199 file_t *fd_getfile(unsigned); 200 file_t *fd_getfile2(proc_t *, unsigned); 202 int fd_getvnode(unsigned, file_t **); 208 int fd_dup(file_t *, int, int *, bool); 209 int fd_dup2(file_t *, unsigned, int); 228 int closef(file_t *); 229 file_t *fgetdummy(void); [all …]
|
/dports/devel/z88dk/z88dk/src/common/ |
H A D | objfile.h | 139 } file_t; typedef 141 extern file_t* file_new(); 142 extern void file_free(file_t* file); 143 extern void file_read(file_t* file, const char* filename); 144 extern void file_write(file_t* file, const char* filename); 146 extern void file_add_symbol_prefix(file_t* file, const char* regexp, const char* prefix); 147 extern void file_rename_symbol(file_t* file, const char* old_name, const char* new_name); 148 extern void file_make_symbols_local(file_t* file, const char* regexp); 149 extern void file_make_symbols_global(file_t* file, const char* regexp); 150 extern void file_set_section_org(file_t* file, const char* name, int value); [all …]
|
/dports/archivers/lzop/lzop-1.04/src/ |
H A D | conf.h | 440 file_t; typedef 529 void warn(file_t *ft, const char *m); 532 void read_error(file_t *ft); 533 void write_error(file_t *ft); 541 void init_compress_header(header_t *h, const file_t *fip, const file_t *fop); 559 lzo_bool x_compress(file_t *fip, file_t *fop, header_t *h); 560 lzo_bool x_decompress(file_t *fip, file_t *fop, const header_t *h, lzo_bool skip); 577 lzo_bool lzo_compress(file_t *fip, file_t *fop, const header_t *h); 578 lzo_bool lzo_decompress(file_t *fip, file_t *fop, const header_t *h, lzo_bool skip); 596 lzo_bool lzo_threaded_compress(file_t *fip, file_t *fop, const header_t *h); [all …]
|
/dports/archivers/parchive/par-cmdline/ |
H A D | fileops.h | 32 file_t next; 50 file_t file_open(const u16 *path, int wr); 51 file_t file_open_ascii(const char *path, int wr); 52 int file_close(file_t f); 55 int file_seek(file_t f, i64 off); 58 int file_add_md5(file_t f, i64 md5off, i64 off, i64 len); 59 int file_get_md5(file_t f, i64 off, md5 block); 62 i64 file_read(file_t f, void *buf, i64 n); 63 i64 file_write(file_t f, void *buf, i64 n);
|
H A D | fileops.c | 159 do_seek(file_t f) in do_seek() 170 do_close(file_t f) in do_close() 180 do_open(file_t f) in do_open() 182 static file_t openfiles = 0; in do_open() 209 file_t 212 file_t f; in file_open_ascii() 221 file_t 228 file_close(file_t f) in file_close() 256 file_seek(file_t f, i64 off) in file_seek() 316 file_read(file_t f, void *buf, i64 n) in file_read() [all …]
|
/dports/security/pure-sfv/pure-sfv-0.3/par-cmdline/ |
H A D | fileops.h | 34 file_t next; 52 file_t file_open(const u16 *path, int wr); 53 file_t file_open_ascii(const char *path, int wr); 54 int file_close(file_t f); 57 int file_seek(file_t f, i64 off); 60 int file_add_md5(file_t f, i64 md5off, i64 off, i64 len); 61 int file_get_md5(file_t f, i64 off, md5 block); 64 i64 file_read(file_t f, void *buf, i64 n); 65 i64 file_write(file_t f, void *buf, i64 n);
|
H A D | fileops.c | 159 do_seek(file_t f) in do_seek() 170 do_close(file_t f) in do_close() 180 do_open(file_t f) in do_open() 182 static file_t openfiles = 0; in do_open() 209 file_t 212 file_t f; in file_open_ascii() 221 file_t 228 file_close(file_t f) in file_close() 256 file_seek(file_t f, i64 off) in file_seek() 316 file_read(file_t f, void *buf, i64 n) in file_read() [all …]
|
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnscore/src/ |
H A D | filesystem-file.c | 71 filesystem_file_read(file_t f, void *buffer, ssize_t size) in filesystem_file_read() 86 filesystem_file_write(file_t f, const void *buffer, ssize_t size) in filesystem_file_write() 101 filesystem_file_seek(file_t f, ssize_t position, int whence) in filesystem_file_seek() 121 filesystem_file_tell(file_t f) in filesystem_file_tell() 141 filesystem_file_flush(file_t f) in filesystem_file_flush() 161 filesystem_file_close(file_t f) in filesystem_file_close() 177 filesystem_file_size(file_t f) in filesystem_file_size() 200 filesystem_file_resize(file_t f, ssize_t size) in filesystem_file_resize() 237 filesystem_file_open_ex(file_t *fp, const char *filename, int flags) in filesystem_file_open_ex() 256 *fp = (file_t)fsf; in filesystem_file_open_ex() [all …]
|
/dports/multimedia/gmerlin/gmerlin-1.2.0/lib/gtk/ |
H A D | cfg_file.c | 33 } file_t; typedef 37 file_t * priv; in get_value() 38 priv = (file_t*)(w->priv); in get_value() 50 file_t * priv; in set_value() 53 priv = (file_t*)(w->priv); in set_value() 73 file_t * priv = (file_t*)w->priv; in destroy() 83 file_t * f = (file_t*)priv; in attach() 115 file_t * priv = calloc(1, sizeof(*priv)); in bg_gtk_create_file()
|
/dports/news/newspost/newspost-2.1.1/parchive/ |
H A D | fileops.c | 47 static int do_open(file_t f); 51 static int do_seek(file_t f); 152 file_t 159 file_close(file_t f) in file_close() 176 file_seek(file_t f, i64 off) in file_seek() 277 file_t f; in file_md5_buffer() 330 static file_t 333 file_t f; in file_open_ascii() 343 do_seek(file_t f) in do_seek() 354 do_close(file_t f) in do_close() [all …]
|
H A D | fileops.h | 23 file_t next; 38 file_t file_open(const u16 *path, int wr); 39 int file_close(file_t f); 41 int file_seek(file_t f, i64 off); 44 int file_add_md5(file_t f, i64 md5off, i64 off, i64 len); 47 i64 file_read(file_t f, void *buf, i64 n); 48 i64 file_write(file_t f, void *buf, i64 n);
|
/dports/sysutils/fdupes/fdupes-2.1.2/ |
H A D | fdupes.c | 92 file_t *file; 245 newfile = (file_t*) malloc(sizeof(file_t)); 451 file_t *dupe; 474 int is_same_file(file_t *file_a, file_t *file_b) 878 dupelist = (file_t**) malloc(sizeof(file_t*) * max); 1056 int sort_pairs_by_arrival(file_t *f1, file_t *f2) 1064 int sort_pairs_by_ctime(file_t *f1, file_t *f2) 1074 int sort_pairs_by_mtime(file_t *f1, file_t *f2) 1084 int sort_pairs_by_filename(file_t *f1, file_t *f2) 1090 void registerpair(file_t **matchlist, file_t *newmatch, [all …]
|
/dports/sysutils/rsyslog8/rsyslog-8.2112.0/plugins/omhdfs/ |
H A D | omhdfs.c | 85 } file_t; typedef 89 file_t *pFile; 161 file_t *pFile; in fileObjConstruct() 176 fileObjAddUser(file_t *pFile) in fileObjAddUser() 188 file_t *pFile = *ppFile; in fileObjDestruct() 202 filePrepare(file_t *pFile) in filePrepare() 241 file_t *pFile = (file_t*) ptr; in fileObjDestruct4Hashtable() 247 fileOpen(file_t *pFile) in fileOpen() 330 fileClose(file_t *pFile) in fileClose() 455 file_t *pFile; [all …]
|
/dports/graphics/yafaray/libYafaRay-3.5.1/include/core_api/ |
H A D | file.h | 54 class YAFRAYCORE_EXPORT file_t 57 file_t(const std::string &path); 58 file_t(const path_t &path); 59 ~file_t(); 82 template <typename T> bool file_t::read(T& value) const in read() 85 return file_t::read((char*)&value, sizeof(T)); in read() 88 template <typename T> bool file_t::append(const T& value) in append() 91 return file_t::append((const char*)&value, sizeof(T)); in append()
|