Lines Matching refs:call
65 $(call test-expect,,$(call remove-duplicates))\
66 $(call test-expect,foo bar,$(call remove-duplicates,foo bar))\
67 $(call test-expect,foo bar,$(call remove-duplicates,foo bar foo bar))\
68 $(call test-expect,foo bar,$(call remove-duplicates,foo foo bar bar bar))
90 $(if $(call $2,$(__filter_by_n)),$(__filter_by_n))))
93 $(eval -local-func = $$(call seq,foo,$$1))\
94 $(call test-expect,,$(call filter-by,,-local-func))\
95 $(call test-expect,foo,$(call filter-by,foo,-local-func))\
96 $(call test-expect,foo,$(call filter-by,foo bar,-local-func))\
97 $(call test-expect,foo foo,$(call filter-by,aaa foo bar foo,-local-func))\
98 $(eval -local-func = $$(call sne,foo,$$1))\
99 $(call test-expect,,$(call filter-by,,-local-func))\
100 $(call test-expect,,$(call filter-by,foo,-local-func))\
101 $(call test-expect,bar,$(call filter-by,foo bar,-local-func))\
102 $(call test-expect,aaa bar,$(call filter-by,aaa foo bar,-local-func))
114 $(if $(call $2,$(__filter_out_by_n)),,$(__filter_out_by_n))))
117 $(eval -local-func = $$(call seq,foo,$$1))\
118 $(call test-expect,,$(call filter-out-by,,-local-func))\
119 $(call test-expect,,$(call filter-out-by,foo,-local-func))\
120 $(call test-expect,bar,$(call filter-out-by,foo bar,-local-func))\
121 $(call test-expect,aaa bar,$(call filter-out-by,aaa foo bar foo,-local-func))\
122 $(eval -local-func = $$(call sne,foo,$$1))\
123 $(call test-expect,,$(call filter-out-by,,-local-func))\
124 $(call test-expect,foo,$(call filter-out-by,foo,-local-func))\
125 $(call test-expect,foo,$(call filter-out-by,foo bar,-local-func))\
126 $(call test-expect,foo foo,$(call filter-out-by,aaa foo bar foo,-local-func))
134 find-first = $(firstword $(call filter-by,$1,$2))
137 $(eval -local-pred = $$(call seq,foo,$$1))\
138 $(call test-expect,,$(call find-first,,-local-pred))\
139 $(call test-expect,,$(call find-first,bar,-local-pred))
142 $(eval -local-pred = $$(call seq,foo,$$1))\
143 $(call test-expect,foo,$(call find-first,foo,-local-pred))\
144 $(call test-expect,foo,$(call find-first,aaa foo bar,-local-pred))\
145 $(call test-expect,foo,$(call find-first,aaa foo foo bar,-local-pred))
155 $(call test-expect,,$(call parent-dir))\
156 $(call test-expect,.,$(call parent-dir,foo))\
157 $(call test-expect,foo,$(call parent-dir,foo/bar))\
158 $(call test-expect,foo,$(call parent-dir,foo/bar/))
171 $(call test-expect,,$(call strip-lib-prefix,))\
172 $(call test-expect,foo,$(call strip-lib-prefix,foo))\
173 $(call test-expect,foo,$(call strip-lib-prefix,libfoo))\
174 $(call test-expect,nolibfoo,$(call strip-lib-prefix,nolibfoo))\
175 $(call test-expect,foolib,$(call strip-lib-prefix,foolib))\
176 $(call test-expect,foo bar,$(call strip-lib-prefix,libfoo libbar))
188 left-justify-quoted-15 = $(call -left-justify,$1,xxxxxxxxxxxxxxx)
191 $(call test-expect," ",$(call left-justify-quoted-15,))\
192 $(call test-expect,"Foo Bar ",$(call left-justify-quoted-15,Foo Bar))\
193 $(call test-expect,"Very long string over 15 characters wide",$(strip \
194 $(call left-justify-quoted-15,Very long string over 15 characters wide)))
203 …$(eval __lj_margin := $$(call -justification-margin,$(__lj_temp),$2)))"$1$(subst x,$(space),$(__lj…
206 $(call test-expect,"",$(call -left-justify,,))\
207 $(call test-expect,"foo",$(call -left-justify,foo,xxx))\
208 $(call test-expect,"foo ",$(call -left-justify,foo,xxxx))\
209 $(call test-expect,"foo ",$(call -left-justify,foo,xxxxxx))\
210 $(call test-expect,"foo ",$(call -left-justify,foo,xxxxxxxxxxxx))\
211 $(call test-expect,"very long string",$(call -left-justify,very long string,xxx))\
221 $(call -justification-margin-inner,$1,$2),\
226 -justification-margin-inner = $(if $(findstring $2,$1),,x$(call -justification-margin-inner,x$1,$2))
229 $(call test-expect,,$(call -justification-margin,,))\
230 $(call test-expect,,$(call -justification-margin,xxx,xxx))\
231 $(call test-expect,xxxxxx,$(call -justification-margin,,xxxxxx))\
232 $(call test-expect,xxxxx,$(call -justification-margin,x,xxxxxx))\
233 $(call test-expect,xxxx,$(call -justification-margin,xx,xxxxxx))\
234 $(call test-expect,xxx,$(call -justification-margin,xxx,xxxxxx))\
235 $(call test-expect,xx,$(call -justification-margin,xxxx,xxxxxx))\
236 $(call test-expect,x,$(call -justification-margin,xxxxx,xxxxxx))\
237 $(call test-expect,,$(call -justification-margin,xxxxxx,xxxxxx))\
238 $(call test-expect,,$(call -justification-margin,xxxxxxxxxxx,xxxxxx))\