/dports/math/sleef/sleef-3.5.0/src/dft/ |
H A D | mkunroll.c | 14 const int replaceLen = strlen(replace); in replaceAll() local 27 char *newstr = malloc(strlen(str) + (replaceLen - patLen) + 1); in replaceAll() 30 memcpy(newstr + replace_pos, replace, replaceLen); in replaceAll() 31 memcpy(newstr + replace_pos + replaceLen, str + replace_pos + patLen, tail_len+1); in replaceAll()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/spreadsheet/src/c/ |
H A D | csvRead.c | 569 size_t replaceLen = wcslen(toreplace[j + nr]); in replaceStrings() local 570 if (replaceLen > matchLen) in replaceStrings() 573 size_t allocatedLen = lineLen - matchLen + replaceLen + 1; in replaceStrings() 580 memcpy(&lines[i][foundIndex], toreplace[j + nr], replaceLen * sizeof(wchar_t)); in replaceStrings() 582 …memcpy(&lines[i][foundIndex + replaceLen], &previousLine[foundIndex + matchLen], (allocatedLen - f… in replaceStrings() 589 memcpy(found, toreplace[j + nr], replaceLen * sizeof(wchar_t)); in replaceStrings() 591 … memmove(&found[replaceLen], &found[matchLen], (foundLen - matchLen + 1) * sizeof(wchar_t)); in replaceStrings()
|
/dports/java/apache-commons-lang/commons-lang-2.6-src/src/main/java/org/apache/commons/lang/text/ |
H A D | StrBuilder.java | 1743 int replaceLen = (replaceStr == null ? 0 : replaceStr.length()); in replaceAll() local 1746 replaceImpl(index, index + searchLen, searchLen, replaceStr, replaceLen); in replaceAll() 1747 index = indexOf(searchStr, index + replaceLen); in replaceAll() 1765 int replaceLen = (replaceStr == null ? 0 : replaceStr.length()); in replaceFirst() local 1766 replaceImpl(index, index + searchLen, searchLen, replaceStr, replaceLen); in replaceFirst() 1848 int replaceLen = (replaceStr == null ? 0 : replaceStr.length()); in replaceImpl() local 1853 replaceImpl(i, i + removeLen, removeLen, replaceStr, replaceLen); in replaceImpl() 1854 to = to - removeLen + replaceLen; in replaceImpl() 1855 i = i + replaceLen - 1; in replaceImpl()
|
/dports/games/openjk/OpenJK-07675e2/shared/qcommon/ |
H A D | q_string.c | 354 int replaceLen = repl?strlen( repl ):0, offset=0; in Q_strstrip() local 365 if ( !repl || offset >= replaceLen ) in Q_strstrip()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/string/src/c/ |
H A D | strsubst.c | 314 int replaceLen = (int)wcslen(_pwstReplace); in wcssub_reg() local 321 finalSize += replaceLen; in wcssub_reg() 339 result[curLen + replaceLen + partLen] = '\0'; in wcssub_reg()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/engine/ac/ |
H A D | string.cpp | 153 size_t replaceLen = strlen(replaceWithText); in String_Replace() local 156 memcpy(&resultBuffer[outputSize], replaceWithText, replaceLen); in String_Replace() 157 outputSize += replaceLen; in String_Replace()
|
/dports/devel/raylib/raylib-3.7.0/src/ |
H A D | text.c | 1283 int replaceLen; // Replace string length of (the string to remove) in TextReplace() local 1288 replaceLen = TextLength(replace); in TextReplace() 1289 if (replaceLen == 0) return NULL; // Empty replace causes infinite loop during count in TextReplace() 1295 for (count = 0; (temp = strstr(insertPoint, replace)); count++) insertPoint = temp + replaceLen; in TextReplace() 1298 temp = result = RL_MALLOC(TextLength(text) + (byLen - replaceLen)*count + 1); in TextReplace() 1312 text += lastReplacePos + replaceLen; // Move to next "end of replace" in TextReplace()
|
/dports/editors/nedit/nedit-5.7/source/ |
H A D | search.c | 3634 replaceLen = strlen(replaceResult); in ReplaceAndSearch() 3637 replaceLen = strlen(replaceString); in ReplaceAndSearch() 3701 replaceLen = strlen(replaceResult); in SearchAndReplace() 3704 replaceLen = strlen(replaceString); in SearchAndReplace() 3823 replaceLen = strlen(replaceString); in ReplaceInSelection() 3896 replaceLen = strlen(replaceResult); in ReplaceInSelection() 4025 replaceLen = strlen(replaceString); in ReplaceAllInString() 4053 addLen += replaceLen; in ReplaceAllInString() 4088 replaceLen = strlen(replaceResult); in ReplaceAllInString() 4091 memcpy(fillPtr, replaceString, replaceLen); in ReplaceAllInString() [all …]
|
H A D | preferences.c | 1242 const char *replaceWith, int replaceLen); 1245 int replaceLen); 5667 int replaceLen) in stringReplace() argument 5672 if (0 >= replaceLen) replaceLen = strlen(replaceWith); in stringReplace() 5676 newLen = inLen + replaceLen - (endPos-beginPos); in stringReplace() 5679 strncpy(&newString[beginPos], replaceWith, replaceLen); in stringReplace() 5680 strncpy(&newString[beginPos+replaceLen], in stringReplace() 5707 const char *replaceWith, int replaceLen) in caseReplace() argument 5710 replaceLen); in caseReplace()
|
H A D | textBuf.c | 57 int rectEnd, int *replaceLen, int *endPos); 1609 int rectEnd, int *replaceLen, int *endPos) in deleteRect() argument 1648 *replaceLen = outPtr - outStr; in deleteRect()
|
H A D | macro.c | 2145 int from, to, length, replaceLen, outLen; in replaceSubstringMS() local 2167 replaceLen = strlen(replStr); in replaceSubstringMS() 2168 outLen = length - (to - from) + replaceLen; in replaceSubstringMS() 2172 strncpy(&result->val.str.rep[from], replStr, replaceLen); in replaceSubstringMS() 2173 strncpy(&result->val.str.rep[from + replaceLen], &string[to], length - to); in replaceSubstringMS()
|
/dports/x11/mlterm/mlterm-3.9.1/java/mlterm/ |
H A D | MLTerm.java | 204 private void replaceTextBuffering(int offset, int replaceLen, String str, StyleRange[] styles) { in replaceTextBuffering() argument 209 getContent().replaceTextRange(offset, replaceLen, str); in replaceTextBuffering() 255 bufReplaceLen = replaceLen; in replaceTextBuffering() 265 bufReplaceLen += replaceLen; in replaceTextBuffering()
|
/dports/biology/ncbi-toolkit/ncbi/api/ |
H A D | findrepl.c | 71 Int4 replaceLen; member 249 if (fsp->replaceLen > fsp->findLen) { in BoyerMooreReplaceString() 250 buffSize = searchLen + ((searchLen/fsp->findLen) * (fsp->replaceLen - fsp->findLen)); in BoyerMooreReplaceString() 2173 fs.replaceLen = StringLen (replace_string); in FindReplaceInEntity() 2312 fs.replaceLen = 0; in FindStringsInEntity() 2419 fs.replaceLen = StringLen (replace_string); in FindReplaceString()
|
/dports/comms/flmsg/flmsg-4.0.19/src/include/ |
H A D | Fl_Text_Buffer_mod_1_1.H | 201 int* replaceLen, int* endPos);
|
/dports/x11/virtualgl/virtualgl-3.0/server/fltk/FL/ |
H A D | Fl_Text_Buffer.H | 202 int* replaceLen, int* endPos);
|
/dports/games/residualvm/residualvm-0.3.1/devtools/create_project/ |
H A D | xcode.cpp | 1110 std::string::size_type replaceLen = replaceStr.length(); in replace() local 1117 pos += replaceLen; in replace()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/devtools/create_project/ |
H A D | xcode.cpp | 1234 std::string::size_type replaceLen = replaceStr.length(); in replace() local 1241 pos += replaceLen; in replace()
|
/dports/games/scummvm/scummvm-2.5.1/devtools/create_project/ |
H A D | xcode.cpp | 1328 std::string::size_type replaceLen = replaceStr.length(); in replace() local 1335 pos += replaceLen; in replace()
|
/dports/comms/flmsg/flmsg-4.0.19/src/widgets/ |
H A D | Fl_Text_Buffer_mod_1_1.cxx | 1531 int rectEnd, int *replaceLen, int *endPos ) { in remove_rectangular_() argument 1571 *replaceLen = outPtr - outStr; in remove_rectangular_()
|
/dports/x11/virtualgl/virtualgl-3.0/server/fltk/src/ |
H A D | Fl_Text_Buffer.cxx | 1531 int rectEnd, int *replaceLen, int *endPos ) { in remove_rectangular_() argument 1571 *replaceLen = outPtr - outStr; in remove_rectangular_()
|
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/src/std/ |
H A D | array.d | 2848 immutable replaceLen = to - from; variable 2849 array[from .. to] = stuff[0 .. replaceLen]; 2850 insertInPlace(array, to, stuff[replaceLen .. $]);
|