Lines Matching refs:alg
39 for _, alg := range algList {
40 allall[alg.name] = true
41 if algs[alg.name] {
42 t.Errorf("duplicate: %v", alg.name)
44 algs[alg.name] = true
45 if len(alg.args) > 0 {
46 templates[alg.name] = true
49 for _, alg := range algList {
50 if len(alg.args) > 0 || strings.HasPrefix(alg.name, "__") {
53 brace := strings.IndexByte(alg.name, '(')
57 templ := alg.name[:brace]
70 for _, alg := range allAlgs[typ.typ] {
71 if len(alg.args) != 0 {
74 ok, skip := testAlg(t, typ.name, alg.name)
76 t.Errorf("SKIP\t%10v\t%v", typ.name, alg.name)
80 t.Errorf("FAIL\t%10v\t%v", typ.name, alg.name)
91 for _, alg := range allAlgs[typ.typ] {
92 if len(alg.args) != 1 {
109 name := fmt.Sprintf("%v(%v)", alg.name, alg1.name)
117 if len(works) == 1 && works[0] == alg.args[0] {
121 typ.name, alg.name, alg.args[0], works)
157 for _, alg := range allAlgs[typ.typ] {
158 if len(alg.args) != 2 {
168 alg.name, alg1.name, alg2.name)
171 typ.name, alg.name, alg.args, typ1, typ2, name)