/test/xts/dcts/distributedhardware/distributedcameratest/ |
D | stream_customer.h | 57 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr; in OnBufferAvailable() local 58 consumer_->AcquireBuffer(buff, flushFence, timestamp, damage); in OnBufferAvailable() 59 if (buff != nullptr) { in OnBufferAvailable() 60 void* addr = buff->GetVirAddr(); in OnBufferAvailable() 62 int32_t size = buff->GetSize(); in OnBufferAvailable() 65 consumer_->ReleaseBuffer(buff, -1); in OnBufferAvailable()
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
D | stream_customer.cpp | 35 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr; in CamFrame() local 36 consumer_->AcquireBuffer(buff, flushFence, timestamp, damage); in CamFrame() 37 if (buff != nullptr) { in CamFrame() 38 void* addr = buff->GetVirAddr(); in CamFrame() 39 int32_t size = buff->GetSize(); in CamFrame() 43 consumer_->ReleaseBuffer(buff, -1); in CamFrame()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
D | malloc1ndk.cpp | 69 void *buff = (void *)memalign(align - 1, 128); in Memalign() local 70 if (!buff) { in Memalign() 73 size_t size = malloc_usable_size(buff); in Memalign() 77 free(buff); in Memalign() 78 buff = nullptr; in Memalign()
|
D | mallocndk.cpp | 78 void *buff = (void *)memalign(align, PARAM_8 * align); in Memalign() local 79 if (buff != nullptr) { in Memalign() 84 free(buff); in Memalign() 87 buff = nullptr; in Memalign()
|
D | pollndk.cpp | 89 char buff; in PollChk() local 90 while (read(fd[0], &buff, PARAM_1) > PARAM_0) in PollChk() 118 char buff; in PpollChk() local 119 while (read(fd[0], &buff, PARAM_1) > PARAM_0) in PpollChk()
|
D | resolvndk.cpp | 165 unsigned char buff[MAXDNAME_A] = {0}; in Dn_expand() local 166 unsigned char *bufPtr = buff; in Dn_expand() 170 const unsigned char *eomorig = buff + MAXDNAME_A; in Dn_expand() 171 backParam = dn_expand(buff, eomorig, buff, expandDn, MAXDNAME_A); in Dn_expand()
|
D | regexndk.cpp | 50 char buff[10] = "1"; in Regexec() local 57 int regExecValue = regexec(&r, buff, nMatch, pMatch, PARAM_0); in Regexec()
|
/test/xts/device_attest/services/core/attest/ |
D | attest_service_device.c | 180 char* buff = (char *)ATTEST_MEM_MALLOC(RAND_UUID_LEN + 1); in GetRandomUuid() local 181 if (buff == NULL) { in GetRandomUuid() 186 char* index = buff; in GetRandomUuid() 191 int32_t curLen = sprintf_s(index, (RAND_UUID_LEN + 1 - (index - buff)), "%04x", randomNum); in GetRandomUuid() 193 ATTEST_MEM_FREE(buff); in GetRandomUuid() 209 return buff; in GetRandomUuid() 249 static int32_t EncodePcid(char *buff, int32_t bufLen, char **output) in EncodePcid() argument 251 if (output == NULL || buff == NULL || bufLen == 0) { in EncodePcid() 262 int32_t ret = Sha256Value((const uint8_t *)buff, bufLen, pcidSha256, PCID_STRING_LEN + 1); in EncodePcid()
|
D | attest_service_auth.c | 425 char* buff = (char *)ATTEST_MEM_MALLOC(buffSize); in GetAuthStatus() local 426 if (buff == NULL) { in GetAuthStatus() 431 if (AttestReadAuthStatus(buff, fileSize) != 0) { in GetAuthStatus() 432 ATTEST_MEM_FREE(buff); in GetAuthStatus() 436 *authStatus = buff; in GetAuthStatus()
|
/test/xts/acts/kernel_lite/time_posix/src/ |
D | TimeUtilsTest.cpp | 312 wchar_t buff[48] = {0}; variable 315 size_t len = wcsftime(buff, sizeof(buff) - 1, L"%A %c", localTime); 316 LOG("buff = %ls, len = %ld\n", buff, (long)len); 318 EXPECT_STREQ(buff, L"Thursday Thu Jan 1 05:14:40 1970") << "buff return error!"; 322 len = wcsftime(buff, sizeof(buff) - 1, L"%A %c", localTime); 323 LOG("buff = %ls, len = %ld\n", buff, (long)len); 325 EXPECT_STREQ(buff, L"Thursday Thu Jan 1 05:14:40 1970") << "buff return error!";
|
/test/xts/device_attest_lite/services/core/attest/ |
D | attest_service_device.c | 178 char* buff = (char *)ATTEST_MEM_MALLOC(RAND_UUID_LEN + 1); in GetRandomUuid() local 179 if (buff == NULL) { in GetRandomUuid() 184 char* index = buff; in GetRandomUuid() 189 int32_t curLen = sprintf_s(index, (RAND_UUID_LEN + 1 - (index - buff)), "%04x", randomNum); in GetRandomUuid() 191 ATTEST_MEM_FREE(buff); in GetRandomUuid() 207 return buff; in GetRandomUuid()
|
D | attest_service_auth.c | 445 char* buff = (char *)ATTEST_MEM_MALLOC(buffSize); in GetAuthStatus() local 446 if (buff == NULL) { in GetAuthStatus() 451 if (AttestReadAuthStatus(buff, fileSize) != 0) { in GetAuthStatus() 452 ATTEST_MEM_FREE(buff); in GetAuthStatus() 456 *authStatus = buff; in GetAuthStatus()
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | LiteIPCClientTest.cpp | 131 char *buff = (char*)"test xxxx"; variable 132 WriteString(&request, buff); 174 char *buff = (char*)"test xxxx"; variable 175 WriteString(&request, buff); 198 char *buff = (char*)"test xxxx"; variable 199 WriteString(&request, buff);
|
/test/xts/device_attest_lite/services/core/small/attest/ |
D | attest_service_pcid.c | 56 static int32_t EncodePcid(char *buff, int32_t bufLen, char **output) in EncodePcid() argument 58 if (output == NULL || buff == NULL || bufLen == 0) { in EncodePcid() 69 int32_t ret = Sha256Value((const uint8_t *)buff, bufLen, pcidSha256, PCID_STRING_LEN + 1); in EncodePcid()
|
/test/testfwk/developer_test/aw/cxx/distributed/ |
D | distributed_agent.cpp | 126 char buff[MAX_BUFF_LEN] = {0}; in DoCmdServer() local 155 ret = memset_s(buff, sizeof(buff), 0, MAX_BUFF_LEN); in DoCmdServer() 160 int recvCmdLen = recv(clientSockFd_, buff, DST_COMMAND_HEAD_LEN, 0); in DoCmdServer() 169 auto pcline = reinterpret_cast<DistributedMsg *>(buff); in DoCmdServer()
|
/test/xts/acts/arkui/ace_ets_web_enhanced_stress/ace_ets_web_enhanced_stress_two/entry/src/main/ets/MainAbility/pages/ |
D | WebViewControllerSetConnectionTimeoutTest.ets | 26 let buff = new Uint8Array(buf); 29 buff[i] = str.charCodeAt(i);
|
D | WebViewControllerPostUrlTest.ets | 27 let buff = new Uint8Array(buf); 30 buff[i] = str.charCodeAt(i);
|
/test/xts/acts/arkui/ace_ets_web_error_code/entry/src/main/ets/MainAbility/pages/ |
D | WebViewControllerPostUrlErrorCode.ets | 26 let buff = new Uint8Array(buf); 29 buff[i] = str.charCodeAt(i);
|
/test/xts/acts/commonlibrary/ets_utils/util2_lib_standard/src/main/js/test/ |
D | util.test.js | 5337 var buff = 'czEz'; 5339 var result = that.decodeSync(buff); 5356 var buff = 'QmFzZTY0IE5vZGUuanM='; 5358 var result = that.decodeSync(buff); 5375 var buff = 'QmFzZTY0IEVuY29kaW5nIGluIE5vZGUuanM='; 5378 var result = that.decodeSync(buff); 5395 var buff = 'qK6b/w=='; 5397 var result = that.decodeSync(buff); 5414 var buff = 'QmFzZTY0'; 5416 var result = that.decodeSync(buff); [all …]
|
/test/xts/device_attest_lite/services/core/include/network/ |
D | attest_coap.h | 105 char* buff, uint32_t* len);
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_three/entry/src/main/ets/MainAbility/pages/ |
D | WebViewControllerSetConnectionTimeoutTest.ets | 27 let buff = new Uint8Array(buf); 30 buff[i] = str.charCodeAt(i);
|
D | WebViewControllerPostUrlTest.ets | 26 let buff = new Uint8Array(buf); 29 buff[i] = str.charCodeAt(i);
|
/test/xts/acts/validator/acts_validator/src/main/ets/pages/Player/ |
D | PlayAudioList.ets | 82 let buff = new ArrayBuffer(40960); 83 fs.readSync(opt.fd, buff); 84 let ColorBack = String.fromCharCode.apply(null, new Uint8Array(buff));
|
D | PlayVideoList.ets | 82 let buff = new ArrayBuffer(40960); 83 fs.readSync(opt.fd, buff); 84 let ColorBack = String.fromCharCode.apply(null, new Uint8Array(buff));
|
D | PlayNetWorkList.ets | 92 let buff = new ArrayBuffer(40960); 93 fs.readSync(opt.fd, buff); 94 let ColorBack = String.fromCharCode.apply(null, new Uint8Array(buff));
|