Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ninja-build/ninja
/ functions
Functions
872 in github.com/ninja-build/ninja
⨍
Functions
872
◇
Types & classes
218
↓ 8 callers
Method
CleanTarget
src/clean.cc:171
↓ 8 callers
Method
FormatProgressStatus
src/status_printer.cc:264
↓ 8 callers
Method
GetInputsAsStrings
src/graph.cc:786
↓ 8 callers
Method
RemoveFile
src/disk_interface_test.cc:279
↓ 8 callers
Method
build
( self, outputs: Union[str, List[str]], rule: str, inputs: Optional[Union[str,
misc/ninja_syntax.py:93
↓ 8 callers
Function
html_escape
(text: str)
src/browse.py:66
↓ 8 callers
Function
match_strip
(line: str, prefix: str)
src/browse.py:61
↓ 8 callers
Method
newline
(self)
misc/ninja_syntax.py:37
↓ 7 callers
Method
AddBinding
src/eval_env.cc:30
↓ 7 callers
Method
CleanDead
src/clean.cc:127
↓ 7 callers
Method
GetUnescapedDepfile
src/graph.cc:520
↓ 7 callers
Method
HadMissingDeps
src/missing_deps.h:52
↓ 7 callers
Method
IsExplicit
Return true if this instance represents an explicit job slot
src/jobserver.h:82
↓ 7 callers
Function
IsPathSeparator
src/util.cc:133
↓ 7 callers
Function
JoinStringPiece
src/string_piece_util.cc:41
↓ 7 callers
Method
PrintOnNewLine
src/line_printer.cc:136
↓ 7 callers
Method
VisitNode
src/graph.cc:764
↓ 7 callers
Method
_test_echo_MAKEFLAGS
(self, cmd_args_prefix, expected_core_count: int)
misc/jobserver_pool_test.py:95
↓ 7 callers
Function
doc
(filename: str)
configure.py:294
↓ 7 callers
Function
getopt
src/getopt.c:389
↓ 7 callers
Method
is_aix
(self)
configure.py:100
↓ 7 callers
Method
is_windows
(self)
configure.py:94
↓ 7 callers
Method
ninja_clean
(self)
misc/jobserver_test.py:85
↓ 7 callers
Method
ninja_run
( self, ninja_args: T.List[str], prefix_args: T.List[str] = [], extra_env: T.D
misc/jobserver_test.py:70
↓ 6 callers
Function
AssertHash
src/test.cc:109
↓ 6 callers
Method
BuildFinished
src/status_printer.cc:259
↓ 6 callers
Method
BuildStarted
src/status_printer.cc:253
↓ 6 callers
Method
CleanRule
src/clean.cc:238
↓ 6 callers
Function
IsPathSeparator
src/includes_normalize-win32.cc:46
↓ 6 callers
Method
Normalize
src/includes_normalize-win32.cc:184
↓ 6 callers
Method
PathDecanonicalized
static
src/graph.cc:580
↓ 6 callers
Method
ReadToken
src/lexer.cc:120
↓ 6 callers
Method
ReadVarValue
Read the value side of a var = value line (complete with $escapes). Returns false only on error.
src/lexer.h:86
↓ 6 callers
Function
TestPhonyUseCase
There are 6 different cases for phony rules: 1. output edge does not exist, inputs are not real 2. output edge does not exist, no inputs 3. output ed
src/build_test.cc:1306
↓ 6 callers
Function
as_list
(input: Optional[Union[str, List[str]]])
misc/ninja_syntax.py:204
↓ 6 callers
Method
generated_by_dep_loader
Indicates whether this node was generated from a depfile or dyndep file, instead of being a regular input or output from the Ninja manifest.
src/graph.h:105
↓ 6 callers
Method
use_console
src/graph.cc:567
↓ 5 callers
Method
AddEdge
src/state.cc:85
↓ 5 callers
Method
AddOut
src/state.cc:135
↓ 5 callers
Method
AllowStatCache
src/disk_interface.cc:355
↓ 5 callers
Method
CollectFrom
src/command_collector.h:36
↓ 5 callers
Method
CreateAndEnter
src/test.cc:199
↓ 5 callers
Function
EncodeJSONString
src/json.cc:20
↓ 5 callers
Function
EndsWith
Return true if \a input ends with \a needle.
src/clparser.cc:36
↓ 5 callers
Method
GetExplicitValue
src/jobserver.cc:64
↓ 5 callers
Function
GetWin32EscapedString
src/util.cc:380
↓ 5 callers
Method
MakeDir
src/disk_interface_test.cc:271
↓ 5 callers
Method
MakeDirs
src/disk_interface.cc:140
↓ 5 callers
Method
ReadFile
src/test.cc:172
↓ 5 callers
Method
RootNodes
src/state.cc:169
↓ 5 callers
Function
escape_path
(word: str)
misc/ninja_syntax.py:29
↓ 5 callers
Method
is_mingw
(self)
configure.py:81
↓ 5 callers
Method
weight
src/graph.h:232
↓ 4 callers
Method
AddIn
src/state.cc:128
↓ 4 callers
Method
AddOutEdge
src/graph.h:116
↓ 4 callers
Method
AddSpecial
src/eval_env.cc:136
↓ 4 callers
Method
DefaultNodes
src/state.cc:187
↓ 4 callers
Function
ElideMiddleInPlace
src/elide_middle.cc:185
↓ 4 callers
Function
GetShellEscapedString
src/util.cc:353
↓ 4 callers
Method
GetUnescapedRspfile
src/graph.cc:530
↓ 4 callers
Function
HighResTimer
Compute a platform-specific high-res timer value that fits into an int64.
src/metrics.cc:33
↓ 4 callers
Method
Info
src/status_printer.cc:458
↓ 4 callers
Method
PrepareQueue
src/build.cc:592
↓ 4 callers
Function
PrintJSONString
src/json.cc:50
↓ 4 callers
Method
Recompact
src/deps_log.cc:326
↓ 4 callers
Function
StripAnsiEscapeCodes
src/util.cc:571
↓ 4 callers
Function
Truncate
src/util.cc:1007
↓ 4 callers
Method
WriteFile
src/test.cc:161
↓ 4 callers
Method
_unique_string
(self, seen: Set[Optional[str]], avg_options: float = 1.3, p_suffix: float = 0.1)
misc/write_fake_manifests.py:59
↓ 4 callers
Method
close
(self)
misc/ninja_syntax.py:200
↓ 4 callers
Method
command_edge_count
Number of edges with commands to run.
src/build.h:75
↓ 4 callers
Function
getopt_long
src/getopt.c:396
↓ 4 callers
Method
is_order_only
src/graph.h:249
↓ 4 callers
Function
islatinalpha
src/util.cc:566
↓ 4 callers
Method
known_platforms
()
configure.py:70
↓ 4 callers
Function
paretoint
Returns a random integer that's avg on average, following a power law. alpha determines the shape of the power curve. alpha has to be larger t
misc/write_fake_manifests.py:26
↓ 4 callers
Method
pool
src/graph.h:231
↓ 4 callers
Method
rule
( self, name: str, command: str, description: Optional[str] = None, de
misc/ninja_syntax.py:61
↓ 4 callers
Method
set_critical_path_weight
src/graph.h:210
↓ 4 callers
Method
slash_bits
src/graph.h:89
↓ 4 callers
Method
success
src/build.h:160
↓ 3 callers
Method
AddRule
src/eval_env.cc:34
↓ 3 callers
Method
Clear
src/subprocess-posix.cc:451
↓ 3 callers
Method
DescribeLastError
src/lexer.cc:106
↓ 3 callers
Function
FileTimeToTickCount
src/util.cc:926
↓ 3 callers
Method
GetFirstReverseDepsNode
src/deps_log.cc:313
↓ 3 callers
Function
GetPrefixedValue
If |input| starts with |prefix|, return true and sets |*value| to the rest of the input. Otherwise return false.
src/jobserver.cc:28
↓ 3 callers
Method
InputIndex
Return current input index.
src/elide_middle.cc:161
↓ 3 callers
Function
InternalGetFullPathName
src/includes_normalize-win32.cc:31
↓ 3 callers
Method
LookupPool
src/state.cc:78
↓ 3 callers
Method
LookupRule
src/eval_env.cc:46
↓ 3 callers
Function
ParseVersion
src/version.cc:25
↓ 3 callers
Function
PrintOneCompdbObject
src/ninja.cc:1014
↓ 3 callers
Method
Release
src/test.cc:262
↓ 3 callers
Method
Restat
src/build_log.cc:389
↓ 3 callers
Method
RetrieveReadyEdges
src/state.cc:41
↓ 3 callers
Method
Run
src/msvc_helper-win32.cc:42
↓ 3 callers
Function
SetCloseOnExec
src/util.cc:480
↓ 3 callers
Method
SetConsoleLocked
src/line_printer.cc:151
↓ 3 callers
Function
SpellcheckString
src/util.cc:517
← previous
next →
101–200 of 872, ranked by callers