Home
last modified time | relevance | path

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

/test/testfwk/developer_test/src/core/config/
Dresource_manager.py141 dst = push_value[pos + len(find_key):len(push_value)].strip()
145 dst = dst.rstrip("/") + "/" + dir_name
146 device.execute_shell_command("mkdir -p %s" % dst)
147 device.push_file(src, dst)
149 os.path.join(dst, os.path.basename(src))))
155 dst = push_value[pos + len(find_key):len(push_value)].strip()
156 device.pull_file(src, dst)
175 dst = copy_value[pos + len(find_key):len(copy_value)].strip()
176 shutil.copy(src, dst)
183 dst = copy_value[pos + len(find_key):len(copy_value)].strip()
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py140 src, dst = files[0].strip(), files[1].strip()
141 if not dst.startswith("/"):
142 dst = Props.dest_root + dst
145 src, dst))
150 device.push_file(real_src_path, dst)
151 LOG.debug("Push file finished from {} to {}".format(src, dst))
237 dst = None
244 src, dst = files[0].strip(), files[1].strip()
245 if not dst.startswith("/"):
246 dst = Props.dest_root + dst
[all …]
/test/xts/device_attest_lite/services/core/mini/adapter/
Dattest_adapter_network_config.c31 static int32_t CopyNVData(char *dst, int32_t dstLen, unsigned char *src, int32_t srcLen) in CopyNVData() argument
33 if (dst == NULL || src == NULL) { in CopyNVData()
39 dst[i] = (char)src[i]; in CopyNVData()
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py111 dst = push_value[pos + len(find_key):len(push_value)].strip()
113 device.execute_shell_command("mkdir -p %s" % dst)
114 device.push_file(src, dst)
121 dst = push_value[pos + len(find_key):len(push_value)].strip()
123 device.pull_file(src, dst)
/test/xts/hats/hdf/display/composer/common/
Dhdi_test_render_utils.cpp22 void SetUint32(uint32_t& dst, uint32_t value) in SetUint32() argument
24 uint8_t* data = reinterpret_cast<uint8_t *>(&dst); in SetUint32()
Ddisplay_test_utils.cpp120 uint32_t dst; in GetUint32() local
121 uint8_t *data = reinterpret_cast<uint8_t *>(&dst); in GetUint32()
125 return dst; in GetUint32()
157 void SetUint32(uint32_t &dst, uint32_t value) in SetUint32() argument
159 uint8_t *data = reinterpret_cast<uint8_t *>(&dst); in SetUint32()
Dhdi_test_render_utils.h24 void SetUint32(uint32_t& dst, uint32_t value);
Ddisplay_test_utils.h82 void SetUint32(uint32_t& dst, uint32_t value);
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Duiondk.cpp178 char dst[256] = ""; in ProcessVmReadV() local
183 local.iov_base = dst; in ProcessVmReadV()
200 char dst[256] = ""; in ProcessVmWriteV() local
202 struct iovec remote = {.iov_base = dst, .iov_len = sizeof(dst)}; in ProcessVmWriteV()
Dwcharndk1.cpp323 wchar_t dst[TEST_BUFFER_SIZE]; in Mbstowcs_One() local
324 memset(dst, ZERO, sizeof(wchar_t) * TEST_BUFFER_SIZE); in Mbstowcs_One()
325 size_t ret = mbstowcs(dst, src, strlen(src)); in Mbstowcs_One()
440 wchar_t dst[PARAM_14] = {PARAM_0}; in Wcpcpy_One() local
441 wcpcpy(dst, src); in Wcpcpy_One()
443 napi_create_int32(env, wcscmp(src, dst) == ERRON_0, &result); in Wcpcpy_One()
450 wchar_t dst[PARAM_18] = {PARAM_0}; in Wcpncpy_One() local
452 wcpncpy(dst, src, src_len + PARAM_1); in Wcpncpy_One()
454 napi_create_int32(env, wcscmp(src, dst) == ERRON_0, &result); in Wcpncpy_One()
662 wchar_t dst[PARAM_32] = {PARAM_0}; in Wcsncat_One() local
[all …]
Dstringndk.cpp863 char dst[50] = "ABCD"; in StrncatChk() local
865 size_t src_len = strlen(src) + strlen(dst); in StrncatChk()
867 char *resultValue = __strncat_chk(dst, src, src_len, PARAM_50); in StrncatChk()
890 char dst[SIZE_15]; in MemcpyChk() local
892 __memcpy_chk(dst, STRLEN_10, SIZE_10, SIZE_15); in MemcpyChk()
893 if (dst[0] == EQ_0) { in MemcpyChk()
Dwcharndk.cpp511 wchar_t dst[ARRY_MAX]; in Mbstowcs() local
512 memset(dst, PARAM_0x0, sizeof(wchar_t) * ARRY_MAX); in Mbstowcs()
513 size_t ret = mbstowcs(dst, src, strlen(src)); in Mbstowcs()
/test/xts/acts/security_lite/huks/liteos_m_adapter/
Dhks_mac_test.c50 static int32_t BufferToAscii(uint8_t* src, uint32_t src_size, char* dst, uint32_t* dst_size) in BufferToAscii() argument
58 dst[2 * i] = IntToAscii(src[i] >> 4);/* take 4 high-order digits*/ in BufferToAscii()
59 dst[2 * i + 1] = IntToAscii(src[i] & 0b00001111); /*take 4 low-order digits*/ in BufferToAscii()
62 dst[ascii_len - 1] = '\0'; in BufferToAscii()
/test/xts/acts/ai/mindspore/mindsporectest/src/
Dohos_common.cpp413 void PackNCHWToNHWCFp32(const char *src, char *dst, int batch, int plane, int channel) { in PackNCHWToNHWCFp32() argument
419 dst[nhwc_index * 4] = src[nchw_index * 4]; in PackNCHWToNHWCFp32()
420 dst[nhwc_index * 4 + 1] = src[nchw_index * 4 + 1]; in PackNCHWToNHWCFp32()
421 dst[nhwc_index * 4 + 2] = src[nchw_index * 4 + 2]; in PackNCHWToNHWCFp32()
422 dst[nhwc_index * 4 + 3] = src[nchw_index * 4 + 3]; in PackNCHWToNHWCFp32()
Dohos_common.h53 void PackNCHWToNHWCFp32(const char *src, char *dst, int batch, int plane, int channel);
/test/testfwk/xdevice/src/xdevice/_core/
Dconstants.py64 dst = "distributedtest" variable in TestType
88 "DST": TestType.dst,
Dutils.py797 def copy_folder(src, dst): argument
801 if not os.path.exists(dst):
802 os.makedirs(dst)
805 to_path = os.path.join(dst, filename)
/test/xts/hats/hdf/hdf_lite/display/
Dloadbmp_test.c186 uint16_t *dst = NULL; in LoadRgbData() local
195 dst = (uint16_t*)(videoLogo->picBuffer + i * videoLogo->stride + j * TWO_OFFSET); in LoadRgbData()
199 *dst = OsdMakeColorU16(c.r, c.g, c.b, g_osdCompInfo[enFmt]); in LoadRgbData()
/test/xts/acts/kernel_lite/mem_posix/src/
DMemApiTest.cpp643 char dst[1024]; variable
651 memcpy(dst, src, len);
654 if (dst[i] != src[i]) {
659 ASSERT_TRUE(failure == 0) << "dst[i] != src[i], dst[i] = " << dst[i] << " src[i] = " << src[i];
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
Dnnrt_utils.cpp364 std::ofstream dst(dstPath, std::ios::binary); in CopyFile() local
366 dst << src.rdbuf(); in CopyFile()
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
Dnnrt_utils.cpp364 std::ofstream dst(dstPath, std::ios::binary); in CopyFile() local
366 dst << src.rdbuf(); in CopyFile()
/test/xts/acts/ai/nncore/common/
Dnncore_utils.cpp400 std::ofstream dst(dstPath, std::ios::binary); in CopyFile() local
402 dst << src.rdbuf(); in CopyFile()
/test/xts/acts/graphic/webGL/src/main/js/test/
DWebGL1.common.js2267 let dst = gl.getParameter(gl.BLEND_DST_RGB);
2278 gl.blendFunc(src, dst);
2300 let dst = gl.getParameter(gl.BLEND_DST_RGB);
2311 gl.blendFunc(src, dst);
2335 let dst = gl.getParameter(gl.BLEND_DST_RGB);
2348 gl.blendFuncSeparate(src, dst, srcAlpha, dstAlpha);
2373 let dst = gl.getParameter(gl.BLEND_DST_RGB);
2388 gl.blendFuncSeparate(src, dst, srcAlpha, dstAlpha);
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Ddrivers.py965 dst = None
967 test_list, dst = kit.__setup__(request.config.device,
970 self.config.device.connector_command("shell chmod -R 777 {}".format(dst))
Dopenharmony.py1092 def _do_check(soruce, dst, dst_less_sor=True): argument
1094 re.match(r'^\d{1,3}.\d{1,3}.\d{1,3}', dst):
1096 dst_vers = dst.split(".")