Home
last modified time | relevance | path

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

/external/icu4c/common/
Ddictionarydata.cpp45 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()
Ddictbe.cpp783 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/
DTextCodecUTF16.cpp78 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/
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/webkit/Source/JavaScriptCore/API/tests/
Dminidom.c89 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/
DTextCodecBrew.cpp145 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/
DJSStringRef.cpp36 JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars) in JSStringCreateWithCharacters() argument
39 return OpaqueJSString::create(chars, numChars).leakRef(); in JSStringCreateWithCharacters()
DJSStringRef.h58 JS_EXPORT JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars);
/external/skia/src/core/
DSkBBoxRecord.cpp182 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/
DWebInputEventConversion.cpp342 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/
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/webkit/Source/WebCore/editing/
DTextIterator.h275 String string(int numChars);
DTextIterator.cpp1410 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/
Dsystem-header-simulator-objc.h123 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1675 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); in createStandardUtilityFunctions() local
1678 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars); in createStandardUtilityFunctions()
/external/clang/tools/c-index-test/
Dc-index-test.c3334 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/
DCodeGenModule.h505 llvm::ConstantInt *getSize(CharUnits numChars);