Home
last modified time | relevance | path

Searched refs:holdstring (Results 1 – 5 of 5) sorted by relevance

/dports/games/odamex/odamex-src-0.7.0/common/
H A Dd_dehacked.cpp1588 static char *holdstring; in PatchStrings() local
1593 if (!holdstring) in PatchStrings()
1600 *holdstring = '\0'; in PatchStrings()
1606 holdstring = (char *)Realloc (holdstring, maxstrlen); in PatchStrings()
1609 stripwhite (holdstring); in PatchStrings()
1610 if (holdstring[strlen(holdstring)-1] == '\\') in PatchStrings()
1612 holdstring[strlen(holdstring)-1] = '\0'; in PatchStrings()
1633 memmove (holdstring+3, holdstring, len); in PatchStrings()
1634 holdstring[0] = '%'; in PatchStrings()
1636 holdstring[2] = ' '; in PatchStrings()
[all …]
/dports/games/prboom/prboom-2.5.0/src/
H A Dd_deh.c2590 static char *holdstring = NULL; in deh_procStrings() local
2595 if (!holdstring) holdstring = malloc(maxstrlen*sizeof(*holdstring)); in deh_procStrings()
2597 *holdstring = '\0'; // empty string to start with in deh_procStrings()
2607 if (!*holdstring) // first one--get the key in deh_procStrings()
2618 maxstrlen += strlen(holdstring) + strlen(inbuffer) - maxstrlen; in deh_procStrings()
2622 holdstring = realloc(holdstring,maxstrlen*sizeof(*holdstring)); in deh_procStrings()
2625 strcat(holdstring,ptr_lstrip(((*holdstring) ? inbuffer : strval))); in deh_procStrings()
2626 rstrip(holdstring); in deh_procStrings()
2632 if (holdstring[strlen(holdstring)-1] == '\\') in deh_procStrings()
2634 holdstring[strlen(holdstring)-1] = '\0'; in deh_procStrings()
[all …]
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dd_deh.c2664 static char *holdstring = NULL; in deh_procStrings() local
2669 if (!holdstring) holdstring = malloc(maxstrlen*sizeof(*holdstring)); in deh_procStrings()
2671 *holdstring = '\0'; // empty string to start with in deh_procStrings()
2681 if (!*holdstring) // first one--get the key in deh_procStrings()
2692 maxstrlen = strlen(holdstring) + strlen(inbuffer); in deh_procStrings()
2696 holdstring = realloc(holdstring,maxstrlen*sizeof(*holdstring)); in deh_procStrings()
2699 strcat(holdstring,ptr_lstrip(((*holdstring) ? inbuffer : strval))); in deh_procStrings()
2700 rstrip(holdstring); in deh_procStrings()
2706 if (holdstring[strlen(holdstring)-1] == '\\') in deh_procStrings()
2708 holdstring[strlen(holdstring)-1] = '\0'; in deh_procStrings()
[all …]
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dd_deh.c2703 static char *holdstring = NULL; in deh_procStrings() local
2708 if (!holdstring) holdstring = malloc(maxstrlen*sizeof(*holdstring)); in deh_procStrings()
2710 *holdstring = '\0'; // empty string to start with in deh_procStrings()
2720 if (!*holdstring) // first one--get the key in deh_procStrings()
2731 maxstrlen += strlen(holdstring) + strlen(inbuffer) - maxstrlen; in deh_procStrings()
2735 holdstring = realloc(holdstring,maxstrlen*sizeof(*holdstring)); in deh_procStrings()
2738 strcat(holdstring,ptr_lstrip(((*holdstring) ? inbuffer : strval))); in deh_procStrings()
2739 rstrip(holdstring); in deh_procStrings()
2745 if (holdstring[strlen(holdstring)-1] == '\\') in deh_procStrings()
2747 holdstring[strlen(holdstring)-1] = '\0'; in deh_procStrings()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dd_dehacked.cpp2233 FString holdstring; in PatchStrings() local
2236 holdstring += skipwhite (Line2); in PatchStrings()
2237 holdstring.StripRight(); in PatchStrings()
2238 if (holdstring.Len() > 0 && holdstring[holdstring.Len()-1] == '\\') in PatchStrings()
2240 holdstring.Truncate((long)holdstring.Len()-1); in PatchStrings()
2249 ReplaceSpecialChars (holdstring.LockBuffer()); in PatchStrings()
2250 holdstring.UnlockBuffer(); in PatchStrings()
2254 GStrings.SetString (ll, holdstring); in PatchStrings()
2255 DPrintf ("%s set to:\n%s\n", Line1, holdstring.GetChars()); in PatchStrings()