Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 8 of 8) sorted by relevance

/test/xts/acts/commonlibrary/ets_utils/buffer_lib_standard/entry/src/ohosTest/js/test/
DBuffer.test.js29 let buf = buffer.alloc(10);
45 let buf = buffer.alloc(10).fill("ab$#", encode);
59 let buf1 = buffer.alloc(10);
60 let buf = buffer.alloc(10).fill(buf1);
73 let buf = buffer.alloc(0);
89 let buf = buffer.alloc(0).fill("ab$#", encode);
103 let buf1 = buffer.alloc(10);
104 let buf = buffer.alloc(0).fill(buf1);
118 let buf = buffer.alloc(-5);
138 let buf = buffer.alloc(10, "ab$#", encode);
[all …]
/test/xts/acts/commonlibrary/ets_utils/codeparsingtest/baselibtest/entry/src/ohosTest/ets/test/buffer/
DBuffer.test.ets37 * @tc.desc : Testing alloc interface with normal value.
46 let buf = buffer.alloc(size);
57 * @tc.desc : Testing alloc for buffer with value '4294967296'
66 let buf = buffer.alloc(size);
77 * @tc.desc : Testing alloc for parameter with value undefined.
85 buffer.alloc(undefined);
95 * @tc.desc : Testing alloc for parameter with value null.
103 buffer.alloc(null);
113 * @tc.desc : Testing alloc for buffer,the second parameter is empty string.
121 let buf = buffer.alloc(10, ' ');
[all …]
/test/xts/hats/hdf/codec/hdi_idlomx/
Dcodec_function_utils.cpp121 AllocInfo alloc = {.width = WIDTH, in FillCodecBufferWithBufferHandle() local
131 auto ret = buffer_->AllocMem(alloc, bufferHandle); in FillCodecBufferWithBufferHandle()
/test/xts/acts/arkui/libuv/
DBUILD.gn132 "//third_party/libuv/test/test-tcp-alloc-cb-fail.c",
176 "//third_party/libuv/test/test-udp-alloc-cb-fail.c",
/test/xts/hats/hdf/codec/hdi_image/
Dcodec_hdi_jpeg_test.cpp45 AllocInfo alloc = { in InitOutBuffer() local
52 auto err = hdiBuffer_->AllocMem(alloc, bufferHandle); in InitOutBuffer()
/test/xts/hats/hdf/codec/hdi_image_additional/
Dcodec_hdi_jpeg_test.cpp42 AllocInfo alloc = {.width = WIDTH, in InitOutBuffer() local
48 auto err = hdiBuffer_->AllocMem(alloc, bufferHandle); in InitOutBuffer()
/test/xts/hats/hdf/codec/hdi_omx/
Dcodec_hdi_omx_test.cpp202 AllocInfo alloc = {.width = WIDTH, in InitBufferHandle() local
207 auto err = gralloc_->AllocMem(alloc, *bufferHandle); in InitBufferHandle()
/test/xts/dcts/communication/dsoftbus_rpcets/rpcclient/entry/src/main/ets/test/
DRpcRequestEtsUnit.test.ets1060 … * @tc.name : test writeInterfaceToken Sequence memory alloc failed Error message verification
1142 * @tc.name : test readParcelable Sequence memory alloc failed Error message verification