Home
last modified time | relevance | path

Searched refs:numChars (Results 1 – 22 of 22) sorted by relevance

/external/lzma/CPP/Common/
DMyString.cpp29 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharUpper() local
30 if (numChars == 0 || numChars > kBufferSize) in MyCharUpper()
32 s[numChars] = 0; in MyCharUpper()
34 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper()
47 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufferSize, 0, 0); in MyCharLower() local
48 if (numChars == 0 || numChars > kBufferSize) in MyCharLower()
50 s[numChars] = 0; in MyCharLower()
52 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharLower()
DStringConvert.cpp17 int numChars = MultiByteToWideChar(codePage, 0, srcString, in MultiByteToUnicodeString() local
20 if (numChars == 0) in MultiByteToUnicodeString()
22 resultString.ReleaseBuffer(numChars); in MultiByteToUnicodeString()
35 int numChars = WideCharToMultiByte(codePage, 0, s, s.Length(), in UnicodeStringToMultiByte() local
39 if (numChars == 0) in UnicodeStringToMultiByte()
41 dest.ReleaseBuffer(numChars); in UnicodeStringToMultiByte()
/external/icu/icu4c/source/common/
Ddictionarydata.cpp50 int32_t numChars = 1; in matches() local
58 lengths[count++] = numChars; in matches()
69 if (numChars >= maxLength) { in matches()
77 ++numChars; in matches()
80 return numChars; in matches()
114 int32_t numChars = 1; in matches() local
122 lengths[count++] = numChars; in matches()
133 if (numChars >= maxLength) { in matches()
141 ++numChars; in matches()
144 return numChars; in matches()
Ddictbe.cpp989 int numChars = 0; in divideUpDictionaryRange() local
998 charPositions[++numChars] = index; in divideUpDictionaryRange()
1013 charPositions[++numChars] = index = normalizer.getIndex(); in divideUpDictionaryRange()
1028 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1); in divideUpDictionaryRange()
1030 for(int i = 1; i <= numChars; i++) { in divideUpDictionaryRange()
1037 AutoBuffer<int, defaultInputLength> prev(numChars + 1); in divideUpDictionaryRange()
1038 for(int i = 0; i <= numChars; i++){ in divideUpDictionaryRange()
1044 AutoBuffer<int32_t, maxWordSize> values(numChars); in divideUpDictionaryRange()
1045 AutoBuffer<int32_t, maxWordSize> lengths(numChars); in divideUpDictionaryRange()
1049 for (int32_t i = 0; i < numChars; ++i) { in divideUpDictionaryRange()
[all …]
/external/chromium_org/third_party/icu/source/common/
Ddictionarydata.cpp50 int32_t numChars = 1; in matches() local
58 lengths[count++] = numChars; in matches()
69 if (numChars >= maxLength) { in matches()
77 ++numChars; in matches()
80 return numChars; in matches()
114 int32_t numChars = 1; in matches() local
122 lengths[count++] = numChars; in matches()
133 if (numChars >= maxLength) { in matches()
141 ++numChars; in matches()
144 return numChars; in matches()
Ddictbe.cpp986 int numChars = 0; in divideUpDictionaryRange() local
995 charPositions[++numChars] = index; in divideUpDictionaryRange()
1010 charPositions[++numChars] = index = normalizer.getIndex(); in divideUpDictionaryRange()
1025 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1); in divideUpDictionaryRange()
1027 for(int i = 1; i <= numChars; i++) { in divideUpDictionaryRange()
1034 AutoBuffer<int, defaultInputLength> prev(numChars + 1); in divideUpDictionaryRange()
1035 for(int i = 0; i <= numChars; i++){ in divideUpDictionaryRange()
1041 AutoBuffer<int32_t, maxWordSize> values(numChars); in divideUpDictionaryRange()
1042 AutoBuffer<int32_t, maxWordSize> lengths(numChars); in divideUpDictionaryRange()
1046 for (int32_t i = 0; i < numChars; ++i) { in divideUpDictionaryRange()
[all …]
/external/chromium_org/third_party/icu/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp359 int32_t numChars=1; in ucharsTrieMatches() local
365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches()
373 if(numChars>=textLimit) { in ucharsTrieMatches()
384 ++numChars; in ucharsTrieMatches()
400 return numChars; in ucharsTrieMatches()
553 int32_t numChars=1; in bytesTrieMatches() local
559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches()
567 if(numChars>=textLimit) { in bytesTrieMatches()
574 ++numChars; in bytesTrieMatches()
577 return numChars; in bytesTrieMatches()
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp359 int32_t numChars=1; in ucharsTrieMatches() local
365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches()
373 if(numChars>=textLimit) { in ucharsTrieMatches()
384 ++numChars; in ucharsTrieMatches()
400 return numChars; in ucharsTrieMatches()
553 int32_t numChars=1; in bytesTrieMatches() local
559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches()
567 if(numChars>=textLimit) { in bytesTrieMatches()
574 ++numChars; in bytesTrieMatches()
577 return numChars; in bytesTrieMatches()
/external/lzma/CPP/Windows/
DRegistry.cpp326 UInt32 numChars = 0; in SetValue_Strings() local
329 numChars += strings[i].Length() + 1; in SetValue_Strings()
331 buffer.SetCapacity(numChars); in SetValue_Strings()
339 return SetValue(valueName, buffer, numChars * sizeof(wchar_t)); in SetValue_Strings()
353 int numChars = dataSize / sizeof(wchar_t); in GetValue_Strings() local
355 for (int i = 0; i < numChars; i++) in GetValue_Strings()
/external/chromium_org/third_party/skia/gm/
Dverttext.cpp76 int numChars = paint.getTextWidths(gText, gLen, adv, NULL); in drawBaseline() local
77 for (int i = 0; i < numChars; ++i) { in drawBaseline()
/external/skia/gm/
Dverttext.cpp76 int numChars = paint.getTextWidths(gText, gLen, adv, NULL); in drawBaseline() local
77 for (int i = 0; i < numChars; ++i) { in drawBaseline()
/external/lzma/C/Util/7z/
D7zMain.c113 int numChars = WideCharToMultiByte(fileMode ? in Utf16_To_Char() local
122 if (numChars == 0 || numChars >= size) in Utf16_To_Char()
124 buf->data[numChars] = 0; in Utf16_To_Char()
/external/skia/src/core/
DSkBBoxRecord.cpp202 size_t numChars = paint.countText(text, byteLength); in onDrawPosTextH() local
203 if (numChars == 0) { in onDrawPosTextH()
218 for (size_t i = 0; i < numChars; ++i) { in onDrawPosTextH()
/external/chromium_org/third_party/skia/src/core/
DSkBBoxRecord.cpp209 size_t numChars = paint.countText(text, byteLength); in onDrawPosTextH() local
210 if (numChars == 0) { in onDrawPosTextH()
225 for (size_t i = 0; i < numChars; ++i) { in onDrawPosTextH()
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzEvents.m336 unsigned int i, numChars;
350 numChars = [ chars length ];
351 if (numChars > 0)
354 numChars = 0;
357 if (numChars == 0) {
366 else if (numChars >= 1) {
375 for (i = 1; i < numChars; i++) {
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
Dwgl.c373 DWORD numChars, DWORD listBase) in wglUseFontBitmaps_FX() argument
401 for(i = 0; i < (int)numChars; i++) { in wglUseFontBitmaps_FX()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwgl.c373 DWORD numChars, DWORD listBase) in wglUseFontBitmaps_FX() argument
401 for(i = 0; i < (int)numChars; i++) { in wglUseFontBitmaps_FX()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-objc.h127 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
/external/lzma/CPP/7zip/UI/Common/
DArchiveCommandLine.cpp346 UInt32 numChars = dataSize / sizeof(wchar_t); in ParseMapWithPaths() local
348 for (UInt32 i = 1; i < numChars; i++) in ParseMapWithPaths()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1707 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); in createStandardUtilityFunctions() local
1710 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars); in createStandardUtilityFunctions()
/external/clang/tools/c-index-test/
Dc-index-test.c3669 unsigned numChars = 0; in print_usrs_file() local
3684 if (numChars == 0) in print_usrs_file()
3687 line[numChars] = '\0'; in print_usrs_file()
3688 numChars = 0; in print_usrs_file()
3703 line[numChars++] = c; in print_usrs_file()
/external/clang/lib/CodeGen/
DCodeGenModule.h632 llvm::ConstantInt *getSize(CharUnits numChars);