/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | CharsDictionaryMatcher.java | 33 // TODO: should numChars count Character.charCount? in matches() 34 int numChars = 1; in matches() 42 lengths[count] = numChars; in matches() 53 if (numChars >= maxLength) { in matches() 60 ++numChars; in matches() 64 return numChars; in matches()
|
H A D | BytesDictionaryMatcher.java | 54 // TODO: should numChars count Character.charCount() ? in matches() 55 int numChars = 1; in matches() 63 lengths[count] = numChars; in matches() 73 if (numChars >= maxLength) { in matches() 81 ++numChars; in matches() 85 return numChars; in matches()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CharsDictionaryMatcher.java | 33 // TODO: should numChars count Character.charCount? in matches() 34 int numChars = 1; in matches() 42 lengths[count] = numChars; in matches() 53 if (numChars >= maxLength) { in matches() 60 ++numChars; in matches() 64 return numChars; in matches()
|
H A D | BytesDictionaryMatcher.java | 54 // TODO: should numChars count Character.charCount() ? in matches() 55 int numChars = 1; in matches() 63 lengths[count] = numChars; in matches() 73 if (numChars >= maxLength) { in matches() 81 ++numChars; in matches() 85 return numChars; in matches()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ImmutableStringBuilder.cpp | 46 int numChars = snprintf(mData + mPos, mMaxLength - mPos, "%d", u); in appendDecimal() local 47 ASSERT(numChars >= 0); in appendDecimal() 48 ASSERT(mPos + numChars <= mMaxLength); in appendDecimal() 49 mPos += numChars; in appendDecimal()
|
/third_party/qrcodegen/c/ |
H A D | qrcodegen-test.c | 60 int calcSegmentBitLength(enum qrcodegen_Mode mode, size_t numChars); 725 size_t numChars; in testCalcSegmentBitLength() member 753 assert(calcSegmentBitLength(qrcodegen_Mode_NUMERIC, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength() 782 assert(calcSegmentBitLength(qrcodegen_Mode_ALPHANUMERIC, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength() 808 assert(calcSegmentBitLength(qrcodegen_Mode_BYTE, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength() 835 assert(calcSegmentBitLength(qrcodegen_Mode_KANJI, CASES[i].numChars) == CASES[i].result); in testCalcSegmentBitLength() 850 assert(seg.numChars == 0); in testMakeBytes() 858 assert(seg.numChars == 1); in testMakeBytes() 867 assert(seg.numChars == 3); in testMakeBytes() 881 assert(seg.numChars in testMakeNumeric() [all...] |
H A D | qrcodegen.c | 84 testable int calcSegmentBitLength(enum qrcodegen_Mode mode, size_t numChars); 155 seg.numChars = (int)textLen; in qrcodegen_encodeText() 177 seg.numChars = (int)dataLen; in qrcodegen_encodeBinary() 236 appendBitsToBuffer((unsigned int)seg->numChars, numCharCountBits(seg->mode, version), qrcode, &bitLen); in qrcodegen_encodeSegmentsAdvanced() 832 size_t qrcodegen_calcSegmentBufferSize(enum qrcodegen_Mode mode, size_t numChars) { in qrcodegen_calcSegmentBufferSize() argument 833 int temp = calcSegmentBitLength(mode, numChars); in qrcodegen_calcSegmentBufferSize() 843 // - Returns -1 on failure, i.e. numChars > INT16_MAX or 846 // - For byte mode, numChars measures the number of bytes, not Unicode code points. 847 // - For ECI mode, numChars must be 0, and the worst-case number of bits is returned. 849 testable int calcSegmentBitLength(enum qrcodegen_Mode mode, size_t numChars) { in calcSegmentBitLength() argument 992 int numChars = segs[i].numChars; getTotalBits() local [all...] |
H A D | qrcodegen.h | 116 int numChars; member 124 // The character count (numChars) must agree with the mode and the bit buffer length. 324 * - Returns SIZE_MAX on failure, i.e. numChars > INT16_MAX or the internal 328 * - For byte mode, numChars measures the number of bytes, not Unicode code points. 329 * - For ECI mode, numChars must be 0, and the worst-case number of bytes is returned. 332 size_t qrcodegen_calcSegmentBufferSize(enum qrcodegen_Mode mode, size_t numChars);
|
H A D | qrcodegen-demo.c | 251 seg.numChars = (int)len; in doSegmentDemo()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
H A D | CMapFormat10.java | 18 private final int numChars; field in CMapFormat10 23 this.numChars = this.data.readUShort(Offset.format10NumChars.offset); in CMapFormat10() 28 if (character < startCharCode || character >= (startCharCode + numChars)) { in glyphId() 53 if (character < startCharCode + numChars) { in hasNext()
|
/third_party/icu/icu4c/source/test/perf/dicttrieperf/ |
H A 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() [all...] |
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
H A D | QrSegment.java | 201 public final int numChars; field in QrSegment 224 numChars = numCh; in QrSegment() 249 if (seg.numChars >= (1 << ccbits)) in getTotalBits()
|
/third_party/lzma/CPP/Windows/ |
H A D | Registry.cpp | 355 size_t numChars = 0;
in SetValue_Strings() local 360 numChars += strings[i].Len() + 1;
in SetValue_Strings() 362 CObjArray<wchar_t> buffer(numChars);
in SetValue_Strings() 372 return SetValue(valueName, buffer, (UInt32)numChars * sizeof(wchar_t));
in SetValue_Strings() 389 size_t numChars = dataSize / sizeof(wchar_t);
in GetValue_Strings() local 393 for (size_t i = 0; i < numChars; i++)
in GetValue_Strings()
|
H A D | PropVariant.cpp | 26 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()
|
H A D | PropVariant.h | 17 HRESULT PropVarEm_Alloc_Bstr(PROPVARIANT *p, unsigned numChars) throw();
159 BSTR AllocBstr(unsigned numChars);
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
H A D | QrSegment.java | 226 public final int numChars; field in QrSegment 253 numChars = numCh; in QrSegment() 267 if (seg.numChars >= (1 << ccbits)) in getTotalBits()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | UtilsD3D12.cpp | 33 int numChars = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, str, len, nullptr, 0); in ConvertStringToWstring() local 34 if (numChars == 0) { in ConvertStringToWstring() 38 result.resize(numChars); in ConvertStringToWstring() 40 MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, str, len, &result[0], numChars); in ConvertStringToWstring() 41 if (numConvertedChars != numChars) { in ConvertStringToWstring()
|
/third_party/lzma/C/Util/7z/ |
H A D | 7zMain.c | 185 const unsigned numChars = (unsigned)WideCharToMultiByte(
in Utf16_To_Char() local 187 if (numChars == 0 || numChars >= size)
in Utf16_To_Char() 189 buf->data[numChars] = 0;
in Utf16_To_Char()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
H A D | FontInfo.java | 249 public static int numChars(Font font) { in numChars() method in FontInfo 250 int numChars = 0; in numChars() 257 numChars++; in numChars() 261 return numChars; in numChars() 347 int nonUnicodeCount = numChars(font) - totalCount; in listCharBlockCoverage()
|
H A D | FontInfoMain.java | 188 "Total number of characters with valid glyphs: %d", FontInfo.numChars(font))); in main()
|
/third_party/qrcodegen/cpp/ |
H A D | qrcodegen.cpp | 163 numChars(numCh), in QrSegment() 172 numChars(numCh), in QrSegment() 183 if (seg.numChars >= (1L << ccbits)) in getTotalBits() 221 return numChars; in getNumChars()
|
H A D | qrcodegen.hpp | 160 private: int numChars; member in qrcodegen::final
|
/third_party/lzma/CPP/Common/ |
H A D | MyString.cpp | 128 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() 145 int numChars = ::WideCharToMultiByte(CP_ACP, 0, &c, 1, s, kBufSize, 0, 0);
146 if (numChars == 0 || numChars > kBufSize)
148 s[numChars] = 0;
150 ::MultiByteToWideChar(CP_ACP, 0, s, numChars, [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | UCharacterProperty.java | 1499 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() 1500 if(numChars > 0) { in UCharacterProperty() 1501 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | UCharacterProperty.java | 1479 int numChars = (reservedOffset7 - scriptExtensionsOffset) * 2; in UCharacterProperty() 1480 if(numChars > 0) { in UCharacterProperty() 1481 m_scriptExtensions_ = ICUBinary.getChars(bytes, numChars, 0); in UCharacterProperty()
|