Searched refs:argvs (Results 1 – 5 of 5) sorted by relevance
977 static char argvs[MAXARGLEN]; in makeargv() local982 if (strlen(arg) > sizeof(argvs) - 1) { in makeargv()997 argvs[j++] = '\0'; in makeargv()1001 argvs[j++] = arg[i]; in makeargv()1005 argv[argc] = argvs + j; in makeargv()1014 argvs[j++] = arg[i]; in makeargv()1022 argvs[j++] = arg[i]; in makeargv()1031 if (j >= sizeof(argvs) - 5) in makeargv()1033 argvs[j++] = '\\'; in makeargv()1034 argvs[j++] = arg[i++]; in makeargv()[all …]
683 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument684 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()686 g_injected_test_argvs = argvs; in SetInjectableArgvs()
1432 static vector<string> argvs; variable1453 argvs.push_back(argv[i]); in SetArgv()1463 const vector<string>& GetArgvs() { return argvs; } in GetArgvs()1892 const vector<string>& argvs = GetArgvs(); in ReparseCommandLineNonHelpFlags() local1893 int tmp_argc = static_cast<int>(argvs.size()); in ReparseCommandLineNonHelpFlags()1896 tmp_argv[i] = strdup(argvs[i].c_str()); // TODO(csilvers): don't dup in ReparseCommandLineNonHelpFlags()
1441 static vector<string> argvs; variable1462 argvs.push_back(argv[i]); in SetArgv()1472 const vector<string>& GetArgvs() { return argvs; } in GetArgvs()1901 const vector<string>& argvs = GetArgvs(); in ReparseCommandLineNonHelpFlags() local1902 int tmp_argc = static_cast<int>(argvs.size()); in ReparseCommandLineNonHelpFlags()1905 tmp_argv[i] = strdup(argvs[i].c_str()); // TODO(csilvers): don't dup in ReparseCommandLineNonHelpFlags()
8893 void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { in SetInjectableArgvs() argument8894 if (g_injected_test_argvs != argvs) in SetInjectableArgvs()8896 g_injected_test_argvs = argvs; in SetInjectableArgvs()