Home
last modified time | relevance | path

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

/tools/repohooks/tools/
Dcpplint.py5968 def FilesBelongToSameModule(filename_cc, filename_h): argument
6001 fileinfo_h = FileInfo(filename_h)
6013 filename_h = filename_h[:-(len(fileinfo_h.Extension()))]
6014 if filename_h.endswith('-inl'):
6015 filename_h = filename_h[:-len('-inl')]
6016 filename_h = filename_h.replace('/public/', '/')
6017 filename_h = filename_h.replace('/internal/', '/')
6019 files_belong_to_same_module = filename_cc.endswith(filename_h)
6022 common_path = filename_cc[:-len(filename_h)]