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
↓ 3 callers
Method
Start
src/lexer.cc:68
↓ 3 callers
Function
TimerToMicros
src/metrics.cc:40
↓ 3 callers
Function
ToolTargetsList
src/ninja.cc:489
↓ 3 callers
Method
_run_jobserver_echo_MAKEFLAGS
( self, cmd_args_prefix )
misc/jobserver_pool_test.py:78
↓ 3 callers
Function
binary
(name: str)
configure.py:300
↓ 3 callers
Method
build_log
src/graph.h:356
↓ 3 callers
Function
error
(path: str, msg: str)
misc/ci.py:14
↓ 3 callers
Function
generate_build_plan
Generate a Ninja build plan for |command_count| parallel tasks. Each task calls the test helper script which waits for 50ms then writes its o
misc/jobserver_test.py:113
↓ 3 callers
Function
getopt_internal
getopt_internal: the function that does all the dirty work */
src/getopt.c:145
↓ 3 callers
Function
is_option
is_option: is this argv-element an option or the end of the option list? */
src/getopt.c:137
↓ 3 callers
Method
ninja_spawn
Run Ninja command and capture outputs.
misc/jobserver_test.py:88
↓ 3 callers
Function
reverse_argv_elements
reverse_argv_elements: reverses num elements starting at argv */
src/getopt.c:113
↓ 3 callers
Method
run
Run a command, raise exception on error. Do not capture outputs.
misc/jobserver_test.py:61
↓ 3 callers
Method
set_generated_by_dep_loader
src/graph.h:107
↓ 3 callers
Method
set_id
src/graph.h:112
↓ 3 callers
Function
span_output_file
(span_n: int)
misc/jobserver_test.py:109
↓ 2 callers
Method
AllInputsReady
src/graph.cc:381
↓ 2 callers
Method
CanRunMore
src/build.cc:60
↓ 2 callers
Function
CreateWin32MiniDump
Creates a windows minidump in temp folder.
src/minidump-win32.cc:35
↓ 2 callers
Method
DelayEdge
src/state.cc:36
↓ 2 callers
Function
DirName
src/disk_interface.cc:41
↓ 2 callers
Function
EdgeWeightHeuristic
Heuristic for edge priority weighting. Phony edges are free (0 cost), all other edges are weighted equally.
src/build.cc:470
↓ 2 callers
Function
EscapeForDepfile
src/msvc_helper-win32.cc:37
↓ 2 callers
Function
FileWriter
Context manager for a ninja_syntax object writing to a file.
misc/write_fake_manifests.py:216
↓ 2 callers
Function
GetFileDescriptorPair
Try to read a comma-separated pair of file descriptors from |input|. On success return true and set |config->mode| accordingly. Otherwise return false
src/jobserver.cc:42
↓ 2 callers
Function
GetProcessorCount
src/util.cc:814
↓ 2 callers
Function
GetWorkingDirectory
src/util.cc:992
↓ 2 callers
Method
HasChar
Return true if there is a character in the sequence.
src/elide_middle.cc:158
↓ 2 callers
Method
IsValid
Return true if this instance is valid, i.e. that it is either implicit or explicit job slot.
src/jobserver.h:76
↓ 2 callers
Method
LoadDeps
src/graph.cc:618
↓ 2 callers
Method
LookupVariable
src/eval_env.cc:21
↓ 2 callers
Function
MakeDir
src/disk_interface.cc:58
↓ 2 callers
Method
NextChar
Find next character from the input.
src/elide_middle.cc:171
↓ 2 callers
Method
NextSequence
Find the next sequence, if any, from the input. Returns false is there is no more sequence.
src/elide_middle.cc:60
↓ 2 callers
Method
OnPipeReady
src/subprocess-posix.cc:150
↓ 2 callers
Method
ProcessNode
src/missing_deps.cc:78
↓ 2 callers
Method
ReadFile
src/disk_interface_test.cc:275
↓ 2 callers
Method
RecordArgs
Same as Record(), but uses a va_list to pass formatting arguments.
src/explanations.h:38
↓ 2 callers
Method
SetEnvBlock
Set the environment block (as suitable for CreateProcess) to be used by Run().
src/msvc_helper.h:28
↓ 2 callers
Method
SetExplanations
Set the |explanations_| pointer. Used to implement `-d explain`.
src/status_printer.h:53
↓ 2 callers
Method
ShouldDelayEdge
true if the Pool might delay this edge
src/state.h:51
↓ 2 callers
Function
SpellcheckStringV
src/util.cc:498
↓ 2 callers
Method
StatIfNecessary
Return false on error.
src/graph.h:53
↓ 2 callers
Function
TimeStampFromFileTime
src/disk_interface.cc:67
↓ 2 callers
Method
UnreadToken
src/lexer.cc:116
↓ 2 callers
Function
VerifyGraph
src/test.cc:113
↓ 2 callers
Method
VisiblePosition
Return current visible position.
src/elide_middle.cc:164
↓ 2 callers
Method
_count_dollars_before_index
Returns the number of '$' characters right in front of s[i].
misc/ninja_syntax.py:155
↓ 2 callers
Method
_expand
Expand $vars in a string.
configure.py:188
↓ 2 callers
Method
_expand_paths
Expand $vars in an array of paths, e.g. from a 'build' block.
configure.py:183
↓ 2 callers
Function
cc
(name: str, **kwargs: Any)
configure.py:296
↓ 2 callers
Method
comment
(self, text: str)
misc/ninja_syntax.py:40
↓ 2 callers
Method
is_implicit
src/graph.h:245
↓ 2 callers
Method
is_implicit_out
src/graph.h:259
↓ 2 callers
Method
is_solaris
(self)
configure.py:97
↓ 2 callers
Method
maybe_phonycycle_diagnostic
src/graph.cc:571
↓ 2 callers
Method
parse
src/util.cc:617
↓ 2 callers
Function
permute
permute: swap two blocks of argv-elements given their lengths */
src/getopt.c:128
↓ 2 callers
Function
random
src/hash_collision_bench.cc:24
↓ 2 callers
Function
readCount
src/util.cc:595
↓ 2 callers
Function
real_main
src/ninja.cc:1787
↓ 2 callers
Function
remove_non_visible_lines
(raw_output: bytes)
misc/output_test.py:25
↓ 2 callers
Method
set_dirty
src/graph.h:94
↓ 2 callers
Method
set_dyndep_pending
src/graph.h:98
↓ 2 callers
Method
set_in_edge
src/graph.h:101
↓ 2 callers
Function
shell_escape
Escape str such that it's interpreted as a single argument by the shell.
configure.py:427
↓ 2 callers
Method
status_known
src/graph.h:78
↓ 2 callers
Method
supports_color
src/line_printer.h:29
↓ 2 callers
Method
supports_ninja_browse
(self)
configure.py:113
↓ 1 callers
Method
Abort
src/build_test.cc:801
↓ 1 callers
Method
AddDefault
src/state.cc:159
↓ 1 callers
Method
AddPool
src/state.cc:73
↓ 1 callers
Method
AddValidation
src/state.cc:152
↓ 1 callers
Method
AddValidationOutEdge
src/graph.h:117
↓ 1 callers
Method
AreLongPathsEnabled
src/disk_interface.cc:364
↓ 1 callers
Method
BuildEdgeFinished
src/status_printer.cc:177
↓ 1 callers
Method
BuildEdgeStarted
src/status_printer.cc:85
↓ 1 callers
Function
CalculateProcessorLoad
src/util.cc:890
↓ 1 callers
Function
CheckNinjaVersion
src/version.cc:36
↓ 1 callers
Function
ChooseTool
Find the function to execute for \a tool_name and return it via \a func. Returns a Tool, or NULL if Ninja should exit.
src/ninja.cc:1297
↓ 1 callers
Method
CleanNode
src/build.cc:271
↓ 1 callers
Method
CleanRules
src/clean.cc:263
↓ 1 callers
Method
CleanTargets
src/clean.cc:196
↓ 1 callers
Function
DebugEnable
Enable a debugging mode. Returns false if Ninja should exit instead of continuing.
src/ninja.cc:1374
↓ 1 callers
Method
Done
src/subprocess-win32.cc:206
↓ 1 callers
Method
Dump
src/graph.cc:535
↓ 1 callers
Method
DumpMetrics
src/ninja.cc:1527
↓ 1 callers
Method
DyndepsLoaded
src/build.cc:331
↓ 1 callers
Method
EdgeAddedToPlan
src/status_printer.cc:57
↓ 1 callers
Method
EdgeRemovedFromPlan
src/status_printer.cc:71
↓ 1 callers
Method
EdgeScheduled
src/state.cc:26
↓ 1 callers
Method
EnsureBuildDirExists
src/ninja.cc:1537
↓ 1 callers
Function
EvaluateCommandWithRspfile
src/ninja.cc:980
↓ 1 callers
Function
ExceptionFilter
On Windows, we want to prevent error dialogs in case of exceptions. This function handles the exception, and writes a minidump.
src/ninja.cc:1661
↓ 1 callers
Method
GetActiveEdges
src/build_test.cc:797
↓ 1 callers
Function
GetCurDir
src/includes_normalize_test.cc:29
↓ 1 callers
Function
GetLoadAverage
src/util.cc:933
↓ 1 callers
Function
GetSystemTempDir
src/test.cc:69
↓ 1 callers
Method
GetUnescapedDyndep
src/graph.cc:525
↓ 1 callers
Function
GuessParallelism
Choose a default value for the -j (parallelism) flag.
src/ninja.cc:254
← previous
next →
201–300 of 872, ranked by callers