/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CjkBreakEngine.java | 102 int numChars = 0; in divideUpDictionaryRange() local 110 numChars++; in divideUpDictionaryRange() 111 charPositions[numChars] = index; in divideUpDictionaryRange() 122 numChars++; in divideUpDictionaryRange() 124 charPositions[numChars] = index; in divideUpDictionaryRange() 130 int[] bestSnlp = new int[numChars + 1]; in divideUpDictionaryRange() 132 for (int i = 1; i <= numChars; i++) { in divideUpDictionaryRange() 136 int[] prev = new int[numChars + 1]; in divideUpDictionaryRange() 137 for (int i = 0; i <= numChars; i++) { in divideUpDictionaryRange() 142 int values[] = new int[numChars]; in divideUpDictionaryRange() [all …]
|
D | CharsDictionaryMatcher.java | 31 int numChars = 1; in matches() local 39 lengths[count] = numChars; in matches() 50 if (numChars >= maxLength) { in matches() 57 ++numChars; in matches() 61 return numChars; in matches()
|
D | BytesDictionaryMatcher.java | 52 int numChars = 1; in matches() local 60 lengths[count] = numChars; in matches() 70 if (numChars >= maxLength) { in matches() 78 ++numChars; in matches() 82 return numChars; in matches()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CjkBreakEngine.java | 101 int numChars = 0; in divideUpDictionaryRange() local 109 numChars++; in divideUpDictionaryRange() 110 charPositions[numChars] = index; in divideUpDictionaryRange() 121 numChars++; in divideUpDictionaryRange() 123 charPositions[numChars] = index; in divideUpDictionaryRange() 129 int[] bestSnlp = new int[numChars + 1]; in divideUpDictionaryRange() 131 for (int i = 1; i <= numChars; i++) { in divideUpDictionaryRange() 135 int[] prev = new int[numChars + 1]; in divideUpDictionaryRange() 136 for (int i = 0; i <= numChars; i++) { in divideUpDictionaryRange() 141 int values[] = new int[numChars]; in divideUpDictionaryRange() [all …]
|
D | CharsDictionaryMatcher.java | 30 int numChars = 1; in matches() local 38 lengths[count] = numChars; in matches() 49 if (numChars >= maxLength) { in matches() 56 ++numChars; in matches() 60 return numChars; in matches()
|
D | BytesDictionaryMatcher.java | 51 int numChars = 1; in matches() local 59 lengths[count] = numChars; in matches() 69 if (numChars >= maxLength) { in matches() 77 ++numChars; in matches() 81 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 | 358 int32_t numChars=1; in ucharsTrieMatches() local 364 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches() 372 if(numChars>=textLimit) { in ucharsTrieMatches() 383 ++numChars; in ucharsTrieMatches() 399 return numChars; in ucharsTrieMatches() 552 int32_t numChars=1; in bytesTrieMatches() local 558 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches() 566 if(numChars>=textLimit) { in bytesTrieMatches() 573 ++numChars; in bytesTrieMatches() 576 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/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | StringBuilder.java | 36 public static int numChars (int value, int radix) { in numChars() method in StringBuilder 44 public static int numChars (long value, int radix) { in numChars() method in StringBuilder 763 for (int j = minLength - numChars(value, 10); j > 0; --j) in append() 817 for (int j = minLength - numChars(value, 10); j > 0; --j) in append()
|
D | BufferUtils.java | 478 public static CharBuffer newCharBuffer (int numChars) { in newCharBuffer() argument 479 ByteBuffer buffer = ByteBuffer.allocateDirect(numChars * 2); in newCharBuffer()
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
D | BufferUtils.java | 509 public static CharBuffer newCharBuffer (int numChars) { in newCharBuffer() argument 511 ByteBuffer buffer = ByteBuffer.allocateDirect(numChars * 2); in newCharBuffer() 515 return CharBuffer.wrap(new char[numChars]); in newCharBuffer()
|
/external/libgdx/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/ |
D | FreeTypeFontGenerator.java | 196 public int scaleForPixelWidth (int width, int numChars) { in scaleForPixelWidth() argument 202 int height = unscaledHeight * width / (advance * numChars); in scaleForPixelWidth() 212 public int scaleToFitSquare (int width, int height, int numChars) { in scaleToFitSquare() argument 213 return Math.min(scaleForPixelHeight(height), scaleForPixelWidth(width, numChars)); in scaleToFitSquare()
|
/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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UCharacterProperty.java | 1207 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() local 1208 if(numChars > 0) { in UCharacterProperty() 1209 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
|
D | Normalizer2Impl.java | 456 int numChars=(nextOffset-offset)/2; in load() local 457 if(numChars!=0) { in load() 458 maybeYesCompositions=ICUBinary.getString(bytes, numChars, 0); in load()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UCharacterProperty.java | 1208 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() local 1209 if(numChars > 0) { in UCharacterProperty() 1210 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
|
D | Normalizer2Impl.java | 460 int numChars=(nextOffset-offset)/2; in load() local 461 if(numChars!=0) { in load() 462 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()
|