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
↓ 461 callers
Method
size
src/string_piece.h:62
↓ 359 callers
Method
Create
src/test.cc:145
↓ 249 callers
Function
AssertParse
src/test.cc:100
↓ 242 callers
Method
c_str
src/test.h:121
↓ 241 callers
Method
end
src/string_piece.h:54
↓ 241 callers
Method
path
(self)
misc/output_test.py:76
↓ 188 callers
Method
begin
src/string_piece.h:50
↓ 169 callers
Method
AddTarget
src/build.cc:94
↓ 161 callers
Method
empty
src/eval_env.h:44
↓ 137 callers
Method
clear
src/graph.h:424
↓ 119 callers
Method
Build
src/build.cc:703
↓ 107 callers
Method
AsString
Convert the slice into a full-fledged std::string, copying the data into a new string.
src/string_piece.h:46
↓ 95 callers
Method
in_edge
src/graph.h:100
↓ 84 callers
Method
GetNode
src/test.cc:95
↓ 79 callers
Method
ParseTest
Parse a text string of input. Used by tests.
src/dyndep_parser.h:30
↓ 77 callers
Method
Stat
src/test.cc:152
↓ 76 callers
Function
CanonicalizePath
src/util_test.cc:23
↓ 75 callers
Method
Tick
Tick "time" forwards; subsequent file operations will be newer than previous ones.
src/test.h:59
↓ 68 callers
Method
LookupNode
src/state.cc:104
↓ 60 callers
Function
Fatal
src/util.cc:67
↓ 57 callers
Method
Reset
src/build.cc:87
↓ 53 callers
Method
Error
src/lexer.cc:25
↓ 52 callers
Function
Error
src/util.cc:98
↓ 52 callers
Method
Load
src/parser.cc:22
↓ 51 callers
Method
dirty
src/graph.h:93
↓ 48 callers
Method
OpenForWrite
src/deps_log.cc:51
↓ 47 callers
Method
rule
(self, name: str, **kwargs: Any)
configure.py:151
↓ 46 callers
Method
FindWork
src/build.cc:161
↓ 42 callers
Method
AlreadyUpToDate
src/build.cc:699
↓ 42 callers
Method
Stat
src/disk_interface_test.cc:289
↓ 41 callers
Function
ElideMiddle
src/elide_middle_test.cc:21
↓ 41 callers
Method
cleaned_files_count
@return the number of file cleaned.
src/clean.h:66
↓ 40 callers
Method
EvaluateCommand
src/graph.cc:501
↓ 39 callers
Method
Close
src/deps_log.cc:147
↓ 39 callers
Method
RecomputeDirty
src/graph.cc:49
↓ 38 callers
Method
MarkDirty
src/graph.h:95
↓ 31 callers
Method
LookupByOutput
src/build_log.cc:327
↓ 30 callers
Method
EdgeFinished
src/build.cc:201
↓ 29 callers
Method
GetDeps
src/deps_log.cc:305
↓ 29 callers
Function
run
Run Ninja with a given build plan in a temporary directory.
misc/output_test.py:133
↓ 28 callers
Method
get
src/jobserver_test.cc:249
↓ 27 callers
Method
GetBinding
src/graph.cc:511
↓ 25 callers
Method
Record
Record an explanation for |item| if this instance is enabled.
src/explanations.h:30
↓ 25 callers
Method
build
( self, outputs: Union[str, List[str]], rule: str, inputs: Optional[Union[str,
configure.py:155
↓ 25 callers
Method
variable
( self, key: str, value: Optional[Union[bool, int, float, str, List[str]]], in
misc/ninja_syntax.py:45
↓ 24 callers
Method
mtime
src/graph.h:91
↓ 21 callers
Function
MakeItem
src/explanations_test.cc:21
↓ 21 callers
Function
Win32Fatal
src/util.cc:557
↓ 21 callers
Method
dyndep_pending
src/graph.h:97
↓ 21 callers
Method
newline
(self)
configure.py:142
↓ 19 callers
Method
RecordDeps
src/deps_log.cc:63
↓ 19 callers
Function
platformAwareUnlink
src/util.cc:1025
↓ 18 callers
Function
CanonicalizePath
src/util.cc:124
↓ 18 callers
Method
IsValid
src/jobserver_test.cc:35
↓ 17 callers
Method
Done
src/subprocess-posix.cc:214
↓ 17 callers
Function
GetLastErrorString
src/util.cc:531
↓ 17 callers
Method
id
src/graph.h:111
↓ 16 callers
Function
GetTimeMillis
src/metrics.cc:111
↓ 16 callers
Function
SplitStringPiece
src/string_piece_util.cc:22
↓ 16 callers
Method
outputs_ready
src/graph.h:233
↓ 15 callers
Method
ReadPath
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 callers
Method
RecordCommand
src/build_log.cc:90
↓ 15 callers
Method
_line
Write 'text' word-wrapped at self.width characters.
misc/ninja_syntax.py:164
↓ 15 callers
Method
comment
(self, text: str)
configure.py:139
↓ 15 callers
Method
is_msvc
(self)
configure.py:84
↓ 14 callers
Method
Add
src/subprocess-posix.cc:311
↓ 14 callers
Method
CleanAll
src/clean.cc:104
↓ 14 callers
Method
DoWork
src/subprocess-posix.cc:322
↓ 14 callers
Method
Evaluate
src/eval_env.cc:111
↓ 14 callers
Method
is_phony
src/graph.cc:563
↓ 13 callers
Function
EditDistance
src/edit_distance.cc:20
↓ 13 callers
Method
GetBindingBool
src/graph.cc:516
↓ 13 callers
Method
LookupVariable
src/graph.cc:409
↓ 13 callers
Function
built
(filename: str)
configure.py:292
↓ 13 callers
Method
more_to_do
Returns true if there's more work to be done.
src/build.h:54
↓ 12 callers
Method
Finish
src/graphviz.cc:88
↓ 12 callers
Function
NormalizeAndCheckNoError
src/includes_normalize_test.cc:36
↓ 12 callers
Method
Parse
static
src/clparser.cc:80
↓ 12 callers
Method
PeekToken
src/lexer.cc:463
↓ 12 callers
Method
RemoveFile
src/test.cc:185
↓ 11 callers
Method
Cleanup
src/test.cc:221
↓ 11 callers
Method
LoadDyndeps
src/graph.cc:372
↓ 11 callers
Method
LookupAndAppend
Lookup the explanations recorded for |item|, and append them to |*out|, if any.
src/explanations.h:46
↓ 11 callers
Function
NormalizeRelativeAndCheckNoError
src/includes_normalize_test.cc:44
↓ 11 callers
Method
ReadIdent
src/lexer.cc:554
↓ 11 callers
Function
Warning
src/util.cc:85
↓ 11 callers
Method
variable
(self, key: str, val: str)
configure.py:145
↓ 10 callers
Function
ToLowerASCII
src/string_piece_util.h:27
↓ 10 callers
Method
TryAcquire
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 callers
Method
_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 callers
Function
compute_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 callers
Method
exists
src/graph.h:74
↓ 10 callers
Method
run
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 callers
Function
src
(filename: str)
configure.py:290
↓ 9 callers
Function
EqualsCaseInsensitiveASCII
src/string_piece_util.cc:66
↓ 9 callers
Method
IsImplicit
Return true if this instance represents an implicit job slot.
src/jobserver.h:79
↓ 9 callers
Method
Serialize
src/eval_env.cc:146
↓ 9 callers
Method
critical_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 callers
Function
cxx
(name: str, **kwargs: Any)
configure.py:298
↓ 8 callers
Method
AddText
src/eval_env.cc:126
next →
1–100 of 872, ranked by callers