Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KoffeinFlummi/armake2
/ functions
Functions
92 in github.com/KoffeinFlummi/armake2
⨍
Functions
92
◇
Types & classes
30
↓ 36 callers
Method
prepend_error
(self, msg: M)
src/error.rs:30
↓ 32 callers
Method
to_string
Returns the unrapified config as a string.
src/config.rs:438
↓ 30 callers
Method
clone
(&self)
src/preprocess.rs:100
↓ 21 callers
Method
write_cstring
(&mut self, s: S)
src/io.rs:91
↓ 16 callers
Method
read_cstring
(&mut self)
src/io.rs:55
↓ 12 callers
Function
write_bignum
(output: &mut O, bn: &BigNum, size: usize)
src/sign.rs:58
↓ 8 callers
Function
preprocess
Reads input string and returns preprocessed string with an info struct containing the origins of the lines in the output. `path` is the path to the i
src/preprocess.rs:516
↓ 7 callers
Method
seek
(&mut self, pos: io::SeekFrom)
src/io.rs:25
↓ 6 callers
Function
get_input
(args: &Args)
src/run.rs:118
↓ 6 callers
Function
get_output
(args: &Args)
src/run.rs:128
↓ 5 callers
Function
pathsep
Returns the path seperator used on the current operating system
src/preprocess.rs:273
↓ 4 callers
Function
warning
(msg: M, name: Option<&'static str>, location: (Option<M>,Option<u32>))
src/error.rs:107
↓ 3 callers
Function
compressed_int_len
(x: u32)
src/io.rs:113
↓ 3 callers
Function
display_hashes
(a: BigNum, b: BigNum)
src/sign.rs:162
↓ 3 callers
Method
into
(self)
src/sign.rs:390
↓ 3 callers
Function
pad_hash
(hash: &[u8], size: usize)
src/sign.rs:149
↓ 3 callers
Method
write
(&self, output: &mut O)
src/pbo.rs:64
↓ 3 callers
Method
write
Write private key to output.
src/sign.rs:298
↓ 2 callers
Function
binarize
Binarizes the given path with BI's binarize.exe (Only available on Windows).
src/binarize.rs:49
↓ 2 callers
Function
cmd_sign
Signs a PBO with the given private key. If the signature path is not given it is inferred from the PBO path.
src/sign.rs:500
↓ 2 callers
Method
format_error
(self, origin: &Option<PathBuf>, input: &str)
src/error.rs:53
↓ 2 callers
Function
format_parse_error
(line: &str, file: String, line_number: usize, column_number: usize, expected: HashSet<&'static str>)
src/error.rs:93
↓ 2 callers
Function
generate_hashes
(pbo: &PBO, version: BISignVersion, length: u32)
src/sign.rs:118
↓ 2 callers
Function
namehash
(pbo: &PBO)
src/sign.rs:66
↓ 2 callers
Function
print_warning_summary
()
src/error.rs:172
↓ 2 callers
Method
rapified_length
(&self)
src/config.rs:87
↓ 2 callers
Method
read_compressed_int
(&mut self)
src/io.rs:69
↓ 2 callers
Method
resolve_pseudoargs
(&self, def_map: &HashMap<String, Definition>, stack: &[Definition])
src/preprocess.rs:171
↓ 2 callers
Method
to_cursor
Returns the PBO as a `Cursor`.
src/pbo.rs:287
↓ 2 callers
Method
write
(&self, output: &mut O)
src/config.rs:99
↓ 2 callers
Method
write_compressed_int
(&mut self, x: u32)
src/io.rs:97
↓ 2 callers
Method
write_rapified
(&self, output: &mut O)
src/config.rs:124
↓ 1 callers
Function
ansi_support
()
src/run.rs:217
↓ 1 callers
Function
args
(args: &mut Args)
src/run.rs:188
↓ 1 callers
Function
canonicalize
(path: PathBuf)
src/preprocess.rs:335
↓ 1 callers
Function
cmd_binarize
Binarizes the given path using BI's binarize.exe (on Windows) and writes it to the output.
src/binarize.rs:95
↓ 1 callers
Function
cmd_build
(input: PathBuf, output: &mut O, headerext: &[String], excludes: &[String], includefolders: &[PathBuf])
src/pbo.rs:390
↓ 1 callers
Function
cmd_cat
(input: &mut I, output: &mut O, name: &str)
src/pbo.rs:337
↓ 1 callers
Function
cmd_derapify
Reads input, derapifies it and writes to output.
src/config.rs:552
↓ 1 callers
Function
cmd_inspect
(input: &mut I)
src/pbo.rs:314
↓ 1 callers
Function
cmd_keygen
Generates a key pair with the given name. The output paths are created by appending extensions to the keyname.
src/sign.rs:481
↓ 1 callers
Function
cmd_pack
(input: PathBuf, output: &mut O, headerext: &[String], excludes: &[String])
src/pbo.rs:377
↓ 1 callers
Function
cmd_preprocess
Reads input, preprocesses it and writes to output. `path` is the `path` to the input if it is known and is used for relative includes and error messa
src/preprocess.rs:543
↓ 1 callers
Function
cmd_rapify
Reads input, preprocesses and rapifies it and writes to output. `path` is the path to the input if it is known and is used for relative includes and
src/config.rs:543
↓ 1 callers
Function
cmd_unpack
(input: &mut I, output: PathBuf)
src/pbo.rs:352
↓ 1 callers
Function
cmd_verify
Verifies a signature for a pbo against a given public key. If the signature path is not given it is inferred from the PBO path.
src/sign.rs:522
↓ 1 callers
Function
create_temp_directory
(name: &str)
src/binarize.rs:31
↓ 1 callers
Function
file_allowed
(name: &str, exclude_patterns: &[String])
src/pbo.rs:89
↓ 1 callers
Function
filehash
(pbo: &PBO, version: BISignVersion)
src/sign.rs:83
↓ 1 callers
Function
find_binarize_exe
()
src/binarize.rs:18
↓ 1 callers
Function
find_include_file
(include_path: &str, origin: Option<&PathBuf>, search_paths: &[PathBuf])
src/preprocess.rs:350
↓ 1 callers
Function
list_files
(directory: &PathBuf)
src/pbo.rs:297
↓ 1 callers
Function
matches_glob
(s: &str, pattern: &str)
src/pbo.rs:75
↓ 1 callers
Function
matches_include_path
(path: &PathBuf, include_path: &str)
src/preprocess.rs:277
↓ 1 callers
Function
preprocess_rec
(input: String, origin: Option<PathBuf>, definition_map: &mut HashMap<String, Definition>, info: &mut Preproce
src/preprocess.rs:386
↓ 1 callers
Method
print_error
(self, exit: bool)
src/error.rs:37
↓ 1 callers
Function
read_prefix
(prefix_path: &Path)
src/preprocess.rs:265
↓ 1 callers
Method
resolve
(&self, def_map: &HashMap<String, Definition>, stack: &[Definition])
src/preprocess.rs:190
↓ 1 callers
Function
run_command
(args: &Args)
src/run.rs:136
↓ 1 callers
Function
search_directory
(include_path: &str, directory: PathBuf)
src/preprocess.rs:309
↓ 1 callers
Method
sign
Signs the given PBO with this private key.
src/sign.rs:273
↓ 1 callers
Method
to_public_key
Returns the public key for this private key.
src/sign.rs:263
↓ 1 callers
Method
value
(&self, arguments: &Option<Vec<String>>, def_map: &HashMap<String,Definition>, stack: &[Definition])
src/preprocess.rs:123
↓ 1 callers
Method
verify
@todo: example Verifies a signature against this public key.
src/sign.rs:344
↓ 1 callers
Function
warning_suppressed
(name: Option<&'static str>)
src/error.rs:149
Function
bench_config
(c: &mut Criterion)
benches/config.rs:7
Function
bench_preprocess_short
(c: &mut Criterion)
benches/preprocess.rs:5
Method
concat
(tokens: &[Token])
src/preprocess.rs:238
Function
config_read
()
tests/config.rs:6
Method
flush
(&mut self)
src/io.rs:41
Method
from_directory
Constructs a PBO from a directory with optional binarization. `exclude_patterns` contains glob patterns to exclude from the PBO, `includefolders` con
src/pbo.rs:150
Method
from_string
Preprocesses and parses input string. `path` is the path to the input if it is known and is used for relative includes and error messages. `includefo
src/config.rs:516
Method
generate
Generate a new private key with the given name and bitlength. Arma 3 uses 1024 bit keys.
src/sign.rs:245
Function
main
()
build.rs:1
Function
main
()
src/main.rs:6
Method
new
()
src/p3d.rs:48
Function
parse_macro
(input: &str)
src/preprocess.rs:90
Method
read
Reads the unrapified config from input, preprocessing it. `path` is the path to the input if it is known and is used for relative includes and error
src/config.rs:483
Method
read
(input: &mut I)
src/pbo.rs:53
Method
read
Reads a private key from the given input.
src/sign.rs:182
Method
read
(&mut self, buf: &mut [u8])
src/io.rs:16
Method
read
(input: &mut I)
src/p3d.rs:52
Method
read_rapified
(input: &mut I)
src/config.rs:154
Method
resolve_all
(tokens: &[Token], def_map: &HashMap<String, Definition>, stack: &[Definition])
src/preprocess.rs:216
Function
test_preprocess_ifdef
()
tests/preprocess.rs:47
Function
test_preprocess_include
()
tests/preprocess.rs:69
Function
test_preprocess_lineorigins
()
tests/preprocess.rs:108
Function
test_preprocess_macros
()
tests/preprocess.rs:10
Function
test_proprocess_bom
()
tests/preprocess.rs:100
Method
to_cursor
Returns the rapified config as a `Cursor`.
src/config.rs:468
Method
write
(&mut self, buf: &[u8])
src/io.rs:34
Method
write
(&self, output: &mut O)
src/p3d.rs:59