Home
last modified time | relevance | path

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

/tools/repohooks/tools/
Dcpplint.py969 matched = Search(r'\bNOLINT(NEXTLINE)?\b(\([^)]+\))?', raw_line)
1058 def Search(pattern, s): function
1980 if Search(r'\b(?:0[bBxX]?|[1-9])[0-9a-fA-F]*$', head):
2023 elif i > 0 and Search(r'\boperator\s*$', line[0:i]):
2052 (line[i - 1] == '-' or Search(r'\boperator\s*$', line[0:i - 1]))):
2148 Search(r'\boperator\s*$', line[0:i]))):
2384 if Search(r'//\s*NOLINT\(build/header_guard\)', i):
2389 if Search(r'^\s*#pragma\s+once', i):
2472 if Search(_TEST_FILE_SUFFIX, fileinfo.BaseName()):
2630 if Search(pattern, line):
[all …]