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
↓ 3 callers
Function
quoted_target_name
libbuild2/dump.cxx:66
↓ 3 callers
Function
reapply_impl
libbuild2/algorithm.cxx:1080
↓ 3 callers
Function
remap_src_root
Remap the src_root variable value if it is inside old_src_root.
libbuild2/file.cxx:290
↓ 3 callers
Function
resolve_members
libbuild2/algorithm.cxx:1686
↓ 3 callers
Function
run
libbuild2/utility.cxx:434
↓ 3 callers
Function
run_process_regex
libbuild2/functions-process.cxx:391
↓ 3 callers
Function
save
Save a string to the file. Fail if exception is thrown by underlying operations.
libbuild2/script/run.cxx:175
↓ 3 callers
Function
sense
Determine if we have the target (first), id path (second), or both (in which case we also advance the iterator).
libbuild2/test/common.cxx:22
↓ 3 callers
Function
setup_root_extra
libbuild2/file.cxx:719
↓ 3 callers
Function
source
libbuild2/file.cxx:302
↓ 3 callers
Function
std_module_name
libbuild2/cc/compile-rule.cxx:6019
↓ 3 callers
Method
test
libbuild2/test/script/parser.test.cxx:47
↓ 3 callers
Function
uncaught_exception
C++17 deprecated uncaught_exception() so use uncaught_exceptions() if available.
libbuild2/context.cxx:1382
↓ 3 callers
Function
update_backlink
libbuild2/algorithm.cxx:2131
↓ 2 callers
Function
add_current_drive
Some misconfigured MinGW GCC builds add absolute POSIX directories to their built-in search paths (e.g., /mingw/{include,lib}) which GCC then interpre
libbuild2/cc/gcc.cxx:82
↓ 2 callers
Function
append_numbers
libbuild2/json.cxx:461
↓ 2 callers
Function
array_find_index
libbuild2/functions-json.cxx:16
↓ 2 callers
Function
backlink_collect
libbuild2/algorithm.cxx:2561
↓ 2 callers
Function
blank_adhoc_member
libbuild2/algorithm.cxx:4216
↓ 2 callers
Function
builtin
Return the builtin function pointer if this is a call to an internal builtin and NULL otherwise.
libbuild2/functions-process.cxx:101
↓ 2 callers
Function
builtin_args
Return the builtin name and its arguments. The builtin function is only used to make sure that args have been checked with the builtin() predicate.
libbuild2/functions-process.cxx:119
↓ 2 callers
Function
bundled_module
libbuild2/module.cxx:58
↓ 2 callers
Function
check_build_version
libbuild2/utility.cxx:170
↓ 2 callers
Function
check_output
Check if the script command output matches the expected result (redirect value). Noop for redirect types other than none, here_*.
libbuild2/script/run.cxx:246
↓ 2 callers
Function
clean_backlink
libbuild2/algorithm.cxx:2370
↓ 2 callers
Function
committed_version
If the specified version is a standard snapshot version (snapshot number is present) without snapshot id and the snapshot information can be queried f
libbuild2/operation.cxx:1396
↓ 2 callers
Function
contains
libbuild2/functions-string.cxx:56
↓ 2 callers
Function
create_module_context
Note: also used by ad hoc recipes thus not static.
libbuild2/module.cxx:69
↓ 2 callers
Function
create_new_target_locked
libbuild2/search.cxx:316
↓ 2 callers
Function
default_action
libbuild2/algorithm.cxx:4569
↓ 2 callers
Function
diag_done
libbuild2/diagnostics.cxx:1078
↓ 2 callers
Function
directory_exists
libbuild2/functions-filesystem.cxx:125
↓ 2 callers
Function
disfigure_params
libbuild2/config/operation.cxx:1040
↓ 2 callers
Function
dump_display_target_name
libbuild2/dump.cxx:133
↓ 2 callers
Function
dump_recipe
Dump ad hoc recipe.
libbuild2/dump.cxx:600
↓ 2 callers
Function
ends_with
libbuild2/functions-string.cxx:113
↓ 2 callers
Function
enter_file_impl
libbuild2/dyndep.cxx:421
↓ 2 callers
Function
exists
libbuild2/filesystem.cxx:219
↓ 2 callers
Function
extract_metadata
libbuild2/file.cxx:2221
↓ 2 callers
Function
extract_version_snapshot
libbuild2/version-snapshot.cxx:17
↓ 2 callers
Function
f
old-tests/install/lib/libtest/test/utility.cxx:5
↓ 2 callers
Function
filter
libbuild2/functions-string.cxx:306
↓ 2 callers
Function
filter
libbuild2/functions-name.cxx:122
↓ 2 callers
Function
find_index
libbuild2/functions-string.cxx:293
↓ 2 callers
Function
find_msvc
If cl is not empty, then find an installation that contains this cl.exe path. In this case the path must be absolute and normalized.
libbuild2/cc/guess.cxx:465
↓ 2 callers
Function
find_or_insert
libbuild2/script/regex.cxx:85
↓ 2 callers
Function
find_out_root
libbuild2/file.cxx:175
↓ 2 callers
Function
find_plausible_buildfile
libbuild2/file.cxx:248
↓ 2 callers
Function
find_project_name
Extract the project name from bootstrap.build.
libbuild2/file.cxx:843
↓ 2 callers
Function
find_search
Return true if a part of any of the list elements matches the regular expression. See find_search() overloads (below) for details.
libbuild2/functions-regex.cxx:490
↓ 2 callers
Function
find_src_root
libbuild2/file.cxx:161
↓ 2 callers
Function
find_subprojects
Scan the specified directory for any subprojects. If a subdirectory is a subproject, then enter it into the map, handling the duplicates.
libbuild2/file.cxx:947
↓ 2 callers
Function
fixup_manifest
libbuild2/version/utility.cxx:19
↓ 2 callers
Function
fsdir_mkdir
libbuild2/rule.cxx:287
↓ 2 callers
Function
gcc_extract_library_search_dirs
libbuild2/cc/gcc.cxx:29
↓ 2 callers
Function
hash_prerequisite_target
The script can reference a program in one of four ways: 1. As an (imported) target (e.g., $cli) 2. As a process_path_ex (e.g., $cxx.path). 3. As a
libbuild2/adhoc-rule-buildscript.cxx:113
↓ 2 callers
Function
hash_script_vars
libbuild2/adhoc-rule-buildscript.cxx:29
↓ 2 callers
Function
import
libbuild2/file.cxx:3570
↓ 2 callers
Function
init
libbuild2/script/regex.cxx:202
↓ 2 callers
Function
init_alias
The cc module is an "alias" for c and cxx. Its intended use is to make sure that the C/C++ configuration is captured in an amalgamation rather than su
libbuild2/cc/init.cxx:1089
↓ 2 callers
Function
inject_adhoc_group_member_impl
libbuild2/dyndep.cxx:1017
↓ 2 callers
Function
inject_group_member_impl
libbuild2/dyndep.cxx:856
↓ 2 callers
Function
insert_builtin_functions
libbuild2/function.cxx:370
↓ 2 callers
Function
is_a
libbuild2/functions-name.cxx:93
↓ 2 callers
Function
is_out_root
libbuild2/file.cxx:155
↓ 2 callers
Function
json_subscript_impl
Return the value as well as the indication of whether the index/name is in range.
libbuild2/variable.cxx:1969
↓ 2 callers
Function
link_order
libbuild2/bin/utility.cxx:14
↓ 2 callers
Function
load_module_library
libbuild2/module.cxx:249
↓ 2 callers
Function
match_prerequisite_range
libbuild2/algorithm.cxx:1741
↓ 2 callers
Function
match_stem
Figure out if name contains stem and, optionally, calculate prefix and suffix.
libbuild2/cli/rule.cxx:23
↓ 2 callers
Function
merge_pattern
libbuild2/variable.cxx:2767
↓ 2 callers
Function
metadata_type
Resolve metadata value type from type name. Return in the second half of the pair whether this is a dir_path-based type.
libbuild2/cc/pkgconfig.cxx:70
↓ 2 callers
Function
mkdir_buildignore
libbuild2/filesystem.cxx:271
↓ 2 callers
Function
msvc_bin
Return the MSVC binutils search paths (i.e., what the Visual Studio command prompt puts into PATH).
libbuild2/cc/guess.cxx:1643
↓ 2 callers
Function
msvc_extract_header_search_dirs
libbuild2/cc/msvc.cxx:249
↓ 2 callers
Function
msvc_first_show
Return true if the line matches the file name being compiled (printed by MSVC). Return false if it is one of the D9XXX warnings that may be printed be
libbuild2/cc/compile-rule.cxx:1857
↓ 2 callers
Function
msvc_header_c1083
libbuild2/cc/compile-rule.cxx:1842
↓ 2 callers
Function
msvc_lib
Return the MSVC system library search paths (i.e., what the Visual Studio command prompt puts into LIB) including any paths from the compiler mode and
libbuild2/cc/guess.cxx:1611
↓ 2 callers
Function
msvc_mod
Return the MSVC standard library modules.
libbuild2/cc/guess.cxx:1591
↓ 2 callers
Function
msvc_next_show
Extract the include path from the VC /showIncludes output line. Return empty string if the line is not an include note or include error. Set the good_
libbuild2/cc/compile-rule.cxx:1879
↓ 2 callers
Function
msvc_runtime_version
libbuild2/cc/guess.cxx:1486
↓ 2 callers
Function
msys_path
On Windows we use MSYS2 install.exe and MSYS2 by default ignores filesystem permissions (noacl mount option). And this means, for example, that .exe t
libbuild2/install/rule.cxx:986
↓ 2 callers
Function
open_null
libbuild2/utility.cxx:673
↓ 2 callers
Function
open_pipe
libbuild2/utility.cxx:660
↓ 2 callers
Function
operation_deadline
Helpers.
libbuild2/test/common.cxx:246
↓ 2 callers
Function
opname
libbuild2/parser.cxx:10377
↓ 2 callers
Method
parse
libbuild2/script/builtin-options.cxx:32
↓ 2 callers
Function
parse_macro_name
Parse a macro name after at the specified position (e.g., after `#define`) and check it against the macro list/mapping (if any) If not listed or has a
libbuild2/cc/predefs-rule.cxx:1225
↓ 2 callers
Function
parse_macro_value
Parse a macro value at the specified position (i.e., after the name) and return it as json_value. The default value (or 1 if no default is provided) i
libbuild2/cc/predefs-rule.cxx:1304
↓ 2 callers
Function
parse_search_dirs
Parse semicolon-separated list of search directories (from INCLUDE/LIB environment variables).
libbuild2/cc/msvc.cxx:335
↓ 2 callers
Function
parse_search_dirs
Parse color/semicolon-separated list of search directories (from -print-search-dirs output, environment variables).
libbuild2/cc/gcc.cxx:92
↓ 2 callers
Function
perform_execute
This function as well as the perform_match() above are littered with ugly special cases to support update-during-load. This is unfortunate but felt li
libbuild2/operation.cxx:642
↓ 2 callers
Function
print_diag_cmp
libbuild2/diagnostics.cxx:128
↓ 2 callers
Function
print_diag_collect
Return true if we have multiple partitions (see below for details).
libbuild2/diagnostics.cxx:138
↓ 2 callers
Function
print_diag_print
libbuild2/diagnostics.cxx:186
↓ 2 callers
Function
proc_var
libbuild2/install/init.cxx:38
↓ 2 callers
Function
process_path_ex_copy_ex
libbuild2/variable.cxx:1321
↓ 2 callers
Function
process_path_reverse_impl
libbuild2/variable.cxx:1169
↓ 2 callers
Function
program_args
Convert the program (builtin or process) arguments from names to strings. The function name is only used for diagnostics.
libbuild2/functions-process.cxx:26
↓ 2 callers
Function
read
Read text from a stream, trim it and return as a value. Throw io_error on the stream reading error.
libbuild2/functions-process.cxx:42
← previous
next →
201–300 of 1,458, ranked by callers