Searched refs:filename_cc (Results 1 – 4 of 4) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 3573 def FilesBelongToSameModule(filename_cc, filename_h): argument 3603 if not filename_cc.endswith('.cc'): 3605 filename_cc = filename_cc[:-len('.cc')] 3606 if filename_cc.endswith('_unittest'): 3607 filename_cc = filename_cc[:-len('_unittest')] 3608 elif filename_cc.endswith('_test'): 3609 filename_cc = filename_cc[:-len('_test')] 3610 filename_cc = filename_cc.replace('/public/', '/') 3611 filename_cc = filename_cc.replace('/internal/', '/') 3621 files_belong_to_same_module = filename_cc.endswith(filename_h) [all …]
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 4290 def FilesBelongToSameModule(filename_cc, filename_h): argument 4320 if not filename_cc.endswith('.cc'): 4322 filename_cc = filename_cc[:-len('.cc')] 4323 if filename_cc.endswith('_unittest'): 4324 filename_cc = filename_cc[:-len('_unittest')] 4325 elif filename_cc.endswith('_test'): 4326 filename_cc = filename_cc[:-len('_test')] 4327 filename_cc = filename_cc.replace('/public/', '/') 4328 filename_cc = filename_cc.replace('/internal/', '/') 4338 files_belong_to_same_module = filename_cc.endswith(filename_h) [all …]
|
/external/libaom/libaom/tools/ |
D | cpplint.py | 4290 def FilesBelongToSameModule(filename_cc, filename_h): argument 4320 if not filename_cc.endswith('.cc'): 4322 filename_cc = filename_cc[:-len('.cc')] 4323 if filename_cc.endswith('_unittest'): 4324 filename_cc = filename_cc[:-len('_unittest')] 4325 elif filename_cc.endswith('_test'): 4326 filename_cc = filename_cc[:-len('_test')] 4327 filename_cc = filename_cc.replace('/public/', '/') 4328 filename_cc = filename_cc.replace('/internal/', '/') 4338 files_belong_to_same_module = filename_cc.endswith(filename_h) [all …]
|
/external/google-styleguide/cpplint/ |
D | cpplint.py | 5400 def FilesBelongToSameModule(filename_cc, filename_h): argument 5430 fileinfo = FileInfo(filename_cc) 5433 filename_cc = filename_cc[:-len(fileinfo.Extension())] 5436 filename_cc = filename_cc[:-len(matched_test_suffix.group(1))] 5437 filename_cc = filename_cc.replace('/public/', '/') 5438 filename_cc = filename_cc.replace('/internal/', '/') 5448 files_belong_to_same_module = filename_cc.endswith(filename_h) 5451 common_path = filename_cc[:-len(filename_h)]
|