Home
last modified time | relevance | path

Searched refs:pzFile (Results 1 – 25 of 192) sorted by relevance

12345678

/dports/games/NBlood/NBlood-a1689a4/source/blood/src/
H A Dmisc.cpp131 _splitpath(pzFile, drive, dir, filename, NULL); in ChangeExtension()
134 int const nLength = Bstrlen(pzFile); in ChangeExtension()
135 char * pDot = pzFile+nLength; in ChangeExtension()
138 if (pzFile[i] == '/' || pzFile[i] == '\\') in ChangeExtension()
140 if (pzFile[i] == '.') in ChangeExtension()
142 pDot = pzFile+i; in ChangeExtension()
164 Bstrcpy(pzFile, pzPath+i+1); in SplitPath()
170 pzFile[pDot-(pzPath+i+1)] = 0; in SplitPath()
184 Bstrcpy(pzFile, pzPath); in SplitPath()
189 Bstrncpy(pzFile, pzPath, pDot-pzPath); in SplitPath()
[all …]
H A Dcredits.cpp139 int credKOpen4Load(char *&pzFile) in credKOpen4Load() argument
141 int nLen = strlen(pzFile); in credKOpen4Load()
144 if (pzFile[i] == '\\') in credKOpen4Load()
145 pzFile[i] = '/'; in credKOpen4Load()
147 int nHandle = kopen4loadfrommod(pzFile, 0); in credKOpen4Load()
151 if (nLen >= 3 && isalpha(pzFile[0]) && pzFile[1] == ':' && pzFile[2] == '/') in credKOpen4Load()
153 pzFile += 3; in credKOpen4Load()
154 nHandle = kopen4loadfrommod(pzFile, 0); in credKOpen4Load()
H A Dglobals.cpp50 void _SetErrorLoc(const char *pzFile, int nLine) in _SetErrorLoc() argument
52 _module = pzFile; in _SetErrorLoc()
85 void __dassert(const char * pzExpr, const char * pzFile, int nLine) in __dassert() argument
87 initprintf("Assertion failed: %s in file %s at line %i\n", pzExpr, pzFile, nLine); in __dassert()
92 wm_msgbox(titlebuf, "Assertion failed: %s in file %s at line %i\n", pzExpr, pzFile, nLine); in __dassert()
H A Dmisc.h32 void ChangeExtension(char *pzFile, const char *pzExt);
33 void SplitPath(const char *pzPath, char *pzDirectory, char *pzFile, char *pzType);
H A Ddemo.cpp125 bool CDemo::Create(const char *pzFile) in Create() argument
131 if (!pzFile) in Create()
148 G_ModDirSnprintfLite(buffer, BMAX_PATH, pzFile); in Create()
211 bool CDemo::SetupPlayback(const char *pzFile) in SetupPlayback() argument
215 if (pzFile) in SetupPlayback()
217 hPFile = kopen4loadfrommod(pzFile, 0); in SetupPlayback()
H A Dloadsave.cpp98 void LoadSave::LoadGame(char *pzFile) in LoadGame() argument
114 hLFile = kopen4load(pzFile, 0); in LoadGame()
225 void LoadSave::SaveGame(char *pzFile) in SaveGame() argument
227 hSFile = fopen(pzFile, "wb"); in SaveGame()
H A Dblood.h79 bool LoadArtFile(const char *pzFile);
H A Dsound.h68 void sndStartWavDisk(const char *pzFile, int nVolume, int nChannel = -1);
H A Dblood.cpp2598 bool AddINIFile(const char *pzFile, bool bForce = false) in AddINIFile() argument
2605 if (findfrompath(pzFile, &pzFN)) return false; // failed to resolve the filename in AddINIFile()
2612 IniFile *pTempIni = new IniFile(pzFile); in AddINIFile()
2626 Bstrncpy(pINIIter->zName, pzFile, BMAX_PATH); in AddINIFile()
2669 bool LoadArtFile(const char *pzFile) in LoadArtFile() argument
2671 int hFile = kopen4loadfrommod(pzFile, 0); in LoadArtFile()
2674 initprintf("Can't open extra art file:\"%s\"\n", pzFile); in LoadArtFile()
2678 int nStatus = artReadHeader(hFile, pzFile, &artheader); in LoadArtFile()
2682 initprintf("Error reading extra art file:\"%s\"\n", pzFile); in LoadArtFile()
H A Dsound.cpp364 void sndStartWavDisk(const char *pzFile, int nVolume, int nChannel) in sndStartWavDisk() argument
374 int hFile = kopen4loadfrommod(pzFile, 0); in sndStartWavDisk()
/dports/net/ntp/ntp-4.2.8p15/sntp/libopts/
H A Dtext_mmap.c85 load_text_file(tmap_info_t * mapinfo, char const * pzFile) in load_text_file() argument
102 fserr_warn("libopts", "read", pzFile); in load_text_file()
120 (void)pzFile; in load_text_file()
306 text_mmap(char const * pzFile, int prot, int flags, tmap_info_t * mi) in text_mmap() argument
308 validate_mmap(pzFile, prot, flags, mi); in text_mmap()
312 load_text_file(mi, pzFile); in text_mmap()
H A Dusage.c720 case OPARG_TYPE_FILE: pzArgType = argtp->pzFile; break; in prt_one_vendor()
1049 case OPARG_TYPE_FILE: atyp = at->pzFile; break; in prt_one_usage()
1253 argTypes.pzFile = zGnuFileArg; in setGnuOptFmts()
1292 argTypes.pzFile = zStdFileArg; in setStdOptFmts()
/dports/archivers/sharutils/sharutils-4.15.2/libopts/
H A Dtext_mmap.c85 load_text_file(tmap_info_t * mapinfo, char const * pzFile) in load_text_file() argument
102 fserr_warn("libopts", "read", pzFile); in load_text_file()
120 (void)pzFile; in load_text_file()
306 text_mmap(char const * pzFile, int prot, int flags, tmap_info_t * mi) in text_mmap() argument
308 validate_mmap(pzFile, prot, flags, mi); in text_mmap()
312 load_text_file(mi, pzFile); in text_mmap()
H A Dusage.c720 case OPARG_TYPE_FILE: pzArgType = argtp->pzFile; break; in prt_one_vendor()
1049 case OPARG_TYPE_FILE: atyp = at->pzFile; break; in prt_one_usage()
1253 argTypes.pzFile = zGnuFileArg; in setGnuOptFmts()
1292 argTypes.pzFile = zStdFileArg; in setStdOptFmts()
/dports/devel/autogen/autogen-5.18.16/autoopts/
H A Dtext_mmap.c85 load_text_file(tmap_info_t * mapinfo, char const * pzFile) in load_text_file() argument
102 fserr_warn("libopts", "read", pzFile); in load_text_file()
120 (void)pzFile; in load_text_file()
310 text_mmap(char const * pzFile, int prot, int flags, tmap_info_t * mi) in text_mmap() argument
312 validate_mmap(pzFile, prot, flags, mi); in text_mmap()
316 load_text_file(mi, pzFile); in text_mmap()
H A Dusage.c669 case OPARG_TYPE_FILE: pzArgType = argtp->pzFile; break; in prt_one_vendor()
998 case OPARG_TYPE_FILE: atyp = at->pzFile; break; in prt_one_usage()
1202 argTypes.pzFile = zGnuFileArg; in setGnuOptFmts()
1241 argTypes.pzFile = zStdFileArg; in setStdOptFmts()
/dports/security/gnutls/gnutls-3.6.16/src/libopts/
H A Dtext_mmap.c85 load_text_file(tmap_info_t * mapinfo, char const * pzFile) in load_text_file() argument
102 fserr_warn("libopts", "read", pzFile); in load_text_file()
120 (void)pzFile; in load_text_file()
310 text_mmap(char const * pzFile, int prot, int flags, tmap_info_t * mi) in text_mmap() argument
312 validate_mmap(pzFile, prot, flags, mi); in text_mmap()
316 load_text_file(mi, pzFile); in text_mmap()
H A Dusage.c669 case OPARG_TYPE_FILE: pzArgType = argtp->pzFile; break; in prt_one_vendor()
998 case OPARG_TYPE_FILE: atyp = at->pzFile; break; in prt_one_usage()
1202 argTypes.pzFile = zGnuFileArg; in setGnuOptFmts()
1241 argTypes.pzFile = zStdFileArg; in setStdOptFmts()
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/libopts/
H A Dtext_mmap.c85 load_text_file(tmap_info_t * mapinfo, char const * pzFile) in load_text_file() argument
102 fserr_warn("libopts", "read", pzFile); in load_text_file()
120 (void)pzFile; in load_text_file()
310 text_mmap(char const * pzFile, int prot, int flags, tmap_info_t * mi) in text_mmap() argument
312 validate_mmap(pzFile, prot, flags, mi); in text_mmap()
316 load_text_file(mi, pzFile); in text_mmap()
H A Dusage.c723 case OPARG_TYPE_FILE: pzArgType = argtp->pzFile; break; in prt_one_vendor()
1052 case OPARG_TYPE_FILE: atyp = at->pzFile; break; in prt_one_usage()
1256 argTypes.pzFile = zGnuFileArg; in setGnuOptFmts()
1295 argTypes.pzFile = zStdFileArg; in setStdOptFmts()
/dports/devel/autogen/autogen-5.18.16/xml2ag/
H A Dxml2ag.c76 char const * pzFile = NULL; in main() local
90 pzFile = *argv; in main()
98 pzFile = OPT_ARG( DEFINITIONS ); in main()
108 fork_ag(pzFile); in main()
112 if (pzFile != NULL) { in main()
113 fprintf(ag_pipe_fp, "/* Parsing file %s */\n", pzFile); in main()
114 pDoc = xmlParseFile( pzFile ); in main()
/dports/devel/autogen/autogen-5.18.16/agen5/
H A DexpGuile.c84 char const * pzExpr, char const * pzFile, int line) in ag_scm_c_eval_string_from_file_line() argument
89 fprintf(trace_fp, TRACE_EVAL_STRING, pzFile, line, pzExpr); in ag_scm_c_eval_string_from_file_line()
95 if ((pzOldFile == NULL) || (strcmp(pzOldFile, pzFile) != 0)) { in ag_scm_c_eval_string_from_file_line()
98 AGDUPSTR(pzOldFile, pzFile, "scheme source"); in ag_scm_c_eval_string_from_file_line()
99 file = scm_from_latin1_string(pzFile); in ag_scm_c_eval_string_from_file_line()
/dports/devel/autogen/autogen-5.18.16/autoopts/test/
H A Dcfg-edit.test135 char const * pzFile = "${cfg_file}-default";
138 pzFile = *argv;
140 SET_OPT_SAVE_OPTS(pzFile);
/dports/devel/autogen/autogen-5.18.16/getdefs/
H A Dgetdefs.c260 buildDefinition(char * pzDef, char const * pzFile, int line, char * pzOut) in buildDefinition() argument
275 pzOut += sprintf(pzOut, zLineId, line, pzFile); in buildDefinition()
282 preamble = buildPreamble(&pzDef, &pzOut, pzFile, line); in buildDefinition()
315 sprintf(pzOut, zNoData, pzFile, line); in buildDefinition()
353 pzOut += sprintf(pzOut, zSrcFile, OPT_ARG(SRCFILE), pzFile); in buildDefinition()
H A Dproto.h44 buildDefinition(char * pzDef, char const * pzFile, int line, char * pzOut);

12345678