MCPcopy Create free account

hub / github.com/JoseExposito/touchegg / functions

Functions427 in github.com/JoseExposito/touchegg

↓ 1 callersFunctionCheckCheck
Checks the use of CHECK and EXPECT macros. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing t
cmake/cpplint.py:4659
↓ 1 callersFunctionCheckCommaSpacing
Checks for horizontal spacing near commas and semicolons. Args: filename: The name of the current file. clean_lines: A CleansedLines instan
cmake/cpplint.py:3983
↓ 1 callersFunctionCheckComment
Checks for common mistakes in comments. Args: line: The line in question. filename: The name of the current file. linenum: The number o
cmake/cpplint.py:3647
↓ 1 callersMethodCheckCompletedBlocks
Checks that all classes and namespaces have been completely parsed. Call this when all lines in a file have been processed. Args: filen
cmake/cpplint.py:3283
↓ 1 callersFunctionCheckEmptyBlockBody
Look for empty loop/conditional body with only a single semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLin
cmake/cpplint.py:4532
↓ 1 callersMethodCheckEnd
Run checks that applies to text after the closing brace. This is mostly used for checking end of namespace comments. Args: filename: T
cmake/cpplint.py:2755
↓ 1 callersFunctionCheckForBadCharacters
Logs an error for each line containing bad characters. Two kinds of bad characters: 1. Unicode replacement characters: These indicate that eithe
cmake/cpplint.py:2533
↓ 1 callersFunctionCheckForCopyright
Logs an error if no Copyright message appears at the top of the file.
cmake/cpplint.py:2267
↓ 1 callersFunctionCheckForFunctionLengths
Reports for long function bodies. For an overview why this is done, see: https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Sh
cmake/cpplint.py:3576
↓ 1 callersFunctionCheckForHeaderGuard
Checks that the file contains a header guard. Logs an error if no #ifndef header guard is present. For other headers, checks that the full pathn
cmake/cpplint.py:2397
↓ 1 callersFunctionCheckForIncludeWhatYouUse
Reports for missing stl includes. This function will output warnings to make sure you are including the headers necessary for the stl containers
cmake/cpplint.py:6091
↓ 1 callersFunctionCheckForMultilineCommentsAndStrings
Logs an error if we see /* ... */ or "..." that extend past one line. /* ... */ comments are legit inside macros, for one line. Otherwise, we pre
cmake/cpplint.py:2576
↓ 1 callersFunctionCheckForNamespaceIndentation
(filename, nesting_state, clean_lines, line, error)
cmake/cpplint.py:3562
↓ 1 callersFunctionCheckForNewlineAtEOF
Logs an error if there is no newline char at the end of the file. Args: filename: The name of the current file. lines: An array of strings,
cmake/cpplint.py:2558
↓ 1 callersFunctionCheckForNonConstReference
Check for non-const references. Separate from CheckLanguage since it scans backwards from current line, instead of scanning forward. Args:
cmake/cpplint.py:5591
↓ 1 callersFunctionCheckForNonStandardConstructs
r"""Logs an error if we see certain non-ANSI constructs ignored by gcc-2. Complain about several constructs which gcc-2 accepts, but which are no
cmake/cpplint.py:3305
↓ 1 callersFunctionCheckGlobalStatic
Check for unsafe global or static objects. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing t
cmake/cpplint.py:5421
↓ 1 callersFunctionCheckHeaderFileIncluded
Logs an error if a source file does not include its header.
cmake/cpplint.py:2500
↓ 1 callersFunctionCheckIncludeLine
Check rules that are applicable to #include lines. Strings on #include lines are NOT removed from elided line, to make certain tasks easier. Howe
cmake/cpplint.py:5082
↓ 1 callersFunctionCheckInvalidIncrement
Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, becau
cmake/cpplint.py:2694
↓ 1 callersFunctionCheckItemIndentationInNamespace
(filename, raw_lines_no_comments, linenum, error)
cmake/cpplint.py:6365
↓ 1 callersFunctionCheckLanguage
Checks rules from the 'C++ language rules' section of cppguide.html. Some of these rules are hard to test (function overloading, using uint32 ina
cmake/cpplint.py:5260
↓ 1 callersFunctionCheckMakePairUsesDeduction
Check that make_pair's template arguments are deduced. G++ 4.6 in C++11 mode fails badly if make_pair's template arguments are specified explicit
cmake/cpplint.py:6195
↓ 1 callersMethodCheckNextIncludeOrder
Returns a non-empty error message if the next header is out of order. This function also updates the internal state to be ready to check the
cmake/cpplint.py:1218
↓ 1 callersFunctionCheckOperatorSpacing
Checks for horizontal spacing around operators. Args: filename: The name of the current file. clean_lines: A CleansedLines instance contain
cmake/cpplint.py:3830
↓ 1 callersFunctionCheckParenthesisSpacing
Checks for horizontal spacing around parentheses. Args: filename: The name of the current file. clean_lines: A CleansedLines instance conta
cmake/cpplint.py:3945
↓ 1 callersFunctionCheckPosixThreading
Checks for calls to thread-unsafe functions. Much code has been originally written without consideration of multi-threading. Also, engineers are
cmake/cpplint.py:2644
↓ 1 callersFunctionCheckPrintf
Check for printf related issues. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file.
cmake/cpplint.py:5482
↓ 1 callersFunctionCheckRedundantOverrideOrFinal
Check if line contains a redundant "override" or "final" virt-specifier. Args: filename: The name of the current file. clean_lines: A Clean
cmake/cpplint.py:6280
↓ 1 callersFunctionCheckRedundantVirtual
Check if line contains a redundant "virtual" function-specifier. Args: filename: The name of the current file. clean_lines: A CleansedLines
cmake/cpplint.py:6216
↓ 1 callersFunctionCheckSectionSpacing
Checks for additional blank line issues related to sections. Currently the only thing checked here is blank line before protected/private. Args:
cmake/cpplint.py:4188
↓ 1 callersFunctionCheckSpacing
Checks for the correctness of various spacing issues in the code. Things we check for: spaces around operators, spaces after if/for/while/switch,
cmake/cpplint.py:3701
↓ 1 callersFunctionCheckSpacingForFunctionCall
Checks for the correctness of various spacing around function calls. Args: filename: The name of the current file. clean_lines: A CleansedL
cmake/cpplint.py:3470
↓ 1 callersFunctionCheckStyle
Checks rules from the 'C++ style rules' section of cppguide.html. Most of these rules are hard to test (naming, comment style), but we do what we
cmake/cpplint.py:4841
↓ 1 callersFunctionCheckTrailingSemicolon
Looks for redundant trailing semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the
cmake/cpplint.py:4385
↓ 1 callersFunctionCheckVlogArguments
Checks that VLOG() is only used for defining a logging level. For example, VLOG(2) is correct. VLOG(INFO), VLOG(WARNING), VLOG(ERROR), and VLOG(F
cmake/cpplint.py:2670
↓ 1 callersFunctionCleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
cmake/cpplint.py:1798
↓ 1 callersMethodCount
Count line in current function body.
cmake/cpplint.py:1540
↓ 1 callersMethodEnd
Stop analyzing function body.
cmake/cpplint.py:1573
↓ 1 callersFunctionError
Logs the fact we've found a lint error. We log where the error was found, and also our confidence in the error, that is, how certain we are this
cmake/cpplint.py:1716
↓ 1 callersFunctionExpectingFunctionArgs
Checks whether where function type arguments are expected. Args: clean_lines: A CleansedLines instance containing the file. linenum: The nu
cmake/cpplint.py:5903
↓ 1 callersFunctionFilesBelongToSameModule
Check if these two filenames belong to the same module. The concept of a 'module' here is a as follows: foo.h, foo-inl.h, foo.cc, foo_test.cc and
cmake/cpplint.py:6005
↓ 1 callersFunctionFindCheckMacro
Find a replaceable CHECK-like macro. Args: line: line to search on. Returns: (macro name, start position), or (None, -1) if no replaceabl
cmake/cpplint.py:4636
↓ 1 callersMethodFindHeader
Check if a header has already been included. Args: header: header to check. Returns: Line number of previous occurrence, or -1 if
cmake/cpplint.py:1146
↓ 1 callersFunctionFindNextMultiLineCommentEnd
We are inside a comment, find the end marker.
cmake/cpplint.py:1885
↓ 1 callersFunctionFindNextMultiLineCommentStart
Find the beginning marker for a multiline comment.
cmake/cpplint.py:1874
↓ 1 callersFunctionFixupPathFromRoot
()
cmake/cpplint.py:2342
↓ 1 callersFunctionFlagCxx11Features
Flag those c++11 features that we only allow in certain places. Args: filename: The name of the current file. clean_lines: A CleansedLines
cmake/cpplint.py:6418
↓ 1 callersMethodFormatJUnitXML
(self)
cmake/cpplint.py:1402
↓ 1 callersMethodInAsmBlock
Check if we are currently one level inside an inline ASM block. Returns: True if the top of the stack is a block containing inline ASM.
cmake/cpplint.py:2990
↓ 1 callersMethodInExternC
Check if we are currently one level inside an 'extern "C"' block. Returns: True if top of the stack is an extern block, False otherwise.
cmake/cpplint.py:2974
↓ 1 callersMethodInNamespaceBody
Check if we are currently one level inside a namespace body. Returns: True if top of the stack is a namespace block, False otherwise.
cmake/cpplint.py:2966
↓ 1 callersMethodInTemplateArgumentList
Check if current position is inside template argument list. Args: clean_lines: A CleansedLines instance containing the file. linenum:
cmake/cpplint.py:2998
↓ 1 callersMethodIncrementErrorCount
Bumps the module's error statistic.
cmake/cpplint.py:1368
↓ 1 callersFunctionIsBlockInNameSpace
Checks that the new block is directly in a namespace. Args: nesting_state: The _NestingState object that contains info about our state. is_
cmake/cpplint.py:6313
↓ 1 callersFunctionIsCppString
Does line terminate so, that the next symbol is in string constant. This function does not consider single-line nor multi-line comments. Args:
cmake/cpplint.py:1781
↓ 1 callersFunctionIsDerivedFunction
Check if current line contains an inherited function. Args: clean_lines: A CleansedLines instance containing the file. linenum: The number
cmake/cpplint.py:5511
↓ 1 callersFunctionIsErrorSuppressedByNolint
Returns true if the specified error category is suppressed on this line. Consults the global error_suppressions map populated by ParseNolintSuppr
cmake/cpplint.py:1044
↓ 1 callersFunctionIsForwardClassDeclaration
(clean_lines, linenum)
cmake/cpplint.py:2726
↓ 1 callersMethodIsInAlphabeticalOrder
Check if a header is in alphabetical order with the previous header. Args: clean_lines: A CleansedLines instance containing the file.
cmake/cpplint.py:1197
↓ 1 callersFunctionIsInitializerList
Check if current line is inside constructor initializer list. Args: clean_lines: A CleansedLines instance containing the file. linenum: The
cmake/cpplint.py:5549
↓ 1 callersFunctionIsMacroDefinition
(clean_lines, linenum)
cmake/cpplint.py:2716
↓ 1 callersFunctionIsOutOfLineMethodDefinition
Check if current line contains an out-of-line method definition. Args: clean_lines: A CleansedLines instance containing the file. linenum:
cmake/cpplint.py:5533
↓ 1 callersFunctionParseArguments
Parses the command line arguments. This may set the output format and verbosity level as side-effects. Args: args: The command line argument
cmake/cpplint.py:6753
↓ 1 callersFunctionPrintCategories
Prints a list of all the error-categories used by error messages. These are the categories used to filter messages via --filter.
cmake/cpplint.py:6744
↓ 1 callersMethodPrintErrorCounts
Print a summary of errors by category, and the total.
cmake/cpplint.py:1378
↓ 1 callersFunctionPrintVersion
()
cmake/cpplint.py:6738
↓ 1 callersFunctionProcessConfigOverrides
Loads the configuration files and processes the config overrides. Args: filename: The name of the file being processed by the linter. Retur
cmake/cpplint.py:6540
↓ 1 callersFunctionProcessFile
Does google-lint on a single file. Args: filename: The name of the file to parse. vlevel: The level of errors to report. Every error of c
cmake/cpplint.py:6629
↓ 1 callersFunctionProcessFileData
Performs lint checks and reports any errors to the given error function. Args: filename: Filename of the file that is being processed. file
cmake/cpplint.py:6489
↓ 1 callersFunctionProcessGlobalSuppresions
Updates the list of global error suppressions. Parses any lint directives in the file that have global effect. Args: lines: An array of stri
cmake/cpplint.py:1020
↓ 1 callersFunctionProcessLine
Processes a single line in the file. Args: filename: Filename of the file that is being processed. file_extension: The extension (dot not i
cmake/cpplint.py:6373
↓ 1 callersFunctionRemoveMultiLineComments
Removes multiline (c-style) comments from lines.
cmake/cpplint.py:1902
↓ 1 callersFunctionRemoveMultiLineCommentsFromRange
Clears a range of lines for multi-line comments.
cmake/cpplint.py:1894
↓ 1 callersMethodResetErrorCounts
Sets the module's error statistic back to zero.
cmake/cpplint.py:1363
↓ 1 callersFunctionResetNolintSuppressions
Resets the set of NOLINT suppressions to empty.
cmake/cpplint.py:1038
↓ 1 callersMethodRestoreFilters
Restores filters previously backed up.
cmake/cpplint.py:1359
↓ 1 callersMethodSetCountingStyle
Sets the module's counting options.
cmake/cpplint.py:1322
↓ 1 callersMethodSetFilters
Sets the error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A st
cmake/cpplint.py:1326
↓ 1 callersMethodSetLastHeader
(self, header_path)
cmake/cpplint.py:1179
↓ 1 callersMethodSetOutputFormat
Sets the output format for errors.
cmake/cpplint.py:1306
↓ 1 callersMethodSetQuiet
Sets the module's quiet settings, and returns the previous setting.
cmake/cpplint.py:1310
↓ 1 callersMethodSetVerboseLevel
Sets the module's verbosity, and returns the previous setting.
cmake/cpplint.py:1316
↓ 1 callersFunctionShouldCheckNamespaceIndentation
This method determines if we should apply our namespace indentation check. Args: nesting_state: The current nesting state. is_namespace_ind
cmake/cpplint.py:6332
↓ 1 callersMethodUpdate
Update nesting state with current line. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containin
cmake/cpplint.py:3107
↓ 1 callersFunctionUpdateIncludeState
Fill up the include_dict with new includes found from the file. Args: filename: the name of the header to read. include_dict: a dictionary
cmake/cpplint.py:6063
↓ 1 callersMethodUpdatePreprocessor
Update preprocessor stack. We need to handle preprocessors due to classes like this: #ifdef SWIG struct ResultDetailsPageElementExten
cmake/cpplint.py:3050
↓ 1 callersFunction_AddFilters
Adds more filter overrides. Unlike _SetFilters, this function does not reset the current list of filters available. Args: filters: A strin
cmake/cpplint.py:1499
↓ 1 callersFunction_BackupFilters
Saves the current filter list to backup storage.
cmake/cpplint.py:1511
↓ 1 callersFunction_ClassifyInclude
Figures out what kind of header 'include' is. Args: fileinfo: The current file cpplint is running over. A FileInfo instance. include: The p
cmake/cpplint.py:5006
↓ 1 callersMethod_CollapseStrings
Collapses strings and chars on a line to simple "" or '' blocks. We nix strings first so we're not fooled by text like '"http://"' Args:
cmake/cpplint.py:1963
↓ 1 callersFunction_ExpandDirectories
Searches a list of filenames and replaces directories in the list with all files descending from those directories. Files with extensions not in t
cmake/cpplint.py:6855
↓ 1 callersFunction_FilterExcludedFiles
Filters out files listed in the --exclude command line switch. File paths in the switch are evaluated relative to the current working directory
cmake/cpplint.py:6886
↓ 1 callersFunction_Filters
Returns the module's list of output filters, as a list.
cmake/cpplint.py:1482
↓ 1 callersFunction_GetTextInside
r"""Retrieves all the text between matching open and close parentheses. Given a string of lines and a regular expression string, retrieve all the t
cmake/cpplint.py:5175
↓ 1 callersFunction_IsParentOrSame
Return true if child is subdirectory of parent. Assumes both paths are absolute and don't contain symlinks.
cmake/cpplint.py:6896
↓ 1 callersFunction_IsType
Check if expression looks like a type name, returns true if so. Args: clean_lines: A CleansedLines instance containing the file. nesting_st
cmake/cpplint.py:4019
↓ 1 callersFunction_OutputFormat
Gets the module's output format.
cmake/cpplint.py:1449
↓ 1 callersFunction_Quiet
Return's the module's quiet setting.
cmake/cpplint.py:1458
↓ 1 callersFunction_SetCountingStyle
Sets the module's counting options.
cmake/cpplint.py:1477
← previousnext →101–200 of 427, ranked by callers