Searched refs:filename_h (Results 1 – 2 of 2) sorted by relevance
3573 def FilesBelongToSameModule(filename_cc, filename_h): argument3613 if not filename_h.endswith('.h'):3615 filename_h = filename_h[:-len('.h')]3616 if filename_h.endswith('-inl'):3617 filename_h = filename_h[:-len('-inl')]3618 filename_h = filename_h.replace('/public/', '/')3619 filename_h = filename_h.replace('/internal/', '/')3621 files_belong_to_same_module = filename_cc.endswith(filename_h)3624 common_path = filename_cc[:-len(filename_h)]
4290 def FilesBelongToSameModule(filename_cc, filename_h): argument4330 if not filename_h.endswith('.h'):4332 filename_h = filename_h[:-len('.h')]4333 if filename_h.endswith('-inl'):4334 filename_h = filename_h[:-len('-inl')]4335 filename_h = filename_h.replace('/public/', '/')4336 filename_h = filename_h.replace('/internal/', '/')4338 files_belong_to_same_module = filename_cc.endswith(filename_h)4341 common_path = filename_cc[:-len(filename_h)]