Home
last modified time | relevance | path

Searched refs:filename_h (Results 1 – 1 of 1) sorted by relevance

/tools/repohooks/tools/
Dcpplint.py5401 def FilesBelongToSameModule(filename_cc, filename_h): argument
5441 if not filename_h.endswith('.h'):
5443 filename_h = filename_h[:-len('.h')]
5444 if filename_h.endswith('-inl'):
5445 filename_h = filename_h[:-len('-inl')]
5446 filename_h = filename_h.replace('/public/', '/')
5447 filename_h = filename_h.replace('/internal/', '/')
5449 files_belong_to_same_module = filename_cc.endswith(filename_h)
5452 common_path = filename_cc[:-len(filename_h)]