Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 5 of 5) sorted by relevance

/build/soong/ui/build/
Dsignal.go49 var timeout <-chan time.Time
84 if timeout != nil {
89 timeout = time.Tick(time.Second * 2)
90 case <-timeout:
/build/soong/cmd/run_with_timeout/
Drun_with_timeout_test.go28 timeout time.Duration
52 timeout: 1 * time.Second,
61 timeout: 1 * time.Millisecond,
70 timeout: 1 * time.Millisecond,
81 …err := runWithTimeout(tt.args.command, tt.args.args, tt.args.timeout, tt.args.onTimeoutCmd, tt.arg…
Drun_with_timeout.go32 timeout = flag.Duration("timeout", 0, "time after which to kill command (example: 60s)") var
54 err := runWithTimeout(flag.Arg(0), flag.Args()[1:], *timeout, *onTimeoutCmd,
90 func runWithTimeout(command string, args []string, timeout time.Duration, onTimeoutCmdStr string,
115 if timeout > 0 {
116 timeoutCh = time.After(timeout)
142 return fmt.Errorf("timed out after %s", timeout.String())
/build/soong/ui/build/paths/
Dlogs.go112 func dial(name string, lookup socketAddrFunc, timeout time.Duration) (net.Conn, error) {
120 Timeout: timeout,
139 func sendLog(logSocket string, lookup socketAddrFunc, timeout time.Duration, entry *LogEntry, done …
142 conn, err := dial(logSocket, lookup, timeout)
148 if timeout != 0 {
149 conn.SetDeadline(time.Now().Add(timeout))
/build/make/tools/releasetools/
Dcommon.py2984 th.join(timeout=300) # 5 mins