Lines Matching full:foo
4 foo$0(x fileoff, y int8, z buffer[in])
5 foo$1(x "bar") ### unexpected string "bar", expect type
6 foo$2(x 123, y "bar") ### unexpected int 123, expect type ### unexpected string "bar", expect type
7 foo$3(x string) ### string can't be syscall argument
10 resource r1[string["foo"]] ### string can't be resource base (int types can)
50 foo$4(a int8, a int16) ### duplicate argument a in syscall foo$4
51 foo$4() ### syscall foo$4 redeclared, previously declared at LOCATION
52 foo()
53 foo() ### syscall foo redeclared, previously declared at LOCATION
54 foo$5(a0 int8, a1 int8, a2 int8, a3 int8, a4 int8, a5 int8, a6 int8, a7 int8, a8 int8, a9 int8) ###…
55 foo$6(parent int8) ### reserved argument name parent in syscall foo$6
68 resource r9["foo"] ### unexpected string "foo", expect type
70 foo$7(a r0, a1 r2[opt])
71 foo$8(a fileoff[a, b, c]) ### wrong number of arguments for type fileoff, expect no arguments
72 foo$9(a buffer[inout])
73 foo$10(a buffer[intout]) ### unexpected value intout for direction argument of buffer type, expect …
74 foo$11(a buffer["in"]) ### unexpected string "in" for direction argument of buffer type, expect [i…
75 foo$12(a buffer[10]) ### unexpected int 10 for direction argument of buffer type, expect [in out i…
76 foo$13(a int32[2:3])
77 foo$14(a int32[2:2])
78 foo$16(a int32[3])
79 foo$17(a ptr[in, int32])
80 foo$18(a ptr[in, int32[2:3]])
81 foo$19(a ptr[in, int32[opt]])
82 foo$20(a ptr) ### wrong number of arguments for type ptr, expect direction, type, [opt]
83 foo$21(a ptr["foo"]) ### wrong number of arguments for type ptr, expect direction, type, [opt]
84 foo$22(a ptr[in]) ### wrong number of arguments for type ptr, expect direction, type, [opt]
85 foo$23(a ptr[in, s3[in]]) ### wrong number of arguments for type s3, expect no arguments
86 foo$25(a proc[0, "foo"]) ### unexpected string "foo" for per-proc values argument of proc type, exp…
87 foo$26(a flags[no]) ### unknown flags no
88 foo$27(a flags["foo"]) ### unexpected string "foo" for flags argument of flags type, expect identi…
89 foo$28(a ptr[in, string["foo"]], b ptr[in, string["foo", 4]])
90 foo$30(a ptr[in, string[no]]) ### unknown string flags no
91 foo$31(a int8, b ptr[in, csum[a, inet]]) ### wrong number of arguments for type csum, expect csum …
92 foo$32(a int8, b ptr[in, csum[a, inet, 1, int32]]) ### only pseudo csum can have proto
93 foo$33(a int8, b ptr[in, csum[a, pseudo, 1, int32]])
94 foo$34(a int32["foo"]) ### unexpected string "foo" for range argument of int32 type, expect int
95 foo$35(a ptr[in, s3[opt]]) ### s3 can't be marked as opt
96 foo$36(a const[1:2]) ### unexpected ':'
97 foo$39(a fileoff:1) ### unexpected ':'
98 foo$40(a len["a"]) ### unexpected string "a" for len target argument of len type, expect identifier
99 foo$41(a vma[C1:C2])
100 foo$43(a ptr[in, string[1]]) ### unexpected int 1, string arg must be a string literal or string fl…
101 foo$44(a int32) len[a] ### len can't be syscall return
102 foo$45(a int32) len[b] ### len can't be syscall return
103 foo$46(a ptr[in, in]) ### unknown type in
104 foo$47(a int32:2) ### unexpected ':', only struct fields can be bitfields
105 foo$48(a ptr[in, int32:7]) ### unexpected ':', only struct fields can be bitfields
106 foo$49(a ptr[in, array[int32, 0:1]])
107 foo$52(a intptr, b bitsize[a])
108 foo$53(a proc[20, 10, opt])
110 foo$54(a ptr[in, string["foo", C1]])
111 foo$55(a int8[opt[int8]]) ### opt can't have arguments
112 foo$56(a void) ### void can't be syscall argument
113 foo$57(a ptr[in, stringnoz["foo", 10]]) ### fixed-size string can't be non-zero-terminated
114 foo$58(a ptr[in, stringnoz[sf2, 10]]) ### fixed-size string can't be non-zero-terminated
115 foo$59(a s1) ### s1 can't be syscall argument
116 foo$60() s1 ### s1 can't be syscall return
117 foo$61(a u6) ### u6 can't be syscall argument
118 foo$62() u6 ### u6 can't be syscall return
119 foo$63(a int32[1[2]]) ### range argument has subargs
120 foo$64(a ptr[in, flags[f1[int32], int32]]) ### flags argument has subargs
159 } [align_foo] ### bad struct s6 alignment foo
171 } ["foo"[0]] ### unexpected string "foo", expect attribute
179 } [size["foo"]] ### unexpected string "foo", expect int
235 type type6 len[foo, int32] ### len can't be type alias target
236 type type7 len[foo] ### len can't be type alias target
261 foo$100(a mybool8, b mybool16)
262 foo$102(a type2) ### unknown type type2
263 foo$103(a type0:4) ### type alias type0 with ':'
264 foo$104(a type0[opt]) ### type type0 is not a template
265 foo$105() type0 ### int8 can't be syscall return
266 foo$106() type6 ### unknown type type6
267 foo$107(a type9, b type12)
268 foo$108(a flags[type0])
269 foo$109(a ptr[in, type0])
282 foo$201(a templ1[42]) ### wrong number of arguments for type const, expect value
317 foo$200(a templ0[42, int8])
318 foo$202(a templ0) ### template templ0 needs 2 arguments instead of 0
319 foo$203(a type0[42]) ### type type0 is not a template
320 foo$204(a ptr[in, templ_struct0[42, int8]])
321 foo$205(a ptr[in, templ_struct0[int8, int8]])
322 foo$207(a ptr[in, templ_struct2[1]])
326 foo$fmt0(a ptr[in, fmt]) ### wrong number of arguments for type fmt, expect format, value
327 foo$fmt1(a fmt[dec, int8]) ### fmt can't be syscall argument
328 foo$fmt2(a ptr[in, fmt[dec, ptr[in, int8]]]) ### bad fmt value ptr, expect an integer
329 foo$fmt3(a ptr[in, fmt[foo, int8]]) ### unexpected value foo for format argument of fmt type, expe…
330 foo$fmt4(a ptr[in, fmt[dec, int8:3]]) ### unexpected ':', only struct fields can be bitfields