MCPcopy Create free account

hub / github.com/KoffeinFlummi/armake2 / functions

Functions92 in github.com/KoffeinFlummi/armake2

↓ 36 callersMethodprepend_error
(self, msg: M)
src/error.rs:30
↓ 32 callersMethodto_string
Returns the unrapified config as a string.
src/config.rs:438
↓ 30 callersMethodclone
(&self)
src/preprocess.rs:100
↓ 21 callersMethodwrite_cstring
(&mut self, s: S)
src/io.rs:91
↓ 16 callersMethodread_cstring
(&mut self)
src/io.rs:55
↓ 12 callersFunctionwrite_bignum
(output: &mut O, bn: &BigNum, size: usize)
src/sign.rs:58
↓ 8 callersFunctionpreprocess
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 callersMethodseek
(&mut self, pos: io::SeekFrom)
src/io.rs:25
↓ 6 callersFunctionget_input
(args: &Args)
src/run.rs:118
↓ 6 callersFunctionget_output
(args: &Args)
src/run.rs:128
↓ 5 callersFunctionpathsep
Returns the path seperator used on the current operating system
src/preprocess.rs:273
↓ 4 callersFunctionwarning
(msg: M, name: Option<&'static str>, location: (Option<M>,Option<u32>))
src/error.rs:107
↓ 3 callersFunctioncompressed_int_len
(x: u32)
src/io.rs:113
↓ 3 callersFunctiondisplay_hashes
(a: BigNum, b: BigNum)
src/sign.rs:162
↓ 3 callersMethodinto
(self)
src/sign.rs:390
↓ 3 callersFunctionpad_hash
(hash: &[u8], size: usize)
src/sign.rs:149
↓ 3 callersMethodwrite
(&self, output: &mut O)
src/pbo.rs:64
↓ 3 callersMethodwrite
Write private key to output.
src/sign.rs:298
↓ 2 callersFunctionbinarize
Binarizes the given path with BI's binarize.exe (Only available on Windows).
src/binarize.rs:49
↓ 2 callersFunctioncmd_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 callersMethodformat_error
(self, origin: &Option<PathBuf>, input: &str)
src/error.rs:53
↓ 2 callersFunctionformat_parse_error
(line: &str, file: String, line_number: usize, column_number: usize, expected: HashSet<&'static str>)
src/error.rs:93
↓ 2 callersFunctiongenerate_hashes
(pbo: &PBO, version: BISignVersion, length: u32)
src/sign.rs:118
↓ 2 callersFunctionnamehash
(pbo: &PBO)
src/sign.rs:66
↓ 2 callersFunctionprint_warning_summary
()
src/error.rs:172
↓ 2 callersMethodrapified_length
(&self)
src/config.rs:87
↓ 2 callersMethodread_compressed_int
(&mut self)
src/io.rs:69
↓ 2 callersMethodresolve_pseudoargs
(&self, def_map: &HashMap<String, Definition>, stack: &[Definition])
src/preprocess.rs:171
↓ 2 callersMethodto_cursor
Returns the PBO as a `Cursor`.
src/pbo.rs:287
↓ 2 callersMethodwrite
(&self, output: &mut O)
src/config.rs:99
↓ 2 callersMethodwrite_compressed_int
(&mut self, x: u32)
src/io.rs:97
↓ 2 callersMethodwrite_rapified
(&self, output: &mut O)
src/config.rs:124
↓ 1 callersFunctionansi_support
()
src/run.rs:217
↓ 1 callersFunctionargs
(args: &mut Args)
src/run.rs:188
↓ 1 callersFunctioncanonicalize
(path: PathBuf)
src/preprocess.rs:335
↓ 1 callersFunctioncmd_binarize
Binarizes the given path using BI's binarize.exe (on Windows) and writes it to the output.
src/binarize.rs:95
↓ 1 callersFunctioncmd_build
(input: PathBuf, output: &mut O, headerext: &[String], excludes: &[String], includefolders: &[PathBuf])
src/pbo.rs:390
↓ 1 callersFunctioncmd_cat
(input: &mut I, output: &mut O, name: &str)
src/pbo.rs:337
↓ 1 callersFunctioncmd_derapify
Reads input, derapifies it and writes to output.
src/config.rs:552
↓ 1 callersFunctioncmd_inspect
(input: &mut I)
src/pbo.rs:314
↓ 1 callersFunctioncmd_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 callersFunctioncmd_pack
(input: PathBuf, output: &mut O, headerext: &[String], excludes: &[String])
src/pbo.rs:377
↓ 1 callersFunctioncmd_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 callersFunctioncmd_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 callersFunctioncmd_unpack
(input: &mut I, output: PathBuf)
src/pbo.rs:352
↓ 1 callersFunctioncmd_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 callersFunctioncreate_temp_directory
(name: &str)
src/binarize.rs:31
↓ 1 callersFunctionfile_allowed
(name: &str, exclude_patterns: &[String])
src/pbo.rs:89
↓ 1 callersFunctionfilehash
(pbo: &PBO, version: BISignVersion)
src/sign.rs:83
↓ 1 callersFunctionfind_binarize_exe
()
src/binarize.rs:18
↓ 1 callersFunctionfind_include_file
(include_path: &str, origin: Option<&PathBuf>, search_paths: &[PathBuf])
src/preprocess.rs:350
↓ 1 callersFunctionlist_files
(directory: &PathBuf)
src/pbo.rs:297
↓ 1 callersFunctionmatches_glob
(s: &str, pattern: &str)
src/pbo.rs:75
↓ 1 callersFunctionmatches_include_path
(path: &PathBuf, include_path: &str)
src/preprocess.rs:277
↓ 1 callersFunctionpreprocess_rec
(input: String, origin: Option<PathBuf>, definition_map: &mut HashMap<String, Definition>, info: &mut Preproce
src/preprocess.rs:386
↓ 1 callersMethodprint_error
(self, exit: bool)
src/error.rs:37
↓ 1 callersFunctionread_prefix
(prefix_path: &Path)
src/preprocess.rs:265
↓ 1 callersMethodresolve
(&self, def_map: &HashMap<String, Definition>, stack: &[Definition])
src/preprocess.rs:190
↓ 1 callersFunctionrun_command
(args: &Args)
src/run.rs:136
↓ 1 callersFunctionsearch_directory
(include_path: &str, directory: PathBuf)
src/preprocess.rs:309
↓ 1 callersMethodsign
Signs the given PBO with this private key.
src/sign.rs:273
↓ 1 callersMethodto_public_key
Returns the public key for this private key.
src/sign.rs:263
↓ 1 callersMethodvalue
(&self, arguments: &Option<Vec<String>>, def_map: &HashMap<String,Definition>, stack: &[Definition])
src/preprocess.rs:123
↓ 1 callersMethodverify
@todo: example Verifies a signature against this public key.
src/sign.rs:344
↓ 1 callersFunctionwarning_suppressed
(name: Option<&'static str>)
src/error.rs:149
Functionbench_config
(c: &mut Criterion)
benches/config.rs:7
Functionbench_preprocess_short
(c: &mut Criterion)
benches/preprocess.rs:5
Methodconcat
(tokens: &[Token])
src/preprocess.rs:238
Functionconfig_read
()
tests/config.rs:6
Methodflush
(&mut self)
src/io.rs:41
Methodfrom_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
Methodfrom_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
Methodgenerate
Generate a new private key with the given name and bitlength. Arma 3 uses 1024 bit keys.
src/sign.rs:245
Functionmain
()
build.rs:1
Functionmain
()
src/main.rs:6
Methodnew
()
src/p3d.rs:48
Functionparse_macro
(input: &str)
src/preprocess.rs:90
Methodread
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
Methodread
(input: &mut I)
src/pbo.rs:53
Methodread
Reads a private key from the given input.
src/sign.rs:182
Methodread
(&mut self, buf: &mut [u8])
src/io.rs:16
Methodread
(input: &mut I)
src/p3d.rs:52
Methodread_rapified
(input: &mut I)
src/config.rs:154
Methodresolve_all
(tokens: &[Token], def_map: &HashMap<String, Definition>, stack: &[Definition])
src/preprocess.rs:216
Functiontest_preprocess_ifdef
()
tests/preprocess.rs:47
Functiontest_preprocess_include
()
tests/preprocess.rs:69
Functiontest_preprocess_lineorigins
()
tests/preprocess.rs:108
Functiontest_preprocess_macros
()
tests/preprocess.rs:10
Functiontest_proprocess_bom
()
tests/preprocess.rs:100
Methodto_cursor
Returns the rapified config as a `Cursor`.
src/config.rs:468
Methodwrite
(&mut self, buf: &[u8])
src/io.rs:34
Methodwrite
(&self, output: &mut O)
src/p3d.rs:59