/dports/games/NBlood/NBlood-a1689a4/source/build/include/ |
H A D | print.h | 103 char str[numChars+1]; in buildprintpiece() 104 str[numChars] = '\0'; in buildprintpiece() 110 return numChars; in buildprintpiece() 119 char str[numChars+1]; in buildprintpiece() 120 str[numChars] = '\0'; in buildprintpiece() 126 return numChars; in buildprintpiece() 137 char str[numChars+1]; in buildprintpiece() 138 str[numChars] = '\0'; in buildprintpiece() 144 return numChars; in buildprintpiece() 155 char str[numChars+1]; in buildprintpiece() [all …]
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/tclGeneric/ |
H A D | tclStringObj.c | 325 while (unicode[numChars] != 0) { numChars++; } 339 stringPtr->numChars = numChars; 960 while (unicode[numChars] != 0) { numChars++; } 980 stringPtr->numChars = numChars; 1170 numChars = stringPtr->numChars; 1174 numChars += stringPtr->numChars; 1183 stringPtr->numChars = numChars; 1234 numChars = stringPtr->numChars + appendNumChars; 1259 stringPtr->numChars = numChars; 1293 while (unicode[numChars] != 0) { numChars++; } [all …]
|
/dports/archivers/maxcso/maxcso-1.10.0/7zip/CPP/Windows/ |
H A D | NationalTime.cpp | 15 int numChars = ::GetTimeFormat(locale, flags, time, format, NULL, 0); in MyGetTimeFormat() local 16 if (numChars == 0) in MyGetTimeFormat() 18 numChars = ::GetTimeFormat(locale, flags, time, format, in MyGetTimeFormat() 19 resultString.GetBuf(numChars), numChars + 1); in MyGetTimeFormat() 20 resultString.ReleaseBuf_CalcLen(numChars); in MyGetTimeFormat() 21 return (numChars != 0); in MyGetTimeFormat() 29 if (numChars == 0) in MyGetDateFormat() 31 numChars = ::GetDateFormat(locale, flags, time, format, in MyGetDateFormat() 32 resultString.GetBuf(numChars), numChars + 1); in MyGetDateFormat() 33 resultString.ReleaseBuf_CalcLen(numChars); in MyGetDateFormat() [all …]
|
/dports/archivers/7-zip/7-zip-21.07/CPP/Windows/ |
H A D | NationalTime.cpp | 15 int numChars = ::GetTimeFormat(locale, flags, time, format, NULL, 0); in MyGetTimeFormat() local 16 if (numChars == 0) in MyGetTimeFormat() 18 numChars = ::GetTimeFormat(locale, flags, time, format, in MyGetTimeFormat() 19 resultString.GetBuf(numChars), numChars + 1); in MyGetTimeFormat() 20 resultString.ReleaseBuf_CalcLen(numChars); in MyGetTimeFormat() 21 return (numChars != 0); in MyGetTimeFormat() 29 if (numChars == 0) in MyGetDateFormat() 31 numChars = ::GetDateFormat(locale, flags, time, format, in MyGetDateFormat() 32 resultString.GetBuf(numChars), numChars + 1); in MyGetDateFormat() 33 resultString.ReleaseBuf_CalcLen(numChars); in MyGetDateFormat() [all …]
|
/dports/lang/tcl86/tcl8.6.12/generic/ |
H A D | tclStringRep.h | 50 int numChars; /* The number of chars in the string. -1 means member 69 #define STRING_SIZE(numChars) \ argument 71 #define stringCheckLimits(numChars) \ argument 73 if ((numChars) < 0 || (numChars) > STRING_MAXCHARS) { \ 78 #define stringAttemptAlloc(numChars) \ argument 79 (String *) attemptckalloc((unsigned) STRING_SIZE(numChars)) 80 #define stringAlloc(numChars) \ argument 81 (String *) ckalloc((unsigned) STRING_SIZE(numChars)) 82 #define stringRealloc(ptr, numChars) \ argument 83 (String *) ckrealloc((ptr), (unsigned) STRING_SIZE(numChars)) [all …]
|
H A D | tclStringObj.c | 452 numChars = stringPtr->numChars; in Tcl_GetCharLength() 460 stringPtr->numChars = numChars; in Tcl_GetCharLength() 1153 while (numChars >= 0 && unicode[numChars] != 0) { in UnicodeLength() 1187 stringPtr->numChars = numChars; in SetUnicodeObj() 1502 numChars = stringPtr->numChars; in Tcl_AppendObjToObj() 1516 stringPtr->numChars = numChars + appendNumChars; in Tcl_AppendObjToObj() 1564 numChars = stringPtr->numChars + appendNumChars; in AppendUnicodeToUnicodeRep() 1603 stringPtr->numChars = numChars; in AppendUnicodeToUnicodeRep() 1637 stringPtr->numChars += numChars; in AppendUnicodeToUtfRep() 2986 int numChars = stringPtr->numChars; in TclStringReverse() local [all …]
|
/dports/lang/tcl87/tcl8.7a5/generic/ |
H A D | tclStringRep.h | 69 #define STRING_SIZE(numChars) \ argument 71 #define stringCheckLimits(numChars) \ argument 73 if ((numChars) < 0 || (numChars) > STRING_MAXCHARS) { \ 78 #define stringAttemptAlloc(numChars) \ argument 79 (String *) attemptckalloc(STRING_SIZE(numChars)) 80 #define stringAlloc(numChars) \ argument 81 (String *) ckalloc(STRING_SIZE(numChars)) 82 #define stringRealloc(ptr, numChars) \ argument 83 (String *) ckrealloc((ptr), STRING_SIZE(numChars)) 84 #define stringAttemptRealloc(ptr, numChars) \ argument [all …]
|
H A D | tclStringObj.c | 448 numChars = stringPtr->numChars; in Tcl_GetCharLength() 456 stringPtr->numChars = numChars; in Tcl_GetCharLength() 1112 while (numChars >= 0 && unicode[numChars] != 0) { in UnicodeLength() 1146 stringPtr->numChars = numChars; in SetUnicodeObj() 1466 numChars = stringPtr->numChars; in Tcl_AppendObjToObj() 1476 stringPtr->numChars = numChars + appendNumChars; in Tcl_AppendObjToObj() 1524 numChars = stringPtr->numChars + appendNumChars; in AppendUnicodeToUnicodeRep() 1563 stringPtr->numChars = numChars; in AppendUnicodeToUnicodeRep() 1597 stringPtr->numChars += numChars; in AppendUnicodeToUtfRep() 3918 int numChars = stringPtr->numChars; in TclStringReverse() local [all …]
|
/dports/lang/tcl85/tcl8.5.19/generic/ |
H A D | tclStringObj.c | 120 if ((numChars) < 0 || (numChars) > STRING_MAXCHARS) { \ 1045 while (numChars >= 0 && unicode[numChars] != 0) { in UnicodeLength() 1076 stringPtr->numChars = numChars; in SetUnicodeObj() 1319 numChars = stringPtr->numChars; in Tcl_AppendObjToObj() 1323 numChars += stringPtr->numChars; in Tcl_AppendObjToObj() 1332 stringPtr->numChars = numChars; in Tcl_AppendObjToObj() 1380 numChars = stringPtr->numChars + appendNumChars; in AppendUnicodeToUnicodeRep() 1415 stringPtr->numChars = numChars; in AppendUnicodeToUnicodeRep() 2029 numChars = -1; in Tcl_AppendFormatToObj() 2454 numChars++; in Tcl_AppendFormatToObj() [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/sgp/ |
H A D | LoadSaveData.cc | 22 size_t n = std::min<size_t>(str.size() + 1, numChars); in writeUTF8() 28 skip(sizeof(char) * (numChars - n)); in writeUTF8() 34 size_t n = std::min<size_t>(buf.size() + 1, numChars); in writeUTF16() 40 skip(sizeof(char16_t) * (numChars - n)); in writeUTF16() 52 skip(sizeof(char32_t) * (numChars - n)); in writeUTF32() 100 ST::char_buffer buf{numChars, '\0'}; in readUTF8() 101 readArray(buf.data(), numChars); in readUTF8() 107 ST::utf16_buffer buf{numChars, u'\0'}; in readUTF16() 108 readArray(buf.data(), numChars); in readUTF16() 125 ST::utf32_buffer buf{numChars, U'\0'}; in readUTF32() [all …]
|
/dports/lang/seed7/seed7/lib/ |
H A D | fileutil.s7i | 53 in integer: numChars) is func 71 * if ''numChars'' is negative. 82 if insertPos <= 0 or numChars < 0 then 92 seek(aFile, pos + numChars); 99 seek(aFile, insertPos + numChars); 103 # write(aFile, " " mult numChars); 112 * if ''numChars'' is negative. 122 if deletePos <= 0 or numChars < 0 then 128 pos := deletePos + numChars; 132 seek(aFile, pos - numChars); [all …]
|
/dports/biology/bedtools/bedtools2-2.30.0/src/utils/FileRecordTools/FileReaders/ |
H A D | InputStreamMgr.cpp | 151 int numChars=0; in populateScanBuffer() local 164 numChars++; in populateScanBuffer() 171 if (numChars == 0) { in populateScanBuffer() 178 if(numChars <= 4) cram_code[numChars-1] = currChar; in populateScanBuffer() 181 for (; numChars < BAM_SCAN_BUFFER_SIZE; numChars++) { in populateScanBuffer() 225 if (numChars < 5) { in detectBamOrBgzip() 226 _possibleBamCode[numChars -1] = currChar; in detectBamOrBgzip() 233 for (; numChars < BAM_SCAN_BUFFER_SIZE; numChars++) { in detectBamOrBgzip() 257 numChars = 0; in detectBamOrBgzip() 284 } else if (numChars == 4) { in detectBamOrBgzip() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/java/awt/font/ |
H A D | TextMeasurer.java | 56 private int numChars; field in TextMeasurer 68 numChars = totalLayout.getCharacterCount(); in TextMeasurer() 90 numChars = totalLayout.getCharacterCount(); in deleteChar() 105 numChars = totalLayout.getCharacterCount(); in insertChar() 150 double remainingLength = getAdvanceBetween( start, numChars ); in getLineBreakIndex() 153 * ( (double)numChars - (double)start ) ); in getLineBreakIndex() 155 if( guessOffset > numChars ) in getLineBreakIndex() 156 guessOffset = numChars; in getLineBreakIndex() 166 if( guessOffset <= start || guessOffset > numChars ) in getLineBreakIndex() 185 if( guessOffset > numChars ) in getLineBreakIndex() [all …]
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/java/awt/font/ |
H A D | TextMeasurer.java | 56 private int numChars; field in TextMeasurer 68 numChars = totalLayout.getCharacterCount(); in TextMeasurer() 90 numChars = totalLayout.getCharacterCount(); in deleteChar() 105 numChars = totalLayout.getCharacterCount(); in insertChar() 150 double remainingLength = getAdvanceBetween( start, numChars ); in getLineBreakIndex() 153 * ( (double)numChars - (double)start ) ); in getLineBreakIndex() 155 if( guessOffset > numChars ) in getLineBreakIndex() 156 guessOffset = numChars; in getLineBreakIndex() 166 if( guessOffset <= start || guessOffset > numChars ) in getLineBreakIndex() 185 if( guessOffset > numChars ) in getLineBreakIndex() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/java/awt/font/ |
H A D | TextMeasurer.java | 56 private int numChars; field in TextMeasurer 68 numChars = totalLayout.getCharacterCount(); in TextMeasurer() 90 numChars = totalLayout.getCharacterCount(); in deleteChar() 105 numChars = totalLayout.getCharacterCount(); in insertChar() 150 double remainingLength = getAdvanceBetween( start, numChars ); in getLineBreakIndex() 153 * ( (double)numChars - (double)start ) ); in getLineBreakIndex() 155 if( guessOffset > numChars ) in getLineBreakIndex() 156 guessOffset = numChars; in getLineBreakIndex() 166 if( guessOffset <= start || guessOffset > numChars ) in getLineBreakIndex() 185 if( guessOffset > numChars ) in getLineBreakIndex() [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/java/awt/font/ |
H A D | TextMeasurer.java | 56 private int numChars; field in TextMeasurer 68 numChars = totalLayout.getCharacterCount(); in TextMeasurer() 90 numChars = totalLayout.getCharacterCount(); in deleteChar() 105 numChars = totalLayout.getCharacterCount(); in insertChar() 150 double remainingLength = getAdvanceBetween( start, numChars ); in getLineBreakIndex() 153 * ( (double)numChars - (double)start ) ); in getLineBreakIndex() 155 if( guessOffset > numChars ) in getLineBreakIndex() 156 guessOffset = numChars; in getLineBreakIndex() 166 if( guessOffset <= start || guessOffset > numChars ) in getLineBreakIndex() 185 if( guessOffset > numChars ) in getLineBreakIndex() [all …]
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/java/awt/font/ |
H A D | TextMeasurer.java | 56 private int numChars; field in TextMeasurer 68 numChars = totalLayout.getCharacterCount(); in TextMeasurer() 90 numChars = totalLayout.getCharacterCount(); in deleteChar() 105 numChars = totalLayout.getCharacterCount(); in insertChar() 150 double remainingLength = getAdvanceBetween( start, numChars ); in getLineBreakIndex() 153 * ( (double)numChars - (double)start ) ); in getLineBreakIndex() 155 if( guessOffset > numChars ) in getLineBreakIndex() 156 guessOffset = numChars; in getLineBreakIndex() 166 if( guessOffset <= start || guessOffset > numChars ) in getLineBreakIndex() 185 if( guessOffset > numChars ) in getLineBreakIndex() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/net/ |
H A D | URLDecoder.java | 136 int numChars = s.length(); in decode() local 137 StringBuffer sb = new StringBuffer(numChars > 500 ? numChars / 2 : numChars); in decode() 146 while (i < numChars) { in decode() 169 bytes = new byte[(numChars-i)/3]; in decode() 172 while ( ((i+2) < numChars) && in decode() 179 if (i < numChars) in decode() 186 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/net/ |
H A D | URLDecoder.java | 136 int numChars = s.length(); in decode() local 137 StringBuffer sb = new StringBuffer(numChars > 500 ? numChars / 2 : numChars); in decode() 146 while (i < numChars) { in decode() 169 bytes = new byte[(numChars-i)/3]; in decode() 172 while ( ((i+2) < numChars) && in decode() 179 if (i < numChars) in decode() 186 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/tools/native2ascii/ |
H A D | A2NFilter.java | 52 int numChars = 0; // how many characters have been read in read() local 63 numChars = trailChars.length; in read() 67 int n = in.read(cBuf, numChars, len - numChars); in read() 70 if (numChars == 0) in read() 73 numChars += n; in read() 76 for (int i = 0; i < numChars;) { in read() 79 if (c != '\\' || (eof && numChars <= 5)) { in read() 91 int remaining = numChars - i; in read()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/tools/native2ascii/ |
H A D | A2NFilter.java | 52 int numChars = 0; // how many characters have been read in read() local 63 numChars = trailChars.length; in read() 67 int n = in.read(cBuf, numChars, len - numChars); in read() 70 if (numChars == 0) in read() 73 numChars += n; in read() 76 for (int i = 0; i < numChars;) { in read() 79 if (c != '\\' || (eof && numChars <= 5)) { in read() 91 int remaining = numChars - i; in read()
|
/dports/archivers/upx/upx-3.96/src/lzma-sdk/C/Common/ |
H A D | String.cpp | 27 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharUpper() local 28 if (numChars == 0 || numChars > kBufferSize) in MyCharUpper() 30 s[numChars] = 0; in MyCharUpper() 32 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper() 45 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharLower() local 46 if (numChars == 0 || numChars > kBufferSize) in MyCharLower() 48 s[numChars] = 0; in MyCharLower() 50 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharLower()
|
/dports/archivers/lzmalib/lzmalib-0.0.1/Common/ |
H A D | String.cpp | 27 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharUpper() local 28 if (numChars == 0 || numChars > kBufferSize) in MyCharUpper() 30 s[numChars] = 0; in MyCharUpper() 32 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper() 45 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharLower() local 46 if (numChars == 0 || numChars > kBufferSize) in MyCharLower() 48 s[numChars] = 0; in MyCharLower() 50 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharLower()
|
/dports/sysutils/afflib/AFFLIBv3-3.7.16/lzma443/C/Common/ |
H A D | String.cpp | 27 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharUpper() local 28 if (numChars == 0 || numChars > kBufferSize) in MyCharUpper() 30 s[numChars] = 0; in MyCharUpper() 32 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper() 45 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharLower() local 46 if (numChars == 0 || numChars > kBufferSize) in MyCharLower() 48 s[numChars] = 0; in MyCharLower() 50 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharLower()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/other-licenses/7zstub/src/Common/ |
H A D | String.cpp | 27 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharUpper() local 28 if (numChars == 0 || numChars > kBufferSize) in MyCharUpper() 30 s[numChars] = 0; in MyCharUpper() 32 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper() 45 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharLower() local 46 if (numChars == 0 || numChars > kBufferSize) in MyCharLower() 48 s[numChars] = 0; in MyCharLower() 50 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharLower()
|