Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 11 of 11) sorted by relevance

/test/xts/acts/storage/storagefileiojstest/src/main/js/test/
DFileIOStream.test.js88 let rlen = ss.readSync(new ArrayBuffer(4096));
89 expect(rlen == text.length).assertTrue();
136 let rlen = ss.readSync(new ArrayBuffer(4096));
137 expect(rlen == text.length + 1).assertTrue();
220 let rlen = ss.readSync(new ArrayBuffer(4096));
221 expect(rlen == text.length).assertTrue();
267 let rlen = ss.readSync(new ArrayBuffer(4096));
268 expect(rlen == text.length + 1).assertTrue();
353 let rlen = ss.readSync(new ArrayBuffer(4096));
354 expect(rlen == text.length).assertTrue();
[all …]
DFileIO.test.js2877 let rlen = fileio.readSync(fd1, new ArrayBuffer(4096));
2878 expect(rlen == 4096).assertTrue();
/test/testfwk/developer_test/aw/cxx/distributed/
Ddistributed_agent.cpp128 int rlen = 0; in DoCmdServer() local
180 rlen = sizeof(int); in DoCmdServer()
183 ret = memcpy_s(pAlignmentCmd, cmdLen + 1, pcline->alignmentCmd + rlen, cmdLen); in DoCmdServer()
189 rlen += cmdLen + 1; in DoCmdServer()
190 … unsigned int eValueLen = ntohs(*reinterpret_cast<int *>(pcline->alignmentCmd + rlen)); in DoCmdServer()
191 rlen += sizeof(int); in DoCmdServer()
193 … ret = memcpy_s(pszEValue, eValueLen + 1, pcline->alignmentCmd + rlen, eValueLen); in DoCmdServer()
211 rlen = strlen(pclinereturn->alignmentCmd) + 1; in DoCmdServer()
212 pclinereturn->len = htons(rlen); in DoCmdServer()
215 … send(clientSockFd_, pclinereturn, static_cast<size_t>(rlen + DST_COMMAND_HEAD_LEN), 0); in DoCmdServer()
Ddistributed_major.cpp189 …int rlen = send(clientList_[devNo].fd, pCmdMsg, static_cast<size_t>(len + DST_COMMAND_HEAD_LEN), 0… in SendToAgent() local
190 if (rlen <= 0) { in SendToAgent()
200 rlen = recv(clientList_[devNo].fd, szrbuf, DST_COMMAND_HEAD_LEN, 0); in SendToAgent()
201 if (static_cast<unsigned long>(rlen) >= DST_COMMAND_HEAD_LEN) { in SendToAgent()
225 if (!rlen) { in SendToAgent()
258 …size_t rlen = cmdLen + expectValueLen + DST_COMMAND_HEAD_LEN + sizeof(int) * HALF_BUF_LEN + HALF_B… in RunTestCmd() local
259 if (rlen <= MAX_BUFF_LEN) { in RunTestCmd()
450 [&](const std::string &szreturnbuf, int rlen)->bool { in SendMessage() argument
451 HiLog::Info(DistributeTestEnvironment::LABEL, "onprocessmsg len :%d.", rlen); in SendMessage()
452 return OnMsgProc(szreturnbuf, rlen); in SendMessage()
/test/xts/acts/multimedia/audio/audio_js_standard/audioInterrupt/src/main/js/test/
DAudioInterrupt.test.js165 let rlen = 0;
167 while (rlen < totalSize) {
174 rlen += ss.readSync(buf);
175 … console.info('MasterHap:BufferAudioFramework: bytes read from =================== file: ' + rlen);
177 if (rlen >= totalSize / 3 && count == 0) {
/test/xts/acts/multimedia/audio/audio_js_standard/audioInterruptRender/entry/src/main/ets/MainAbility/
Dapp.ets110 let rlen = 0;
111 while (rlen < totalSize / 4) {
113 rlen += ss.readSync(buf);
114 console.info(TAG + 'InterruptHap:BufferAudioFramework: bytes read from file: ' + rlen);
/test/xts/acts/multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/
DAudioVOIP.test.js212 let rlen = 0;
213 while (rlen < totalSize / 4) {
215 rlen += ss.readSync(buf);
216 console.info(`${TagRender}: BufferAudioFramework: bytes read from file: ${rlen}`);
218 if (rlen > (totalSize / 2)) {
/test/xts/acts/kernel_lite/mem_posix/src/
DMemApiTest.cpp120 size_t k, len, mlen, rlen; variable
134 rlen = GetRandom(0x200000);
136 mem = realloc(mem, rlen);
144 len = mlen <= rlen ? mlen : rlen;
/test/testfwk/developer_test/examples/distributedb/test/distributedtest/common/
Ddistribute_demo.cpp78 [&](const std::string &szreturnbuf, int rlen)->bool { in __anon957c1f330202() argument
/test/xts/acts/multimedia/audio/audio_js_standard/audioRenderer/src/main/ets/test/
DAudioRenderer.test.ets139 let rlen = 0;
145 while (rlen < totalSize / 4) {
147 rlen += ss.readSync(buf);
148 console.info(`${TagFrmwkRender}:BufferAudioFramework: bytes read from file: ${rlen}`);
282 let rlen = 0;
283 while (rlen < totalSize / 4) {
285 rlen += ss.readSync(buf);
286 console.info(`${TagFrmwkRender}:BufferAudioFramework: bytes read from file: ${rlen}`);
288 if (rlen > (totalSize / 2)) {
406 let rlen = 0;
[all …]
/test/xts/acts/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/
DAudioPlaybackCapturer.test.js156 let rlen = 0;
158 while (rlen < totalSize) {
160 rlen += ss.readSync(buf);
166 console.info(`${Tag}:BufferAudioFramework: bytes read from file: ${rlen}`);