Lines Matching full:absolute
163 # Function : host-path-is-absolute
165 # Usage : $(call host-path-is-absolute,<path>)
167 # absolute on the host filesystem.
176 # Treat all of them as absolute. Filtering the first two cases is easy
186 windows-path-is-absolute = $(if $(filter /% $(ndk-windows-drive-patterns),$(subst \,/,$1)),true)
189 host-path-is-absolute = $(call windows-path-is-absolute,$1)
191 host-path-is-absolute = $(if $(filter /%,$1),true)
194 -test-host-path-is-absolute.relative-paths = \
195 $(call test-expect,,$(call host-path-is-absolute,foo))\
196 $(call test-expect,,$(call host-path-is-absolute,foo/bar))\
197 $(call test-expect,,$(call host-path-is-absolute,.))\
198 $(call test-expect,,$(call host-path-is-absolute,..))
200 -test-host-path-is-absolute.absolute-paths = \
201 $(call test-expect,true,$(call host-path-is-absolute,/))\
202 $(call test-expect,true,$(call host-path-is-absolute,/foo))\
203 $(call test-expect,true,$(call host-path-is-absolute,/foo/bar))\
204 $(call test-expect,true,$(call host-path-is-absolute,//foo))\
205 $(call test-expect,true,$(call host-path-is-absolute,/.))
208 $(call test-expect,$(call windows-path-is-absolute,foo))\
209 $(call test-expect,$(call windows-path-is-absolute,foo/bar))\
210 $(call test-expect,$(call windows-path-is-absolute,.))\
211 $(call test-expect,$(call windows-path-is-absolute,..))
213 -test-host-path-is-asbolute.windows-absolute-paths = \
214 $(call test-expect,true,$(call windows-path-is-absolute,c:/))\
215 $(call test-expect,true,$(call windows-path-is-absolute,x:))\
216 $(call test-expect,true,$(call windows-path-is-absolute,K:foo))\
217 $(call test-expect,true,$(call windows-path-is-absolute,C:\Foo\Bar))\
218 $(call test-expect,true,$(call windows-path-is-absolute,\Foo))