Lines Matching defs:context
19 "context"
32 ctx context.Context
33 fn context.CancelFunc
101 ctx, fn := context.WithCancel(context.WithValue(context.TODO(), "index", index))
104 go func(index int, ctx context.Context) {
113 if errors.Is(err, context.Canceled) {
131 func flashAndTest(m pkg.Manager, t tester.Tester, pkg string, testcase string, ctx context.Context, fellows ...string) (bool, []string, error) {
148 if err := m.Flash(device, pkg, ctx); err != nil && !errors.Is(err, context.Canceled) {