MCPcopy Create free account

hub / github.com/ninja-build/ninja / functions

Functions872 in github.com/ninja-build/ninja

↓ 461 callersMethodsize
src/string_piece.h:62
↓ 359 callersMethodCreate
src/test.cc:145
↓ 249 callersFunctionAssertParse
src/test.cc:100
↓ 242 callersMethodc_str
src/test.h:121
↓ 241 callersMethodend
src/string_piece.h:54
↓ 241 callersMethodpath
(self)
misc/output_test.py:76
↓ 188 callersMethodbegin
src/string_piece.h:50
↓ 169 callersMethodAddTarget
src/build.cc:94
↓ 161 callersMethodempty
src/eval_env.h:44
↓ 137 callersMethodclear
src/graph.h:424
↓ 119 callersMethodBuild
src/build.cc:703
↓ 107 callersMethodAsString
Convert the slice into a full-fledged std::string, copying the data into a new string.
src/string_piece.h:46
↓ 95 callersMethodin_edge
src/graph.h:100
↓ 84 callersMethodGetNode
src/test.cc:95
↓ 79 callersMethodParseTest
Parse a text string of input. Used by tests.
src/dyndep_parser.h:30
↓ 77 callersMethodStat
src/test.cc:152
↓ 76 callersFunctionCanonicalizePath
src/util_test.cc:23
↓ 75 callersMethodTick
Tick "time" forwards; subsequent file operations will be newer than previous ones.
src/test.h:59
↓ 68 callersMethodLookupNode
src/state.cc:104
↓ 60 callersFunctionFatal
src/util.cc:67
↓ 57 callersMethodReset
src/build.cc:87
↓ 53 callersMethodError
src/lexer.cc:25
↓ 52 callersFunctionError
src/util.cc:98
↓ 52 callersMethodLoad
src/parser.cc:22
↓ 51 callersMethoddirty
src/graph.h:93
↓ 48 callersMethodOpenForWrite
src/deps_log.cc:51
↓ 47 callersMethodrule
(self, name: str, **kwargs: Any)
configure.py:151
↓ 46 callersMethodFindWork
src/build.cc:161
↓ 42 callersMethodAlreadyUpToDate
src/build.cc:699
↓ 42 callersMethodStat
src/disk_interface_test.cc:289
↓ 41 callersFunctionElideMiddle
src/elide_middle_test.cc:21
↓ 41 callersMethodcleaned_files_count
@return the number of file cleaned.
src/clean.h:66
↓ 40 callersMethodEvaluateCommand
src/graph.cc:501
↓ 39 callersMethodClose
src/deps_log.cc:147
↓ 39 callersMethodRecomputeDirty
src/graph.cc:49
↓ 38 callersMethodMarkDirty
src/graph.h:95
↓ 31 callersMethodLookupByOutput
src/build_log.cc:327
↓ 30 callersMethodEdgeFinished
src/build.cc:201
↓ 29 callersMethodGetDeps
src/deps_log.cc:305
↓ 29 callersFunctionrun
Run Ninja with a given build plan in a temporary directory.
misc/output_test.py:133
↓ 28 callersMethodget
src/jobserver_test.cc:249
↓ 27 callersMethodGetBinding
src/graph.cc:511
↓ 25 callersMethodRecord
Record an explanation for |item| if this instance is enabled.
src/explanations.h:30
↓ 25 callersMethodbuild
( self, outputs: Union[str, List[str]], rule: str, inputs: Optional[Union[str,
configure.py:155
↓ 25 callersMethodvariable
( self, key: str, value: Optional[Union[bool, int, float, str, List[str]]], in
misc/ninja_syntax.py:45
↓ 24 callersMethodmtime
src/graph.h:91
↓ 21 callersFunctionMakeItem
src/explanations_test.cc:21
↓ 21 callersFunctionWin32Fatal
src/util.cc:557
↓ 21 callersMethoddyndep_pending
src/graph.h:97
↓ 21 callersMethodnewline
(self)
configure.py:142
↓ 19 callersMethodRecordDeps
src/deps_log.cc:63
↓ 19 callersFunctionplatformAwareUnlink
src/util.cc:1025
↓ 18 callersFunctionCanonicalizePath
src/util.cc:124
↓ 18 callersMethodIsValid
src/jobserver_test.cc:35
↓ 17 callersMethodDone
src/subprocess-posix.cc:214
↓ 17 callersFunctionGetLastErrorString
src/util.cc:531
↓ 17 callersMethodid
src/graph.h:111
↓ 16 callersFunctionGetTimeMillis
src/metrics.cc:111
↓ 16 callersFunctionSplitStringPiece
src/string_piece_util.cc:22
↓ 16 callersMethodoutputs_ready
src/graph.h:233
↓ 15 callersMethodReadPath
Read a path (complete with $escapes). Returns false only on error, returned path may be empty if a delimiter (space, newline) is hit.
src/lexer.h:80
↓ 15 callersMethodRecordCommand
src/build_log.cc:90
↓ 15 callersMethod_line
Write 'text' word-wrapped at self.width characters.
misc/ninja_syntax.py:164
↓ 15 callersMethodcomment
(self, text: str)
configure.py:139
↓ 15 callersMethodis_msvc
(self)
configure.py:84
↓ 14 callersMethodAdd
src/subprocess-posix.cc:311
↓ 14 callersMethodCleanAll
src/clean.cc:104
↓ 14 callersMethodDoWork
src/subprocess-posix.cc:322
↓ 14 callersMethodEvaluate
src/eval_env.cc:111
↓ 14 callersMethodis_phony
src/graph.cc:563
↓ 13 callersFunctionEditDistance
src/edit_distance.cc:20
↓ 13 callersMethodGetBindingBool
src/graph.cc:516
↓ 13 callersMethodLookupVariable
src/graph.cc:409
↓ 13 callersFunctionbuilt
(filename: str)
configure.py:292
↓ 13 callersMethodmore_to_do
Returns true if there's more work to be done.
src/build.h:54
↓ 12 callersMethodFinish
src/graphviz.cc:88
↓ 12 callersFunctionNormalizeAndCheckNoError
src/includes_normalize_test.cc:36
↓ 12 callersMethodParse
static
src/clparser.cc:80
↓ 12 callersMethodPeekToken
src/lexer.cc:463
↓ 12 callersMethodRemoveFile
src/test.cc:185
↓ 11 callersMethodCleanup
src/test.cc:221
↓ 11 callersMethodLoadDyndeps
src/graph.cc:372
↓ 11 callersMethodLookupAndAppend
Lookup the explanations recorded for |item|, and append them to |*out|, if any.
src/explanations.h:46
↓ 11 callersFunctionNormalizeRelativeAndCheckNoError
src/includes_normalize_test.cc:44
↓ 11 callersMethodReadIdent
src/lexer.cc:554
↓ 11 callersFunctionWarning
src/util.cc:85
↓ 11 callersMethodvariable
(self, key: str, val: str)
configure.py:145
↓ 10 callersFunctionToLowerASCII
src/string_piece_util.h:27
↓ 10 callersMethodTryAcquire
Try to acquire a slot from the pool. On failure, i.e. if no slot can be acquired, this returns an invalid Token instance. Note that this will always
src/jobserver.h:201
↓ 10 callersMethod_test_expected_error
Run Ninja with a given plan and flags, and verify its cooked output against an expected content. All *args and **kwargs are passed to the `run
misc/output_test.py:157
↓ 10 callersFunctioncompute_max_overlapped_spans
Compute the maximum number of overlapped spanned tasks. This reads the output files from |build_dir| and look at their start and end times to
misc/jobserver_test.py:134
↓ 10 callersMethodexists
src/graph.h:74
↓ 10 callersMethodrun
Run Ninja command, and get filtered output. Args: flags: Extra arguments passed to Ninja. pipe: set to True to run Ninja
misc/output_test.py:80
↓ 10 callersFunctionsrc
(filename: str)
configure.py:290
↓ 9 callersFunctionEqualsCaseInsensitiveASCII
src/string_piece_util.cc:66
↓ 9 callersMethodIsImplicit
Return true if this instance represents an implicit job slot.
src/jobserver.h:79
↓ 9 callersMethodSerialize
src/eval_env.cc:146
↓ 9 callersMethodcritical_path_weight
critical_path_weight is the priority during build scheduling. The "critical path" between this edge's inputs and any target node is the path which max
src/graph.h:209
↓ 9 callersFunctioncxx
(name: str, **kwargs: Any)
configure.py:298
↓ 8 callersMethodAddText
src/eval_env.cc:126
next →1–100 of 872, ranked by callers