Home
last modified time | relevance | path

Searched refs:WaitResult (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Support/Unix/
DProgram.inc347 ProcessInfo WaitResult;
350 WaitResult.Pid = waitpid(ChildPid, &status, WaitPidOptions);
351 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
353 if (WaitResult.Pid != PI.Pid) {
354 if (WaitResult.Pid == 0) {
356 return WaitResult;
372 WaitResult.ReturnCode = -2; // Timeout detected
373 return WaitResult;
376 WaitResult.ReturnCode = -1;
377 return WaitResult;
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProgram.inc347 ProcessInfo WaitResult;
350 WaitResult.Pid = waitpid(ChildPid, &status, WaitPidOptions);
351 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
353 if (WaitResult.Pid != PI.Pid) {
354 if (WaitResult.Pid == 0) {
356 return WaitResult;
372 WaitResult.ReturnCode = -2; // Timeout detected
373 return WaitResult;
376 WaitResult.ReturnCode = -1;
377 return WaitResult;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DProgram.inc358 ProcessInfo WaitResult;
361 WaitResult.Pid = waitpid(ChildPid, &status, WaitPidOptions);
362 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
364 if (WaitResult.Pid != PI.Pid) {
365 if (WaitResult.Pid == 0) {
367 return WaitResult;
383 WaitResult.ReturnCode = -2; // Timeout detected
384 return WaitResult;
387 WaitResult.ReturnCode = -1;
388 return WaitResult;
[all …]
/external/llvm-project/llvm/lib/Support/Unix/
DProgram.inc402 ProcessInfo WaitResult;
408 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
409 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
411 if (WaitResult.Pid != PI.Pid) {
412 if (WaitResult.Pid == 0) {
414 return WaitResult;
432 WaitResult.ReturnCode = -2; // Timeout detected
433 return WaitResult;
436 WaitResult.ReturnCode = -1;
437 return WaitResult;
[all …]
/external/llvm-project/llvm/unittests/Support/
DProgramTest.cpp222 ProcessInfo WaitResult = llvm::sys::Wait(PI1, 0, true, &Error); in TEST_F() local
224 if (WaitResult.Pid == PI1.Pid) in TEST_F()
239 ProcessInfo WaitResult = llvm::sys::Wait(PI2, 0, false, &Error); in TEST_F() local
241 if (WaitResult.Pid == PI2.Pid) in TEST_F()
411 ProcessInfo WaitResult = llvm::sys::Wait(PI2, 5 /* seconds */, true, &Error); in TEST_F() local
413 ASSERT_EQ(0, WaitResult.ReturnCode); in TEST_F()
414 ASSERT_EQ(WaitResult.Pid, PI2.Pid); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DProgram.inc403 ProcessInfo WaitResult = PI;
412 WaitResult.ReturnCode = -2;
414 return WaitResult;
437 WaitResult.ReturnCode = -2;
438 return WaitResult;
442 return WaitResult;
446 WaitResult.ReturnCode = static_cast<int>(status);
448 WaitResult.ReturnCode = status & 0x7FFFFFFF;
450 WaitResult.ReturnCode = 1;
452 return WaitResult;
/external/llvm/unittests/Support/
DProgramTest.cpp234 ProcessInfo WaitResult = llvm::sys::Wait(PI1, 0, true, &Error); in TEST_F() local
236 if (WaitResult.Pid == PI1.Pid) in TEST_F()
251 ProcessInfo WaitResult = llvm::sys::Wait(PI2, 0, false, &Error); in TEST_F() local
253 if (WaitResult.Pid == PI2.Pid) in TEST_F()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProgram.inc428 ProcessInfo WaitResult = PI;
437 WaitResult.ReturnCode = -2;
439 return WaitResult;
462 WaitResult.ReturnCode = -2;
463 return WaitResult;
467 return WaitResult;
471 WaitResult.ReturnCode = static_cast<int>(status);
473 WaitResult.ReturnCode = status & 0x7FFFFFFF;
475 WaitResult.ReturnCode = 1;
477 return WaitResult;
/external/llvm-project/llvm/lib/Support/Windows/
DProgram.inc408 ProcessInfo WaitResult = PI;
419 WaitResult.ReturnCode = -2;
421 return WaitResult;
460 WaitResult.ReturnCode = -2;
461 return WaitResult;
465 return WaitResult;
469 WaitResult.ReturnCode = static_cast<int>(status);
471 WaitResult.ReturnCode = status & 0x7FFFFFFF;
473 WaitResult.ReturnCode = 1;
475 return WaitResult;
/external/llvm/lib/Support/Windows/
DProgram.inc428 ProcessInfo WaitResult = PI;
437 WaitResult.ReturnCode = -2;
439 return WaitResult;
462 WaitResult.ReturnCode = -2;
463 return WaitResult;
467 return WaitResult;
471 WaitResult.ReturnCode = static_cast<int>(status);
473 WaitResult.ReturnCode = status & 0x7FFFFFFF;
475 WaitResult.ReturnCode = 1;
477 return WaitResult;