/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/mgmsrv/ |
H A D | ConfigInfo.cpp | 4285 if(section->get(fname, &p)){ in getInfoInt() 4289 warning(type, fname); in getInfoInt() 4302 warning(type, fname); in getInfoString() 4325 switch (getType(section, fname)) in getDefaultString() 4351 require(section->get(fname, &p)); in hasDefault() 4358 require(section->get(fname, &p)); in getMandatory() 4465 warning("verify", fname); in verify() 4479 require(section->get(fname, &p)); in verify_enum() 5269 const char * fname; in checkMandatory() local 5274 fname, ctx.fname, ctx.m_sectionLineno); in checkMandatory() [all …]
|
/dports/games/instead/instead-3.4.1/src/ |
H A D | sound.c | 250 wav_t snd_load_wav(const char *fname) argument 256 if (!fname || !*fname) 258 rw = RWFromIdf(instead_idf(), fname); 288 mus_t snd_load_mus(const char *fname) argument 296 mus->rw = RWFromIdf(instead_idf(), fname); 316 int snd_play_mus(char *fname, int ms, int loop) argument 324 next_mus = strdup(fname); 334 mus = snd_load_mus(fname);
|
/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | sound.cpp | 12 void playSound(cell *c, const string& fname, int vol = 100); 231 EX void playSound(cell *c, const string& fname, int vol) { in playSound() argument 232 LATE( hr::playSound(c, fname, vol); ) in playSound() 234 if(callhandlers(false, hooks_sound, fname, vol)) return; in playSound() 236 if(!chunks.count(fname)) { in playSound() 237 string s = wheresounds+fname+".ogg"; in playSound() 240 chunks[fname] = Mix_LoadWAV(s.c_str()); in playSound() 243 Mix_Chunk *chunk = chunks[fname]; in playSound() 301 EX void playSound(cell *c, const string& fname, int vol) { } in playSound() argument
|
/dports/security/libksba/libksba-1.6.0/tests/ |
H A D | t-ocsp.c | 56 read_file (const char *fname, size_t *r_length) in read_file() argument 63 fp = fopen (fname, "rb"); in read_file() 66 fprintf (stderr, "can't open `%s': %s\n", fname, strerror (errno)); in read_file() 72 fprintf (stderr, "can't stat `%s': %s\n", fname, strerror (errno)); in read_file() 81 fprintf (stderr, "error reading `%s': %s\n", fname, strerror (errno)); in read_file() 95 get_one_cert (const char *fname) in get_one_cert() argument 102 fp = fopen (fname, "r"); in get_one_cert() 106 __FILE__, __LINE__, fname, strerror (errno)); in get_one_cert() 121 fail_if_err2 (fname, err); in get_one_cert()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/net/www/ |
H A D | MimeTable.java | 169 public MimeEntry findByFileName(String fname) { 172 int i = fname.lastIndexOf('#'); 175 fname = fname.substring(0, i - 1); 178 i = fname.lastIndexOf('.'); 180 i = Math.max(i, fname.lastIndexOf('/')); 181 i = Math.max(i, fname.lastIndexOf('?')); 183 if (i != -1 && fname.charAt(i) == '.') { 184 ext = fname.substring(i).toLowerCase();
|
/dports/math/faiss/faiss-1.7.1/benchs/bench_all_ivf/ |
H A D | cmp_with_scann.py | 95 fname = cache_dir + "/" + name + ".npy" 96 print("save", fname) 97 np.save(fname, v) 127 fname = cache_dir + "/" + kn + ".npy" 128 print("load", fname) 129 dataset[kn] = np.load(fname) 248 def faiss_make_index(xb, metric_type, fname): argument 263 print("write index", fname) 264 faiss.write_index(index, fname)
|
/dports/sysutils/bareos-server/bareos-Release-20.0.3/core/src/lib/ |
H A D | plugins.cc | 208 PoolMem fname(PM_FNAME); local 234 Mmsg(fname, "%s%s%s", plugin_dir, (need_slash) ? "/" : "", 240 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 248 fname.c_str(), plugin_name.c_str(), type, plugin_list, 304 PmStrcpy(fname, plugin_dir); 305 if (need_slash) { PmStrcat(fname, "/"); } 306 PmStrcat(fname, result->d_name); 311 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 319 fname.c_str(), result->d_name, type, plugin_list,
|
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/core/src/lib/ |
H A D | plugins.cc | 216 PoolMem fname(PM_FNAME); local 242 Mmsg(fname, "%s%s%s", plugin_dir, (need_slash) ? "/" : "", 248 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 255 if (load_a_plugin(binfo, bfuncs, fname.c_str(), plugin_name.c_str(), type, 311 PmStrcpy(fname, plugin_dir); 312 if (need_slash) { PmStrcat(fname, "/"); } 313 PmStrcat(fname, result->d_name); 318 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 325 if (load_a_plugin(binfo, bfuncs, fname.c_str(), result->d_name, type,
|
/dports/sysutils/bareos19-client/bareos-Release-19.2.11/core/src/lib/ |
H A D | plugins.cc | 216 PoolMem fname(PM_FNAME); local 242 Mmsg(fname, "%s%s%s", plugin_dir, (need_slash) ? "/" : "", 248 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 255 if (load_a_plugin(binfo, bfuncs, fname.c_str(), plugin_name.c_str(), type, 311 PmStrcpy(fname, plugin_dir); 312 if (need_slash) { PmStrcat(fname, "/"); } 313 PmStrcat(fname, result->d_name); 318 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 325 if (load_a_plugin(binfo, bfuncs, fname.c_str(), result->d_name, type,
|
/dports/converters/aish/aish113u/ |
H A D | aishmv.c | 48 unsigned char fname[NAMELEN], variable 238 mverr( fname, ":can't split" ); in aish() 259 ishname( ifname, fname ); in aish() 260 ptr= (unsigned char*)ishname( ofname, *sname ? sname : fname ); in aish() 320 mverr( fname, ":too many volumes" ); in aish() 355 *sname= *fname= '\0'; 466 p_strcpy( fname, ptr ); 467 if( Mopen( &fm, fname ) ){ 481 mverr( fname, ":open error" );
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/external/physfs/src/ |
H A D | physfs_archiver_iso9660.c | 47 const char *base, PHYSFS_uint8 *fname, in iso9660AddEntry() argument 59 if (fnamelen == 1 && ((fname[0] == 0) || (fname[0] == 1))) in iso9660AddEntry() 82 PHYSFS_uint16 *ucs2 = (PHYSFS_uint16 *) fname; in iso9660AddEntry() 97 BAIL_IF(fname[i] > 127, PHYSFS_ERR_CORRUPT, 0); in iso9660AddEntry() 98 fnamecpy[i] = fname[i]; in iso9660AddEntry() 144 PHYSFS_uint8 fname[256]; in iso9660LoadEntries() local 199 BAIL_IF_ERRPASS(!__PHYSFS_readAll(io, fname, fnamelen), 0); in iso9660LoadEntries() 217 if (!iso9660AddEntry(io, joliet, isdir, base, fname, fnamelen, in iso9660LoadEntries()
|
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/sc68/ |
H A D | in_sc68.c | 70 const char *fname = deadbeef->pl_find_meta (it, ":URI"); in in_sc68_init() local 71 int res = sc68_load_uri(info->sc68, fname); in in_sc68_init() 230 in_sc68_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { in in_sc68_insert() argument 233 DB_FILE *fp = deadbeef->fopen (fname); in in_sc68_insert() 235 trace ("in_sc68: failed to fopen %s\n", fname); in in_sc68_insert() 246 if (sc68_load_uri(sc68, fname)) { in in_sc68_insert() 275 DB_playItem_t *it = deadbeef->pl_item_alloc_init (fname, plugin.plugin.id); in in_sc68_insert() 299 const char *fname = deadbeef->pl_find_meta (it, ":URI"); in in_sc68_read_metadata() local 300 int res = sc68_load_uri (sc68, fname); in in_sc68_read_metadata()
|
/dports/science/afni/afni-AFNI_21.3.16/src/SUMA/ |
H A D | SUMA_FSread_annot.c | 101 char *fname = NULL, *fcmap = NULL, *fdset = NULL, in main() local 121 fname = NULL; in main() 157 fname = argv[kar]; in main() 289 if (!fname) { in main() 296 if (strstr(fname,"2009")) { in main() 299 } else if (strstr(fname,"2005")) { in main() 308 if (strstr(fname,"lh.")) { in main() 311 } else if (strstr(fname,"rh.")) { in main() 419 if (!SUMA_readFSannot (fname, froi, fcmap, fcol, Showct, ctfile, in main()
|
/dports/math/py-matplotlib2/matplotlib-2.2.4/lib/matplotlib/tests/ |
H A D | test_rcparams.py | 37 fname = os.path.join(os.path.dirname(__file__), 'test_rcparams.rc') variable 50 with mpl.rc_context(fname=fname): 55 with mpl.rc_context(fname=fname, rc={'lines.linewidth': 44}): 61 mpl.rc_file(fname) 474 fname = str(d.join('testrcvalid.temp')) 475 with open(fname, "w") as f: 478 mpl.rc_params_from_file(fname,
|
/dports/security/ncrack/ncrack-0.7/ |
H A D | ncrack_resume.cc | 432 ncrack_resume(char *fname, int *myargc, char ***myargv) in ncrack_resume() argument 446 filestr = mmapfile(fname, &filelen, O_RDONLY); in ncrack_resume() 448 fatal("Could not mmap() %s read", fname); in ncrack_resume() 452 fatal("Output file %s is too short -- no use resuming", fname); in ncrack_resume() 460 "this is a Ncrack restore file?\n", fname); in ncrack_resume() 468 fatal("Unable to parse supposed restore file %s . Sorry", fname); in ncrack_resume() 471 fatal("Unable to parse supposed restore file %s . Sorry", fname); in ncrack_resume() 475 fatal("Unable to parse supposed restore file %s .", fname); in ncrack_resume() 485 fatal("Unable to parse supposed restore file %s . Sorry", fname); in ncrack_resume()
|
/dports/misc/mc-nox11/mc-4.8.27/lib/ |
H A D | charsets.c | 95 load_codepages_list_from_file (GPtrArray ** list, const char *fname) in load_codepages_list_from_file() argument 101 f = fopen (fname, "r"); in load_codepages_list_from_file() 202 char *fname; in load_codepages_list() local 205 fname = g_build_filename (mc_global.share_data_dir, CHARSETS_LIST, (char *) NULL); in load_codepages_list() 206 load_codepages_list_from_file (&codepages, fname); in load_codepages_list() 207 g_free (fname); in load_codepages_list() 210 fname = g_build_filename (mc_global.sysconfig_dir, CHARSETS_LIST, (char *) NULL); in load_codepages_list() 211 load_codepages_list_from_file (&codepages, fname); in load_codepages_list() 212 g_free (fname); in load_codepages_list()
|
/dports/devel/love/love-11.3/src/libraries/physfs/ |
H A D | physfs_archiver_iso9660.c | 47 const char *base, PHYSFS_uint8 *fname, in iso9660AddEntry() argument 59 if (fnamelen == 1 && ((fname[0] == 0) || (fname[0] == 1))) in iso9660AddEntry() 82 PHYSFS_uint16 *ucs2 = (PHYSFS_uint16 *) fname; in iso9660AddEntry() 97 BAIL_IF(fname[i] > 127, PHYSFS_ERR_CORRUPT, 0); in iso9660AddEntry() 98 fnamecpy[i] = fname[i]; in iso9660AddEntry() 144 PHYSFS_uint8 fname[256]; in iso9660LoadEntries() local 199 BAIL_IF_ERRPASS(!__PHYSFS_readAll(io, fname, fnamelen), 0); in iso9660LoadEntries() 217 if (!iso9660AddEntry(io, joliet, isdir, base, fname, fnamelen, in iso9660LoadEntries()
|
/dports/misc/mc/mc-4.8.27/lib/ |
H A D | charsets.c | 95 load_codepages_list_from_file (GPtrArray ** list, const char *fname) in load_codepages_list_from_file() argument 101 f = fopen (fname, "r"); in load_codepages_list_from_file() 202 char *fname; in load_codepages_list() local 205 fname = g_build_filename (mc_global.share_data_dir, CHARSETS_LIST, (char *) NULL); in load_codepages_list() 206 load_codepages_list_from_file (&codepages, fname); in load_codepages_list() 207 g_free (fname); in load_codepages_list() 210 fname = g_build_filename (mc_global.sysconfig_dir, CHARSETS_LIST, (char *) NULL); in load_codepages_list() 211 load_codepages_list_from_file (&codepages, fname); in load_codepages_list() 212 g_free (fname); in load_codepages_list()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/net/www/ |
H A D | MimeTable.java | 169 public MimeEntry findByFileName(String fname) { 172 int i = fname.lastIndexOf('#'); 175 fname = fname.substring(0, i - 1); 178 i = fname.lastIndexOf('.'); 180 i = Math.max(i, fname.lastIndexOf('/')); 181 i = Math.max(i, fname.lastIndexOf('?')); 183 if (i != -1 && fname.charAt(i) == '.') { 184 ext = fname.substring(i).toLowerCase();
|
/dports/sysutils/istio/istio-1.6.7/vendor/fortio.org/fortio/fnet/ |
H A D | network_test.go | 149 fname := GetUniqueUnixDomainPath(string(badPath)) 150 if fname != "/tmp/fortio-default-uds" { 151 t.Errorf("Got %s when expecting default/error case for bad prefix", fname) 165 fname := GetUniqueUnixDomainPath("fortio-uds-test") 166 addr := ProxyToDestination(fname, "www.google.com:80") 167 defer os.Remove(fname) // to not leak the temp socket 172 expected := fmt.Sprintf("-unix-socket=%s", fname) 176 dAddr := net.UnixAddr{Name: fname, Net: UnixDomainSocket} 179 t.Fatalf("can't connect to our proxy using unix socket %v: %v", fname, err)
|
/dports/math/qtiplot-doc/qtiplot-0.9.8.9/3rdparty/qwtplot3d/src/ |
H A D | qwt3d_io_gl2ps.cpp | 53 void VectorWriter::setTextMode(TEXTMODE val, QString fname) in setTextMode() argument 56 texfname_ = (fname.isEmpty()) ? QString("") : fname; in setTextMode() 127 bool VectorWriter::operator()(Plot3D* plot, QString const& fname) in operator ()() argument 214 FILE *fp = fopen(QWT3DLOCAL8BIT(fname), "wb"); in operator ()() 226 gl2psBeginPage ( QWT3DLOCAL8BIT(fname), QWT3DLOCAL8BIT(producer), viewport, in operator ()() 229 fp, QWT3DLOCAL8BIT(fname) ); in operator ()() 239 QFileInfo fi(fname); in operator ()() 240 QString fn = fname; in operator ()()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/tweak_book/ |
H A D | text_search.py | 158 def file_matches_pattern(fname, pat): argument 159 root = current_container().parsed(fname) 163 raw = current_container().raw_data(fname) 181 for fname, syntax in iteritems(files): 182 ed = editors.get(fname, None) 185 show_editor(fname) 188 if file_matches_pattern(fname, pat): 189 edit_file(fname, syntax) 190 if editors[fname].find_text(pat, complete=True):
|
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/lib/ |
H A D | plugins.cc | 208 PoolMem fname(PM_FNAME); local 234 Mmsg(fname, "%s%s%s", plugin_dir, (need_slash) ? "/" : "", 240 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 248 fname.c_str(), plugin_name.c_str(), type, plugin_list, 304 PmStrcpy(fname, plugin_dir); 305 if (need_slash) { PmStrcat(fname, "/"); } 306 PmStrcat(fname, result->d_name); 311 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 319 fname.c_str(), result->d_name, type, plugin_list,
|
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/lib/ |
H A D | plugins.cc | 208 PoolMem fname(PM_FNAME); local 234 Mmsg(fname, "%s%s%s", plugin_dir, (need_slash) ? "/" : "", 240 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 248 fname.c_str(), plugin_name.c_str(), type, plugin_list, 304 PmStrcpy(fname, plugin_dir); 305 if (need_slash) { PmStrcat(fname, "/"); } 306 PmStrcat(fname, result->d_name); 311 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 319 fname.c_str(), result->d_name, type, plugin_list,
|
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/core/src/lib/ |
H A D | plugins.cc | 218 PoolMem fname(PM_FNAME); local 245 Mmsg(fname, "%s%s%s", plugin_dir, (need_slash) ? "/" : "", plugin_name.c_str()); 250 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 257 if (load_a_plugin(binfo, bfuncs, fname.c_str(), plugin_name.c_str(), type, 312 PmStrcpy(fname, plugin_dir); 314 PmStrcat(fname, "/"); 316 PmStrcat(fname, result->d_name); 321 if (lstat(fname.c_str(), &statp) != 0 || !S_ISREG(statp.st_mode)) { 328 if (load_a_plugin(binfo, bfuncs, fname.c_str(), result->d_name, type,
|