Home
last modified time | relevance | path

Searched refs:outputLength (Results 1 – 22 of 22) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-hash.js193 assert.strictEqual(crypto.createHash('shake256', { outputLength: 0 }) property
200 assert.strictEqual(crypto.createHash('shake128', { outputLength: 0 }) property
203 assert.strictEqual(crypto.createHash('shake128', { outputLength: 5 }) property
204 .copy({ outputLength: 0 }) property
207 assert.strictEqual(crypto.createHash('shake128', { outputLength: 5 }) property
210 assert.strictEqual(crypto.createHash('shake128', { outputLength: 0 }) property
211 .copy({ outputLength: 5 }) property
214 assert.strictEqual(crypto.createHash('shake128', { outputLength: 15 }) property
217 assert.strictEqual(crypto.createHash('shake256', { outputLength: 16 }) property
222 assert.strictEqual(crypto.createHash('shake128', { outputLength: 128 }) property
[all …]
/third_party/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp42 static int32_t utf8Length, encodedLength, outputLength, countInputCodePoints; variable
185 encodedLength=outputLength=0; in call()
212 outputLength=pOut-output; in call()
213 if(inputLength!=outputLength) { in call()
214 …f(stderr, "error: roundtrip failed, inputLength %d!=outputLength %d\n", inputLength, outputLength); in call()
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/gauge/lib/
Dtemplate-item.js17 function TemplateItem (values, outputLength) { argument
18 this.overallOutputLength = outputLength
/third_party/node/deps/npm/node_modules/gauge/lib/
Dtemplate-item.js17 function TemplateItem (values, outputLength) { argument
18 this.overallOutputLength = outputLength
/third_party/icu/icu4c/source/test/intltest/
Dnormconf.cpp599 UnicodeString output[], int32_t outputLength) { in hexsplit() argument
604 for (i=0; i<outputLength; ++i) { in hexsplit()
637 if((i + 1) == outputLength) { in hexsplit()
640 …ln(UnicodeString("Missing field(s) in ", "") + s + " only " + (i + 1) + " out of " + outputLength); in hexsplit()
Dnormconf.h106 UnicodeString output[], int32_t outputLength);
Dconvtest.cpp686 int32_t outputLength; in TestDefaultIgnorableCallback() local
692 outputLength= 0; in TestDefaultIgnorableCallback()
696outputLength = ucnv_fromUChars(cnv.getAlias(), output, 10, UnicodeString::fromUTF32(input, 1).getT… in TestDefaultIgnorableCallback()
697 if (U_FAILURE(status) || outputLength != 0) { in TestDefaultIgnorableCallback()
706 outputLength= 0; in TestDefaultIgnorableCallback()
714outputLength = ucnv_fromUChars(cnv.getAlias(), output, 10, UnicodeString::fromUTF32(input, 1).getT… in TestDefaultIgnorableCallback()
715 if (U_FAILURE(status) || outputLength <= 0) { in TestDefaultIgnorableCallback()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
DState.java71 int outputLength; field in State
DBrotliInputStream.java151 state.outputLength = destLen; in read()
DDecode.java920 int toWrite = Math.min(s.outputLength - s.outputUsed, in writeRingBuffer()
929 if (s.outputUsed < s.outputLength) { in writeRingBuffer()
952 result = Math.min(result, s.ringBufferBytesWritten + s.outputLength - s.outputUsed); in calculateFence()
/third_party/node/lib/internal/util/
Dinspect.js1439 let outputLength = output.length;
1442 outputLength--;
1445 const dataLen = new Array(outputLength);
1449 for (; i < outputLength; i++) {
1478 approxCharHeights * biasedMax * outputLength,
1514 for (let i = 0; i < outputLength; i += columns) {
1516 const max = MathMin(i + columns, outputLength);
1538 ArrayPrototypePush(tmp, output[outputLength]);
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/
DState.cs104 internal int outputLength; field in Org.Brotli.Dec.State
DBrotliInputStream.cs176 state.outputLength = destLen; in Read()
DDecode.cs645 …int toWrite = System.Math.Min(state.outputLength - state.outputUsed, state.bytesToWrite - state.by… in WriteRingBuffer()
652 return state.outputUsed < state.outputLength; in WriteRingBuffer()
/third_party/node/lib/internal/crypto/
Dhash.js66 options.outputLength : undefined;
/third_party/node/lib/
D_http_outgoing.js1134 const outputLength = this.outputData.length;
1135 if (outputLength <= 0)
1143 for (let i = 0; i < outputLength; i++) {
/third_party/skia/third_party/externals/brotli/js/
Ddecode.js889 …var /** number */ toWrite = min(s.outputLength - s.outputUsed, s.ringBufferBytesReady - s.ringBuff…
895 if (s.outputUsed < s.outputLength) {
925 result = min(result, s.ringBufferBytesWritten + s.outputLength - s.outputUsed);
1882 this.outputLength = 0;
2000 s.outputLength = 16384;
/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp338 int outputLength, in build_intervals() argument
349 if (intervalCount >= outputLength) { in build_intervals()
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/
Disolated-reifier.js240 return crypto.createHash('shake256', { outputLength: 16 }) property
/third_party/icu/icu4c/source/test/cintltst/
Dccapitst.c2680 int32_t outputLength; in testFromTruncatedUTF8() local
2722 outputLength=(int32_t)(target-output); in testFromTruncatedUTF8()
2723 (void)outputLength; /* Suppress set but not used warning. */ in testFromTruncatedUTF8()
/third_party/node/doc/api/
Dcrypto.md1656 functions such as `'shake256'`, the `outputLength` option can be used to
3312 description: The `outputLength` option was added for XOF hash functions.
3321 behavior. For XOF hash functions such as `'shake256'`, the `outputLength` option
/third_party/node/doc/changelogs/
DCHANGELOG_V12.md4686 …* The `outputLength` option is added to `crypto.createHash` (Tobias Nießen) [#28805](https://githu…
4709 …b.com/nodejs/node/commit/a7ef102a66)] - **crypto**: add null check to outputLength logic (Colin Ih…
4711 …/nodejs/node/commit/b7c6ad595b)] - **(SEMVER-MINOR)** **crypto**: add outputLength option to crypt…