Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/utils/
DUtils.java76 int numChars; in readerToString() local
78 while ((numChars = reader.read(buffer, 0, buffer.length)) > 0) { in readerToString()
79 result.append(buffer, 0, numChars); in readerToString()
88 int numChars; in providerToString() local
90 while ((numChars = provider.read(buffer, 0, buffer.length)) != -1) { in providerToString()
91 result.append(buffer, 0, numChars); in providerToString()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsDictionaryMatcher.java34 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()
DBytesDictionaryMatcher.java55 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/
DCharsDictionaryMatcher.java33 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()
DBytesDictionaryMatcher.java54 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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DSourcesHelper.java50 int numChars; in readerToString() local
52 while ((numChars = reader.read(arr, 0, arr.length)) > 0) { in readerToString()
53 buf.append(arr, 0, numChars); in readerToString()
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp362 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/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_SourcesHelper.txt19 Line 50) int numChars ==> int
20 Line 52) (numChars = reader.read(arr, 0, arr.length)) > 0 ==> boolean
21 Line 53) buf.append(arr, 0, numChars) ==> java.lang.StringBuilder
/external/lzma/CPP/Windows/
DRegistry.cpp339 size_t numChars = 0; in SetValue_Strings() local
344 numChars += strings[i].Len() + 1; in SetValue_Strings()
346 CObjArray<wchar_t> buffer(numChars); in SetValue_Strings()
356 return SetValue(valueName, buffer, (UInt32)numChars * sizeof(wchar_t)); in SetValue_Strings()
373 size_t numChars = dataSize / sizeof(wchar_t); in GetValue_Strings() local
377 for (size_t i = 0; i < numChars; i++) in GetValue_Strings()
DPropVariant.cpp26 HRESULT PropVarEm_Alloc_Bstr(PROPVARIANT *p, unsigned numChars) throw() in PropVarEm_Alloc_Bstr() argument
28 p->bstrVal = ::SysAllocStringLen(NULL, numChars); in PropVarEm_Alloc_Bstr()
179 BSTR CPropVariant::AllocBstr(unsigned numChars) in AllocBstr() argument
185 bstrVal = ::SysAllocStringLen(NULL, numChars); in AllocBstr()
DPropVariant.h17 HRESULT PropVarEm_Alloc_Bstr(PROPVARIANT *p, unsigned numChars) throw();
99 BSTR AllocBstr(unsigned numChars);
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DUtils.java90 int numChars; in readerToString() local
92 while ((numChars = reader.read(buffer, 0, buffer.length)) > 0) { in readerToString()
93 result.append(buffer, 0, numChars); in readerToString()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_utils_Utils.txt9 Line 79) result.append(buffer, 0, numChars) ==> java.lang.StringBuilder.append(char[], int, int)
12 Line 91) result.append(buffer, 0, numChars) ==> java.lang.StringBuilder.append(char[], int, int)
/external/lzma/C/Util/7z/
D7zMain.c178 unsigned numChars = 0; in Utf16_To_Char() local
179numChars = WideCharToMultiByte(codePage, 0, s, len, (char *)buf->data, size, &defaultChar, &defUse… in Utf16_To_Char()
180 if (numChars == 0 || numChars >= size) in Utf16_To_Char()
182 buf->data[numChars] = 0; in Utf16_To_Char()
/external/u-boot/common/
Dkgdb.c202 int numChars = 0; in hexToInt() local
214 numChars ++; in hexToInt()
220 return (numChars); in hexToInt()
/external/lzma/CPP/Common/
DMyString.cpp128 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0); in MyCharUpper_WIN() local
129 if (numChars == 0 || numChars > kBufSize) in MyCharUpper_WIN()
131 s[numChars] = 0; in MyCharUpper_WIN()
133 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1); in MyCharUpper_WIN()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DTestUtils.java402 int numChars = Math.min(remaining, CHARS.length); in newTextMessage() local
403 System.arraycopy(CHARS, 0, msg, msgIndex, numChars); in newTextMessage()
404 msgIndex += numChars; in newTextMessage()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java400 int numChars = Math.min(remaining, CHARS.length); in newTextMessage() local
401 System.arraycopy(CHARS, 0, msg, msgIndex, numChars); in newTextMessage()
402 msgIndex += numChars; in newTextMessage()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterProperty.java2176 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() local
2177 if(numChars > 0) { in UCharacterProperty()
2178 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
DNormalizer2Impl.java502 int numChars=(nextOffset-offset)/2; in load() local
503 if(numChars!=0) { in load()
504 maybeYesCompositions=ICUBinary.getString(bytes, numChars, 0); in load()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterProperty.java2175 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() local
2176 if(numChars > 0) { in UCharacterProperty()
2177 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
DNormalizer2Impl.java493 int numChars=(nextOffset-offset)/2; in load() local
494 if(numChars!=0) { in load()
495 maybeYesCompositions=ICUBinary.getString(bytes, numChars, 0); in load()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-objc.h127 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp123 size_t numChars = FXSYS_ToUTF16BE(unicode, ans); in AddUnicode() local
124 for (size_t i = 0; i < numChars; ++i) in AddUnicode()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1654 size_t numChars = sizeof(ourBaseExcpClassChars) / sizeof(char); in createStandardUtilityFunctions() local
1657 ourBaseExceptionClass = genClass(ourBaseExcpClassChars, numChars); in createStandardUtilityFunctions()

12