Home
last modified time | relevance | path

Searched refs:byteLen (Results 1 – 15 of 15) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/
DCharEncoder.java59 int byteLen; in getValue() local
89 byteLen = byteBuffer.limit(); in getValue()
90 byteBuffer.get(destination, offset, byteLen); in getValue()
91 return byteLen; in getValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERBMPString.java89 int byteLen = string.length; in DERBMPString() local
90 if (0 != (byteLen & 1)) in DERBMPString()
95 int charLen = byteLen / 2; in DERBMPString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DDERBMPString.java91 int byteLen = string.length; in DERBMPString() local
92 if (0 != (byteLen & 1)) in DERBMPString()
97 int charLen = byteLen / 2; in DERBMPString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DDERBMPString.java91 int byteLen = string.length; in DERBMPString() local
92 if (0 != (byteLen & 1)) in DERBMPString()
97 int charLen = byteLen / 2; in DERBMPString()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java126 int byteLen = byteString.toBytes(test, bytes, 0); in testString() local
146 totalBytes += byteLen; in testString()
148 System.out.println("\t" + hex(bytes, 0, byteLen, " ")); in testString()
156 byteString.fromBytes(bytes, 0, byteLen, chars); in testString()
/external/skia/modules/skplaintexteditor/src/
Dword_boundaries.h10 std::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale);
Deditor.cpp146 Editor::TextPosition Editor::insert(TextPosition pos, const char* utf8Text, size_t byteLen) { in insert() argument
147 if (!valid_utf8(utf8Text, byteLen) || 0 == byteLen) { in insert()
153 fLines[pos.fParagraphIndex].fText.insert(pos.fTextByteIndex, utf8Text, byteLen); in insert()
158 fLines.push_back(Editor::TextLine(StringSlice(utf8Text, byteLen))); in insert()
160 pos = Editor::TextPosition{pos.fTextByteIndex + byteLen, pos.fParagraphIndex}; in insert()
/external/skia/modules/canvaskit/
Dmemory.js27 var byteLen = len * typedArray.BYTES_PER_ELEMENT;
28 var ptr = CanvasKit._malloc(byteLen);
Dcanvaskit_bindings.cpp1819 size_t byteLen, in EMSCRIPTEN_BINDINGS()
1825 … return SkTextBlob::MakeFromRSXform(glyphs, byteLen, xforms, font, SkTextEncoding::kGlyphID); in EMSCRIPTEN_BINDINGS()
1833 … size_t byteLen, const SkFont& font)->sk_sp<SkTextBlob> { in EMSCRIPTEN_BINDINGS() argument
1835 return SkTextBlob::MakeFromText(glyphs, byteLen, font, SkTextEncoding::kGlyphID); in EMSCRIPTEN_BINDINGS()
/external/brotli/java/org/brotli/dec/
DBitReader.java270 static void bytesToNibbles(State s, int byteLen) { in bytesToNibbles() argument
272 int halfLen = byteLen >> LOG_HALF_SIZE; in bytesToNibbles()
/external/skia/modules/skplaintexteditor/include/
Deditor.h77 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
/external/skqp/src/xps/
DSkXPSDevice.cpp2040 void SkXPSDevice::drawPosText(const void* text, size_t byteLen,
2043 if (byteLen < 1) return;
2067 static_cast<const char*>(text), byteLen));
2072 paint.getTextEncoding(), static_cast<const char*>(text), byteLen,
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8DataInputJsonParser.java1771 int byteLen = (qlen << 2) - 4 + lastQuadBytes; in addName() local
1792 for (int ix = 0; ix < byteLen; ) { in addName()
1813 if ((ix + needed) > byteLen) { in addName()
DUTF8StreamJsonParser.java2291 int byteLen = (qlen << 2) - 4 + lastQuadBytes; in addName() local
2312 for (int ix = 0; ix < byteLen; ) { in addName()
2333 if ((ix + needed) > byteLen) { in addName()
/external/brotli/js/
Ddecode.js1715 function bytesToNibbles(s, byteLen) { argument
1717 var /** number */ halfLen = byteLen >> 1;