/external/icu4c/common/ |
D | dictionarydata.cpp | 45 int32_t numChars = 1; in matches() local 53 lengths[count++] = numChars; in matches() 64 if (numChars >= maxLength) { in matches() 72 ++numChars; in matches() 75 return numChars; in matches() 109 int32_t numChars = 1; in matches() local 117 lengths[count++] = numChars; in matches() 128 if (numChars >= maxLength) { in matches() 136 ++numChars; in matches() 139 return numChars; in matches()
|
D | dictbe.cpp | 783 int numChars = 0; in divideUpDictionaryRange() local 792 charPositions[++numChars] = index; in divideUpDictionaryRange() 807 charPositions[++numChars] = index = normalizer.getIndex(); in divideUpDictionaryRange() 822 AutoBuffer<uint32_t, defaultInputLength> bestSnlp(numChars + 1); in divideUpDictionaryRange() 824 for(int i = 1; i <= numChars; i++) { in divideUpDictionaryRange() 831 AutoBuffer<int, defaultInputLength> prev(numChars + 1); in divideUpDictionaryRange() 832 for(int i = 0; i <= numChars; i++){ in divideUpDictionaryRange() 838 AutoBuffer<int32_t, maxWordSize> values(numChars); in divideUpDictionaryRange() 839 AutoBuffer<int32_t, maxWordSize> lengths(numChars); in divideUpDictionaryRange() 843 for (int32_t i = 0; i < numChars; ++i) { in divideUpDictionaryRange() [all …]
|
/external/webkit/Source/WebCore/platform/text/ |
D | TextCodecUTF16.cpp | 78 size_t numChars = numBytes / 2; in decode() local 80 StringBuffer buffer(numChars); in decode() 92 numChars -= 1; in decode() 96 for (size_t i = 0; i < numChars; ++i) { in decode() 102 for (size_t i = 0; i < numChars; ++i) { in decode()
|
/external/icu4c/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 359 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/webkit/Source/JavaScriptCore/API/tests/ |
D | minidom.c | 89 size_t numChars = JSStringGetMaximumUTF8CStringSize(string); in print() local 90 char stringUTF8[numChars]; in print() 91 JSStringGetUTF8CString(string, stringUTF8, numChars); in print()
|
/external/webkit/Source/WebCore/platform/text/brew/ |
D | TextCodecBrew.cpp | 145 int numChars = (dst - dstBegin) / sizeof(UChar); in decode() local 146 if (numChars > 0) in decode() 147 result.append(dstBuffer.data(), numChars); in decode()
|
/external/webkit/Source/JavaScriptCore/API/ |
D | JSStringRef.cpp | 36 JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars) in JSStringCreateWithCharacters() argument 39 return OpaqueJSString::create(chars, numChars).leakRef(); in JSStringCreateWithCharacters()
|
D | JSStringRef.h | 58 JS_EXPORT JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars);
|
/external/skia/src/core/ |
D | SkBBoxRecord.cpp | 182 size_t numChars = paint.countText(text, byteLength); in drawPosTextH() local 183 if (numChars > 0) { in drawPosTextH() 185 bbox.fRight = xpos[numChars - 1]; in drawPosTextH() 187 for (size_t i = 1; i < numChars; ++i) { in drawPosTextH()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebInputEventConversion.cpp | 342 unsigned int numChars = std::min(event.keyEvent()->text().length(), in WebKeyboardEventBuilder() local 344 for (unsigned int i = 0; i < numChars; i++) { in WebKeyboardEventBuilder()
|
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
D | SDL_QuartzEvents.m | 336 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/webkit/Source/WebCore/editing/ |
D | TextIterator.h | 275 String string(int numChars);
|
D | TextIterator.cpp | 1410 String CharacterIterator::string(int numChars) in string() argument 1413 result.reserveInitialCapacity(numChars); in string() 1414 while (numChars > 0 && !atEnd()) { in string() 1415 int runSize = min(numChars, length()); in string() 1417 numChars -= runSize; in string()
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-objc.h | 123 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 1675 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); in createStandardUtilityFunctions() local 1678 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars); in createStandardUtilityFunctions()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3334 unsigned numChars = 0; in print_usrs_file() local 3349 if (numChars == 0) in print_usrs_file() 3352 line[numChars] = '\0'; in print_usrs_file() 3353 numChars = 0; in print_usrs_file() 3368 line[numChars++] = c; in print_usrs_file()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.h | 505 llvm::ConstantInt *getSize(CharUnits numChars);
|