MCPcopy Create free account

hub / github.com/build2/build2 / functions

Functions1,458 in github.com/build2/build2

↓ 1,134 callersMethodempty
libbuild2/cc/guess.cxx:825
↓ 116 callersFunctionget_location
libbuild2/cc/lexer.cxx:34
↓ 103 callersMethodnext
Read next substring. Return true if the substring has been read or false if it should be called again once the stream has more data to read. Also retu
libbuild2/script/run.cxx:1045
↓ 86 callersFunctionparse
old-tests/parser/driver.cxx:140
↓ 81 callersFunctionappend_options
libbuild2/utility.cxx:696
↓ 81 callersFunctionfind
Look for the substring forwards in the [p, n) range.
libbuild2/functions-string.cxx:13
↓ 64 callersFunctionprint_diag
Note: these can't be inline since need the target class definition.
libbuild2/diagnostics.cxx:382
↓ 62 callersFunctionexists
Check if the standard/alternative file/directory exists, returning empty path if it does not.
libbuild2/file.cxx:77
↓ 61 callersFunctionmerge
Replace matched parts of list elements using the format string and concatenate the transformed elements. See merge() overloads (below) for details.
libbuild2/functions-regex.cxx:564
↓ 59 callersFunctionlex
old-tests/lexer/driver.cxx:122
↓ 49 callersMethoddata
libbuild2/context.cxx:58
↓ 43 callersFunctionload_module
@@ TODO: This is a bit of a fuzzy mess: - The .build.loaded variable check: it's not clear if init_module() already has this semantics? - Why do we
libbuild2/module.cxx:1023
↓ 43 callersFunctionprint_process
print_process()
libbuild2/diagnostics.cxx:536
↓ 41 callersFunctionrelative
libbuild2/utility.cxx:183
↓ 41 callersFunctionsearch
Search for a program first in paths if not NULL and then using the standard path search semantics. Use var to suggest an override if the search fails.
libbuild2/bin/guess.cxx:53
↓ 37 callersFunctionto_string
libbuild2/json.cxx:18
↓ 35 callersFunctionparse_names
libbuild2/types-parsers.cxx:55
↓ 33 callersFunctionf
old-tests/amalgam/libtest/test.cxx:1
↓ 31 callersFunctionmatch
Match value of an arbitrary type against the regular expression. See match() overloads (below) for details.
libbuild2/functions-regex.cxx:53
↓ 30 callersMethodempty
libbuild2/bin/guess.cxx:29
↓ 29 callersFunctionto_string
libbuild2/cc/guess.cxx:80
↓ 26 callersFunctionfind_option_prefixes
libbuild2/utility.cxx:845
↓ 24 callersFunctionmtime
libbuild2/filesystem.cxx:38
↓ 24 callersMethodskip
Read out and skip the data available in the stream. Return true on eof.
libbuild2/script/run.cxx:1056
↓ 23 callersFunctionfilter
Return true if this entry should be written to the database with the specified name.
libbuild2/cc/compiledb.cxx:39
↓ 22 callersFunctionload_builtin_module
libbuild2/module.cxx:37
↓ 20 callersFunctionthrow_invalid_argument
Throw invalid_argument for an invalid simple value.
libbuild2/variable.cxx:440
↓ 19 callersFunctionfind_option_prefix
libbuild2/utility.cxx:815
↓ 19 callersFunctionset_dir
libbuild2/install/init.cxx:214
↓ 18 callersFunctionchunk_names
old-tests/parser/driver.cxx:28
↓ 17 callersFunctioncompare
libbuild2/variable.cxx:261
↓ 17 callersFunctionto_stream
libbuild2/target.cxx:896
↓ 15 callersFunctiondiag_do
diag_do(), etc.
libbuild2/diagnostics.cxx:947
↓ 15 callersFunctionpath_match
Return true if a path matches the pattern. See path_match() overloads (below) for details.
libbuild2/functions-path.cxx:121
↓ 15 callersFunctionrun_start
libbuild2/utility.cxx:280
↓ 14 callersFunctionescape
In pkg-config backslashes, spaces, etc are escaped with a backslash. @@ TODO: handle empty values (save as ''?) Note: may contain variable expansion
libbuild2/cc/pkgconfig.cxx:41
↓ 14 callersFunctionfile_exists
libbuild2/functions-filesystem.cxx:116
↓ 14 callersFunctiontypify
libbuild2/variable.cxx:332
↓ 13 callersFunctiondigit
Return true if the string contains only a single digit characters (used to detect the special $N variables).
libbuild2/test/script/parser.cxx:24
↓ 13 callersFunctiondump
libbuild2/dump.cxx:1481
↓ 13 callersFunctionentry_exists
libbuild2/filesystem.cxx:245
↓ 13 callersFunctionlink_member
libbuild2/bin/utility.cxx:47
↓ 12 callersFunctioninit_module
libbuild2/module.cxx:904
↓ 12 callersFunctionpath_search
Return paths of filesystem entries that match the pattern. See path_search() overloads (below) for details.
libbuild2/functions-filesystem.cxx:19
↓ 12 callersFunctionrun_search
libbuild2/utility.cxx:237
↓ 12 callersFunctionsearch_existing
libbuild2/algorithm.cxx:36
↓ 12 callersFunctionuntypify
libbuild2/variable.cxx:385
↓ 11 callersFunctiondiag_path
libbuild2/script/run.cxx:36
↓ 11 callersFunctionfind_options
libbuild2/utility.cxx:780
↓ 11 callersFunctionis_src_root
libbuild2/file.cxx:147
↓ 11 callersFunctionparse_regex
Parse a regular expression. Throw invalid_argument if it is not valid. Note: also used in functions-process.cxx (thus not static).
libbuild2/functions-regex.cxx:33
↓ 11 callersFunctionprint_dir
libbuild2/script/run.cxx:3747
↓ 11 callersFunctionread
If the callback function is not specified just read out and skip all the input data.
libbuild2/script/run.cxx:1471
↓ 11 callersFunctionrmdir_r
libbuild2/filesystem.cxx:185
↓ 11 callersFunctionsave_environment
Custom save function for config.config.environment. It tries to optimize the storage in subprojects by appending the difference (compared to the amal
libbuild2/config/init.cxx:42
↓ 11 callersFunctionskip
libbuild2/script/run.cxx:1717
↓ 11 callersFunctionto_string
variable_visibility
libbuild2/variable.cxx:24
↓ 10 callersFunctionat_throw
libbuild2/json.cxx:84
↓ 10 callersFunctionfind_option
libbuild2/utility.cxx:754
↓ 10 callersFunctionrun
libbuild2/script/run.cxx:3461
↓ 10 callersFunctionto_target_name
libbuild2/functions-name.cxx:34
↓ 9 callersFunctionapply
Replace matched parts of list elements using the format string. See apply() overloads (below) for details.
libbuild2/functions-regex.cxx:379
↓ 9 callersFunctionavail_on_failure
Return true if the script temporary directory is not created yet (and so cannot contain any path), a path is not under the temporary directory or this
libbuild2/script/run.cxx:235
↓ 9 callersFunctionbootstrapped
libbuild2/file.cxx:1487
↓ 9 callersFunctiondiag_doing
libbuild2/diagnostics.cxx:992
↓ 9 callersFunctiondump_variables
libbuild2/dump.cxx:512
↓ 9 callersFunctionpattern
Try to derive the toolchain pattern. The s argument is the stem to look for in the leaf of the path. The ls and rs arguments are the left/right separ
libbuild2/cc/guess.cxx:1414
↓ 9 callersFunctionrun_wait
libbuild2/utility.cxx:322
↓ 9 callersFunctionterm_pipe
Terminate the pipeline processes starting from the specified one and up to the leftmost one and then kill those which didn't terminate after 2 seconds
libbuild2/script/run.cxx:1381
↓ 9 callersFunctionto_stream
libbuild2/script/script.cxx:292
↓ 9 callersFunctiontransform
Transform string according to here-* redirect modifiers from the {/} set.
libbuild2/script/run.cxx:193
↓ 8 callersFunctionmkdir
libbuild2/filesystem.cxx:52
↓ 8 callersFunctionsource_once
libbuild2/file.cxx:346
↓ 8 callersFunctionto_json_value
libbuild2/variable.cxx:1544
↓ 7 callersFunctionbootstrap_post
libbuild2/file.cxx:1463
↓ 7 callersFunctioncmd_path
Return the command program path for diagnostics.
libbuild2/script/run.cxx:999
↓ 7 callersFunctionfilter_entry
libbuild2/install/utility.cxx:39
↓ 7 callersFunctionimport_suggest
libbuild2/file.cxx:2417
↓ 7 callersMethodleave
libbuild2/test/script/parser.test.cxx:170
↓ 7 callersFunctionparse_metadata
libbuild2/file.cxx:2398
↓ 7 callersFunctionpath_perms
libbuild2/filesystem.cxx:334
↓ 7 callersFunctionto_stream_quoted
libbuild2/utility.cxx:1099
↓ 6 callersFunctionapply_impl
libbuild2/algorithm.cxx:1011
↓ 6 callersFunctionbootstrap_pre
libbuild2/file.cxx:1439
↓ 6 callersFunctionbootstrap_src
libbuild2/file.cxx:1051
↓ 6 callersFunctioncreate_root
libbuild2/file.cxx:442
↓ 6 callersFunctiondiag_relative
libbuild2/utility.cxx:191
↓ 6 callersFunctionempty
libbuild2/filesystem.cxx:258
↓ 6 callersFunctionextract_variable
libbuild2/file.cxx:782
↓ 6 callersFunctionforwarded
Return true if the inner/outer project (identified by out/src_root) of the 'origin' project (identified by orig) should be forwarded.
libbuild2/file.cxx:1499
↓ 6 callersFunctioninit_diag
libbuild2/diagnostics.cxx:37
↓ 6 callersFunctionmatch_impl_impl
If step is true then perform only one step of the match/apply sequence. If try_match is true, then indicate whether there is a rule match with the fi
libbuild2/algorithm.cxx:1213
↓ 6 callersFunctionnon_empty
Check if a path is not empty, the referenced file exists and is not empty.
libbuild2/script/run.cxx:100
↓ 6 callersFunctionpath_symlink
Return true if the path exist and is a symlink.
libbuild2/adhoc-rule-buildscript.cxx:272
↓ 6 callersFunctionperform_clean_extra
libbuild2/algorithm.cxx:4652
↓ 6 callersFunctionperform_post_operation_callbacks
libbuild2/operation.cxx:1234
↓ 6 callersFunctionposix_representation
libbuild2/functions-path.cxx:180
↓ 6 callersFunctionposix_string
libbuild2/functions-path.cxx:161
↓ 6 callersFunctionresolve_dir
libbuild2/install/rule.cxx:888
↓ 6 callersFunctionsearch_existing_target
libbuild2/search.cxx:17
next →1–100 of 1,458, ranked by callers