/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/public.sdk/source/common/ |
H A D | systemclipboard_win32.cpp | 64 auto numChars = in convertToWide() local 66 if (numChars) in convertToWide() 68 wideStr.resize (static_cast<size_t> (numChars) + 1); in convertToWide() 69 numChars = MultiByteToWideChar (CP_UTF8, 0, text.data (), static_cast<int> (text.size ()), in convertToWide() 72 wideStr[numChars] = 0; in convertToWide() 73 wideStr.resize (static_cast<size_t> (numChars) + 1); in convertToWide() 81 auto numChars = WideCharToMultiByte (CP_UTF8, 0, data, dataSize / sizeof (WCHAR), nullptr, 0, in convertToUTF8() local 83 text.resize (static_cast<size_t> (numChars) + 1); in convertToUTF8() 84 numChars = WideCharToMultiByte (CP_UTF8, 0, data, dataSize / sizeof (WCHAR), in convertToUTF8() 87 text.resize (numChars); in convertToUTF8()
|
/dports/lang/io-devel/io-9bfac31d/libs/basekit/source/ |
H A D | UArray_utf.c | 83 size_t numChars = 0; in UArray_numberOfCharacters() local 90 numChars ++; in UArray_numberOfCharacters() 94 return numChars; in UArray_numberOfCharacters() 240 size_t numChars; in UArray_asUCS2() local 247 numChars = ucs2decode((ucs2 *)(out->data), out->size, utf8Array->data); in UArray_asUCS2() 249 if ((numChars > 0) && (numChars > countedChars*2)) in UArray_asUCS2() 256 UArray_setSize_(out, numChars); in UArray_asUCS2() 267 size_t numChars; in UArray_asUCS4() local 274 numChars = ucs4decode((ucs4 *)out->data, out->size, utf8Array->data); in UArray_asUCS4() 276 if ((numChars > 0) && (numChars > countedChars*2)) in UArray_asUCS4() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 176 int numChars = s.length(); in decode() local 177 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 182 while (i < numChars) { in decode() 205 bytes = new byte[(numChars-i)/3]; in decode() 208 while ( ((i+2) < numChars) && in decode() 217 if (i < numChars) in decode() 224 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 176 int numChars = s.length(); in decode() local 177 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 182 while (i < numChars) { in decode() 205 bytes = new byte[(numChars-i)/3]; in decode() 208 while ( ((i+2) < numChars) && in decode() 217 if (i < numChars) in decode() 224 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 176 int numChars = s.length(); in decode() local 177 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 182 while (i < numChars) { in decode() 205 bytes = new byte[(numChars-i)/3]; in decode() 208 while ( ((i+2) < numChars) && in decode() 217 if (i < numChars) in decode() 224 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 182 int numChars = s.length(); in decode() local 183 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 188 while (i < numChars) { in decode() 211 bytes = new byte[(numChars-i)/3]; in decode() 214 while ( ((i+2) < numChars) && in decode() 223 if (i < numChars) in decode() 230 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 181 int numChars = s.length(); in decode() local 182 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 187 while (i < numChars) { in decode() 210 bytes = new byte[(numChars-i)/3]; in decode() 213 while ( ((i+2) < numChars) && in decode() 222 if (i < numChars) in decode() 229 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 176 int numChars = s.length(); in decode() local 177 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 182 while (i < numChars) { in decode() 205 bytes = new byte[(numChars-i)/3]; in decode() 208 while ( ((i+2) < numChars) && in decode() 217 if (i < numChars) in decode() 224 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 176 int numChars = s.length(); in decode() local 177 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 182 while (i < numChars) { in decode() 205 bytes = new byte[(numChars-i)/3]; in decode() 208 while ( ((i+2) < numChars) && in decode() 217 if (i < numChars) in decode() 224 if ((i < numChars) && (c=='%')) in decode()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/java/net/ |
H A D | URLDecoder.java | 176 int numChars = s.length(); in decode() local 177 StringBuilder sb = new StringBuilder(numChars > 500 ? numChars / 2 : numChars); in decode() 182 while (i < numChars) { in decode() 205 bytes = new byte[(numChars-i)/3]; in decode() 208 while ( ((i+2) < numChars) && in decode() 217 if (i < numChars) in decode() 224 if ((i < numChars) && (c=='%')) in decode()
|
/dports/games/gtypist/gtypist-2.9.5/src/ |
H A D | utf8.c | 48 int numChars = MultiByteToWideChar(CP_UTF8, 0, text, -1, NULL, NULL); in widen() local 49 wchar_t* wideText = malloc((numChars+1) * sizeof(wchar_t)); in widen() 52 numChars); in widen() 54 int numChars = utf8len(text); in widen() 55 wchar_t* wideText = malloc((numChars+1) * sizeof(wchar_t)); in widen() 56 int convresult = mbstowcs(wideText, text, numChars+1); in widen() 59 if (convresult != numChars) in widen() 114 int numChars = strlen(textWithCurrentEncoding); in convertFromUTF8() local 115 wchar_t* wrappedAs_wchar_t = (wchar_t*)malloc((numChars+1) * sizeof(wchar_t)); in convertFromUTF8() 117 for (i = 0; i < numChars; i++) in convertFromUTF8() [all …]
|
/dports/games/trenchbroom/TrenchBroom-ed46601/common/src/IO/ |
H A D | MappedFile.cpp | 98 const size_t numChars = pathStr.size(); in WinMappedFile() local 99 LPWSTR uFilename = new wchar_t[numChars + 1]; in WinMappedFile() 100 … MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, pathStr.c_str(), numChars, uFilename, numChars + 1); in WinMappedFile() 101 uFilename[numChars] = 0; in WinMappedFile() 103 char* mappingName = new char[numChars + 1]; in WinMappedFile() 104 for (size_t i = 0; i < numChars; i++) { in WinMappedFile() 110 mappingName[numChars] = 0; in WinMappedFile() 112 LPWSTR uMappingName = new TCHAR[numChars + 1]; in WinMappedFile() 113 … MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, mappingName, numChars, uMappingName, numChars + 1); in WinMappedFile() 114 uMappingName[numChars] = 0; in WinMappedFile()
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/ |
H A D | tkCanvText.c | 235 textPtr->numChars = 0; 540 int numChars, numPixels; local 548 lineChars[numLines] = numChars; 550 p += numChars; 920 beforeThis = textPtr->numChars; 929 textPtr->numChars += length; 988 last = textPtr->numChars-1; 1000 textPtr->numChars -= count; 1351 *indexPtr = textPtr->numChars; 1526 linePtr->numChars); [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/ |
H A D | tkCanvText.c | 235 textPtr->numChars = 0; 540 int numChars, numPixels; local 548 lineChars[numLines] = numChars; 550 p += numChars; 920 beforeThis = textPtr->numChars; 929 textPtr->numChars += length; 988 last = textPtr->numChars-1; 1000 textPtr->numChars -= count; 1351 *indexPtr = textPtr->numChars; 1526 linePtr->numChars); [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/ |
H A D | tkCanvText.c | 235 textPtr->numChars = 0; 540 int numChars, numPixels; local 548 lineChars[numLines] = numChars; 550 p += numChars; 920 beforeThis = textPtr->numChars; 929 textPtr->numChars += length; 988 last = textPtr->numChars-1; 1000 textPtr->numChars -= count; 1351 *indexPtr = textPtr->numChars; 1526 linePtr->numChars); [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/tools/java/ |
H A D | ScannerInputReader.java | 78 numChars = 0; in ScannerInputReader() 97 private int numChars; field in ScannerInputReader 108 if (currentIndex >= numChars) { in getNextChar() 109 numChars = in.read(buffer); in getNextChar() 110 if (numChars == -1) { in getNextChar() 140 if (currentIndex >= numChars) { in read() 141 numChars = in.read(buffer); in read() 142 if (numChars == -1) { in read()
|
/dports/sysutils/squashfs-tools/CPP/Common/ |
H A D | MyString.cpp | 96 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharUpper() local 97 if (numChars == 0 || numChars > kBufferSize) in MyCharUpper() 99 s[numChars] = 0; in MyCharUpper() 101 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper() 114 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharLower() local 115 if (numChars == 0 || numChars > kBufferSize) in MyCharLower() 117 s[numChars] = 0; in MyCharLower() 119 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharLower()
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/java/io/ |
H A D | CharArrayReader.java | 236 int numChars = Math.min(count - pos, len); in read() local 237 System.arraycopy(buf, pos, b, off, numChars); in read() 238 pos += numChars; in read() 239 return numChars; in read() 300 long numChars = Math.min((long) (count - pos), n < 0 ? 0L : n); in skip() local 301 pos += numChars; in skip() 302 return numChars; in skip()
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/java/io/ |
H A D | CharArrayReader.java | 236 int numChars = Math.min(count - pos, len); in read() local 237 System.arraycopy(buf, pos, b, off, numChars); in read() 238 pos += numChars; in read() 239 return numChars; in read() 300 long numChars = Math.min((long) (count - pos), n < 0 ? 0L : n); in skip() local 301 pos += numChars; in skip() 302 return numChars; in skip()
|