Home
last modified time | relevance | path

Searched refs:hostName (Results 1 - 7 of 7) sorted by relevance

/test/xts/hats/kernel/syscalls/fileio/sethostname/
H A DSetHostNameApiTest.cpp44 char hostName[HOST_NAME_MAX_LEN] = { 0 }; member in SetHostNameApiTest
48 (void)gethostname(hostName, sizeof(hostName)); in SetUp()
52 (void)sethostname(hostName, sizeof(hostName)); in TearDown()
/test/xts/device_attest_lite/services/core/network/
H A Dattest_network.c180 memcpy_s(session->serverInfo.hostName, MAX_HOST_NAME_LEN, networkInfo->hostName, in CustomConfig()
181 strlen(networkInfo->hostName)) != 0 || in CustomConfig()
743 if (BuildOption(optionList, COAP_OPT_URI_HOST, sizeof(session->serverInfo.hostName), in TransOptions()
744 session->serverInfo.hostName) != 0) { in TransOptions()
1010 networkServerInfo->hostName, MAX_HOST_NAME_LEN, in SplitNetworkInfoSymbol()
1015 networkServerInfo->hostName, networkServerInfo->port); in SplitNetworkInfoSymbol()
1158 static int32_t MergeDomain(char* hostName, char* port, char** resultDomain) in MergeDomain() argument
1160 if (hostName == NULL || port == NULL || resultDomain == NULL) { in MergeDomain()
1167 int newDomainSize = strlen(hostName) in MergeDomain()
[all...]
H A Dattest_channel.c190 ret = mbedtls_ssl_set_hostname(&(tlsConfig->sslCtx), session->serverInfo.hostName); in TLSSetupConfig()
226 session->serverInfo.hostName, session->serverInfo.port, MBEDTLS_NET_PROTO_TCP); in TLSConnect()
/test/xts/device_attest/services/core/network/
H A Dattest_network.c233 msgHttpPack->reqHost = serverInfo->hostName; in BuildSocketInfo()
280 if (getaddrinfo(serverInfo->hostName, serverInfo->port, &hints, &returnAddr) != ATTEST_OK) { in InitAddrInfo()
1129 networkServerInfo->hostName, MAX_HOST_NAME_LEN, in SplitNetworkInfoSymbol()
1134 networkServerInfo->hostName, networkServerInfo->port); in SplitNetworkInfoSymbol()
1269 static int32_t MergeDomain(char* hostName, char* port, char** resultDomain) in MergeDomain() argument
1271 if (hostName == NULL || port == NULL || resultDomain == NULL) { in MergeDomain()
1278 if ((strlen(hostName) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in MergeDomain()
1281 (strlen(hostName) + strlen(port) + strlen(CONNECTOR)) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in MergeDomain()
1284 int newDomainSize = strlen(hostName) + strlen(port) + strlen(CONNECTOR) + 1; in MergeDomain()
1291 if (strcat_s(newDomain, newDomainSize, hostName) ! in MergeDomain()
[all...]
/test/xts/device_attest_lite/services/core/include/network/
H A Dattest_channel.h50 char hostName[MAX_HOST_NAME_LEN + 1]; member
/test/xts/device_attest/services/core/include/network/
H A Dattest_network.h78 char hostName[MAX_HOST_NAME_LEN + 1]; member
/test/xts/device_attest_lite/test/tdd/gtest/src/
H A Dattest_tdd_test.cpp111 EXPECT_STREQ(serverInfo->hostName, ATTEST_MOCK_HAL_NETWORK_RESULT); in HWTEST_F()

Completed in 6 milliseconds