Lines Matching defs:string
85 import string
205 'runtime/string',
261 'string', 'strstream', 'strstream.h', 'tempbuf.h', 'tree.h', 'typeinfo',
410 """Matches the string with the pattern, caching the compiled regexp."""
420 """Searches the string for the pattern, caching the compiled regexp."""
507 The empty string if the header is in the right order, or an
560 self.errors_by_category = {} # string to int dict storing error counts
588 filters: A string of comma-separated filters (eg "+whitespace/indent").
668 filters: A string of comma-separated filters (eg "whitespace/indent").
873 category: A string used to describe the "category" this bug
917 """Does line terminate so, that the next symbol is in string constant.
926 string constant.
1287 'Multi-line string ("...") found. This lint script doesn\'t '
1828 if Search(r'^\s*const\s*string\s*&\s*\w+\s*;', line):
1837 'const string& members are dangerous. It is much better to use '
1941 line: A line of a string.
2313 line[commentpos-1] not in string.whitespace) or
2315 line[commentpos-2] not in string.whitespace))):
2563 non-blank line before the current line, or the empty string if this is the
2784 line: A string, which may be a Unicode string.
2981 >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'string', True)
3100 Given a string of lines and a regular expression string, retrieve all the text
3106 start_pattern must match string having an open punctuation symbol at the end.
3111 start_pattern: The regexp string indicating where to start extracting
3115 None if either the opening string or ending punctuation could not be found.
3226 # where type may be float(), int(string), etc. Without context they are
3259 # Check pointer casts for other than string constants
3277 r'((?:|static +)(?:|const +))string +([a-zA-Z0-9_:]+)\b(.*)',
3280 # Function template specialization looks like: "string foo<Type>(...".
3281 # Class template definitions look like: "string Foo<Type>::Method(...".
3284 error(filename, linenum, 'runtime/string', 4,
3285 'For a static/global string constant, use a C style string instead: '
3357 # Check for potential format string bugs like printf(foo).
3364 printf_args = _GetTextInside(line, r'(?i)\b(string)?printf\s*\(')
3368 function_name = re.search(r'\b((?:string)?printf)\s*\(',
3371 'Potential format string bug. Do %s("%%s", %s) instead.'
3468 cast_type: The string for the C++ cast to recommend. This is either
3551 ('<string>', ('char_traits', 'basic_string',)),
3608 Tuple with a bool and a string:
3610 string: the additional prefix needed to open the header file.
3693 # String is special -- it is a non-templatized type in STL.
3700 required['<string>'] = (linenum, 'string')
3938 """Prints a brief usage string and exits, optionally with an error message.