Home
last modified time | relevance | path

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

/third_party/node/deps/npm/node_modules/tar/lib/
Dpax.js101 const byteLen = Buffer.byteLength(s)
105 let digits = Math.floor(Math.log(byteLen) / Math.log(10)) + 1
106 if (byteLen + digits >= Math.pow(10, digits))
108 const len = digits + byteLen
/third_party/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()
/third_party/flutter/skia/experimental/editor/
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()
Deditor.h79 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
/third_party/skia/third_party/externals/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()
/third_party/skia/modules/canvaskit/
Dmemory.js27 var byteLen = len * typedArray.BYTES_PER_ELEMENT;
28 var ptr = CanvasKit._malloc(byteLen);
Dcanvaskit_bindings.cpp1919 size_t byteLen, in EMSCRIPTEN_BINDINGS()
1925 … return SkTextBlob::MakeFromRSXform(glyphs, byteLen, xforms, font, SkTextEncoding::kGlyphID); in EMSCRIPTEN_BINDINGS()
1933 … size_t byteLen, const SkFont& font)->sk_sp<SkTextBlob> { in EMSCRIPTEN_BINDINGS() argument
1935 return SkTextBlob::MakeFromText(glyphs, byteLen, font, SkTextEncoding::kGlyphID); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/skplaintexteditor/include/
Deditor.h77 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp1970 void SkXPSDevice::drawPosText(const void* text, size_t byteLen,
1973 if (byteLen < 1) return;
1997 static_cast<const char*>(text), byteLen));
2002 paint.getTextEncoding(), static_cast<const char*>(text), byteLen,
/third_party/node/lib/
Dbuffer.js1048 const byteLen = TypedArrayPrototypeGetByteLength(buf);
1050 if (offset > end || fillLength + offset > byteLen)
/third_party/skia/third_party/externals/brotli/js/
Ddecode.js1715 function bytesToNibbles(s, byteLen) { argument
1717 var /** number */ halfLen = byteLen >> 1;