/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CjkBreakEngine.java | 106 int numChars = 0; in divideUpDictionaryRange() local 114 numChars++; in divideUpDictionaryRange() 115 charPositions[numChars] = index; in divideUpDictionaryRange() 126 numChars++; in divideUpDictionaryRange() 128 charPositions[numChars] = index; in divideUpDictionaryRange() 134 int[] bestSnlp = new int[numChars + 1]; in divideUpDictionaryRange() 136 for (int i = 1; i <= numChars; i++) { in divideUpDictionaryRange() 140 int[] prev = new int[numChars + 1]; in divideUpDictionaryRange() 141 for (int i = 0; i <= numChars; i++) { in divideUpDictionaryRange() 146 int values[] = new int[numChars]; in divideUpDictionaryRange() [all …]
|
D | CharsDictionaryMatcher.java | 34 int numChars = 1; in matches() local 42 lengths[count] = numChars; in matches() 53 if (numChars >= maxLength) { in matches() 60 ++numChars; in matches() 64 return numChars; in matches()
|
D | BytesDictionaryMatcher.java | 55 int numChars = 1; in matches() local 63 lengths[count] = numChars; in matches() 73 if (numChars >= maxLength) { in matches() 81 ++numChars; in matches() 85 return numChars; in matches()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CjkBreakEngine.java | 105 int numChars = 0; in divideUpDictionaryRange() local 113 numChars++; in divideUpDictionaryRange() 114 charPositions[numChars] = index; in divideUpDictionaryRange() 125 numChars++; in divideUpDictionaryRange() 127 charPositions[numChars] = index; in divideUpDictionaryRange() 133 int[] bestSnlp = new int[numChars + 1]; in divideUpDictionaryRange() 135 for (int i = 1; i <= numChars; i++) { in divideUpDictionaryRange() 139 int[] prev = new int[numChars + 1]; in divideUpDictionaryRange() 140 for (int i = 0; i <= numChars; i++) { in divideUpDictionaryRange() 145 int values[] = new int[numChars]; in divideUpDictionaryRange() [all …]
|
D | CharsDictionaryMatcher.java | 33 int numChars = 1; in matches() local 41 lengths[count] = numChars; in matches() 52 if (numChars >= maxLength) { in matches() 59 ++numChars; in matches() 63 return numChars; in matches()
|
D | BytesDictionaryMatcher.java | 54 int numChars = 1; in matches() local 62 lengths[count] = numChars; in matches() 72 if (numChars >= maxLength) { in matches() 80 ++numChars; in matches() 84 return numChars; in matches()
|
/external/lzma/CPP/Common/ |
D | StringConvert.cpp | 17 int numChars = MultiByteToWideChar(codePage, 0, srcString, in MultiByteToUnicodeString() local 20 if (numChars == 0) in MultiByteToUnicodeString() 22 resultString.ReleaseBuffer(numChars); in MultiByteToUnicodeString() 45 unsigned numChars = MultiByteToWideChar(codePage, 0, sp + i, in MultiByteToUnicodeString2() local 48 if (numChars == 0) in MultiByteToUnicodeString2() 50 i += numChars; in MultiByteToUnicodeString2() 77 unsigned numChars = WideCharToMultiByte(codePage, 0, sp + i, s.Len() - i, in UnicodeStringToMultiByte2() local 81 if (numChars == 0) in UnicodeStringToMultiByte2() 83 i += numChars; in UnicodeStringToMultiByte2() 103 int numChars = WideCharToMultiByte(codePage, 0, s, s.Len(), in UnicodeStringToMultiByte() local [all …]
|
D | MyString.cpp | 101 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0); in MyCharUpper_WIN() local 102 if (numChars == 0 || numChars > kBufSize) in MyCharUpper_WIN() 104 s[numChars] = 0; in MyCharUpper_WIN() 106 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper_WIN()
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 362 int32_t numChars=1; in ucharsTrieMatches() local 368 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches() 376 if(numChars>=textLimit) { in ucharsTrieMatches() 387 ++numChars; in ucharsTrieMatches() 403 return numChars; in ucharsTrieMatches() 556 int32_t numChars=1; in bytesTrieMatches() local 562 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches() 570 if(numChars>=textLimit) { in bytesTrieMatches() 577 ++numChars; in bytesTrieMatches() 580 return numChars; in bytesTrieMatches()
|
/external/lzma/CPP/Windows/ |
D | PropVariant.cpp | 12 HRESULT PropVarEm_Alloc_Bstr(PROPVARIANT *p, unsigned numChars) throw() in PropVarEm_Alloc_Bstr() argument 14 p->bstrVal = ::SysAllocStringLen(0, numChars); in PropVarEm_Alloc_Bstr() 132 BSTR CPropVariant::AllocBstr(unsigned numChars) in AllocBstr() argument 138 bstrVal = ::SysAllocStringLen(0, numChars); in AllocBstr()
|
D | Registry.cpp | 326 UInt32 numChars = 0; in SetValue_Strings() local 329 numChars += strings[i].Len() + 1; in SetValue_Strings() 330 CBuffer<wchar_t> buffer(numChars); in SetValue_Strings() 338 return SetValue(valueName, buffer, numChars * sizeof(wchar_t)); in SetValue_Strings() 352 unsigned numChars = dataSize / sizeof(wchar_t); in GetValue_Strings() local 354 for (unsigned i = 0; i < numChars; i++) in GetValue_Strings()
|
D | PropVariant.h | 14 HRESULT PropVarEm_Alloc_Bstr(PROPVARIANT *p, unsigned numChars) throw(); 92 BSTR AllocBstr(unsigned numChars);
|
/external/skia/gm/ |
D | verttext.cpp | 73 int numChars = paint.getTextWidths(gText, gLen, adv, nullptr); in drawBaseline() local 74 for (int i = 0; i < numChars; ++i) { in drawBaseline()
|
/external/lzma/C/Util/7z/ |
D | 7zMain.c | 124 unsigned numChars = 0; in Utf16_To_Char() local 125 …numChars = WideCharToMultiByte(codePage, 0, s, len, (char *)buf->data, size, &defaultChar, &defUse… in Utf16_To_Char() 126 if (numChars == 0 || numChars >= size) in Utf16_To_Char() 128 buf->data[numChars] = 0; in Utf16_To_Char()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/ |
D | TestUtil.java | 140 int numChars = Math.min(remaining, CHARS.length); in newTextMessage() local 141 System.arraycopy(CHARS, 0, msg, msgIndex, numChars); in newTextMessage() 142 msgIndex += numChars; in newTextMessage()
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wgl.c | 373 DWORD numChars, DWORD listBase) in wglUseFontBitmaps_FX() argument 401 for(i = 0; i < (int)numChars; i++) { in wglUseFontBitmaps_FX()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UCharacterProperty.java | 1268 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() local 1269 if(numChars > 0) { in UCharacterProperty() 1270 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
|
D | Normalizer2Impl.java | 466 int numChars=(nextOffset-offset)/2; in load() local 467 if(numChars!=0) { in load() 468 maybeYesCompositions=ICUBinary.getString(bytes, numChars, 0); in load()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UCharacterProperty.java | 1267 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() local 1268 if(numChars > 0) { in UCharacterProperty() 1269 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
|
D | Normalizer2Impl.java | 462 int numChars=(nextOffset-offset)/2; in load() local 463 if(numChars!=0) { in load() 464 maybeYesCompositions=ICUBinary.getString(bytes, numChars, 0); in load()
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-objc.h | 127 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1705 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); in createStandardUtilityFunctions() local 1708 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars); in createStandardUtilityFunctions()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | ArchiveCommandLine.cpp | 486 UInt32 numChars = size / sizeof(wchar_t); in ParseMapWithPaths() local 487 for (UInt32 i = 1; i < numChars; i++) in ParseMapWithPaths()
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1753 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); in createStandardUtilityFunctions() local 1756 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars); in createStandardUtilityFunctions()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3949 unsigned numChars = 0; in print_usrs_file() local 3964 if (numChars == 0) in print_usrs_file() 3967 line[numChars] = '\0'; in print_usrs_file() 3968 numChars = 0; in print_usrs_file() 3983 line[numChars++] = c; in print_usrs_file()
|