Searched refs:byteLen (Results 1 – 13 of 13) sorted by relevance
/third_party/node/deps/npm/node_modules/tar/lib/ |
D | pax.js | 101 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/ |
D | word_boundaries.h | 10 std::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale);
|
D | editor.cpp | 146 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/ |
D | word_boundaries.h | 10 std::vector<bool> GetUtf8WordBoundaries(const char* begin, std::size_t byteLen, const char* locale);
|
D | editor.cpp | 146 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()
|
D | editor.h | 79 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
D | BitReader.java | 270 static void bytesToNibbles(State s, int byteLen) { in bytesToNibbles() argument 272 int halfLen = byteLen >> LOG_HALF_SIZE; in bytesToNibbles()
|
/third_party/skia/modules/canvaskit/ |
D | memory.js | 27 var byteLen = len * typedArray.BYTES_PER_ELEMENT; 28 var ptr = CanvasKit._malloc(byteLen);
|
D | canvaskit_bindings.cpp | 1919 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/ |
D | editor.h | 77 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
|
/third_party/flutter/skia/src/xps/ |
D | SkXPSDevice.cpp | 1970 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/ |
D | buffer.js | 1048 const byteLen = TypedArrayPrototypeGetByteLength(buf); 1050 if (offset > end || fillLength + offset > byteLen)
|
/third_party/skia/third_party/externals/brotli/js/ |
D | decode.js | 1715 function bytesToNibbles(s, byteLen) { argument 1717 var /** number */ halfLen = byteLen >> 1;
|