Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/build2/build2
/ functions
Functions
1,458 in github.com/build2/build2
⨍
Functions
1,458
◇
Types & classes
150
↓ 6 callers
Function
setup_root
libbuild2/file.cxx:494
↓ 6 callers
Function
substitute
libbuild2/adhoc-rule-regex-pattern.cxx:303
↓ 6 callers
Function
terminate
b/b.cxx:242
↓ 6 callers
Function
timed_wait
libbuild2/script/run.cxx:1359
↓ 5 callers
Function
diag_did
libbuild2/diagnostics.cxx:1033
↓ 5 callers
Function
dist_match
Search for an existing (declared real) member and match it if found.
libbuild2/bin/rule.cxx:22
↓ 5 callers
Function
dump_quoted_target_name
libbuild2/dump.cxx:75
↓ 5 callers
Function
execute_impl
libbuild2/algorithm.cxx:2807
↓ 5 callers
Function
find_target
Find or insert a target based on the file path.
libbuild2/file.cxx:2150
↓ 5 callers
Function
functions_sort_flags
Note: not static since used by type-specific sort() implementations.
libbuild2/functions-builtin.cxx:19
↓ 5 callers
Function
hash_target
How should we hash target and prerequisite sets ($> and $<)? We could hash them as target names (i.e., the same as the $>/< content) or as paths (only
libbuild2/adhoc-rule-buildscript.cxx:68
↓ 5 callers
Function
init
libbuild2/c/init.cxx:439
↓ 5 callers
Function
inject_fsdir
libbuild2/algorithm.cxx:1962
↓ 5 callers
Function
insert_target
libbuild2/file.cxx:2176
↓ 5 callers
Function
isystem
Return true if the compiler supports -isystem (GCC class) or /external:I (MSVC class).
libbuild2/cc/compile-rule.cxx:186
↓ 5 callers
Function
leaf
libbuild2/functions-path.cxx:86
↓ 5 callers
Function
link_members
libbuild2/bin/utility.cxx:32
↓ 5 callers
Function
load_root
libbuild2/file.cxx:1736
↓ 5 callers
Function
lookup_pattern
libbuild2/bin/utility.cxx:109
↓ 5 callers
Function
match_members
libbuild2/algorithm.cxx:1836
↓ 5 callers
Function
matched
Similar to target::matched() but for the load phase.
libbuild2/dump.cxx:649
↓ 5 callers
Function
mkdir_p
libbuild2/filesystem.cxx:86
↓ 5 callers
Function
normalize
Normalize a path. Also make the relative path absolute using the specified directory unless it is already absolute.
libbuild2/script/run.cxx:80
↓ 5 callers
Function
parse_path
libbuild2/types-parsers.cxx:18
↓ 5 callers
Function
parse_regex
libbuild2/script/parser.cxx:99
↓ 5 callers
Function
parse_replacement_flags
libbuild2/functions-regex.cxx:182
↓ 5 callers
Function
parse_version
Try to parse a semantic-like version from the specified position. Return 0-version if the version is invalid.
libbuild2/bin/guess.cxx:36
↓ 5 callers
Function
print_file
If the file exists, not empty and not larger than 4KB print it to the diag record. The file content goes from the new line and is not indented.
libbuild2/script/run.cxx:125
↓ 5 callers
Function
relative
libbuild2/functions-path.cxx:103
↓ 5 callers
Function
resolve
Resolve installation directory name to absolute and normalized directory path. Return all the super-directories leading up to the destination (last).
libbuild2/install/rule.cxx:795
↓ 5 callers
Function
reverse_execute_prerequisites
libbuild2/algorithm.cxx:4432
↓ 5 callers
Function
run_try_search
libbuild2/utility.cxx:263
↓ 5 callers
Function
search_new_locked
libbuild2/algorithm.cxx:119
↓ 5 callers
Function
stdlib
Standard library detection for GCC-class compilers. The src argument should detect the standard library based on the preprocessor macros and output t
libbuild2/cc/guess.cxx:153
↓ 5 callers
Function
to_stream_q
Quote if empty or contains spaces or any of the command line special characters.
libbuild2/script/script.cxx:284
↓ 5 callers
Function
to_string
Convert value of an arbitrary type to string.
libbuild2/functions-regex.cxx:18
↓ 5 callers
Function
touch
libbuild2/filesystem.cxx:14
↓ 4 callers
Function
clean
libbuild2/script/run.cxx:3507
↓ 4 callers
Function
compare
libbuild2/functions-string.cxx:176
↓ 4 callers
Function
configure_params
libbuild2/config/operation.cxx:1000
↓ 4 callers
Function
dump_scope
libbuild2/dump.cxx:1231
↓ 4 callers
Function
dump_target
libbuild2/dump.cxx:664
↓ 4 callers
Function
dump_value
If type is false, don't print the value's type (e.g., because it is the same as variable's).
libbuild2/dump.cxx:28
↓ 4 callers
Function
enter_project_overrides
libbuild2/file.cxx:568
↓ 4 callers
Function
execute_prerequisites
libbuild2/algorithm.cxx:4342
↓ 4 callers
Function
filter_match
Return a list of elements that match (matching is true) or don't match (matching is false) the regular expression. See filter_match() and filter_out_m
libbuild2/functions-regex.cxx:459
↓ 4 callers
Function
filter_search
Return those elements of a list which have a match (matching is true) or have no match (matching is false) between the regular expression and some/any
libbuild2/functions-regex.cxx:522
↓ 4 callers
Function
find_buildfile
libbuild2/file.cxx:190
↓ 4 callers
Function
find_match
Return true if any of the list elements match the regular expression. See find_match() overloads (below) for details.
libbuild2/functions-regex.cxx:440
↓ 4 callers
Function
install_scope
libbuild2/install/utility.cxx:13
↓ 4 callers
Function
manifest_flush_target
Serialize current target and, if tgt is not NULL, start the new target. Note that we always serialize directories as top-level entries. And theoretic
libbuild2/install/operation.cxx:103
↓ 4 callers
Function
match_prerequisite_members
libbuild2/algorithm.cxx:1823
↓ 4 callers
Function
match_prerequisites
libbuild2/algorithm.cxx:1810
↓ 4 callers
Function
msvc_sanitize_cl
Sanitize cl.exe options.
libbuild2/cc/msvc.cxx:69
↓ 4 callers
Function
msvc_sense_diag
Sense whether this is a diagnostics line returning in the first half of pair the position of the NNNN code in XNNNN and npos otherwise. If the first h
libbuild2/cc/msvc.cxx:141
↓ 4 callers
Function
normalize_external
libbuild2/filesystem.cxx:360
↓ 4 callers
Function
parse_find_flags
libbuild2/functions-regex.cxx:416
↓ 4 callers
Function
parse_flags
libbuild2/functions-json.cxx:34
↓ 4 callers
Function
parse_number
libbuild2/utility.cxx:1080
↓ 4 callers
Function
parse_timeout
libbuild2/script/timeout.cxx:14
↓ 4 callers
Function
print_diag_impl
print_diag()
libbuild2/diagnostics.cxx:94
↓ 4 callers
Function
process_args
Return the process path and its arguments.
libbuild2/functions-process.cxx:236
↓ 4 callers
Function
process_args
libbuild2/utility.cxx:645
↓ 4 callers
Function
rel_to_abs
libbuild2/cc/compiledb.cxx:445
↓ 4 callers
Function
resolve_file
libbuild2/install/rule.cxx:936
↓ 4 callers
Function
rfind
Look for the substring backwards in the [0, n) range.
libbuild2/functions-string.cxx:32
↓ 4 callers
Function
save_config
If inherit is false, then don't rely on inheritance from outer scopes. @@ We are modifying the module (marking additional variables as saved) and thi
libbuild2/config/operation.cxx:251
↓ 4 callers
Function
source_hooks
Source (once) pre-*.build (pre is true) or post-*.build (otherwise) hooks from the specified directory (build/{bootstrap,root}/ of out_root) which mus
libbuild2/file.cxx:397
↓ 4 callers
Function
to_string
libbuild2/script/script.cxx:18
↓ 4 callers
Function
try_actualize
libbuild2/functions-path.cxx:211
↓ 4 callers
Function
try_normalize
libbuild2/functions-path.cxx:197
↓ 3 callers
Function
append_extension
libbuild2/cli/rule.cxx:192
↓ 3 callers
Function
backlink_test
libbuild2/algorithm.cxx:2451
↓ 3 callers
Function
boot_module
libbuild2/module.cxx:832
↓ 3 callers
Function
bootstrap_fwd
libbuild2/file.cxx:672
↓ 3 callers
Function
clean_extra
libbuild2/algorithm.cxx:4575
↓ 3 callers
Function
compiledb_name_to_path
Detect if just <name> in the <name>[@<path>] form is actually <path>. We assume it is <path> and not <name> if it contains a directory component or is
libbuild2/cc/init.cxx:116
↓ 3 callers
Function
create_bootstrap_outer
libbuild2/file.cxx:1520
↓ 3 callers
Function
create_project
libbuild2/file.cxx:4265
↓ 3 callers
Function
dump_variable
libbuild2/dump.cxx:378
↓ 3 callers
Function
empty_buildignore
libbuild2/filesystem.cxx:289
↓ 3 callers
Method
enter
libbuild2/test/script/parser.test.cxx:59
↓ 3 callers
Function
execute_recipe
Execute the specified recipe (if any) and the scope operation callbacks (if any/applicable) then merge and return the resulting target state.
libbuild2/algorithm.cxx:2006
↓ 3 callers
Function
find_angle
libbuild2/cc/types.cxx:25
↓ 3 callers
Function
functions
libbuild2/config/functions.cxx:19
↓ 3 callers
Function
guess
Note: allowed to change pre if succeeds.
libbuild2/cc/guess.cxx:831
↓ 3 callers
Function
import2
libbuild2/file.cxx:3693
↓ 3 callers
Function
import_load
libbuild2/file.cxx:2889
↓ 3 callers
Function
import_search
Return the processed target name as well as the project directory, if any. Absent project directory means nothing importable for this target was foun
libbuild2/file.cxx:2468
↓ 3 callers
Function
info_parse_params
Note: should not fail if mo is NULL (see info_subprojects() below).
libbuild2/operation.cxx:1280
↓ 3 callers
Function
init_process
libbuild2/utility.cxx:900
↓ 3 callers
Function
lock_impl
If the work_queue is absent, then we don't wait. While already applied or executed targets are normally not locked, if options contain any bits that
libbuild2/algorithm.cxx:241
↓ 3 callers
Function
match_adhoc_recipe
Note: not static since also called by rule::sub_match().
libbuild2/algorithm.cxx:521
↓ 3 callers
Function
match_pattern
libbuild2/variable.cxx:2740
↓ 3 callers
Function
msvc_compiler_version
libbuild2/cc/guess.cxx:1452
↓ 3 callers
Function
msvc_extract_library_search_dirs
libbuild2/cc/msvc.cxx:297
↓ 3 callers
Function
parse_compare_flags
libbuild2/functions-string.cxx:147
↓ 3 callers
Function
perform_clean_group_extra
libbuild2/algorithm.cxx:4810
↓ 3 callers
Function
perform_match
This function as well as perform_execute() below are littered with ugly special cases to support update-during-load. This is unfortunate but felt like
libbuild2/operation.cxx:293
↓ 3 callers
Function
prime
libbuild2/scheduler.test.cxx:165
← previous
next →
101–200 of 1,458, ranked by callers