Home
last modified time | relevance | path

Searched refs:Redirects (Results 1 – 25 of 42) sorted by relevance

12

/external/clang/lib/Driver/
DCompilation.cpp28 Args(_Args), TranslatedArgs(_TranslatedArgs), Redirects(nullptr), in Compilation()
47 if (Redirects) { in ~Compilation()
48 delete Redirects[0]; in ~Compilation()
49 delete Redirects[1]; in ~Compilation()
50 delete Redirects[2]; in ~Compilation()
51 delete [] Redirects; in ~Compilation()
158 int Res = C.Execute(Redirects, &Error, &ExecutionFailed); in ExecuteCommand()
208 Redirects = new const StringRef*[3](); in initCompilationForDiagnostics()
209 Redirects[0] = nullptr; in initCompilationForDiagnostics()
210 Redirects[1] = new StringRef(); in initCompilationForDiagnostics()
[all …]
DJob.cpp231 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg, in Execute() argument
241 Redirects, /*secondsToWait*/ 0, in Execute()
268 Redirects, /*secondsToWait*/ 0, in Execute()
294 int FallbackCommand::Execute(const StringRef **Redirects, std::string *ErrMsg, in Execute() argument
296 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
309 int SecondaryStatus = Fallback->Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
326 int ForceSuccessCommand::Execute(const StringRef **Redirects, in Execute() argument
329 int Status = Command::Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DProgram.cpp27 ArrayRef<Optional<StringRef>> Redirects,
32 ArrayRef<Optional<StringRef>> Redirects, in ExecuteAndWait() argument
35 assert(Redirects.empty() || Redirects.size() == 3); in ExecuteAndWait()
37 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) { in ExecuteAndWait()
53 ArrayRef<Optional<StringRef>> Redirects, in ExecuteNoWait() argument
56 assert(Redirects.empty() || Redirects.size() == 3); in ExecuteNoWait()
60 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) in ExecuteNoWait()
DSignals.cpp158 Optional<StringRef> Redirects[] = {StringRef(InputFile), in printSymbolizedStackTrace() local
169 sys::ExecuteAndWait(LLVMSymbolizerPath, Args, None, Redirects); in printSymbolizedStackTrace()
/external/llvm-project/llvm/lib/Support/
DProgram.cpp28 ArrayRef<Optional<StringRef>> Redirects,
33 ArrayRef<Optional<StringRef>> Redirects, in ExecuteAndWait() argument
37 assert(Redirects.empty() || Redirects.size() == 3); in ExecuteAndWait()
39 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) { in ExecuteAndWait()
56 ArrayRef<Optional<StringRef>> Redirects, in ExecuteNoWait() argument
59 assert(Redirects.empty() || Redirects.size() == 3); in ExecuteNoWait()
63 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) in ExecuteNoWait()
DSignals.cpp163 Optional<StringRef> Redirects[] = {StringRef(InputFile), in printSymbolizedStackTrace() local
174 sys::ExecuteAndWait(LLVMSymbolizerPath, Args, None, Redirects); in printSymbolizedStackTrace()
/external/llvm-project/libc/test/utils/tools/WrapperGen/
Dwrappergen_test.cpp70 llvm::Optional<llvm::StringRef> Redirects[] = { in TEST_F() local
78 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
88 llvm::Optional<llvm::StringRef> Redirects[] = { in TEST_F() local
96 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
119 llvm::Optional<llvm::StringRef> Redirects[] = { in TEST_F() local
132 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
160 llvm::Optional<llvm::StringRef> Redirects[] = { in TEST_F() local
175 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
192 llvm::Optional<llvm::StringRef> Redirects[] = { in TEST_F() local
202 llvm::sys::ExecuteAndWait(ProgPath, ArgV, llvm::None, Redirects); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DProgram.inc178 ArrayRef<Optional<StringRef>> Redirects,
211 if (!Redirects.empty()) {
212 assert(Redirects.size() == 3);
215 if (Redirects[I]) {
216 RedirectsStorage[I] = *Redirects[I];
228 if (!Redirects[1] || !Redirects[2] || *Redirects[1] != *Redirects[2]) {
283 if (!Redirects.empty()) {
285 if (RedirectIO(Redirects[0], 0, ErrMsg)) { return false; }
287 if (RedirectIO(Redirects[1], 1, ErrMsg)) { return false; }
288 if (Redirects[1] && Redirects[2] && *Redirects[1] == *Redirects[2]) {
[all …]
/external/llvm-project/llvm/lib/Support/Unix/
DProgram.inc176 ArrayRef<Optional<StringRef>> Redirects,
209 if (!Redirects.empty()) {
210 assert(Redirects.size() == 3);
213 if (Redirects[I]) {
214 RedirectsStorage[I] = std::string(*Redirects[I]);
226 if (!Redirects[1] || !Redirects[2] || *Redirects[1] != *Redirects[2]) {
281 if (!Redirects.empty()) {
283 if (RedirectIO(Redirects[0], 0, ErrMsg)) { return false; }
285 if (RedirectIO(Redirects[1], 1, ErrMsg)) { return false; }
286 if (Redirects[1] && Redirects[2] && *Redirects[1] == *Redirects[2]) {
[all …]
/external/llvm-project/clang/lib/Driver/
DJob.cpp311 int Command::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects, in Execute() argument
354 return llvm::sys::ExecuteAndWait(Executable, Args, Env, Redirects, in Execute()
376 int CC1Command::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects, in Execute() argument
382 return Command::Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
442 int FallbackCommand::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects, in Execute() argument
444 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
457 int SecondaryStatus = Fallback->Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
475 int ForceSuccessCommand::Execute(ArrayRef<llvm::Optional<StringRef>> Redirects, in Execute() argument
478 int Status = Command::Execute(Redirects, ErrMsg, ExecutionFailed); in Execute()
DCompilation.cpp195 int Res = C.Execute(Redirects, &Error, &ExecutionFailed); in ExecuteCommand()
294 Redirects = {None, {""}, {""}}; in initCompilationForDiagnostics()
304 void Compilation::Redirect(ArrayRef<Optional<StringRef>> Redirects) { in Redirect() argument
305 this->Redirects = Redirects; in Redirect()
/external/llvm-project/clang/include/clang/Driver/
DJob.h177 virtual int Execute(ArrayRef<Optional<StringRef>> Redirects,
238 int Execute(ArrayRef<Optional<StringRef>> Redirects, std::string *ErrMsg,
257 int Execute(ArrayRef<Optional<StringRef>> Redirects, std::string *ErrMsg,
277 int Execute(ArrayRef<Optional<StringRef>> Redirects, std::string *ErrMsg,
DCompilation.h116 std::vector<Optional<StringRef>> Redirects; variable
322 void Redirect(ArrayRef<Optional<StringRef>> Redirects);
/external/clang/include/clang/Driver/
DJob.h96 virtual int Execute(const StringRef **Redirects, std::string *ErrMsg,
134 int Execute(const StringRef **Redirects, std::string *ErrMsg,
151 int Execute(const StringRef **Redirects, std::string *ErrMsg,
DCompilation.h87 const StringRef **Redirects; variable
263 void Redirect(const StringRef** Redirects);
/external/llvm-project/llvm/tools/bugpoint/
DOptimizerDriver.cpp235 Optional<StringRef> Redirects[3] = {None, None, None}; in runPasses() local
238 Redirects[1] = ""; in runPasses()
239 Redirects[2] = ""; in runPasses()
243 int result = sys::ExecuteAndWait(Prog, Args, None, Redirects, Timeout, in runPasses()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DProgram.h98 ArrayRef<Optional<StringRef>> Redirects = {}, ///<
128 ArrayRef<Optional<StringRef>> Redirects = {},
/external/llvm-project/llvm/include/llvm/Support/
DProgram.h106 ArrayRef<Optional<StringRef>> Redirects = {}, ///<
140 ArrayRef<Optional<StringRef>> Redirects = {},
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProgram.inc172 ArrayRef<Optional<StringRef>> Redirects,
222 if (!Redirects.empty()) {
225 si.hStdInput = RedirectIO(Redirects[0], 0, ErrMsg);
230 si.hStdOutput = RedirectIO(Redirects[1], 1, ErrMsg);
236 if (Redirects[1] && Redirects[2] && *Redirects[1] == *Redirects[2]) {
249 si.hStdError = RedirectIO(Redirects[2], 2, ErrMsg);
/external/ltp/testcases/network/stress/route/
D00_Descriptions.txt15 ICMP Redirects frequently
28 ICMP Redirects frequently
/external/llvm-project/llvm/lib/Support/Windows/
DProgram.inc173 ArrayRef<Optional<StringRef>> Redirects,
229 if (!Redirects.empty()) {
232 si.hStdInput = RedirectIO(Redirects[0], 0, ErrMsg);
237 si.hStdOutput = RedirectIO(Redirects[1], 1, ErrMsg);
243 if (Redirects[1] && Redirects[2] && *Redirects[1] == *Redirects[2]) {
256 si.hStdError = RedirectIO(Redirects[2], 2, ErrMsg);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp124 const StringRef *Redirects[] = {&InputFileStr, &OutputFileStr, in printSymbolizedStackTrace() local
135 sys::ExecuteAndWait(LLVMSymbolizerPath, Args, nullptr, Redirects); in printSymbolizedStackTrace()
DProgram.cpp27 const char **env, const StringRef **Redirects,
/external/llvm/lib/Support/
DSignals.cpp124 const StringRef *Redirects[] = {&InputFileStr, &OutputFileStr, in printSymbolizedStackTrace() local
135 sys::ExecuteAndWait(LLVMSymbolizerPath, Args, nullptr, Redirects); in printSymbolizedStackTrace()
DProgram.cpp27 const char **env, const StringRef **Redirects,

12