/dports/chinese/librime/librime-1.7.3/src/rime/dict/ |
H A D | dict_compiler.cc | 44 const fs::path& dict_file) { in load_dict_settings_from_file() argument 45 std::ifstream fin(dict_file.string().c_str()); in load_dict_settings_from_file() 58 if (!fs::exists(dict_file)) { in get_dict_files_from_settings() 62 dict_files->push_back(dict_file.string()); in get_dict_files_from_settings() 89 if (!boost::filesystem::exists(dict_file)) { in Compile() 90 LOG(ERROR) << "source file '" << dict_file << "' does not exist."; in Compile() 93 else if (!load_dict_settings_from_file(&settings, dict_file)) { in Compile() 94 LOG(ERROR) << "failed to load settings from '" << dict_file << "'."; in Compile() 132 LOG(INFO) << dict_file << "[" << dict_files.size() << " file(s)]" in Compile() 177 if (!fs::exists(dict_file)) { in Compile() [all …]
|
H A D | entry_collector.cc | 39 for (const string& dict_file : dict_files) { in Collect() local 40 Collect(dict_file); in Collect() 57 void EntryCollector::Collect(const string& dict_file) { in Collect() argument 58 LOG(INFO) << "collecting entries from " << dict_file; in Collect() 60 std::ifstream fin(dict_file.c_str()); in Collect()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/lib/kadm5/srv/ |
H A D | pwqual_dict.c | 97 init_dict(dict_moddata dict, const char *dict_file) in init_dict() argument 104 if (dict_file == NULL) { in init_dict() 110 if ((fd = open(dict_file, O_RDONLY)) == -1) { in init_dict() 114 "continuing without one."), dict_file); in init_dict() 182 dict_open(krb5_context context, const char *dict_file, in dict_open() argument 199 ret = init_dict(dict, dict_file); in dict_open()
|
H A D | server_misc.c | 42 const char *dict_file = NULL; in init_pwqual() local 64 dict_file = handle->params.dict_file; in init_pwqual() 65 ret = k5_pwqual_load(handle->context, dict_file, &list); in init_pwqual()
|
/dports/security/krb5/krb5-1.19.2/src/lib/kadm5/srv/ |
H A D | pwqual_dict.c | 97 init_dict(dict_moddata dict, const char *dict_file) in init_dict() argument 104 if (dict_file == NULL) { in init_dict() 110 if ((fd = open(dict_file, O_RDONLY)) == -1) { in init_dict() 114 "continuing without one."), dict_file); in init_dict() 182 dict_open(krb5_context context, const char *dict_file, in dict_open() argument 199 ret = init_dict(dict, dict_file); in dict_open()
|
H A D | server_misc.c | 42 const char *dict_file = NULL; in init_pwqual() local 64 dict_file = handle->params.dict_file; in init_pwqual() 65 ret = k5_pwqual_load(handle->context, dict_file, &list); in init_pwqual()
|
/dports/devel/isa-l/isa-l-2.30.0/igzip/ |
H A D | generate_custom_hufftables.c | 351 FILE *dict_file = NULL; in main() local 363 dict_file = fopen(argv[2], "r"); in main() 365 fseek(dict_file, 0, SEEK_END); in main() 366 dict_file_length = ftell(dict_file); in main() 367 fseek(dict_file, 0, SEEK_SET); in main() 368 dict_file_length -= ftell(dict_file); in main() 372 fclose(dict_file); in main() 375 if (fread(dict_stream, 1, dict_file_length, dict_file) != dict_file_length) { in main() 377 fclose(dict_file); in main() 385 fclose(dict_file); in main()
|
/dports/devel/cmunge/cmunger/src/ |
H A D | ctran.c | 764 FILE *dict_file; in read_old_dict() local 770 if ( ! fgets (buf, BUFLEN, dict_file) ) { in read_old_dict() 771 fclose (dict_file); in read_old_dict() 806 if ( ! fgets (buf, BUFLEN, dict_file)) in read_old_dict() 933 fclose (dict_file); in read_old_dict() 942 FILE *dict_file; in write_new_dict() local 952 fprintf (dict_file, "%d\n\n", next_val); in write_new_dict() 960 fprintf (dict_file, "%c\t%s\n", in write_new_dict() 967 fputc ('\n', dict_file); in write_new_dict() 976 fprintf (dict_file, "%d\t%s\n", in write_new_dict() [all …]
|
H A D | proc-incl.c | 248 FILE *dict_file; in read_old_dict() local 251 if ( !(dict_file = fopen (incl_dict_filename, "r")) ) in read_old_dict() 255 while (fgets (buf, BUFLEN, dict_file) ) { in read_old_dict() 301 fclose (dict_file); in read_old_dict() 309 FILE *dict_file; in write_new_dict() local 312 if ( ! (dict_file = fopen (incl_dict_filename, "w")) ) in write_new_dict() 320 fprintf (dict_file, "%c\t%s\n", sp->processed, sp->filename); in write_new_dict() 322 fclose (dict_file); in write_new_dict()
|
/dports/www/qutebrowser/qutebrowser-2.4.0/tests/end2end/features/ |
H A D | test_hints_bdd.py | 30 dict_file = tmpdir / 'dict' 31 dict_file.write(textwrap.dedent(""" 46 quteproc.set_setting('hints.dictionary', str(dict_file))
|
/dports/devel/grpc130/grpc-1.30.2/tools/buildgen/ |
H A D | mako_renderer.py | 106 with open(arg, 'r') as dict_file: 107 dictionary = pickle.load(dict_file) 111 with open(arg, 'r') as dict_file: 112 bunch.merge_json(json_dict, yaml.load(dict_file.read())) 128 with open(preprocessed_output, 'w') as dict_file: 129 pickle.dump(dictionary, dict_file)
|
/dports/devel/grpc134/grpc-1.34.1/tools/buildgen/ |
H A D | mako_renderer.py | 101 with open(arg, 'rb') as dict_file: 102 dictionary = pickle.load(dict_file) 106 with open(arg, 'r') as dict_file: 107 bunch.merge_json(json_dict, yaml.load(dict_file.read())) 123 with open(preprocessed_output, 'wb') as dict_file: 124 pickle.dump(dictionary, dict_file)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/tools/buildgen/ |
H A D | mako_renderer.py | 106 with open(arg, 'r') as dict_file: 107 dictionary = pickle.load(dict_file) 111 with open(arg, 'r') as dict_file: 112 bunch.merge_json(json_dict, yaml.load(dict_file.read())) 128 with open(preprocessed_output, 'w') as dict_file: 129 pickle.dump(dictionary, dict_file)
|
/dports/textproc/sigil/Sigil-1.8.0/3rdparty/hunspell/src/win_api/ |
H A D | hunspelldll.c | 43 LIBHUNSPELL_DLL_EXPORTED void * hunspell_initialize(char *aff_file, char *dict_file) in hunspell_initialize() argument 45 Hunspell * pMS = new Hunspell(aff_file, dict_file); in hunspell_initialize() 49 LIBHUNSPELL_DLL_EXPORTED void * hunspell_initialize_key(char *aff_file, char *dict_file, char * key) in hunspell_initialize_key() argument 51 Hunspell * pMS = new Hunspell(aff_file, dict_file, key); in hunspell_initialize_key()
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/plugins/pwqual/test/ |
H A D | main.c | 52 init_dict(combo_moddata dict, const char *dict_file) in init_dict() argument 60 if (dict_file == NULL) in init_dict() 62 fd = open(dict_file, O_RDONLY); in init_dict() 109 combo_open(krb5_context context, const char *dict_file, in combo_open() argument 125 ret = init_dict(dict, dict_file); in combo_open()
|
/dports/security/krb5/krb5-1.19.2/src/plugins/pwqual/test/ |
H A D | main.c | 52 init_dict(combo_moddata dict, const char *dict_file) in init_dict() argument 60 if (dict_file == NULL) in init_dict() 62 fd = open(dict_file, O_RDONLY); in init_dict() 109 combo_open(krb5_context context, const char *dict_file, in combo_open() argument 125 ret = init_dict(dict, dict_file); in combo_open()
|
/dports/devel/libsoup3/libsoup-3.0.3/fuzzing/ |
H A D | meson.build | 27 dict_file = join_paths(meson.current_source_dir(), target + '.dict') variable 28 if fs.exists(dict_file) 29 extra_args += '-dict=' + dict_file
|
/dports/japanese/cmigemo/cmigemo-6a1c438/src/ |
H A D | migemo.c | 65 load_mtree_dictionary(mtree_p mtree, const char* dict_file) in load_mtree_dictionary() argument 69 if ((fp = fopen(dict_file, "rt")) == NULL) in load_mtree_dictionary() 77 load_mtree_dictionary2(migemo* obj, const char* dict_file) in load_mtree_dictionary2() argument 84 obj->charset = charset_detect_file(dict_file); in load_mtree_dictionary2() 94 return load_mtree_dictionary(obj->mtree, dict_file); in load_mtree_dictionary2() 136 migemo_load(migemo* obj, int dict_id, const char* dict_file) in migemo_load() argument 138 if (!obj && dict_file) in migemo_load() 146 if ((mtree = load_mtree_dictionary2(obj, dict_file)) == NULL) in migemo_load() 178 if (dict && romaji_load(dict, dict_file) == 0) in migemo_load()
|
/dports/japanese/cmigemo-dict/cmigemo-6a1c438/src/ |
H A D | migemo.c | 65 load_mtree_dictionary(mtree_p mtree, const char* dict_file) in load_mtree_dictionary() argument 69 if ((fp = fopen(dict_file, "rt")) == NULL) in load_mtree_dictionary() 77 load_mtree_dictionary2(migemo* obj, const char* dict_file) in load_mtree_dictionary2() argument 84 obj->charset = charset_detect_file(dict_file); in load_mtree_dictionary2() 94 return load_mtree_dictionary(obj->mtree, dict_file); in load_mtree_dictionary2() 136 migemo_load(migemo* obj, int dict_id, const char* dict_file) in migemo_load() argument 138 if (!obj && dict_file) in migemo_load() 146 if ((mtree = load_mtree_dictionary2(obj, dict_file)) == NULL) in migemo_load() 178 if (dict && romaji_load(dict, dict_file) == 0) in migemo_load()
|
/dports/textproc/openfts/Search-OpenFTS-0.40/OpenFTS/Morph/ |
H A D | ISpell.xs | 40 InitIspell ( aff_file, dict_file ) 42 char * dict_file 50 if ( NIImportDictionary(obj,dict_file) || NIImportAffixes(obj,aff_file) ) {
|
/dports/archivers/zchunk/zchunk-1.1.16/contrib/ |
H A D | gen_xml_dictionary | 18 dict_file = os.path.basename(args.file[0]).split(".")[0] + ".dict" 20 dict_file = os.path.basename(args.file[0]) + ".dict" 41 run_cmd = ["zstd", "--train"] + filelist + ["-o", dict_file, "--maxdict=%i" % args.size]
|
/dports/japanese/tomoe/tomoe-0.6.0/benchmark/ |
H A D | search-by-dict.rb | 31 dict_file = File.join(wc, "dict.xml") 35 FileUtils.cp(dictionary, dict_file) 39 xml_dict = Tomoe::DictXML.new("filename" => dict_file, "editable" => true)
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/db/bdb/ |
H A D | bdb_split_blob.hpp | 580 void LoadIdDeMux(TIdDeMux& de_mux, TDeMuxStore& dict_file); 1318 CBDB_FileCursor cur(dict_file); in LoadIdDeMux() 1325 err = dict_file.FetchToBuffer(cur); in LoadIdDeMux() 1329 unsigned dim = dict_file.dim; in LoadIdDeMux() 1330 unsigned dim_idx = dict_file.dim_idx; in LoadIdDeMux() 1333 dict_file.Deserialize(bv.get(), &buf[0]); in LoadIdDeMux() 1363 dict_file.SetTransaction(trans); in SaveIdDeMux() 1370 dict_file.dim = (Uint4) i; in SaveIdDeMux() 1371 dict_file.dim_idx = (Uint4) j; in SaveIdDeMux() 1375 dict_file.Delete(CBDB_RawFile::eIgnoreError); in SaveIdDeMux() [all …]
|
/dports/security/fcrackzip/fcrackzip-1.0/ |
H A D | main.c | 45 static FILE *dict_file; variable 231 if (fgets (pw, MAX_PW+1, dict_file)) in dictionary_gen() 238 if (!feof (dict_file)) in dictionary_gen() 627 if (!(dict_file = fopen (pw, "r"))) in main() 638 fclose (dict_file); in main()
|
/dports/databases/postgis25/postgis-2.5.5/extensions/address_standardizer/ |
H A D | lexicon.c | 115 *dict_file ; in create_lexicon() local 135 if ( ( dict_file = open_aux_file( glo_p , in create_lexicon() 140 dict_file ) ) { in create_lexicon() 141 fclose( dict_file ) ; in create_lexicon() 144 fclose( dict_file ) ; in create_lexicon()
|