/dports/misc/rump/buildrump.sh-b914579/src/sys/fs/sysvbfs/ |
H A D | bfs.c | 86 struct bfs *bfs; in bfs_init2() local 95 memset(bfs, 0, sizeof *bfs); in bfs_init2() 136 bfs_fini(struct bfs *bfs) in bfs_fini() argument 180 if (!bfs->io->read_n(bfs->io, p, bfs->start_sector, in bfs_init_inode() 198 DPRINTF(bfs->debug, "inode: %d/%d\n", bfs->n_inode, bfs->max_inode); in bfs_init_inode() 224 if (!bfs->io->read_n(bfs->io, p, in bfs_init_dirent() 237 DPRINTF(bfs->debug, "dirent: %d/%d\n", bfs->n_dirent, bfs->max_dirent); in bfs_init_dirent() 415 if (!bfs->io->write(bfs->io, p, bfs->start_sector + i)) in bfs_file_create() 423 if (!bfs->io->write(bfs->io, tmpbuf, bfs->start_sector + i)) in bfs_file_create() 479 return bfs->io->write(bfs->io, in bfs_writeback_inode() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vsl/ |
H A D | vsl_quick_file.h | 33 if ( !(!bfs)) 36 if (!(!bfs)) 50 bfs.close(); 64 if (!(!bfs)) 75 bfs.close(); 90 if ( !(!bfs)) 109 bfs.close(); 123 if (!(!bfs)) 135 bfs.close(); 168 bfs.close(); [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 100 bfs->head = f; in enq() 104 bfs->tail = f; in enq() 301 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 386 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 402 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 438 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 461 if (bfs) { in create_dbufio_fileset() 462 if (bfs->files) { in create_dbufio_fileset() 480 toku_free(bfs); in create_dbufio_fileset() 577 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 100 bfs->head = f; in enq() 104 bfs->tail = f; in enq() 301 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 386 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 402 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 438 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 461 if (bfs) { in create_dbufio_fileset() 462 if (bfs->files) { in create_dbufio_fileset() 480 toku_free(bfs); in create_dbufio_fileset() 577 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 100 bfs->head = f; in enq() 104 bfs->tail = f; in enq() 301 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 386 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 402 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 438 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 461 if (bfs) { in create_dbufio_fileset() 462 if (bfs->files) { in create_dbufio_fileset() 480 toku_free(bfs); in create_dbufio_fileset() 577 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 100 bfs->head = f; in enq() 104 bfs->tail = f; in enq() 301 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 386 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 402 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 438 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 461 if (bfs) { in create_dbufio_fileset() 462 if (bfs->files) { in create_dbufio_fileset() 480 toku_free(bfs); in create_dbufio_fileset() 577 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 100 bfs->head = f; in enq() 104 bfs->tail = f; in enq() 301 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 386 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 402 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 438 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 461 if (bfs) { in create_dbufio_fileset() 462 if (bfs->files) { in create_dbufio_fileset() 480 toku_free(bfs); in create_dbufio_fileset() 577 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 100 bfs->head = f; in enq() 104 bfs->tail = f; in enq() 301 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 386 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 402 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 438 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 461 if (bfs) { in create_dbufio_fileset() 462 if (bfs->files) { in create_dbufio_fileset() 480 toku_free(bfs); in create_dbufio_fileset() 577 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 101 bfs->head = f; in enq() 105 bfs->tail = f; in enq() 302 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 387 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 403 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 439 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 462 if (bfs) { in create_dbufio_fileset() 463 if (bfs->files) { in create_dbufio_fileset() 481 toku_free(bfs); in create_dbufio_fileset() 578 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 101 bfs->head = f; in enq() 105 bfs->tail = f; in enq() 302 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 387 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 403 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 439 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 462 if (bfs) { in create_dbufio_fileset() 463 if (bfs->files) { in create_dbufio_fileset() 481 toku_free(bfs); in create_dbufio_fileset() 578 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 101 bfs->head = f; in enq() 105 bfs->tail = f; in enq() 302 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 387 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 403 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 439 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 462 if (bfs) { in create_dbufio_fileset() 463 if (bfs->files) { in create_dbufio_fileset() 481 toku_free(bfs); in create_dbufio_fileset() 578 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 101 bfs->head = f; in enq() 105 bfs->tail = f; in enq() 302 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 387 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 403 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 439 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 462 if (bfs) { in create_dbufio_fileset() 463 if (bfs->files) { in create_dbufio_fileset() 481 toku_free(bfs); in create_dbufio_fileset() 578 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 101 bfs->head = f; in enq() 105 bfs->tail = f; in enq() 302 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 387 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 403 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 439 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 462 if (bfs) { in create_dbufio_fileset() 463 if (bfs->files) { in create_dbufio_fileset() 481 toku_free(bfs); in create_dbufio_fileset() 578 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/ft/loader/ |
H A D | dbufio.cc | 101 bfs->head = f; in enq() 105 bfs->tail = f; in enq() 302 toku_cond_wait(&bfs->cond, &bfs->mutex); in io_thread() 387 bfs->files[i].buf[0] = bfs->files[i].buf[1] = NULL; in create_dbufio_fileset() 403 bfs->head = bfs->tail = NULL; in create_dbufio_fileset() 439 enq(bfs, &bfs->files[i]); in create_dbufio_fileset() 462 if (bfs) { in create_dbufio_fileset() 463 if (bfs->files) { in create_dbufio_fileset() 481 toku_free(bfs); in create_dbufio_fileset() 578 toku_cond_wait(&bfs->cond, &bfs->mutex); in dbufio_fileset_read() [all …]
|
/dports/editors/ted/Ted-2.23/appUtil/ |
H A D | sioPfb.c | 64 if ( bfs->bfsHasAhead ) in sioInPfbReadBytes() 67 bfs->bfsHasAhead= 0; in sioInPfbReadBytes() 85 bfs->bfsHexColumn= 0; in sioInPfbReadBytes() 90 bfs->bfsHexColumn= 0; in sioInPfbReadBytes() 141 bfs->bfsBytesLeftInBlock--; in sioInPfbReadBytes() 157 bfs->bfsHasAhead= 1; in sioInPfbReadBytes() 173 BinaryFontStream * bfs; in sioInPfbOpen() local 177 if ( ! bfs ) in sioInPfbOpen() 180 bfs->bfsSis= sisPfb; in sioInPfbOpen() 183 bfs->bfsHexColumn= 0; in sioInPfbOpen() [all …]
|
/dports/editors/vim/vim-8.2.3745/src/ |
H A D | blowfish.c | 342 bf_state_T *bfs, in bf_e_block() argument 378 bf_state_T *bfs, in bf_e_cblock() argument 566 bfs->randbyte_offset = bfs->update_offset = 0; in bf_cfb_init() 567 vim_memset(bfs->cfb_buffer, 0, bfs->cfb_len); in bf_cfb_init() 570 mi = seed_len > bfs->cfb_len ? seed_len : bfs->cfb_len; in bf_cfb_init() 572 bfs->cfb_buffer[i % bfs->cfb_len] ^= seed[i % seed_len]; in bf_cfb_init() 577 bfs->cfb_buffer[bfs->update_offset] ^= (char_u)c; \ 578 if (++bfs->update_offset == bfs->cfb_len) \ 584 bf_e_cblock(bfs, &(bfs->cfb_buffer[bfs->randbyte_offset])); \ 585 t = bfs->cfb_buffer[bfs->randbyte_offset]; \ [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/ |
H A D | WorkdirHelper.hpp | 25 namespace bfs = boost::filesystem; 71 MatchesWC(const bfs::path& wild_card) in MatchesWC() 142 static bfs::path rel_to_abs(const bfs::path& subdir_path) in rel_to_abs() 160 bfs::path& search_dir, bfs::path& wild_card); 164 static bfs::path concat_path(const bfs::path& p_in, const String& tag); 170 static bfs::path system_tmp_path(); 181 static void rename(const bfs::path& old_path, const bfs::path& new_path, 190 const bfs::path& dest_dir, 197 const bfs::path& dest_dir, 209 const bfs::path& dest_dir); [all …]
|
H A D | WorkdirHelper.cpp | 54 bfs::path curr_path; in get_cwd_str() 453 bfs::path temp_filename; in system_tmp_file() 535 bfs::perms dir_perms = bfs::status(dir_path).permissions(); in create_directory() 607 void WorkdirHelper::rename(const bfs::path& old_path, const bfs::path& new_path, in rename() 661 bfs::path root_dir; in file_op_items() 662 bfs::path wild_card; in file_op_items() 729 bfs::path dummy_path; in prepend_path_items() 753 bool WorkdirHelper::link(const bfs::path& src_path, const bfs::path& dest_dir, in link() 797 if (!bfs::exists(dest_dir) || !bfs::is_directory(dest_dir)) { in recursive_copy() 896 bfs::path WorkdirHelper::concat_path(const bfs::path& p_in, const String& tag) in concat_path() [all …]
|
/dports/net/zebra-server/idzebra-2.0.55/bfile/ |
H A D | bfile.c | 65 BFiles bfs = (BFiles) xmalloc(sizeof(*bfs)); in bfs_create() local 66 bfs->commit_area = 0; in bfs_create() 67 bfs->base = 0; in bfs_create() 77 return bfs; in bfs_create() 82 if (!bfs) in bfs_destroy() 85 xfree(bfs->base); in bfs_destroy() 88 xfree(bfs); in bfs_destroy() 111 bfs->commit_area = mf_init("shadow", spec, bfs->base, 1); in bf_cache() 114 bfs->cache_fname = xmalloc(strlen(bfs->commit_area->dirs->name)+ in bf_cache() 116 strcpy(bfs->cache_fname, bfs->commit_area->dirs->name); in bf_cache() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vgl/io/ |
H A D | vgl_io_h_matrix_2d.hxx | 13 void vsl_b_write(vsl_b_ostream &bfs, const vgl_h_matrix_2d<T>& t) in vsl_b_write() argument 16 vsl_b_write(bfs,io_version_no); in vsl_b_write() 18 vsl_b_write(bfs,m[0][0]); vsl_b_write(bfs,m[0][1]); vsl_b_write(bfs,m[0][2]); in vsl_b_write() 19 vsl_b_write(bfs,m[1][0]); vsl_b_write(bfs,m[1][1]); vsl_b_write(bfs,m[1][2]); in vsl_b_write() 20 vsl_b_write(bfs,m[2][0]); vsl_b_write(bfs,m[2][1]); vsl_b_write(bfs,m[2][2]); in vsl_b_write() 25 void vsl_b_read(vsl_b_istream &bfs, vgl_h_matrix_2d<T>& v) in vsl_b_read() argument 27 if (!bfs) return; in vsl_b_read() 30 vsl_b_read(bfs,version); in vsl_b_read() 34 vsl_b_read(bfs,xx); vsl_b_read(bfs,xy); vsl_b_read(bfs,xt); in vsl_b_read() 35 vsl_b_read(bfs,yx); vsl_b_read(bfs,yy); vsl_b_read(bfs,yt); in vsl_b_read() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mmn/ |
H A D | mmn_dependancy.h | 64 vsl_b_write(bfs,t.v0); in vsl_b_write() 65 vsl_b_write(bfs,t.v1); in vsl_b_write() 66 vsl_b_write(bfs,t.v2); in vsl_b_write() 67 vsl_b_write(bfs,t.arc1); in vsl_b_write() 68 vsl_b_write(bfs,t.arc2); in vsl_b_write() 69 vsl_b_write(bfs,t.arc12); in vsl_b_write() 70 vsl_b_write(bfs,t.tri1); in vsl_b_write() 71 vsl_b_write(bfs,t.n_dep); in vsl_b_write() 76 if (!bfs) return; in vsl_b_read() 78 vsl_b_read(bfs,version); in vsl_b_read() [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ |
H A D | filesystem_boost.cpp | 291 static bfs::path get_dir(const bfs::path& dirpath) in get_dir() 317 bfs::file_status fs = bfs::status(dirpath, ec); in create_directory_if_missing() 347 bfs::file_status fs = bfs::status(dirpath); in create_directory_if_missing_recursive() 810 bfs::path cwd = bfs::current_path(ec); in get_cwd() 837 bfs::path exe = bfs::read_symlink(self_exe, ec); in get_exe_dir() 871 bfs::remove(bfs::path(f), ec); in delete_directory() 889 bfs::remove(bfs::path(dirname), ec); in delete_directory() 902 bool ret = bfs::remove(bfs::path(filename), ec); in delete_file() 1126 const bfs::path& p = bfs::canonical(path, ec); in is_root() 1172 bfs::path p = resolve_dot_entries ? bfs::canonical(fpath, ec) : bfs::absolute(fpath); in normalize_path() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mfpf/ |
H A D | mfpf_region_form.h | 79 vsl_b_write(bfs,p.pose()); in vsl_b_write() 80 vsl_b_write(bfs,p.form()); in vsl_b_write() 81 vsl_b_write(bfs,p.wi()); in vsl_b_write() 82 vsl_b_write(bfs,p.wj()); in vsl_b_write() 88 vsl_b_read(bfs,version); in vsl_b_read() 92 vsl_b_read(bfs,p.pose()); in vsl_b_read() 94 vsl_b_read(bfs,p.wi()); in vsl_b_read() 95 vsl_b_read(bfs,p.wj()); in vsl_b_read() 111 vsl_b_write(bfs,i); in vsl_b_write() 119 vsl_b_read(bfs,version); in vsl_b_read() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/src/unit_test/ |
H A D | test_workdir_utils.cpp | 31 bfs::path temp_name = bfs::unique_path("daktst_%%%%%%%%"); in test_save_current_path() 32 bfs::path wd( tmp_dir/temp_name ); in test_save_current_path() 51 bfs::path rundir(pwd_str); in test_save_current_path() 70 bfs::path search_dir; in count_driver_scripts() 71 bfs::path wild_card; in count_driver_scripts() 102 BOOST_CHECK( bfs::exists(wd) ); in test_which_driver() 114 BOOST_CHECK( bfs::equivalent(driver, bfs::path(driver_name)) ); in test_which_driver() 220 void test_rmdir(bfs::path& wd) in test_rmdir() 224 BOOST_CHECK( !bfs::exists(wd) ); in test_rmdir() 236 bfs::path temp_name = bfs::unique_path("daktst_%%%%%%%%"); in test_create_and_remove_tmpdir() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/ |
H A D | mbl_wt_histogram.cxx | 95 vsl_b_write(bfs,n_obs_); in b_write() 99 vsl_b_write(bfs,xlo_); in b_write() 100 vsl_b_write(bfs,dx_); in b_write() 101 vsl_b_write(bfs,wt_sum_); in b_write() 106 if (!bfs) return; in b_read() 114 vsl_b_read(bfs,n_obs_); in b_read() 118 vsl_b_read(bfs,xlo_); in b_read() 119 vsl_b_read(bfs,dx_); in b_read() 120 vsl_b_read(bfs,wt_sum_); in b_read() 182 h.b_write(bfs); in vsl_b_write() [all …]
|