Searched refs:MAX_ARG_SIZE (Results 1 – 2 of 2) sorted by relevance
/base/update/updater/test/unittest/updater_main_test/ |
D | updater_main_unittest.cpp | 36 constexpr uint32_t MAX_ARG_SIZE = 10; variable 86 argv[0] = new char[MAX_ARG_SIZE]; 87 EXPECT_EQ(strncpy_s(argv[0], MAX_ARG_SIZE, "./main", MAX_ARG_SIZE), 0); 135 char **argv = new char*[MAX_ARG_SIZE]; 137 EXPECT_EQ(strncpy_s(argv[0], MAX_ARG_SIZE, "./main", MAX_ARG_SIZE), 0);
|
/base/update/updater/test/unittest/service_test/ |
D | updater_service_unittest.cpp | 34 constexpr uint32_t MAX_ARG_SIZE = 24; variable 134 argv[0] = new char[MAX_ARG_SIZE]; 136 EXPECT_EQ(strncpy_s(argv[0], MAX_ARG_SIZE, str.c_str(), str.size()), 0); 177 argv[0] = new char[MAX_ARG_SIZE]; 178 EXPECT_EQ(strncpy_s(argv[0], MAX_ARG_SIZE, "./UpdaterMain", MAX_ARG_SIZE), 0); 204 argv[0] = new char[MAX_ARG_SIZE]; 205 EXPECT_EQ(strncpy_s(argv[0], MAX_ARG_SIZE, "./UpdaterMain", MAX_ARG_SIZE), 0);
|