Home
last modified time | relevance | path

Searched refs:cli (Results 1 – 3 of 3) sorted by relevance

/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py314 cli = None
317 cli = requests.get(url, timeout=5, verify=False)
318 if cli.status_code == 200:
321 for chunk in cli.iter_content(chunk_size=1024 * 4):
327 if cli is not None:
328 cli.close()
345 cli = None
355 cli = requests.post(query_url, json=params, timeout=5, verify=False)
356 rsp_code = cli.status_code
357 rsp_body = cli.content.decode()
[all …]
/test/xts/acts/communication_lite/lwip_posix/src/
DActsLwipTest.cpp508 pthread_t cli; variable
515 ret = pthread_create(&cli, nullptr, SampleTcpClientTask, nullptr);
518 ret = pthread_join(cli, nullptr);
/test/xts/acts/kernel_lite/net_posix/src/
DActsNetTest.cpp694 pthread_t cli; variable
701 ret = pthread_create(&cli, nullptr, SampleTcpClientTask, nullptr);
704 ret = pthread_join(cli, nullptr);