Lines Matching refs:header
52 all_headers.each do |header|
53 if /\/Headers\/(.*)/.match(header)
55 $HEADERS_BY_TYPE[:public] << header
56 elsif /\/PrivateHeaders\/(.*)/.match(header)
58 $HEADERS_BY_TYPE[:private] << header
60 print_error "Unknown header type: #{header}"
65 def resolve_include(header, included_header, permitted_types) argument
77 return if header =~ /\/WebKeyGenerator.h$/ and included_header_name == "WebCoreKeyGenerator.h"
79 print_error "#{header} included #{included_header}!"
86 print_error "#{header} included #{included_header} but I could not find a header of that name!"
88 print_error "#{header} included #{included_header} which is #{header_type}!"
92 def verify_includes(header, permitted_types) argument
93 File.open(header) do |file|
96 resolve_include(header, $2, permitted_types)
106 headers.each do |header|
107 verify_includes header, permitted_types