Searched refs:strDir (Results 1 - 3 of 3) sorted by relevance
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_function.cpp | 409 char strDir[DIR_MAX_LEN] = {0}; in CreateDirs() local 410 if (strncpy_s(strDir, sizeof(strDir), dirs, strlen(dirs)) != EOK) { in CreateDirs() 414 if (strDir[nSrcLen - 1] != '/') { in CreateDirs() 419 if (strcat_s(strDir, sizeof(strDir), "/") != EOK) { in CreateDirs() 420 DHCP_LOGE("CreateDirs() strcat_s strDir:%{public}s failed!", strDir); in CreateDirs() 426 int i = (strDir[0] == '/') ? 1 : 0; in CreateDirs() 428 if (strDir[ in CreateDirs() [all...] |
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_function.cpp | 648 char strDir[DIR_MAX_LEN] = {0}; in CreateDirs() local 649 if (strncpy_s(strDir, sizeof(strDir), dirs.c_str(), dirs.size()) != EOK) { in CreateDirs() 653 if (strDir[nSrcLen - 1] != '/') { in CreateDirs() 658 if (strcat_s(strDir, sizeof(strDir), "/") != EOK) { in CreateDirs() 659 DHCP_LOGE("CreateDirs() strcat_s strDir:%{public}s failed!", strDir); in CreateDirs() 665 int i = (strDir[0] == '/') ? 1 : 0; in CreateDirs() 667 if (strDir[ in CreateDirs() [all...] |
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_function_test.cpp | 259 std::string strDir; in HWTEST_F() local 260 EXPECT_EQ(DhcpFunction::CreateDirs(strDir), DHCP_OPT_FAILED); in HWTEST_F()
|
Completed in 4 milliseconds