Home
last modified time | relevance | path

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

/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securemessage/
DCryptoOpsTest.java156 assertTrue(Arrays.equals(in, CryptoOps.subarray(in, 0, in.length))); in testSubarray()
157 assertEquals(0, CryptoOps.subarray(in, 0, 0).length); in testSubarray()
159 assertTrue(Arrays.equals(expectedResult1, CryptoOps.subarray(in, 0, 1))); in testSubarray()
161 assertTrue(Arrays.equals(expectedResult34, CryptoOps.subarray(in, 2, 4))); in testSubarray()
162 assertThrows(IndexOutOfBoundsException.class, () -> CryptoOps.subarray(in, 0, in.length + 1)); in testSubarray()
163 assertThrows(IndexOutOfBoundsException.class, () -> CryptoOps.subarray(in, -1, in.length)); in testSubarray()
165 IndexOutOfBoundsException.class, () -> CryptoOps.subarray(in, in.length, in.length)); in testSubarray()
168 () -> CryptoOps.subarray(in, Integer.MIN_VALUE, in.length)); in testSubarray()
170 IndexOutOfBoundsException.class, () -> CryptoOps.subarray(in, 1, Integer.MIN_VALUE)); in testSubarray()
DSecureMessageTest.java287 byte[] truncatedBody = CryptoOps.subarray(origBody, 0, origBody.length - 1); in modifyMessage()
/external/perfetto/ui/src/controller/
Dadb_socket_controller.ts200 this.appendToIncomingBuffer(newData.subarray(0, newDataBytesToRead));
201 newData = newData.subarray(newDataBytesToRead);
211 this.parseMessage(newData.subarray(0, this.frameToParseLen));
212 newData = newData.subarray(this.frameToParseLen);
218 newData.subarray(0, bytesToCompleteMessage));
220 this.incomingBuffer.subarray(0, this.frameToParseLen));
223 newData = newData.subarray(bytesToCompleteMessage);
229 this.parseMessageSize(newData.subarray(0, WIRE_PROTOCOL_HEADER_SIZE));
230 newData = newData.subarray(WIRE_PROTOCOL_HEADER_SIZE);
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DLaguerreSolver.java328 Complex subarray[] = new Complex[n-i+1]; in solveAll() local
329 System.arraycopy(c, 0, subarray, 0, subarray.length); in solveAll()
330 root[i] = solve(subarray, initial); in solveAll()
/external/adhd/scripts/mic_testing/frontend/
Dsource.js160 var tmpLeft = e.inputBuffer.getChannelData(0).subarray(
162 var tmpRight = e.inputBuffer.getChannelData(1).subarray(
Drecorder.js38 var tmpLeft = recBuffersL[recBuffersL.length - 1].subarray(
40 var tmpRight = recBuffersR[recBuffersR.length - 1].subarray(
/external/angle/third_party/vulkan-deps/glslang/src/glslang/OSDependent/Web/
Dglslang.pre.js43 ret['data'] = Module['HEAPU32'].subarray(outputIndexU32, outputIndexU32 + output_len);
/external/deqp-deps/glslang/glslang/OSDependent/Web/
Dglslang.pre.js43 ret['data'] = Module['HEAPU32'].subarray(outputIndexU32, outputIndexU32 + output_len);
/external/perfetto/ui/src/engine/
Dwasm_bridge.ts74 this.connection.HEAPU8.subarray(this.reqBufferAddr, endAddr).set(req.data);
/external/rust/crates/getrandom/src/
Djs.rs46 let sub_buf = buf.subarray(0, chunk.len() as u32); in getrandom_inner()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DCryptoOps.java467 static byte[] subarray(byte[] in, int beginIndex, int endIndex) { in subarray() method in CryptoOps
561 return subarray(output, 0, length); in hkdfSha256Expand()
DSecureMessageParser.java211 byte[] actualTag = CryptoOps.subarray(rawDecryptedBody, 0, CryptoOps.DIGEST_LENGTH); in parseSignCryptedMessage()
/external/skia/modules/canvaskit/tests/
Dcore.spec.js1242 expectTypedArraysToEqual(Float32Array.of(4, 5, 6, 7, 8, 9), mThings.subarray(0));
1243 expectTypedArraysToEqual(Float32Array.of(7, 8, 9), mThings.subarray(3));
1244 expectTypedArraysToEqual(Float32Array.of(7), mThings.subarray(3, 4));
1245 expectTypedArraysToEqual(Float32Array.of(7, 8), mThings.subarray(3, 5));
1249 mThings.subarray(3)[0] = 100.5;
Dpath.spec.js152 path = CanvasKit.Path.MakeFromVerbsPointsWeights(mVerbs, mPoints.subarray(0, 10), mWeights);
/external/skia/modules/canvaskit/
Dmemory.js35 var sa = this['toTypedArray']().subarray(start, end);
DCHANGELOG.md349 - The object returned by `CanvasKit.malloc` now has a `subarray` method which works exactly like
/external/brotli/js/
Ddecode.js699 newBuffer.set(s.ringBuffer.subarray(0, 0 + s.ringBufferSize), 0);
891 …s.output.set(s.ringBuffer.subarray(s.ringBufferBytesWritten, s.ringBufferBytesWritten + toWrite), …
1680 data.set(s.byteBuffer.subarray(readOffset, readOffset + delta), offset);
1956 dst.set(src.data.subarray(src.offset, end), offset);
2014 result.set(chunk.subarray(0, len), offset);
/external/flatbuffers/js/
Dflatbuffers.js277 return this.bb.bytes().subarray(this.bb.position(), this.bb.position() + this.offset());
1150 return this.bytes_.subarray(offset, offset + length);
/external/mksh/src/
Dfuncs.c1603 bool subarray = false; in c_read() local
1862 subarray = last_lookup_was_array; in c_read()
1872 c = subarray ? arrayindex(vp) : 0; in c_read()
1874 unset(vp, subarray ? 0 : 1); in c_read()
1976 if (subarray) { in c_read()
/external/protobuf/js/binary/
Ddecoder.js1027 var result = this.bytes_.subarray(this.cursor_, this.cursor_ + length);
Dwriter.js173 this.appendUint8Array_(bytes.subarray(start, end));
/external/protobuf/php/ext/google/protobuf/
Dmessage.c426 zval* subarray = message_get_property_internal(msg, &key TSRMLS_CC); local
453 RepeatedField* intern = UNBOX(RepeatedField, subarray);
459 subarray, NULL,
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts603 const mSubArray = mFoo.subarray(0, 2); // $ExpectType TypedArray
Dindex.d.ts722 subarray(start: number, end: number): TypedArray; method
/external/python/pybind11/include/pybind11/
Dnumpy.h61 char *subarray; member