Home
last modified time | relevance | path

Searched refs:byteCount (Results 1 – 25 of 38) sorted by relevance

12

/third_party/json/tests/thirdparty/Fuzzer/
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/skia/modules/skplaintexteditor/src/
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/
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/
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/toybox/toys/other/
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
461 int kk = jj + byteCount[ii]; in burrows_wheeler_prep()
462 byteCount[ii] = jj; in burrows_wheeler_prep()
470 dbuf[byteCount[uc]] |= (ii << 8); in burrows_wheeler_prep()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
DSingleSubst.java89 int byteCount = fmt1Builder.subSerialize(newData); in subSerialize() local
90 byteCount += fmt2Builder.subSerialize(newData.slice(byteCount)); in subSerialize()
91 return byteCount; in subSerialize()
DScriptTable.java106 int byteCount = super.subSerialize(newData); in subSerialize() local
108 byteCount += defLangSysBuilder.subSerialize(newData.slice(byteCount)); in subSerialize()
110 return byteCount; in subSerialize()
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/asn1/
Dlength.js31 const byteCount = buf & 0x7f;
33 if (byteCount > 6) {
38 for (let i = 0; i < byteCount; i++) {
/third_party/python/Modules/_sha3/kcp/
DKeccakP-1600-opt64.c246 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount) in KeccakP1600_OverwriteWithZeroes() argument
252 for(lanePosition=0; lanePosition<byteCount/8; lanePosition++) in KeccakP1600_OverwriteWithZeroes()
257 if (byteCount%8 != 0) { in KeccakP1600_OverwriteWithZeroes()
258 lanePosition = byteCount/8; in KeccakP1600_OverwriteWithZeroes()
260 memset((unsigned char*)state+lanePosition*8, 0xFF, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
262 memset((unsigned char*)state+lanePosition*8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
265 memset(state, 0, byteCount); in KeccakP1600_OverwriteWithZeroes()
DKeccakP-1600-SnP-opt32.h31 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
DPlSnP-Fallback.inc138 void PlSnP_OverwriteWithZeroes(void *states, unsigned int instanceIndex, unsigned int byteCount)
141 SnP_OverwriteWithZeroes(stateWithIndex(instanceIndex), byteCount);
143 …ateWithIndex(instanceIndex/PlSnP_baseParallelism), instanceIndex%PlSnP_baseParallelism, byteCount);
DKeccakP-1600-SnP-opt64.h42 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
/third_party/skia/src/core/
DSkMD5.h23 size_t bytesWritten() const final { return SkToSizeT(this->byteCount); } in bytesWritten()
37 uint64_t byteCount; // number of bytes, modulo 2^64
DSkRTree.cpp167 size_t byteCount = sizeof(SkRTree); in bytesUsed() local
169 byteCount += fNodes.capacity() * sizeof(Node); in bytesUsed()
171 return byteCount; in bytesUsed()
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()
DSkOSFile.h29 size_t sk_fwrite(const void* buffer, size_t byteCount, FILE*);
/third_party/skia/src/ports/
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/icu/icu4c/source/test/cintltst/
Ducsdetst.c75 int32_t byteCount = preflight(src, length, cnv); in extractBytes() local
77 char *bytes = NEW_ARRAY(char, byteCount + 1); in extractBytes()
78 char *dest = bytes, *destLimit = bytes + byteCount + 1; in extractBytes()
83 *byteLength = byteCount; in extractBytes()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_opcode_list.cpp222 uint32 byteCount, in Parse() argument
265 if (stream.Position () != streamOffset + byteCount) in Parse()
Ddng_opcode_list.h149 uint32 byteCount,
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeCompressor.java331 int byteCount = comp.compress(buffer, start, limit, null, in compress() local
334 byte [] result = new byte [byteCount]; in compress()
335 System.arraycopy(temp, 0, result, 0, byteCount); in compress()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DUnicodeCompressor.java329 int byteCount = comp.compress(buffer, start, limit, null, in compress() local
332 byte [] result = new byte [byteCount]; in compress()
333 System.arraycopy(temp, 0, result, 0, byteCount); in compress()
/third_party/icu/icu4c/source/test/intltest/
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/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/
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/
DControlProgramTable.java55 public int byteCount() { in byteCount() method in ControlProgramTable

12