/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/xts/device_attest_lite/services/core/network/ |
D | attest_coap.c | 484 … int32_t CoapParseOptionExtension(uint16_t* value, const uint8_t** p, uint8_t* hlen, size_t bufLen) in CoapParseOptionExtension() argument 492 if (bufLen < *hlen) { in CoapParseOptionExtension() 503 if (bufLen < *hlen) { in CoapParseOptionExtension() 525 …2_t CoapParseOption(CoapOption* option, uint16_t* runningDelta, const uint8_t** buf, size_t bufLen) in CoapParseOption() argument 536 if (bufLen < headLen) { in CoapParseOption() 543 if ((ret = CoapParseOptionExtension(&delta, &p, &headLen, bufLen)) != 0) { in CoapParseOption() 547 if ((ret = CoapParseOptionExtension(&len, &p, &headLen, bufLen)) != 0) { in CoapParseOption() 551 if ((p + 1 + len) > (*buf + bufLen)) { in CoapParseOption() 611 int32_t CoapDecode(CoapPacket* pkt, const uint8_t* buf, size_t bufLen) in CoapDecode() argument 614 if (pkt == NULL || buf == NULL || bufLen > MAX_MESSAGE_LEN) { in CoapDecode() [all …]
|
/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/ |
D | hap_resource_test.cpp | 262 size_t bufLen; in LoadFromHap() local 264 &buf, bufLen, errOut); in LoadFromHap() 269 HILOG_DEBUG("extract success, bufLen:%zu", bufLen); in LoadFromHap() 272 out = HapParser::ParseResHex((char *)buf, bufLen, *resDesc, defaultConfig); in LoadFromHap()
|
/test/xts/dcts/communication/softbus_standard/transmission/sendstream/ |
D | trans_stream_test.cpp | 78 .bufLen = data.length() + 1, 123 .bufLen = data.length() + 1,
|
/test/xts/acts/kernel_lite/ipc_posix/signal/ |
D | SignalTestUtils.cpp | 178 const int bufLen = 64; in CheckSigString() local 179 char buffer[bufLen]; in CheckSigString() 182 size_t bytes = fread(buffer, 1, bufLen, fp); in CheckSigString()
|
/test/xts/device_attest/services/core/attest/ |
D | attest_service_device.c | 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()
|
/test/xts/device_attest_lite/services/core/include/network/ |
D | attest_coap.h | 107 int32_t CoapDecode(CoapPacket* pkt, const uint8_t* buf, size_t bufLen);
|
/test/testfwk/arkxtest/uitest/napi/ |
D | uitest_napi.cpp | 570 …C" __attribute__((visibility("default"))) void NAPI_UiTest_GetJSCode(const char **buf, int *bufLen) in NAPI_UiTest_GetJSCode() argument 575 if (bufLen != nullptr) { in NAPI_UiTest_GetJSCode() 576 *bufLen = _binary_uitest_exporter_js_end - _binary_uitest_exporter_js_start; in NAPI_UiTest_GetJSCode() 580 …" __attribute__((visibility("default"))) void NAPI_UiTest_GetABCCode(const char **buf, int *bufLen) in NAPI_UiTest_GetABCCode() argument 585 if (bufLen != nullptr) { in NAPI_UiTest_GetABCCode() 586 *bufLen = _binary_uitest_exporter_abc_end - _binary_uitest_exporter_abc_start; in NAPI_UiTest_GetABCCode()
|
/test/xts/dcts/communication/softbus_standard/transmission/sessionmgt/ |
D | trans_session_func_test.cpp | 406 .bufLen = data.length() + 1, 454 .bufLen = data.length() + 1, 502 .bufLen = data.length() + 1,
|
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/module_fileio/members/ |
D | read.test.js | 60 let bufLen = 5; 61 expect(FILE_CONTENT.length > bufLen).assertTrue(); 68 let len = fileio.readSync(fd, new ArrayBuffer(bufLen), { 71 expect(len == bufLen - 1).assertTrue();
|
/test/xts/hats/hdf/wlan/hdi_service/ |
D | wlan_hdi_hal_services_c_test.cpp | 815 param.bufLen = sizeof(data); 837 param.bufLen = sizeof(data); 859 param.bufLen = sizeof(data); 881 param.bufLen = sizeof(data); 903 param.bufLen = sizeof(data);
|
/test/xts/hats/hdf/wlan/wifi/hal/ |
D | wifi_hal_test.cpp | 2650 param->bufLen = 1; 2675 param->bufLen = 1; 2700 param->bufLen = 1; 2725 param->bufLen = 1; 2752 param->bufLen = 1; 2782 param->bufLen = 1; 2807 param->bufLen = 1; 2832 param->bufLen = 1; 2857 param->bufLen = 1; 2883 param->bufLen = 1;
|
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/ |
D | FileIO.test.js | 1611 let bufLen = 5 1612 expect(FILE_CONTENT.length > bufLen).assertTrue(); 1617 let len = fileio.readSync(fd, new ArrayBuffer(bufLen), { 1620 expect(len == bufLen - 1).assertTrue();
|
/test/xts/device_attest/services/core/network/ |
D | attest_network.c | 327 int32_t bufLen = HTTPS_NETWORK_BUFFER_LEN; in InitSocketClient() local 351 if (setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, (const char *)&bufLen, 4) < 0) { in InitSocketClient()
|
/test/xts/dcts/communication/softbus_standard/dsoftbusTest/ |
D | dsoftbusTest.cpp | 148 LOG("[cb][stream]Rec sid:%d, data= %.*s.\n", sessionId, data->bufLen, data->buf); in StreamReceived()
|
/test/xts/dcts/communication/softbus_standard/common/ |
D | net_trans_common.c | 607 LOG("[cb][stream]ByteRec sessionId:%d, data= %.*s.\n", sessionId, data->bufLen, data->buf); in StreamReceived()
|
/test/xts/hats/hdf/wlan/wlanBenchmarkTest/ |
D | hdf_wifi_benchmark_test.cpp | 890 param->bufLen = 1; in BENCHMARK_F()
|