Home
last modified time | relevance | path

Searched refs:byteCount (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/modules/skplaintexteditor/src/
H A Dword_boundaries.cpp20 std::vector<bool> GetUtf8WordBoundaries(const char* begin, size_t byteCount, const char* locale) { in GetUtf8WordBoundaries() argument
22 if (0 == byteCount) { in GetUtf8WordBoundaries()
25 result.resize(byteCount); in GetUtf8WordBoundaries()
29 ICUUText utf8UText(utext_openUTF8(&sUtf8UText, begin, byteCount, &status)); in GetUtf8WordBoundaries()
49 if ((size_t)pos < byteCount) { in GetUtf8WordBoundaries()
/third_party/node/test/fixtures/crypto/
H A Daes_gcm.js89 const byteCount = tagLength / 8;
91 new Uint8Array(kCiphertext[keyLength].byteLength + byteCount);
93 result.set(tag[keyLength].slice(0, byteCount),
103 new Uint8Array(kCiphertext[keyLength].byteLength + byteCount);
105 noadresult.set(tag_with_empty_ad[keyLength].slice(0, byteCount),
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
H A Daes_gcm_vectors.js31 var byteCount = tagLength / 8;
33 var result = new Uint8Array(ciphertext[keyLength].byteLength + byteCount);
35 result.set(tag[keyLength].slice(0, byteCount), ciphertext[keyLength].byteLength);
45 var noadresult = new Uint8Array(ciphertext[keyLength].byteLength + byteCount);
47 noadresult.set(tag_with_empty_ad[keyLength].slice(0, byteCount), ciphertext[keyLength].byteLength);
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerSHA1.cpp57 uint32_t byteCount; member
91 s->byteCount = 0; in sha1_init()
151 ++s->byteCount; in sha1_writebyte()
170 sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8 in sha1_pad()
171 sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as in sha1_pad()
172 sha1_addUncounted(s, s->byteCount >> 13); // byte. in sha1_pad()
173 sha1_addUncounted(s, s->byteCount >> 5); in sha1_pad()
174 sha1_addUncounted(s, s->byteCount << 3); in sha1_pad()
/third_party/toybox/toys/other/
H A Dbzcat.c73 int byteCount[256]; member
323 *byteCount, *base, *limit; in read_huffman_data() local
332 byteCount = bw->byteCount; in read_huffman_data()
334 byteCount[ii] = 0; in read_huffman_data()
409 byteCount[uc] += hh; in read_huffman_data()
432 byteCount[uc]++; in read_huffman_data()
456 int *byteCount = bw->byteCount; in burrows_wheeler_prep() local
458 // Turn byteCount int in burrows_wheeler_prep()
[all...]
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/asn1/
H A Dlength.js31 const byteCount = buf & 0x7f;
33 if (byteCount > 6) {
38 for (let i = 0; i < byteCount; i++) {
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
H A DScriptTable.java106 int byteCount = super.subSerialize(newData); in subSerialize()
108 byteCount += defLangSysBuilder.subSerialize(newData.slice(byteCount)); in subSerialize()
110 return byteCount; in subSerialize()
H A DSingleSubst.java89 int byteCount = fmt1Builder.subSerialize(newData); in subSerialize()
90 byteCount += fmt2Builder.subSerialize(newData.slice(byteCount)); in subSerialize()
91 return byteCount; in subSerialize()
/third_party/skia/src/core/
H A DSkMD5.h23 size_t bytesWritten() const final { return SkToSizeT(this->byteCount); }
37 uint64_t byteCount; // number of bytes, modulo 2^64 member in SkMD5
H A DSkRTree.cpp167 size_t byteCount = sizeof(SkRTree); in bytesUsed() local
169 byteCount += fNodes.capacity() * sizeof(Node); in bytesUsed()
171 return byteCount; in bytesUsed()
H A DSkMD5.cpp31 SkMD5::SkMD5() : byteCount(0) { in SkMD5()
41 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in write()
65 this->byteCount += inputLength; in write()
73 encode(bits, this->byteCount << 3); in finish()
76 unsigned int bufferIndex = (unsigned int)(this->byteCount & 0x3F); in finish()
H A DSkOSFile.h29 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE*);
/third_party/skia/src/ports/
H A DSkOSFile_stdio.cpp121 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE* f) { in sk_fwrite() argument
123 return fwrite(buffer, 1, byteCount, f); in sk_fwrite()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_opcode_list.cpp222 uint32 byteCount, in Parse()
265 if (stream.Position () != streamOffset + byteCount) in Parse()
220 Parse(dng_host &host, dng_stream &stream, uint32 byteCount, uint64 streamOffset) Parse() argument
H A Ddng_opcode_list.h142 /// specified offset (streamOffset, in bytes). byteCount is provided for
145 /// match byteCount.
149 uint32 byteCount,
H A Ddng_read_image.cpp2822 uint32 byteCount; in Process() local
2839 byteCount = fTileByteCount [tileIndex]; in Process()
2844 fJPEGImage->fJPEGData [tileIndex] . Reset (fHost.Allocate (byteCount)); in Process()
2850 byteCount); in Process()
2862 byteCount); in Process()
2870 byteCount); in Process()
2892 byteCount, in Process()
H A Ddng_gain_map.cpp512 uint32 byteCount = stream.Get_uint32 (); in dng_opcode_GainMap() local
520 if (stream.Position () != startPosition + byteCount) in dng_opcode_GainMap()
H A Ddng_negative.cpp2431 uint32 byteCount = 0;
2433 if (!SafeUint32Mult (count, (uint32) sizeof (real64), &byteCount))
2440 info.fBlackDeltaV.Reset (Allocator ().Allocate (byteCount));
2444 byteCount);
2474 uint32 byteCount = 0;
2476 if (!SafeUint32Mult (count, (uint32) sizeof (real64), &byteCount))
2483 info.fBlackDeltaH.Reset (Allocator ().Allocate (byteCount));
2487 byteCount);
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
H A DByteArrayTableBuilder.java92 public int byteCount() throws IOException { in byteCount() method in ByteArrayTableBuilder
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
H A DControlProgramTable.java55 public int byteCount() { in byteCount() method in ControlProgramTable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeCompressor.java331 int byteCount = comp.compress(buffer, start, limit, null, in compress()
334 byte [] result = new byte [byteCount]; in compress()
335 System.arraycopy(temp, 0, result, 0, byteCount); in compress()
/third_party/icu/icu4c/source/test/intltest/
H A Dtscoll.cpp369 int32_t i, byteCount; in prettify() local
370 const uint8_t *bytes = source.getByteArray(byteCount); in prettify()
375 for (i = 0; i < byteCount; i += 1) in prettify()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUnicodeCompressor.java329 int byteCount = comp.compress(buffer, start, limit, null, in compress()
332 byte [] result = new byte [byteCount]; in compress()
333 System.arraycopy(temp, 0, result, 0, byteCount); in compress()
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpsintrp.c119 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
149 FT_ASSERT( hintmask->byteCount > 0 ); in cf2_hintmask_read()
154 for ( i = 0; i < hintmask->byteCount; i++ ) in cf2_hintmask_read()
166 FT_ASSERT( ( hintmask->mask[hintmask->byteCount - 1] & mask ) == 0 || in cf2_hintmask_read()
184 FT_ASSERT( hintmask->byteCount > 0 ); in cf2_hintmask_setAll()
185 FT_ASSERT( hintmask->byteCount <= in cf2_hintmask_setAll()
189 for ( i = 0; i < hintmask->byteCount; i++ ) in cf2_hintmask_setAll()
194 hintmask->mask[hintmask->byteCount - 1] &= ~mask; in cf2_hintmask_setAll()
H A Dpshints.h78 size_t byteCount; member

Completed in 21 milliseconds

12