SYMBOL INDEX (1774 symbols across 85 files) FILE: assets/theme_preview.rs function print_square (line 2) | fn print_square(num: f64) { FILE: build/application.rs function gen_man_and_comp (line 6) | pub fn gen_man_and_comp() -> anyhow::Result<()> { FILE: build/main.rs function main (line 6) | fn main() -> anyhow::Result<()> { FILE: build/syntax_mapping.rs type MappingTarget (line 24) | pub enum MappingTarget { type Err (line 30) | type Err = Infallible; method from_str (line 31) | fn from_str(s: &str) -> Result { method to_tokens (line 40) | fn to_tokens(&self, tokens: &mut TokenStream) { type Matcher (line 54) | struct Matcher(Vec); type Err (line 70) | type Err = anyhow::Error; method from_str (line 71) | fn from_str(s: &str) -> Result { method to_tokens (line 123) | fn to_tokens(&self, tokens: &mut TokenStream) { type MatcherSegment (line 140) | enum MatcherSegment { method is_text (line 155) | fn is_text(&self) -> bool { method is_env (line 158) | fn is_env(&self) -> bool { method text (line 161) | fn text(&self) -> Option<&str> { method env (line 167) | fn env(&self) -> Option<&str> { method to_tokens (line 145) | fn to_tokens(&self, tokens: &mut TokenStream) { type MappingDefModel (line 177) | struct MappingDefModel { method into_mapping_list (line 181) | fn into_mapping_list(self) -> MappingList { type MappingList (line 197) | struct MappingList(Vec<(Matcher, MappingTarget)>); method to_tokens (line 199) | fn to_tokens(&self, tokens: &mut TokenStream) { function get_def_paths (line 216) | fn get_def_paths() -> anyhow::Result> { function read_all_mappings (line 265) | fn read_all_mappings() -> anyhow::Result { function build_static_mappings (line 287) | pub fn build_static_mappings() -> anyhow::Result<()> { FILE: build/util.rs function render_template (line 6) | pub fn render_template( FILE: examples/advanced.rs function main (line 4) | fn main() { FILE: examples/buffer.rs function main (line 5) | fn main() { FILE: examples/cat.rs function main (line 5) | fn main() { FILE: examples/inputs.rs function main (line 5) | fn main() { FILE: examples/list_syntaxes_and_themes.rs function main (line 4) | fn main() { FILE: examples/simple.rs function main (line 4) | fn main() { FILE: examples/yaml.rs type Person (line 6) | struct Person { function main (line 13) | fn main() { FILE: src/assets.rs type HighlightingAssets (line 33) | pub struct HighlightingAssets { method new (line 64) | fn new(serialized_syntax_set: SerializedSyntaxSet, theme_set: LazyThem... method from_cache (line 73) | pub fn from_cache(cache_path: &Path) -> Result { method from_binary (line 80) | pub fn from_binary() -> Self { method set_fallback_theme (line 87) | pub fn set_fallback_theme(&mut self, theme: &'static str) { method get_syntax_set (line 92) | pub fn get_syntax_set(&self) -> Result<&SyntaxSet> { method syntaxes (line 99) | pub fn syntaxes(&self) -> &[SyntaxReference] { method get_syntaxes (line 105) | pub fn get_syntaxes(&self) -> Result<&[SyntaxReference]> { method get_theme_set (line 109) | fn get_theme_set(&self) -> &LazyThemeSet { method themes (line 113) | pub fn themes(&self) -> impl Iterator { method syntax_for_file_name (line 119) | pub fn syntax_for_file_name( method get_syntax_for_path (line 151) | pub fn get_syntax_for_path( method get_theme (line 189) | pub fn get_theme(&self, theme: &str) -> &Theme { method get_syntax (line 210) | pub(crate) fn get_syntax( method find_syntax_by_name (line 274) | pub(crate) fn find_syntax_by_name( method find_syntax_by_extension (line 284) | fn find_syntax_by_extension( method find_syntax_by_hidden_file_name (line 295) | fn find_syntax_by_hidden_file_name( method find_syntax_by_token (line 313) | fn find_syntax_by_token(&self, token: &str) -> Result { constant COMPRESS_SYNTAXES (line 49) | pub(crate) const COMPRESS_SYNTAXES: bool = false; constant COMPRESS_THEMES (line 54) | pub(crate) const COMPRESS_THEMES: bool = false; constant COMPRESS_LAZY_THEMES (line 58) | pub(crate) const COMPRESS_LAZY_THEMES: bool = true; constant COMPRESS_ACKNOWLEDGEMENTS (line 61) | pub(crate) const COMPRESS_ACKNOWLEDGEMENTS: bool = true; function get_serialized_integrated_syntaxset (line 371) | pub(crate) fn get_serialized_integrated_syntaxset() -> &'static [u8] { function get_integrated_themeset (line 375) | pub(crate) fn get_integrated_themeset() -> LazyThemeSet { function get_acknowledgements (line 379) | pub fn get_acknowledgements() -> String { function from_binary (line 386) | pub(crate) fn from_binary(v: &[u8], comp... function asset_from_contents (line 391) | fn asset_from_contents( function asset_from_cache (line 404) | fn asset_from_cache( type SyntaxDetectionTest (line 431) | struct SyntaxDetectionTest<'a> { function new (line 438) | fn new() -> Self { function get_syntax_name (line 446) | fn get_syntax_name( function syntax_for_real_file_with_content_os (line 459) | fn syntax_for_real_file_with_content_os( function syntax_for_file_with_content_os (line 477) | fn syntax_for_file_with_content_os(&self, file_name: &OsStr, first_line:... function syntax_for_file_os (line 488) | fn syntax_for_file_os(&self, file_name: &OsStr) -> String { function syntax_for_file_with_content (line 492) | fn syntax_for_file_with_content(&self, file_name: &str, first_line: &str... function syntax_for_file (line 496) | fn syntax_for_file(&self, file_name: &str) -> String { function syntax_for_stdin_with_content (line 500) | fn syntax_for_stdin_with_content(&self, file_name: &str, content: &[u8])... function syntax_is_same_for_inputkinds (line 507) | fn syntax_is_same_for_inputkinds(&self, file_name: &str, content: &str) ... function syntax_detection_basic (line 524) | fn syntax_detection_basic() { function syntax_detection_invalid_utf8 (line 540) | fn syntax_detection_invalid_utf8() { function syntax_detection_same_for_inputkinds (line 552) | fn syntax_detection_same_for_inputkinds() { function syntax_detection_well_defined_mapping_for_duplicate_extensions (line 573) | fn syntax_detection_well_defined_mapping_for_duplicate_extensions() { function syntax_detection_first_line (line 584) | fn syntax_detection_first_line() { function syntax_detection_first_line_with_utf8_bom (line 602) | fn syntax_detection_first_line_with_utf8_bom() { function syntax_detection_with_custom_mapping (line 637) | fn syntax_detection_with_custom_mapping() { function syntax_detection_with_extension_mapping_to_unknown (line 648) | fn syntax_detection_with_extension_mapping_to_unknown() { function syntax_detection_is_case_insensitive (line 684) | fn syntax_detection_is_case_insensitive() { function syntax_detection_stdin_filename (line 704) | fn syntax_detection_stdin_filename() { function syntax_detection_hidden_file_extensions (line 718) | fn syntax_detection_hidden_file_extensions() { function syntax_detection_for_symlinked_file (line 767) | fn syntax_detection_for_symlinked_file() { function syntax_detection_for_symlinked_file_by_target_extension (line 793) | fn syntax_detection_for_symlinked_file_by_target_extension() { FILE: src/assets/assets_metadata.rs type AssetsMetadata (line 11) | pub struct AssetsMetadata { method new (line 20) | pub(crate) fn new(current_version: &str) -> AssetsMetadata { method save_to_folder (line 28) | pub(crate) fn save_to_folder(&self, path: &Path) -> Result<()> { method try_load_from_folder (line 35) | fn try_load_from_folder(path: &Path) -> Result { method load_from_folder (line 52) | pub fn load_from_folder(path: &Path) -> Result> { method is_compatible_with (line 67) | pub fn is_compatible_with(&self, current_version: &str) -> bool { constant FILENAME (line 16) | const FILENAME: &str = "metadata.yaml"; FILE: src/assets/build_assets.rs function build (line 12) | pub fn build( function build_theme_set (line 38) | fn build_theme_set(source_dir: &Path, include_integrated_assets: bool) -... function build_syntax_set_builder (line 64) | fn build_syntax_set_builder( function print_unlinked_contexts (line 90) | fn print_unlinked_contexts(syntax_set: &SyntaxSet) { function write_assets (line 100) | fn write_assets( function asset_to_contents (line 140) | pub(crate) fn asset_to_contents( function asset_to_cache (line 158) | fn asset_to_cache( FILE: src/assets/build_assets/acknowledgements.rs type PathAndStem (line 9) | struct PathAndStem { function build_acknowledgements (line 18) | pub fn build_acknowledgements( function to_path_and_stem (line 47) | fn to_path_and_stem(source_dir: &Path, entry: DirEntry) -> Option Result> { function handle_notice (line 70) | fn handle_notice(path: &Path) -> Result> { function handle_license (line 75) | fn handle_license(path: &Path) -> Result> { function include_license_in_acknowledgments (line 87) | fn include_license_in_acknowledgments(license_text: &str) -> bool { function license_not_needed_in_acknowledgements (line 106) | fn license_not_needed_in_acknowledgements(license_text: &str) -> bool { function license_contains_marker (line 121) | fn license_contains_marker(license_text: &str, markers: &[&str]) -> bool { function append_to_acknowledgements (line 126) | fn append_to_acknowledgements( function normalize_license_text (line 150) | fn normalize_license_text(license_text: &str) -> String { function test_normalize_license_text (line 166) | fn test_normalize_license_text() { function test_normalize_license_text_with_windows_line_endings (line 178) | fn test_normalize_license_text_with_windows_line_endings() { function test_append_to_acknowledgements_adds_newline_if_missing (line 190) | fn test_append_to_acknowledgements_adds_newline_if_missing() { FILE: src/assets/lazy_theme_set.rs type LazyThemeSet (line 15) | pub struct LazyThemeSet { method get (line 32) | pub fn get(&self, name: &str) -> Option<&Theme> { method themes (line 42) | pub fn themes(&self) -> impl Iterator { type Error (line 77) | type Error = Error; method try_from (line 83) | fn try_from(theme_set: ThemeSet) -> Result { type LazyTheme (line 23) | struct LazyTheme { method deserialize (line 48) | fn deserialize(&self) -> Result { type Error (line 58) | type Error = Error; method try_from (line 64) | fn try_from(lazy_theme_set: LazyThemeSet) -> Result { FILE: src/assets/serialized_syntax_set.rs type SerializedSyntaxSet (line 10) | pub enum SerializedSyntaxSet { method deserialize (line 19) | pub fn deserialize(&self) -> Result { FILE: src/bin/bat/app.rs function is_truecolor_terminal (line 31) | fn is_truecolor_terminal() -> bool { function env_no_color (line 37) | pub fn env_no_color() -> bool { type HelpType (line 41) | enum HelpType { type App (line 46) | pub struct App { method new (line 56) | pub fn new() -> Result { method display_help (line 136) | fn display_help( method build_args_without_config (line 191) | fn build_args_without_config() -> Vec { method matches (line 204) | fn matches(interactive_output: bool) -> Result { method config (line 275) | pub fn config(&self, inputs: &[Input]) -> Result> { method inputs (line 527) | pub fn inputs(&self) -> Result>> { method forced_style_components (line 573) | fn forced_style_components(&self) -> Option { method style_components (line 600) | fn style_components(&self) -> Result { method theme_options (line 638) | fn theme_options(&self) -> ThemeOptions { method theme_options_from_matches (line 642) | fn theme_options_from_matches(matches: &ArgMatches) -> ThemeOptions { FILE: src/bin/bat/assets.rs function clear_assets (line 12) | pub fn clear_assets(cache_dir: &Path) { function assets_from_cache_or_binary (line 18) | pub fn assets_from_cache_or_binary( function clear_asset (line 46) | fn clear_asset(path: PathBuf, description: &str) { FILE: src/bin/bat/clap_app.rs function build_app (line 21) | pub fn build_app(interactive_output: bool) -> Command { function verify_app (line 779) | fn verify_app() { FILE: src/bin/bat/completions.rs constant BASH_COMPLETION (line 3) | pub const BASH_COMPLETION: &str = include_str!(env!("BAT_GENERATED_COMPL... constant FISH_COMPLETION (line 4) | pub const FISH_COMPLETION: &str = include_str!(env!("BAT_GENERATED_COMPL... constant PS1_COMPLETION (line 5) | pub const PS1_COMPLETION: &str = include_str!(env!("BAT_GENERATED_COMPLE... constant ZSH_COMPLETION (line 6) | pub const ZSH_COMPLETION: &str = include_str!(env!("BAT_GENERATED_COMPLE... FILE: src/bin/bat/config.rs constant DEFAULT_SYSTEM_CONFIG_PREFIX (line 10) | const DEFAULT_SYSTEM_CONFIG_PREFIX: &str = "/etc"; constant DEFAULT_SYSTEM_CONFIG_PREFIX (line 13) | const DEFAULT_SYSTEM_CONFIG_PREFIX: &str = "C:\\ProgramData"; function system_config_file (line 15) | pub fn system_config_file() -> PathBuf { function config_file (line 25) | pub fn config_file() -> PathBuf { function generate_config_file (line 32) | pub fn generate_config_file() -> bat::error::Result<()> { function get_args_from_config_file (line 104) | pub fn get_args_from_config_file() -> Result, shell_words:... function same_file (line 126) | fn same_file(a: &Path, b: &Path) -> bool { function get_args_from_env_opts_var (line 133) | pub fn get_args_from_env_opts_var() -> Option, shel... function get_args_from_str (line 137) | fn get_args_from_str(content: &str) -> Result, shell_words... function get_args_from_env_vars (line 153) | pub fn get_args_from_env_vars() -> Vec { function empty (line 174) | fn empty() { function single (line 180) | fn single() { function multiple (line 185) | fn multiple() { function quotes (line 193) | fn quotes() { function multi_line (line 201) | fn multi_line() { function comments (line 215) | fn comments() { function same_file_identical_paths (line 233) | fn same_file_identical_paths() { function same_file_different_paths (line 241) | fn same_file_different_paths() { function same_file_nonexistent (line 251) | fn same_file_nonexistent() { function same_file_via_symlink (line 260) | fn same_file_via_symlink() { FILE: src/bin/bat/directories.rs type BatProjectDirs (line 9) | pub struct BatProjectDirs { method new (line 15) | fn new() -> Option { method cache_dir (line 41) | pub fn cache_dir(&self) -> &Path { method config_dir (line 45) | pub fn config_dir(&self) -> &Path { FILE: src/bin/bat/input.rs function new_file_input (line 4) | pub fn new_file_input<'a>(file: &'a Path, name: Option<&'a Path>) -> Inp... function new_stdin_input (line 8) | pub fn new_stdin_input(name: Option<&Path>) -> Input<'_> { function named (line 12) | fn named<'a>(input: Input<'a>, name: Option<&Path>) -> Input<'a> { FILE: src/bin/bat/main.rs constant THEME_PREVIEW_DATA (line 46) | const THEME_PREVIEW_DATA: &[u8] = include_bytes!("../../../assets/theme_... function build_assets (line 49) | fn build_assets(matches: &clap::ArgMatches, config_dir: &Path, cache_dir... function run_cache_subcommand (line 64) | fn run_cache_subcommand( function get_syntax_mapping_to_paths (line 86) | fn get_syntax_mapping_to_paths<'r, 't, I>(mappings: I) -> HashMap<&'t st... function get_languages (line 101) | pub fn get_languages(config: &Config, cache_dir: &Path) -> Result { function theme_preview_file (line 192) | fn theme_preview_file<'a>() -> Input<'a> { function list_themes (line 196) | pub fn list_themes( function set_terminal_title_to (line 259) | fn set_terminal_title_to(new_terminal_title: String) { function get_new_terminal_title (line 266) | fn get_new_terminal_title(inputs: &Vec) -> String { function run_controller (line 277) | fn run_controller(inputs: Vec, config: &Config, cache_dir: &Path)... function invoke_bugreport (line 287) | fn invoke_bugreport(app: &App, cache_dir: &Path) { function run (line 345) | fn run() -> Result { function main (line 428) | fn main() { FILE: src/config.rs type VisibleLines (line 11) | pub enum VisibleLines { method diff_mode (line 21) | pub fn diff_mode(&self) -> bool { method default (line 31) | fn default() -> Self { type Config (line 37) | pub struct Config<'a> { function get_pager_executable (line 122) | pub fn get_pager_executable(config_pager: Option<&str>) -> Option { function default_config_should_include_all_lines (line 136) | fn default_config_should_include_all_lines() { function default_config_should_highlight_no_lines (line 147) | fn default_config_should_highlight_no_lines() { function get_pager_executable_with_config_pager_less (line 162) | fn get_pager_executable_with_config_pager_less() { function get_pager_executable_with_config_pager_builtin (line 169) | fn get_pager_executable_with_config_pager_builtin() { function get_pager_executable_with_config_pager_more (line 176) | fn get_pager_executable_with_config_pager_more() { function get_pager_executable_with_bat_pager (line 183) | fn get_pager_executable_with_bat_pager() { function get_pager_executable_with_pager_more_switches_to_less (line 192) | fn get_pager_executable_with_pager_more_switches_to_less() { function get_pager_executable_default (line 201) | fn get_pager_executable_default() { function get_pager_executable_name_ignoring_arguments (line 211) | fn get_pager_executable_name_ignoring_arguments() { function get_pager_executable_name_ignoring_path (line 218) | fn get_pager_executable_name_ignoring_path() { function get_pager_executable_invalid_command (line 225) | fn get_pager_executable_invalid_command() { function get_pager_executable_empty_config (line 232) | fn get_pager_executable_empty_config() { FILE: src/controller.rs type Controller (line 22) | pub struct Controller<'a> { function new (line 30) | pub fn new<'a>(config: &'a Config, assets: &'a HighlightingAssets) -> Co... function run (line 39) | pub fn run( function run_with_error_handler (line 47) | pub fn run_with_error_handler( function print_input (line 141) | fn print_input( function print_file (line 214) | fn print_file( function print_file_ranges (line 252) | fn print_file_ranges( FILE: src/decorations.rs type DecorationText (line 7) | pub(crate) struct DecorationText { type Decoration (line 12) | pub(crate) trait Decoration { method generate (line 13) | fn generate( method width (line 19) | fn width(&self) -> usize; method generate (line 42) | fn generate( method width (line 67) | fn width(&self) -> usize { method generate (line 104) | fn generate( method width (line 125) | fn width(&self) -> usize { method generate (line 146) | fn generate( method width (line 155) | fn width(&self) -> usize { type LineNumberDecoration (line 22) | pub(crate) struct LineNumberDecoration { method new (line 29) | pub(crate) fn new(colors: &Colors) -> Self { type LineChangesDecoration (line 73) | pub(crate) struct LineChangesDecoration { method generate_cached (line 84) | fn generate_cached(style: Style, text: &str) -> DecorationText { method new (line 91) | pub(crate) fn new(colors: &Colors) -> Self { type GridBorderDecoration (line 130) | pub(crate) struct GridBorderDecoration { method new (line 135) | pub(crate) fn new(colors: &Colors) -> Self { FILE: src/diff.rs type LineChange (line 10) | pub enum LineChange { type LineChanges (line 17) | pub type LineChanges = HashMap; function get_git_diff (line 19) | pub fn get_git_diff(filename: &Path) -> Option { FILE: src/error.rs type Error (line 6) | pub enum Error { method from (line 43) | fn from(s: &'static str) -> Self { method from (line 49) | fn from(s: String) -> Self { type Result (line 54) | pub type Result = std::result::Result; function default_error_handler (line 56) | pub fn default_error_handler(error: &Error, output: &mut dyn Write) { FILE: src/input.rs type InputDescription (line 15) | pub struct InputDescription { method new (line 32) | pub fn new(name: impl Into) -> Self { method set_kind (line 41) | pub fn set_kind(&mut self, kind: Option) { method set_summary (line 45) | pub fn set_summary(&mut self, summary: Option) { method set_title (line 49) | pub fn set_title(&mut self, title: Option) { method title (line 53) | pub fn title(&self) -> &String { method kind (line 60) | pub fn kind(&self) -> Option<&String> { method summary (line 64) | pub fn summary(&self) -> String { type InputKind (line 72) | pub(crate) enum InputKind<'a> { function description (line 79) | pub fn description(&self) -> InputDescription { type InputMetadata (line 89) | pub(crate) struct InputMetadata { type Input (line 94) | pub struct Input<'a> { type OpenedInputKind (line 100) | pub(crate) enum OpenedInputKind { type OpenedInput (line 106) | pub(crate) struct OpenedInput<'a> { function path (line 117) | pub(crate) fn path(&self) -> Option<&PathBuf> { function ordinary_file (line 129) | pub fn ordinary_file(path: impl AsRef) -> Self { function _ordinary_file (line 133) | fn _ordinary_file(path: &Path) -> Self { function stdin (line 147) | pub fn stdin() -> Self { function from_reader (line 156) | pub fn from_reader(reader: Box) -> Self { function is_stdin (line 165) | pub fn is_stdin(&self) -> bool { function with_name (line 169) | pub fn with_name(self, provided_name: Option>) -> Self { function _with_name (line 173) | fn _with_name(mut self, provided_name: Option<&Path>) -> Self { function description (line 182) | pub fn description(&self) -> &InputDescription { function description_mut (line 186) | pub fn description_mut(&mut self) -> &mut InputDescription { function open (line 190) | pub(crate) fn open( type InputReader (line 252) | pub(crate) struct InputReader<'a> { function new (line 260) | pub(crate) fn new(mut reader: R) -> InputReader<'a> { function read_line (line 284) | pub(crate) fn read_line(&mut self, buf: &mut Vec) -> io::Result { function read_line_unbuffered (line 305) | fn read_line_unbuffered(&mut self, buf: &mut Vec) -> io::Result { function read_utf16_line (line 322) | fn read_utf16_line( function basic (line 349) | fn basic() { function utf16le (line 378) | fn utf16le() { function unbuffered_returns_partial_data (line 407) | fn unbuffered_returns_partial_data() { function unbuffered_returns_complete_lines (line 437) | fn unbuffered_returns_complete_lines() { function unbuffered_eof_handling (line 467) | fn unbuffered_eof_handling() { function utf16le_issue3367 (line 490) | fn utf16le_issue3367() { FILE: src/less.rs type LessVersion (line 7) | pub enum LessVersion { function retrieve_less_version (line 12) | pub fn retrieve_less_version(less_path: &dyn AsRef) -> Option Option { function parse_less_version_busybox (line 33) | fn parse_less_version_busybox(output: &[u8]) -> Option { function test_parse_less_version_487 (line 41) | fn test_parse_less_version_487() { function test_parse_less_version_529 (line 54) | fn test_parse_less_version_529() { function test_parse_less_version_551 (line 67) | fn test_parse_less_version_551() { function test_parse_less_version_581_2 (line 80) | fn test_parse_less_version_581_2() { function test_parse_less_version_wrong_program (line 93) | fn test_parse_less_version_wrong_program() { function test_parse_less_version_busybox (line 101) | fn test_parse_less_version_busybox() { function test_parse_less_version_invalid_utf_8 (line 126) | fn test_parse_less_version_invalid_utf_8() { FILE: src/lessopen.rs type LessOpenPreprocessor (line 18) | pub(crate) struct LessOpenPreprocessor { method new (line 35) | pub(crate) fn new() -> Result { method open (line 77) | pub(crate) fn open<'a, R: BufRead + 'a>( method fall_back_to_original_file (line 201) | fn fall_back_to_original_file(&self, lessopen_stdout: &[u8], exit_code... method mock_new (line 209) | fn mock_new(lessopen: Option<&str>, lessclose: Option<&str>) -> Result... type LessOpenKind (line 26) | enum LessOpenKind { type PreprocessedKind (line 226) | enum PreprocessedKind { method read (line 232) | fn read(&mut self, buf: &mut [u8]) -> std::result::Result std::result::Result Result<()> { function test_just_lessclose (line 300) | fn test_just_lessclose() -> Result<()> { function test_both_lessopen_and_lessclose (line 312) | fn test_both_lessopen_and_lessclose() -> Result<()> { function test_lessopen_prefixes (line 326) | fn test_lessopen_prefixes() -> Result<()> { function replace_part_of_argument (line 376) | fn replace_part_of_argument() -> Result<()> { FILE: src/line_range.rs type LineRange (line 5) | pub struct LineRange { method new (line 29) | pub fn new(from: usize, to: usize) -> Self { method from (line 36) | pub fn from(range_raw: &str) -> Result { method parse_range (line 40) | fn parse_range(range_raw: &str) -> Result { method is_inside (line 136) | pub(crate) fn is_inside( type RangeBound (line 12) | pub(crate) enum RangeBound { method default (line 20) | fn default() -> LineRange { function test_parse_full (line 195) | fn test_parse_full() { function test_parse_partial_min (line 202) | fn test_parse_partial_min() { function test_parse_partial_relative_negative_from_back (line 209) | fn test_parse_partial_relative_negative_from_back() { function test_parse_relative_negative_from_back_partial (line 216) | fn test_parse_relative_negative_from_back_partial() { function test_parse_partial_max (line 223) | fn test_parse_partial_max() { function test_parse_single (line 230) | fn test_parse_single() { function test_parse_fail (line 237) | fn test_parse_fail() { function test_parse_plus (line 252) | fn test_parse_plus() { function test_parse_plus_overflow (line 259) | fn test_parse_plus_overflow() { function test_parse_plus_fail (line 266) | fn test_parse_plus_fail() { function test_parse_minus_success (line 276) | fn test_parse_minus_success() { function test_parse_minus_edge_cases_success (line 283) | fn test_parse_minus_edge_cases_success() { function test_parse_minus_fail (line 296) | fn test_parse_minus_fail() { function test_parse_context_single_line (line 306) | fn test_parse_context_single_line() { function test_parse_context_range (line 313) | fn test_parse_context_range() { function test_parse_context_edge_cases (line 325) | fn test_parse_context_edge_cases() { function test_parse_context_fail (line 343) | fn test_parse_context_fail() { type RangeCheckResult (line 357) | pub enum RangeCheckResult { type MaxBufferedLineNumber (line 370) | pub(crate) enum MaxBufferedLineNumber { type LineRanges (line 378) | pub struct LineRanges { method none (line 389) | pub fn none() -> LineRanges { method all (line 393) | pub fn all() -> LineRanges { method from (line 397) | pub fn from(ranges: Vec) -> LineRanges { method check (line 430) | pub(crate) fn check( method largest_offset_from_end (line 451) | pub(crate) fn largest_offset_from_end(&self) -> usize { method default (line 457) | fn default() -> Self { type HighlightedLineRanges (line 463) | pub struct HighlightedLineRanges(pub LineRanges); method default (line 466) | fn default() -> Self { function ranges (line 472) | fn ranges(rs: &[&str]) -> LineRanges { function test_ranges_simple (line 477) | fn test_ranges_simple() { function test_ranges_advanced (line 495) | fn test_ranges_advanced() { function test_ranges_open_low (line 529) | fn test_ranges_open_low() { function test_ranges_open_high (line 551) | fn test_ranges_open_high() { function test_ranges_open_up_to_3_from_end (line 589) | fn test_ranges_open_up_to_3_from_end() { function test_ranges_multiple_negative_from_back (line 630) | fn test_ranges_multiple_negative_from_back() { function test_ranges_3_from_back_up_to_end (line 667) | fn test_ranges_3_from_back_up_to_end() { function test_ranges_multiple_negative_offsets_to_end (line 705) | fn test_ranges_multiple_negative_offsets_to_end() { function test_ranges_absolute_bound_and_offset (line 726) | fn test_ranges_absolute_bound_and_offset() { function test_ranges_all (line 751) | fn test_ranges_all() { function test_ranges_none (line 761) | fn test_ranges_none() { FILE: src/nonprintable_notation.rs type NonprintableNotation (line 5) | pub enum NonprintableNotation { type BinaryBehavior (line 17) | pub enum BinaryBehavior { FILE: src/output.rs type BuiltinPager (line 17) | pub struct BuiltinPager { method new (line 24) | fn new() -> Self { method fmt (line 38) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type SingleScreenAction (line 48) | enum SingleScreenAction { type OutputType (line 54) | pub enum OutputType { method from_mode (line 64) | pub fn from_mode( method try_pager (line 81) | fn try_pager( method stdout (line 190) | pub(crate) fn stdout() -> Self { method is_pager (line 195) | pub(crate) fn is_pager(&self) -> bool { method is_pager (line 200) | pub(crate) fn is_pager(&self) -> bool { method handle (line 204) | pub fn handle<'a>(&'a mut self) -> Result> { method drop (line 222) | fn drop(&mut self) { type OutputHandle (line 237) | pub enum OutputHandle<'a> { function write_fmt (line 243) | pub fn write_fmt(&mut self, args: fmt::Arguments<'_>) -> Result<()> { function flush (line 250) | pub fn flush(&mut self) -> Result<()> { FILE: src/pager.rs type PagerSource (line 6) | pub(crate) enum PagerSource { type PagerKind (line 22) | pub(crate) enum PagerKind { method from_bin (line 43) | fn from_bin(bin: &str) -> PagerKind { type Pager (line 74) | pub(crate) struct Pager { method new (line 89) | fn new(bin: &str, args: &[String], kind: PagerKind, source: PagerSourc... function get_pager (line 100) | pub(crate) fn get_pager(config_pager: Option<&str>) -> Result Stri... function try_parse_utf8_char (line 45) | fn try_parse_utf8_char(input: &[u8]) -> Option<(char, usize)> { function replace_nonprintable (line 59) | pub fn replace_nonprintable( function strip_ansi (line 140) | pub fn strip_ansi(line: &str) -> String { function strip_overstrike (line 160) | pub fn strip_overstrike(line: &str, first_backspace: usize) -> String { type StripAnsiMode (line 182) | pub enum StripAnsiMode { function test_try_parse_utf8_char (line 190) | fn test_try_parse_utf8_char() { function test_strip_ansi (line 234) | fn test_strip_ansi() { function test_strip_overstrike (line 245) | fn test_strip_overstrike() { FILE: src/pretty_printer.rs type ActiveStyleComponents (line 22) | struct ActiveStyleComponents { type Syntax (line 33) | pub struct Syntax { type PrettyPrinter (line 38) | pub struct PrettyPrinter<'a> { function new (line 49) | pub fn new() -> Self { function input (line 68) | pub fn input(&mut self, input: Input<'a>) -> &mut Self { function inputs (line 74) | pub fn inputs(&mut self, inputs: impl IntoIterator>) ->... function input_file (line 82) | pub fn input_file(&mut self, path: impl AsRef) -> &mut Self { function input_files (line 87) | pub fn input_files(&mut self, paths: I) -> &mut Self function input_stdin (line 96) | pub fn input_stdin(&mut self) -> &mut Self { function input_from_bytes (line 102) | pub fn input_from_bytes(&mut self, content: &'a [u8]) -> &mut Self { function input_from_reader (line 107) | pub fn input_from_reader(&mut self, reader: R) -> &mut Self { function language (line 113) | pub fn language(&mut self, language: &'a str) -> &mut Self { function term_width (line 119) | pub fn term_width(&mut self, width: usize) -> &mut Self { function tab_width (line 125) | pub fn tab_width(&mut self, tab_width: Option) -> &mut Self { function colored_output (line 131) | pub fn colored_output(&mut self, yes: bool) -> &mut Self { function true_color (line 137) | pub fn true_color(&mut self, yes: bool) -> &mut Self { function header (line 143) | pub fn header(&mut self, yes: bool) -> &mut Self { function line_numbers (line 149) | pub fn line_numbers(&mut self, yes: bool) -> &mut Self { function grid (line 155) | pub fn grid(&mut self, yes: bool) -> &mut Self { function rule (line 161) | pub fn rule(&mut self, yes: bool) -> &mut Self { function vcs_modification_markers (line 169) | pub fn vcs_modification_markers(&mut self, yes: bool) -> &mut Self { function show_nonprintable (line 175) | pub fn show_nonprintable(&mut self, yes: bool) -> &mut Self { function snip (line 181) | pub fn snip(&mut self, yes: bool) -> &mut Self { function strip_ansi (line 190) | pub fn strip_ansi(&mut self, mode: StripAnsiMode) -> &mut Self { function wrapping_mode (line 196) | pub fn wrapping_mode(&mut self, mode: WrappingMode) -> &mut Self { function use_italics (line 202) | pub fn use_italics(&mut self, yes: bool) -> &mut Self { function paging_mode (line 209) | pub fn paging_mode(&mut self, mode: PagingMode) -> &mut Self { function pager (line 216) | pub fn pager(&mut self, cmd: &'a str) -> &mut Self { function line_ranges (line 222) | pub fn line_ranges(&mut self, ranges: LineRanges) -> &mut Self { function highlight (line 230) | pub fn highlight(&mut self, line: usize) -> &mut Self { function highlight_range (line 238) | pub fn highlight_range(&mut self, from: usize, to: usize) -> &mut Self { function squeeze_empty_lines (line 244) | pub fn squeeze_empty_lines(&mut self, maximum: Option) -> &mut Se... function theme (line 252) | pub fn theme(&mut self, theme: impl AsRef) -> &mut Self { function syntax_mapping (line 258) | pub fn syntax_mapping(&mut self, mapping: SyntaxMapping<'a>) -> &mut Self { function themes (line 263) | pub fn themes(&self) -> impl Iterator { function syntaxes (line 267) | pub fn syntaxes(&self) -> impl Iterator + '_ { function print (line 284) | pub fn print(&mut self) -> Result { function print_with_writer (line 289) | pub fn print_with_writer(&mut self, writer: Option Self { type Input (line 346) | pub struct Input<'a> { function from_reader (line 352) | pub fn from_reader(reader: R) -> Self { function from_file (line 357) | pub fn from_file(path: impl AsRef) -> Self { function from_bytes (line 362) | pub fn from_bytes(bytes: &'a [u8]) -> Self { function from_stdin (line 367) | pub fn from_stdin() -> Self { function name (line 373) | pub fn name(mut self, name: impl AsRef) -> Self { function kind (line 379) | pub fn kind(mut self, kind: impl Into) -> Self { function title (line 389) | pub fn title(mut self, title: impl Into) -> Self { function from (line 396) | fn from(input: input::Input<'a>) -> Self { function from (line 402) | fn from(Input { input }: Input<'a>) -> Self { FILE: src/printer.rs constant ANSI_UNDERLINE_ENABLE (line 40) | const ANSI_UNDERLINE_ENABLE: EscapeSequence = EscapeSequence::CSI { constant ANSI_UNDERLINE_DISABLE (line 47) | const ANSI_UNDERLINE_DISABLE: EscapeSequence = EscapeSequence::CSI { constant EMPTY_SYNTECT_STYLE (line 54) | const EMPTY_SYNTECT_STYLE: syntect::highlighting::Style = syntect::highl... type Printer (line 70) | pub(crate) trait Printer { method print_header (line 71) | fn print_header( method print_footer (line 77) | fn print_footer(&mut self, handle: &mut OutputHandle, input: &OpenedIn... method print_snip (line 79) | fn print_snip(&mut self, handle: &mut OutputHandle) -> Result<()>; method print_line (line 81) | fn print_line( method print_header (line 106) | fn print_header( method print_footer (line 115) | fn print_footer(&mut self, _handle: &mut OutputHandle, _input: &Opened... method print_snip (line 119) | fn print_snip(&mut self, _handle: &mut OutputHandle) -> Result<()> { method print_line (line 123) | fn print_line( method print_header (line 456) | fn print_header( method print_footer (line 568) | fn print_footer(&mut self, handle: &mut OutputHandle, _input: &OpenedI... method print_snip (line 585) | fn print_snip(&mut self, handle: &mut OutputHandle) -> Result<()> { method print_line (line 609) | fn print_line( type SimplePrinter (line 91) | pub struct SimplePrinter<'a> { function new (line 97) | pub fn new(config: &'a Config) -> Self { type HighlighterFromSet (line 174) | struct HighlighterFromSet<'a> { function new (line 180) | fn new(syntax_in_set: SyntaxReferenceInSet<'a>, theme: &'a Theme) -> Self { type InteractivePrinter (line 188) | pub(crate) struct InteractivePrinter<'a> { function new (line 205) | pub(crate) fn new( function print_horizontal_line_term (line 327) | fn print_horizontal_line_term( function print_horizontal_line (line 340) | fn print_horizontal_line(&mut self, handle: &mut OutputHandle, grid_char... function create_fake_panel (line 352) | fn create_fake_panel(&self, text: &str) -> String { function get_header_component_indent_length (line 369) | fn get_header_component_indent_length(&self) -> usize { function print_header_component_indent (line 377) | fn print_header_component_indent(&mut self, handle: &mut OutputHandle) -... function print_header_component_with_indent (line 392) | fn print_header_component_with_indent( function print_header_multiline_component (line 401) | fn print_header_multiline_component( function highlight_regions_for_line (line 420) | fn highlight_regions_for_line<'b>( function preprocess (line 445) | fn preprocess(&self, text: &str, cursor: &mut usize) -> String { constant DEFAULT_GUTTER_COLOR (line 937) | const DEFAULT_GUTTER_COLOR: u8 = 238; type Colors (line 940) | pub struct Colors { method plain (line 951) | fn plain() -> Self { method colored (line 955) | fn colored(theme: &Theme, true_color: bool) -> Self { FILE: src/style.rs type StyleComponent (line 8) | pub enum StyleComponent { method components (line 25) | pub fn components(self, interactive_terminal: bool) -> &'static [Style... type Err (line 66) | type Err = Error; method from_str (line 68) | fn from_str(s: &str) -> Result { type StyleComponents (line 89) | pub struct StyleComponents(pub HashSet); method new (line 92) | pub fn new(components: &[StyleComponent]) -> StyleComponents { method changes (line 97) | pub fn changes(&self) -> bool { method grid (line 101) | pub fn grid(&self) -> bool { method rule (line 105) | pub fn rule(&self) -> bool { method header (line 109) | pub fn header(&self) -> bool { method header_filename (line 113) | pub fn header_filename(&self) -> bool { method header_filesize (line 117) | pub fn header_filesize(&self) -> bool { method numbers (line 121) | pub fn numbers(&self) -> bool { method snip (line 125) | pub fn snip(&self) -> bool { method plain (line 129) | pub fn plain(&self) -> bool { method insert (line 133) | pub fn insert(&mut self, component: StyleComponent) { method clear (line 137) | pub fn clear(&mut self) { type ComponentAction (line 143) | enum ComponentAction { method extract_from_str (line 150) | fn extract_from_str(string: &str) -> (ComponentAction, &str) { type StyleComponentList (line 160) | pub struct StyleComponentList(Vec<(ComponentAction, StyleComponent)>); method expand_into (line 163) | fn expand_into(&self, components: &mut HashSet, intera... method contains_override (line 176) | fn contains_override(&self) -> bool { method to_components (line 195) | pub fn to_components( method default (line 217) | fn default() -> Self { type Err (line 223) | type Err = Error; method from_str (line 225) | fn from_str(s: &str) -> Result { function style_component_list_parse (line 246) | pub fn style_component_list_parse() { function style_component_list_to_components (line 266) | pub fn style_component_list_to_components() { function style_component_list_to_components_removes_negated (line 279) | pub fn style_component_list_to_components_removes_negated() { function style_component_list_to_components_expands_subcomponents (line 292) | pub fn style_component_list_to_components_expands_subcomponents() { function style_component_list_expand_negates_subcomponents (line 305) | pub fn style_component_list_expand_negates_subcomponents() { function style_component_list_to_components_precedence_overrides_previous_lists (line 315) | pub fn style_component_list_to_components_precedence_overrides_previous_... function style_component_list_to_components_precedence_merges_previous_lists (line 331) | pub fn style_component_list_to_components_precedence_merges_previous_lis... function style_component_list_default_builds_on_auto (line 348) | pub fn style_component_list_default_builds_on_auto() { FILE: src/syntax_mapping.rs function make_glob_matcher (line 20) | fn make_glob_matcher(from: &str) -> Result { type MappingTarget (line 31) | pub enum MappingTarget<'a> { type SyntaxMapping (line 50) | pub struct SyntaxMapping<'a> { method drop (line 65) | fn drop(&mut self) { function new (line 72) | pub fn new() -> SyntaxMapping<'a> { function start_offload_build_all (line 82) | pub fn start_offload_build_all(&self) { function insert (line 99) | pub fn insert(&mut self, from: &str, to: MappingTarget<'a>) -> Result<()> { function all_mappings (line 112) | pub fn all_mappings(&self) -> impl Iterator &[(GlobMatcher, MappingTarget<'a>)] { function get_syntax_for (line 148) | pub fn get_syntax_for(&self, path: impl AsRef) -> Option GlobMatcher { function build_matcher_dynamic (line 67) | fn build_matcher_dynamic(segs: &[MatcherSegment]) -> Option { type MatcherSegment (line 88) | enum MatcherSegment { FILE: src/syntax_mapping/ignored_suffixes.rs type IgnoredSuffixes (line 8) | pub struct IgnoredSuffixes<'a> { method default (line 13) | fn default() -> Self { function add_suffix (line 41) | pub fn add_suffix(&mut self, suffix: &'a str) { function strip_suffix (line 45) | pub fn strip_suffix(&self, file_name: &'a str) -> Option<&'a str> { function try_with_stripped_suffix (line 56) | pub fn try_with_stripped_suffix(&self, file_name: &'a OsStr, func:... function internal_suffixes (line 70) | fn internal_suffixes() { function external_suffixes (line 90) | fn external_suffixes() { FILE: src/terminal.rs function to_ansi_color (line 6) | pub fn to_ansi_color(color: highlighting::Color, true_color: bool) -> Op... function as_terminal_escaped (line 49) | pub fn as_terminal_escaped( FILE: src/theme.rs constant BAT_THEME (line 11) | pub const BAT_THEME: &str = "BAT_THEME"; constant BAT_THEME_DARK (line 13) | pub const BAT_THEME_DARK: &str = "BAT_THEME_DARK"; constant BAT_THEME_LIGHT (line 15) | pub const BAT_THEME_LIGHT: &str = "BAT_THEME_LIGHT"; function theme (line 24) | pub fn theme(options: ThemeOptions) -> ThemeResult { function default_theme (line 30) | pub const fn default_theme(color_scheme: ColorScheme) -> &'static str { function color_scheme (line 38) | pub fn color_scheme(when: DetectColorScheme) -> Option { type ThemeOptions (line 45) | pub struct ThemeOptions { type ThemePreference (line 67) | pub enum ThemePreference { method new (line 87) | pub fn new(s: impl Into) -> Self { method fmt (line 110) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method default (line 80) | fn default() -> Self { type Err (line 102) | type Err = Infallible; method from_str (line 104) | fn from_str(s: &str) -> Result { type ThemeName (line 131) | pub enum ThemeName { method new (line 138) | pub fn new(s: impl Into) -> Self { method fmt (line 157) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 149) | type Err = Infallible; method from_str (line 151) | fn from_str(s: &str) -> Result { type DetectColorScheme (line 166) | pub enum DetectColorScheme { type ColorScheme (line 178) | pub enum ColorScheme { type ThemeResult (line 187) | pub struct ThemeResult { method fmt (line 196) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function theme_impl (line 204) | fn theme_impl(options: ThemeOptions, detector: &dyn ColorSchemeDetector)... function choose_theme_opt (line 218) | fn choose_theme_opt(color_scheme: Option, options: ThemeOpt... function choose_theme (line 227) | fn choose_theme(options: ThemeOptions, color_scheme: ColorScheme) -> Opt... function color_scheme_impl (line 234) | fn color_scheme_impl( type ColorSchemeDetector (line 246) | trait ColorSchemeDetector { method should_detect (line 247) | fn should_detect(&self) -> bool; method detect (line 249) | fn detect(&self) -> Option; method should_detect (line 255) | fn should_detect(&self) -> bool { method detect (line 268) | fn detect(&self) -> Option { method should_detect (line 308) | fn should_detect(&self) -> bool { method detect (line 312) | fn detect(&self) -> Option { method should_detect (line 541) | fn should_detect(&self) -> bool { method detect (line 545) | fn detect(&self) -> Option { method should_detect (line 554) | fn should_detect(&self) -> bool { method detect (line 558) | fn detect(&self) -> Option { type TerminalColorSchemeDetector (line 252) | struct TerminalColorSchemeDetector; function color_scheme_from_system (line 278) | fn color_scheme_from_system() -> Option { function color_scheme_from_system (line 287) | fn color_scheme_from_system() -> Option { function not_called_for_dark_or_light (line 328) | fn not_called_for_dark_or_light() { function called_for_always (line 341) | fn called_for_always() { function called_for_auto_if_should_detect (line 357) | fn called_for_auto_if_should_detect() { function not_called_for_auto_if_not_should_detect (line 364) | fn not_called_for_auto_if_not_should_detect() { function theme_is_preferred_over_light_or_dark_themes (line 375) | fn theme_is_preferred_over_light_or_dark_themes() { function detector_is_not_called_if_theme_is_present (line 395) | fn detector_is_not_called_if_theme_is_present() { function default_dark_if_unable_to_detect_color_scheme (line 410) | fn default_dark_if_unable_to_detect_color_scheme() { function default_dark_if_requested_explicitly_through_theme (line 421) | fn default_dark_if_requested_explicitly_through_theme() { function varies_depending_on_color_scheme (line 436) | fn varies_depending_on_color_scheme() { function chooses_default_theme_if_unknown (line 460) | fn chooses_default_theme_if_unknown() { function chooses_dark_theme_if_dark_or_unknown (line 474) | fn chooses_dark_theme_if_dark_or_unknown() { function chooses_light_theme_if_light (line 485) | fn chooses_light_theme_if_light() { function values_roundtrip_via_display (line 500) | fn values_roundtrip_via_display() { type DetectorStub (line 516) | struct DetectorStub { method should_detect (line 523) | fn should_detect(color_scheme: Option) -> Self { method should_not_detect (line 531) | fn should_not_detect() -> Self { type ConstantDetector (line 551) | struct ConstantDetector(Option); function optional (line 563) | fn optional(value: impl Iterator) -> impl Iterator impl Iterator { FILE: src/vscreen.rs type AnsiStyle (line 8) | pub struct AnsiStyle { method new (line 13) | pub fn new() -> Self { method update (line 17) | pub fn update(&mut self, sequence: EscapeSequence) -> bool { method to_reset_sequence (line 27) | pub fn to_reset_sequence(&self) -> String { method fmt (line 36) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type Attributes (line 44) | struct Attributes { method new (line 87) | pub fn new() -> Self { method update (line 107) | pub fn update(&mut self, sequence: EscapeSequence) -> bool { method sgr_reset (line 148) | fn sgr_reset(&mut self) { method update_with_sgr (line 161) | fn update_with_sgr(&mut self, parameters: &str) -> bool { method update_with_unsupported (line 197) | fn update_with_unsupported(&mut self, sequence: &str) -> bool { method update_with_hyperlink (line 202) | fn update_with_hyperlink(&mut self, sequence: &str) -> bool { method update_with_charset (line 214) | fn update_with_charset(&mut self, kind: char, set: impl Iterator) ... method to_reset_sequence (line 233) | pub fn to_reset_sequence(&self) -> String { method fmt (line 256) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function join (line 274) | fn join( type EscapeSequenceOffsets (line 288) | pub enum EscapeSequenceOffsets { method index_of_start (line 325) | pub fn index_of_start(&self) -> usize { method index_past_end (line 337) | pub fn index_past_end(&self) -> usize { type EscapeSequenceOffsetsIterator (line 356) | pub struct EscapeSequenceOffsetsIterator<'a> { function new (line 362) | pub fn new(text: &'a str) -> EscapeSequenceOffsetsIterator<'a> { function chars_take_while (line 371) | fn chars_take_while(&mut self, pred: impl Fn(char) -> bool) -> Option<(u... function next_text (line 388) | fn next_text(&mut self) -> Option { function next_sequence (line 393) | fn next_sequence(&mut self) -> Option { function next_osc (line 413) | fn next_osc(&mut self, start_sequence: usize) -> Option Option Option Option { type EscapeSequenceIterator (line 560) | pub struct EscapeSequenceIterator<'a> { function new (line 566) | pub fn new(text: &'a str) -> EscapeSequenceIterator<'a> { type Item (line 575) | type Item = EscapeSequence<'a>; method next (line 576) | fn next(&mut self) -> Option { type EscapeSequence (line 617) | pub enum EscapeSequence<'a> { function raw (line 641) | pub fn raw(&self) -> &'a str { function test_escape_sequence_offsets_iterator_parses_text (line 661) | fn test_escape_sequence_offsets_iterator_parses_text() { function test_escape_sequence_offsets_iterator_parses_text_stops_at_esc (line 670) | fn test_escape_sequence_offsets_iterator_parses_text_stops_at_esc() { function test_escape_sequence_offsets_iterator_parses_osc_with_bel (line 679) | fn test_escape_sequence_offsets_iterator_parses_osc_with_bel() { function test_escape_sequence_offsets_iterator_parses_osc_with_st (line 693) | fn test_escape_sequence_offsets_iterator_parses_osc_with_st() { function test_escape_sequence_offsets_iterator_parses_osc_thats_broken (line 707) | fn test_escape_sequence_offsets_iterator_parses_osc_thats_broken() { function test_escape_sequence_offsets_iterator_parses_csi (line 721) | fn test_escape_sequence_offsets_iterator_parses_csi() { function test_escape_sequence_offsets_iterator_parses_csi_with_parameters (line 736) | fn test_escape_sequence_offsets_iterator_parses_csi_with_parameters() { function test_escape_sequence_offsets_iterator_parses_csi_with_intermediates (line 751) | fn test_escape_sequence_offsets_iterator_parses_csi_with_intermediates() { function test_escape_sequence_offsets_iterator_parses_csi_with_parameters_and_intermediates (line 766) | fn test_escape_sequence_offsets_iterator_parses_csi_with_parameters_and_... function test_escape_sequence_offsets_iterator_parses_csi_thats_broken (line 781) | fn test_escape_sequence_offsets_iterator_parses_csi_thats_broken() { function test_escape_sequence_offsets_iterator_parses_nf (line 820) | fn test_escape_sequence_offsets_iterator_parses_nf() { function test_escape_sequence_offsets_iterator_parses_nf_thats_broken (line 833) | fn test_escape_sequence_offsets_iterator_parses_nf_thats_broken() { function test_escape_sequence_offsets_iterator_iterates (line 846) | fn test_escape_sequence_offsets_iterator_iterates() { function test_escape_sequence_iterator_iterates (line 883) | fn test_escape_sequence_iterator_iterates() { function test_sgr_attributes_do_not_leak_into_wrong_field (line 922) | fn test_sgr_attributes_do_not_leak_into_wrong_field() { FILE: src/wrapping.rs type WrappingMode (line 2) | pub enum WrappingMode { method default (line 10) | fn default() -> Self { FILE: tests/assets.rs function all_themes_are_present (line 7) | fn all_themes_are_present() { FILE: tests/benchmarks/highlighting-speed-src/jquery.js function DOMEval (line 97) | function DOMEval( code, doc, node ) { function toType (line 115) | function toType( obj ) { function isArrayLike (line 483) | function isArrayLike( obj ) { function Sizzle (line 715) | function Sizzle( selector, context, results, seed ) { function createCache (line 854) | function createCache() { function markFunction (line 872) | function markFunction( fn ) { function assert (line 881) | function assert( fn ) { function addHandle (line 903) | function addHandle( attrs, handler ) { function siblingCheck (line 918) | function siblingCheck( a, b ) { function createInputPseudo (line 944) | function createInputPseudo( type ) { function createButtonPseudo (line 955) | function createButtonPseudo( type ) { function createDisabledPseudo (line 966) | function createDisabledPseudo( disabled ) { function createPositionalPseudo (line 1022) | function createPositionalPseudo( fn ) { function testContext (line 1045) | function testContext( context ) { function setFilters (line 2127) | function setFilters() {} function toSelector (line 2198) | function toSelector( tokens ) { function addCombinator (line 2208) | function addCombinator( matcher, combinator, base ) { function elementMatcher (line 2272) | function elementMatcher( matchers ) { function multipleContexts (line 2286) | function multipleContexts( selector, contexts, results ) { function condense (line 2295) | function condense( unmatched, map, filter, context, xml ) { function setMatcher (line 2316) | function setMatcher( preFilter, selector, matcher, postFilter, postFinde... function matcherFromTokens (line 2409) | function matcherFromTokens( tokens ) { function matcherFromGroupMatchers (line 2467) | function matcherFromGroupMatchers( elementMatchers, setMatchers ) { function nodeName (line 2803) | function nodeName( elem, name ) { function winnow (line 2813) | function winnow( elements, qualifier, not ) { function sibling (line 3108) | function sibling( cur, dir ) { function createOptions (line 3195) | function createOptions( options ) { function Identity (line 3420) | function Identity( v ) { function Thrower (line 3423) | function Thrower( ex ) { function adoptValue (line 3427) | function adoptValue( value, resolve, reject, noValue ) { function resolve (line 3520) | function resolve( depth, deferred, handler, special ) { function completed (line 3885) | function completed() { function fcamelCase (line 3980) | function fcamelCase( all, letter ) { function camelCase (line 3987) | function camelCase( string ) { function Data (line 4004) | function Data() { function getData (line 4173) | function getData( data ) { function dataAttr (line 4198) | function dataAttr( elem, key, data ) { function adjustCSS (line 4511) | function adjustCSS( elem, prop, valueParts, tween ) { function getDefaultDisplay (line 4578) | function getDefaultDisplay( elem ) { function showHide (line 4601) | function showHide( elements, show ) { function getAll (line 4702) | function getAll( context, tag ) { function setGlobalEval (line 4727) | function setGlobalEval( elems, refElements ) { function buildFragment (line 4743) | function buildFragment( elems, context, scripts, selection, ignored ) { function returnTrue (line 4866) | function returnTrue() { function returnFalse (line 4870) | function returnFalse() { function safeActiveElement (line 4876) | function safeActiveElement() { function on (line 4882) | function on( elem, types, selector, data, fn, one ) { function manipulationTarget (line 5610) | function manipulationTarget( elem, content ) { function disableScript (line 5621) | function disableScript( elem ) { function restoreScript (line 5625) | function restoreScript( elem ) { function cloneCopyEvent (line 5635) | function cloneCopyEvent( src, dest ) { function fixInput (line 5670) | function fixInput( src, dest ) { function domManip (line 5683) | function domManip( collection, args, callback, ignored ) { function remove (line 5773) | function remove( elem, selector, keepData ) { function computeStyleTests (line 6066) | function computeStyleTests() { function roundPixelMeasures (line 6108) | function roundPixelMeasures( measure ) { function curCSS (line 6153) | function curCSS( elem, name, computed ) { function addGetHookIf (line 6206) | function addGetHookIf( conditionFn, hookFn ) { function vendorPropName (line 6243) | function vendorPropName( name ) { function finalPropName (line 6264) | function finalPropName( name ) { function setPositiveNumber (line 6272) | function setPositiveNumber( elem, value, subtract ) { function boxModelAdjustment (line 6284) | function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, ... function getWidthOrHeight (line 6349) | function getWidthOrHeight( elem, dimension, extra ) { function Tween (line 6682) | function Tween( elem, options, prop, end, easing ) { function schedule (line 6805) | function schedule() { function createFxNow (line 6818) | function createFxNow() { function genFx (line 6826) | function genFx( type, includeWidth ) { function createTween (line 6846) | function createTween( value, prop, animation ) { function defaultPrefilter (line 6860) | function defaultPrefilter( elem, props, opts ) { function propFilter (line 7032) | function propFilter( props, specialEasing ) { function Animation (line 7069) | function Animation( elem, properties, options ) { function stripAndCollapse (line 7784) | function stripAndCollapse( value ) { function getClass (line 7790) | function getClass( elem ) { function classesToArray (line 7794) | function classesToArray( value ) { function buildParams (line 8416) | function buildParams( prefix, obj, traditional, add ) { function addToPrefiltersOrTransports (line 8566) | function addToPrefiltersOrTransports( structure ) { function inspectPrefiltersOrTransports (line 8600) | function inspectPrefiltersOrTransports( structure, options, originalOpti... function ajaxExtend (line 8629) | function ajaxExtend( target, src ) { function ajaxHandleResponses (line 8649) | function ajaxHandleResponses( s, jqXHR, responses ) { function ajaxConvert (line 8707) | function ajaxConvert( s, response, jqXHR, isSuccess ) { function done (line 9220) | function done( status, nativeStatusText, responses, headers ) { FILE: tests/benchmarks/highlighting-speed-src/miniz.c function mz_ulong (line 39) | mz_ulong mz_adler32(mz_ulong adler, const unsigned char *ptr, size_t buf... function mz_ulong (line 69) | mz_ulong mz_crc32(mz_ulong crc, const mz_uint8 *ptr, size_t buf_len) function mz_ulong (line 88) | mz_ulong mz_crc32(mz_ulong crc, const mz_uint8 *ptr, size_t buf_len) function mz_free (line 155) | void mz_free(void *p) function miniz_def_free_func (line 165) | void miniz_def_free_func(void *opaque, void *address) function mz_deflateInit (line 183) | int mz_deflateInit(mz_streamp pStream, int level) function mz_deflateInit2 (line 188) | int mz_deflateInit2(mz_streamp pStream, int level, int method, int windo... function mz_deflateReset (line 224) | int mz_deflateReset(mz_streamp pStream) function mz_deflate (line 233) | int mz_deflate(mz_streamp pStream, int flush) function mz_deflateEnd (line 291) | int mz_deflateEnd(mz_streamp pStream) function mz_ulong (line 303) | mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len) function mz_compress2 (line 310) | int mz_compress2(unsigned char *pDest, mz_ulong *pDest_len, const unsign... function mz_compress (line 340) | int mz_compress(unsigned char *pDest, mz_ulong *pDest_len, const unsigne... function mz_ulong (line 345) | mz_ulong mz_compressBound(mz_ulong source_len) type inflate_state (line 350) | typedef struct function mz_inflateInit2 (line 359) | int mz_inflateInit2(mz_streamp pStream, int window_bits) function mz_inflateInit (line 395) | int mz_inflateInit(mz_streamp pStream) function mz_inflate (line 400) | int mz_inflate(mz_streamp pStream, int flush) function mz_inflateEnd (line 512) | int mz_inflateEnd(mz_streamp pStream) function mz_uncompress (line 524) | int mz_uncompress(unsigned char *pDest, mz_ulong *pDest_len, const unsig... FILE: tests/benchmarks/highlighting-speed-src/numpy_test_multiarray.py function _aligned_zeros (line 39) | def _aligned_zeros(shape, dtype=float, order="C", align=None): class TestFlags (line 75) | class TestFlags: method setup (line 76) | def setup(self): method test_writeable (line 79) | def test_writeable(self): method test_writeable_any_base (line 88) | def test_writeable_any_base(self): method test_writeable_from_readonly (line 121) | def test_writeable_from_readonly(self): method test_writeable_from_buffer (line 132) | def test_writeable_from_buffer(self): method test_writeable_pickle (line 150) | def test_writeable_pickle(self): method test_writeable_from_c_data (line 161) | def test_writeable_from_c_data(self): method test_warnonwrite (line 201) | def test_warnonwrite(self): method test_otherflags (line 211) | def test_otherflags(self): method test_string_align (line 230) | def test_string_align(self): method test_void_align (line 237) | def test_void_align(self): class TestHash (line 242) | class TestHash: method test_int (line 244) | def test_int(self): class TestAttributes (line 264) | class TestAttributes: method setup (line 265) | def setup(self): method test_attributes (line 270) | def test_attributes(self): method test_dtypeattr (line 291) | def test_dtypeattr(self): method test_int_subclassing (line 300) | def test_int_subclassing(self): method test_stridesattr (line 308) | def test_stridesattr(self): method test_set_stridesattr (line 325) | def test_set_stridesattr(self): method test_fill (line 364) | def test_fill(self): method test_fill_max_uint64 (line 372) | def test_fill_max_uint64(self): method test_fill_struct_array (line 380) | def test_fill_struct_array(self): class TestArrayConstruction (line 393) | class TestArrayConstruction: method test_array (line 394) | def test_array(self): method test_array_empty (line 433) | def test_array_empty(self): method test_array_copy_false (line 436) | def test_array_copy_false(self): method test_array_copy_true (line 447) | def test_array_copy_true(self): method test_array_cont (line 460) | def test_array_cont(self): class TestAssignment (line 471) | class TestAssignment: method test_assignment_broadcasting (line 472) | def test_assignment_broadcasting(self): method test_assignment_errors (line 498) | def test_assignment_errors(self): method test_unicode_assignment (line 510) | def test_unicode_assignment(self): method test_stringlike_empty_list (line 532) | def test_stringlike_empty_list(self): method test_longdouble_assignment (line 547) | def test_longdouble_assignment(self): method test_cast_to_string (line 579) | def test_cast_to_string(self): class TestDtypedescr (line 588) | class TestDtypedescr: method test_construction (line 589) | def test_construction(self): method test_byteorders (line 595) | def test_byteorders(self): method test_structured_non_void (line 599) | def test_structured_non_void(self): class TestZeroRank (line 610) | class TestZeroRank: method setup (line 611) | def setup(self): method test_ellipsis_subscript (line 614) | def test_ellipsis_subscript(self): method test_empty_subscript (line 621) | def test_empty_subscript(self): method test_invalid_subscript (line 628) | def test_invalid_subscript(self): method test_ellipsis_subscript_assignment (line 635) | def test_ellipsis_subscript_assignment(self): method test_empty_subscript_assignment (line 642) | def test_empty_subscript_assignment(self): method test_invalid_subscript_assignment (line 649) | def test_invalid_subscript_assignment(self): method test_newaxis (line 659) | def test_newaxis(self): method test_invalid_newaxis (line 670) | def test_invalid_newaxis(self): method test_constructor (line 679) | def test_constructor(self): method test_output (line 693) | def test_output(self): method test_real_imag (line 697) | def test_real_imag(self): class TestScalarIndexing (line 714) | class TestScalarIndexing: method setup (line 715) | def setup(self): method test_ellipsis_subscript (line 718) | def test_ellipsis_subscript(self): method test_empty_subscript (line 723) | def test_empty_subscript(self): method test_invalid_subscript (line 728) | def test_invalid_subscript(self): method test_invalid_subscript_assignment (line 733) | def test_invalid_subscript_assignment(self): method test_newaxis (line 741) | def test_newaxis(self): method test_invalid_newaxis (line 752) | def test_invalid_newaxis(self): method test_overlapping_assignment (line 761) | def test_overlapping_assignment(self): class TestCreation (line 810) | class TestCreation: method test_from_attribute (line 814) | def test_from_attribute(self): method test_from_string (line 821) | def test_from_string(self): method test_void (line 829) | def test_void(self): method test_too_big_error (line 833) | def test_too_big_error(self): method test_malloc_fails (line 850) | def test_malloc_fails(self): method test_zeros (line 855) | def test_zeros(self): method test_zeros_big (line 878) | def test_zeros_big(self): method test_zeros_obj (line 889) | def test_zeros_obj(self): method test_zeros_obj_obj (line 895) | def test_zeros_obj_obj(self): method test_zeros_like_like_zeros (line 899) | def test_zeros_like_like_zeros(self): method test_empty_unicode (line 933) | def test_empty_unicode(self): method test_sequence_non_homogenous (line 939) | def test_sequence_non_homogenous(self): method test_non_sequence_sequence (line 948) | def test_non_sequence_sequence(self): method test_no_len_object_type (line 976) | def test_no_len_object_type(self): method test_false_len_sequence (line 990) | def test_false_len_sequence(self): method test_false_len_iterable (line 1001) | def test_false_len_iterable(self): method test_failed_len_sequence (line 1015) | def test_failed_len_sequence(self): method test_array_too_big (line 1029) | def test_array_too_big(self): method _ragged_creation (line 1044) | def _ragged_creation(self, seq): method test_ragged_ndim_object (line 1052) | def test_ragged_ndim_object(self): method test_ragged_shape_object (line 1066) | def test_ragged_shape_object(self): method test_array_of_ragged_array (line 1080) | def test_array_of_ragged_array(self): method test_deep_nonragged_object (line 1093) | def test_deep_nonragged_object(self): class TestStructured (line 1099) | class TestStructured: method test_subarray_field_access (line 1100) | def test_subarray_field_access(self): method test_subarray_comparison (line 1114) | def test_subarray_comparison(self): method test_casting (line 1183) | def test_casting(self): method test_objview (line 1241) | def test_objview(self): method test_setfield (line 1250) | def test_setfield(self): method test_setfield_object (line 1259) | def test_setfield_object(self): method test_zero_width_string (line 1275) | def test_zero_width_string(self): method test_base_attr (line 1331) | def test_base_attr(self): method test_assignment (line 1336) | def test_assignment(self): method test_scalar_assignment (line 1373) | def test_scalar_assignment(self): method test_structuredscalar_indexing (line 1378) | def test_structuredscalar_indexing(self): method test_multiindex_titles (line 1384) | def test_multiindex_titles(self): class TestBool (line 1392) | class TestBool: method test_test_interning (line 1393) | def test_test_interning(self): method test_sum (line 1403) | def test_sum(self): method check_count_nonzero (line 1414) | def check_count_nonzero(self, power, length): method test_count_nonzero (line 1429) | def test_count_nonzero(self): method test_count_nonzero_all (line 1435) | def test_count_nonzero_all(self): method test_count_nonzero_unaligned (line 1440) | def test_count_nonzero_unaligned(self): method _test_cast_from_flexible (line 1450) | def _test_cast_from_flexible(self, dtype): method test_cast_from_void (line 1470) | def test_cast_from_void(self): method test_cast_from_unicode (line 1474) | def test_cast_from_unicode(self): method test_cast_from_bytes (line 1478) | def test_cast_from_bytes(self): class TestZeroSizeFlexible (line 1482) | class TestZeroSizeFlexible: method _zeros (line 1484) | def _zeros(shape, dtype=str): method test_create (line 1493) | def test_create(self): method _test_sort_partition (line 1501) | def _test_sort_partition(self, name, kinds, **kwargs): method test_sort (line 1511) | def test_sort(self): method test_argsort (line 1514) | def test_argsort(self): method test_partition (line 1517) | def test_partition(self): method test_argpartition (line 1520) | def test_argpartition(self): method test_resize (line 1523) | def test_resize(self): method test_view (line 1530) | def test_view(self): method test_dumps (line 1540) | def test_dumps(self): method test_pickle (line 1544) | def test_pickle(self): method test_pickle_with_buffercallback (line 1555) | def test_pickle_with_buffercallback(self): class TestMethods (line 1569) | class TestMethods: method test_compress (line 1573) | def test_compress(self): method test_choose (line 1592) | def test_choose(self): method test_prod (line 1617) | def test_prod(self): method test_repeat (line 1635) | def test_repeat(self): method test_reshape (line 1666) | def test_reshape(self): method test_round (line 1681) | def test_round(self): method test_squeeze (line 1698) | def test_squeeze(self): method test_transpose (line 1705) | def test_transpose(self): method test_sort (line 1712) | def test_sort(self): method test_sort_unsigned (line 1740) | def test_sort_unsigned(self, dtype): method test_sort_signed (line 1755) | def test_sort_signed(self, dtype): method test_sort_complex (line 1769) | def test_sort_complex(self, part, dtype): method test_sort_complex_byte_swapping (line 1792) | def test_sort_complex_byte_swapping(self): method test_sort_string (line 1803) | def test_sort_string(self, dtype): method test_sort_object (line 1816) | def test_sort_object(self): method test_sort_structured (line 1830) | def test_sort_structured(self): method test_sort_time (line 1845) | def test_sort_time(self, dtype): method test_sort_axis (line 1858) | def test_sort_axis(self): method test_sort_size_0 (line 1874) | def test_sort_size_0(self): method test_sort_bad_ordering (line 1884) | def test_sort_bad_ordering(self): method test_void_sort (line 1898) | def test_void_sort(self): method test_sort_raises (line 1911) | def test_sort_raises(self): method test_sort_degraded (line 1926) | def test_sort_degraded(self): method test_copy (line 1941) | def test_copy(self): method test_sort_order (line 1966) | def test_sort_order(self): method test_argsort (line 2003) | def test_argsort(self): method test_sort_unicode_kind (line 2140) | def test_sort_unicode_kind(self): method test_searchsorted (line 2146) | def test_searchsorted(self): method test_searchsorted_unicode (line 2248) | def test_searchsorted_unicode(self): method test_searchsorted_with_invalid_sorter (line 2275) | def test_searchsorted_with_invalid_sorter(self): method test_searchsorted_with_sorter (line 2289) | def test_searchsorted_with_sorter(self): method test_searchsorted_return_type (line 2366) | def test_searchsorted_return_type(self): method test_argpartition_out_of_range (line 2378) | def test_argpartition_out_of_range(self): method test_partition_out_of_range (line 2389) | def test_partition_out_of_range(self): method test_argpartition_integer (line 2400) | def test_argpartition_integer(self): method test_partition_integer (line 2409) | def test_partition_integer(self): method test_partition_empty_array (line 2418) | def test_partition_empty_array(self): method test_argpartition_empty_array (line 2428) | def test_argpartition_empty_array(self): method test_partition (line 2440) | def test_partition(self): method assert_partitioned (line 2648) | def assert_partitioned(self, d, kth): method test_partition_iterative (line 2656) | def test_partition_iterative(self): method test_partition_cdtype (line 2724) | def test_partition_cdtype(self): method test_partition_unicode_kind (line 2749) | def test_partition_unicode_kind(self): method test_partition_fuzz (line 2755) | def test_partition_fuzz(self): method test_argpartition_gh5524 (line 2768) | def test_argpartition_gh5524(self): method test_flatten (line 2774) | def test_flatten(self): method test_arr_mult (line 2790) | def test_arr_mult(self, func): method test_no_dgemv (line 2869) | def test_no_dgemv(self, func, dtype): method test_dot (line 2897) | def test_dot(self): method test_dot_type_mismatch (line 2915) | def test_dot_type_mismatch(self): method test_dot_out_mem_overlap (line 2922) | def test_dot_out_mem_overlap(self): method test_dot_matmul_out (line 2944) | def test_dot_matmul_out(self): method test_dot_matmul_inner_array_casting_fails (line 2956) | def test_dot_matmul_inner_array_casting_fails(self): method test_matmul_out (line 2967) | def test_matmul_out(self): method test_diagonal (line 2979) | def test_diagonal(self): method test_diagonal_view_notwriteable (line 3002) | def test_diagonal_view_notwriteable(self): method test_diagonal_memleak (line 3015) | def test_diagonal_memleak(self): method test_size_zero_memleak (line 3025) | def test_size_zero_memleak(self): method test_trace (line 3036) | def test_trace(self): method test_trace_subclass (line 3053) | def test_trace_subclass(self): method test_put (line 3063) | def test_put(self): method test_ravel (line 3103) | def test_ravel(self): method test_ravel_subclass (line 3194) | def test_ravel_subclass(self): method test_swapaxes (line 3210) | def test_swapaxes(self): method test_conjugate (line 3242) | def test_conjugate(self): method test__complex__ (line 3279) | def test__complex__(self): method test__complex__should_not_work (line 3297) | def test__complex__should_not_work(self): class TestCequenceMethods (line 3319) | class TestCequenceMethods: method test_array_contains (line 3320) | def test_array_contains(self): class TestBinop (line 3324) | class TestBinop: method test_inplace (line 3325) | def test_inplace(self): method test_ufunc_binop_interaction (line 3362) | def test_ufunc_binop_interaction(self): method test_ufunc_override_normalize_signature (line 3546) | def test_ufunc_override_normalize_signature(self): method test_array_ufunc_index (line 3562) | def test_array_ufunc_index(self): method test_out_override (line 3610) | def test_out_override(self): method test_pow_override_with_errors (line 3631) | def test_pow_override_with_errors(self): method test_pow_array_object_dtype (line 3652) | def test_pow_array_object_dtype(self): method test_pos_array_ufunc_override (line 3685) | def test_pos_array_ufunc_override(self): class TestTemporaryElide (line 3695) | class TestTemporaryElide: method test_extension_incref_elide (line 3698) | def test_extension_incref_elide(self): method test_extension_incref_elide_stack (line 3713) | def test_extension_incref_elide_stack(self): method test_temporary_with_cast (line 3728) | def test_temporary_with_cast(self): method test_elide_broadcast (line 3761) | def test_elide_broadcast(self): method test_elide_scalar (line 3771) | def test_elide_scalar(self): method test_elide_scalar_readonly (line 3776) | def test_elide_scalar_readonly(self): method test_elide_readonly (line 3785) | def test_elide_readonly(self): method test_elide_updateifcopy (line 3790) | def test_elide_updateifcopy(self): class TestCAPI (line 3797) | class TestCAPI: method test_IsPythonScalar (line 3798) | def test_IsPythonScalar(self): class TestSubscripting (line 3807) | class TestSubscripting: method test_test_zero_rank (line 3808) | def test_test_zero_rank(self): class TestPickling (line 3814) | class TestPickling: method test_correct_protocol5_error_message (line 3818) | def test_correct_protocol5_error_message(self): method test_record_array_with_object_dtype (line 3835) | def test_record_array_with_object_dtype(self): method test_f_contiguous_array (line 3858) | def test_f_contiguous_array(self): method test_non_contiguous_array (line 3874) | def test_non_contiguous_array(self): method test_roundtrip (line 3887) | def test_roundtrip(self): method _loads (line 3908) | def _loads(self, obj): method test_version0_int8 (line 3913) | def test_version0_int8(self): method test_version0_float32 (line 3919) | def test_version0_float32(self): method test_version0_object (line 3925) | def test_version0_object(self): method test_version1_int8 (line 3932) | def test_version1_int8(self): method test_version1_float32 (line 3938) | def test_version1_float32(self): method test_version1_object (line 3944) | def test_version1_object(self): method test_subarray_int_shape (line 3950) | def test_subarray_int_shape(self): method test_datetime64_byteorder (line 3956) | def test_datetime64_byteorder(self): class TestFancyIndexing (line 3968) | class TestFancyIndexing: method test_list (line 3969) | def test_list(self): method test_tuple (line 3978) | def test_tuple(self): method test_mask (line 3986) | def test_mask(self): method test_mask2 (line 3991) | def test_mask2(self): method test_assign_mask (line 4000) | def test_assign_mask(self): method test_assign_mask2 (line 4006) | def test_assign_mask2(self): class TestStringCompare (line 4022) | class TestStringCompare: method test_string (line 4023) | def test_string(self): method test_mixed (line 4033) | def test_mixed(self): method test_unicode (line 4043) | def test_unicode(self): class TestArgmax (line 4054) | class TestArgmax: method test_all (line 4119) | def test_all(self): method test_combinations (line 4128) | def test_combinations(self): method test_output_shape (line 4138) | def test_output_shape(self): method test_argmax_unicode (line 4156) | def test_argmax_unicode(self): method test_np_vs_ndarray (line 4161) | def test_np_vs_ndarray(self): method test_object_argmax_with_NULLs (line 4178) | def test_object_argmax_with_NULLs(self): class TestArgmin (line 4189) | class TestArgmin: method test_all (line 4254) | def test_all(self): method test_combinations (line 4263) | def test_combinations(self): method test_minimum_signed_integers (line 4273) | def test_minimum_signed_integers(self): method test_output_shape (line 4287) | def test_output_shape(self): method test_argmin_unicode (line 4305) | def test_argmin_unicode(self): method test_np_vs_ndarray (line 4310) | def test_np_vs_ndarray(self): method test_object_argmin_with_NULLs (line 4327) | def test_object_argmin_with_NULLs(self): class TestMinMax (line 4338) | class TestMinMax: method test_scalar (line 4340) | def test_scalar(self): method test_axis (line 4349) | def test_axis(self): method test_datetime (line 4353) | def test_datetime(self): class TestNewaxis (line 4364) | class TestNewaxis: method test_basic (line 4365) | def test_basic(self): class TestClip (line 4371) | class TestClip: method _check_range (line 4372) | def _check_range(self, x, cmin, cmax): method _clip_type (line 4376) | def _clip_type(self, type_group, array_max, method test_basic (line 4410) | def test_basic(self): method test_record_array (line 4427) | def test_record_array(self): method test_max_or_min (line 4433) | def test_max_or_min(self): method test_nan (line 4442) | def test_nan(self): class TestCompress (line 4449) | class TestCompress: method test_axis (line 4450) | def test_axis(self): method test_truncate (line 4460) | def test_truncate(self): method test_flatten (line 4466) | def test_flatten(self): class TestPutmask (line 4472) | class TestPutmask: method tst_basic (line 4473) | def tst_basic(self, x, T, mask, val): method test_ip_types (line 4477) | def test_ip_types(self): method test_mask_size (line 4493) | def test_mask_size(self): method test_byteorder (line 4497) | def test_byteorder(self, dtype): method test_record_array (line 4502) | def test_record_array(self): method test_overlaps (line 4515) | def test_overlaps(self): class TestTake (line 4526) | class TestTake: method tst_basic (line 4527) | def tst_basic(self, x): method test_ip_types (line 4531) | def test_ip_types(self): method test_raise (line 4544) | def test_raise(self): method test_clip (line 4551) | def test_clip(self): method test_wrap (line 4557) | def test_wrap(self): method test_byteorder (line 4565) | def test_byteorder(self, dtype): method test_record_array (line 4569) | def test_record_array(self): method test_out_overlap (line 4576) | def test_out_overlap(self): class TestLexsort (line 4582) | class TestLexsort: method test_basic (line 4588) | def test_basic(self, dtype): method test_mixed (line 4596) | def test_mixed(self): method test_datetime (line 4604) | def test_datetime(self): method test_object (line 4617) | def test_object(self): # gh-6312 method test_invalid_axis (line 4633) | def test_invalid_axis(self): # gh-7528 class TestIO (line 4637) | class TestIO: method setup (line 4640) | def setup(self): method teardown (line 4649) | def teardown(self): method test_nofile (line 4652) | def test_nofile(self): method test_bool_fromstring (line 4660) | def test_bool_fromstring(self): method test_uint64_fromstring (line 4665) | def test_uint64_fromstring(self): method test_int64_fromstring (line 4671) | def test_int64_fromstring(self): method test_empty_files_binary (line 4677) | def test_empty_files_binary(self): method test_empty_files_text (line 4683) | def test_empty_files_text(self): method test_roundtrip_file (line 4689) | def test_roundtrip_file(self): method test_roundtrip_filename (line 4697) | def test_roundtrip_filename(self): method test_roundtrip_pathlib (line 4702) | def test_roundtrip_pathlib(self): method test_roundtrip_dump_pathlib (line 4708) | def test_roundtrip_dump_pathlib(self): method test_roundtrip_binary_str (line 4714) | def test_roundtrip_binary_str(self): method test_roundtrip_str (line 4723) | def test_roundtrip_str(self): method test_roundtrip_repr (line 4732) | def test_roundtrip_repr(self): method test_unseekable_fromfile (line 4738) | def test_unseekable_fromfile(self): method test_io_open_unbuffered_fromfile (line 4750) | def test_io_open_unbuffered_fromfile(self): method test_largish_file (line 4757) | def test_largish_file(self): method test_io_open_buffered_fromfile (line 4777) | def test_io_open_buffered_fromfile(self): method test_file_position_after_fromfile (line 4784) | def test_file_position_after_fromfile(self): method test_file_position_after_tofile (line 4804) | def test_file_position_after_tofile(self): method test_load_object_array_fromfile (line 4829) | def test_load_object_array_fromfile(self): method test_fromfile_offset (line 4842) | def test_fromfile_offset(self): method _check_from (line 4872) | def _check_from(self, s, value, **kw): method test_nan (line 4884) | def test_nan(self): method test_inf (line 4890) | def test_inf(self): method test_numbers (line 4896) | def test_numbers(self): method test_binary (line 4900) | def test_binary(self): method test_big_binary (line 4906) | def test_big_binary(self): method test_string (line 4930) | def test_string(self): method test_counted_string (line 4933) | def test_counted_string(self): method test_string_with_ws (line 4938) | def test_string_with_ws(self): method test_counted_string_with_ws (line 4941) | def test_counted_string_with_ws(self): method test_ascii (line 4945) | def test_ascii(self): method test_malformed (line 4949) | def test_malformed(self): method test_long_sep (line 4953) | def test_long_sep(self): method test_dtype (line 4956) | def test_dtype(self): method test_dtype_bool (line 4960) | def test_dtype_bool(self): method test_tofile_sep (line 4970) | def test_tofile_sep(self): method test_tofile_format (line 4980) | def test_tofile_format(self): method test_locale (line 4988) | def test_locale(self): method test_fromfile_subarray_binary (line 4999) | def test_fromfile_subarray_binary(self): class TestFromBuffer (line 5013) | class TestFromBuffer: method test_basic (line 5016) | def test_basic(self, byteorder, dtype): method test_empty (line 5022) | def test_empty(self): class TestFlat (line 5026) | class TestFlat: method setup (line 5027) | def setup(self): method test_contiguous (line 5037) | def test_contiguous(self): method test_discontiguous (line 5046) | def test_discontiguous(self): method test___array__ (line 5055) | def test___array__(self): method test_refcount (line 5082) | def test_refcount(self): class TestResize (line 5098) | class TestResize: method test_basic (line 5101) | def test_basic(self): method test_check_reference (line 5111) | def test_check_reference(self): method test_int_shape (line 5118) | def test_int_shape(self): method test_none_shape (line 5126) | def test_none_shape(self): method test_0d_shape (line 5133) | def test_0d_shape(self): method test_invalid_arguments (line 5145) | def test_invalid_arguments(self): method test_freeform_shape (line 5152) | def test_freeform_shape(self): method test_zeros_appended (line 5161) | def test_zeros_appended(self): method test_obj_obj (line 5171) | def test_obj_obj(self): method test_empty_view (line 5182) | def test_empty_view(self): method test_check_weakref (line 5190) | def test_check_weakref(self): class TestRecord (line 5197) | class TestRecord: method test_field_rename (line 5198) | def test_field_rename(self): method test_multiple_field_name_occurrence (line 5203) | def test_multiple_field_name_occurrence(self): method test_bytes_fields (line 5210) | def test_bytes_fields(self): method test_multiple_field_name_unicode (line 5225) | def test_multiple_field_name_unicode(self): method test_fromarrays_unicode (line 5232) | def test_fromarrays_unicode(self): method test_unicode_order (line 5239) | def test_unicode_order(self): method test_field_names (line 5247) | def test_field_names(self): method test_record_hash (line 5288) | def test_record_hash(self): method test_record_no_hash (line 5300) | def test_record_no_hash(self): method test_empty_structure_creation (line 5304) | def test_empty_structure_creation(self): method test_multifield_indexing_view (line 5311) | def test_multifield_indexing_view(self): class TestView (line 5321) | class TestView: method test_basic (line 5322) | def test_basic(self): function _mean (line 5334) | def _mean(a, **args): function _var (line 5338) | def _var(a, **args): function _std (line 5342) | def _std(a, **args): class TestStats (line 5346) | class TestStats: method setup (line 5350) | def setup(self): method test_python_type (line 5357) | def test_python_type(self): method test_keepdims (line 5363) | def test_keepdims(self): method test_out (line 5374) | def test_out(self): method test_dtype_from_input (line 5387) | def test_dtype_from_input(self): method test_dtype_from_dtype (line 5436) | def test_dtype_from_dtype(self): method test_ddof (line 5463) | def test_ddof(self): method test_ddof_too_big (line 5477) | def test_ddof_too_big(self): method test_empty (line 5488) | def test_empty(self): method test_mean_values (line 5502) | def test_mean_values(self): method test_mean_float16 (line 5513) | def test_mean_float16(self): method test_mean_axis_error (line 5518) | def test_mean_axis_error(self): method test_var_values (line 5524) | def test_var_values(self): method test_var_complex_values (line 5538) | def test_var_complex_values(self, complex_dtype, ndec): method test_var_dimensions (line 5548) | def test_var_dimensions(self): method test_var_complex_byteorder (line 5559) | def test_var_complex_byteorder(self): method test_var_axis_error (line 5566) | def test_var_axis_error(self): method test_std_values (line 5572) | def test_std_values(self): method test_subclass (line 5579) | def test_subclass(self): class TestVdot (line 5598) | class TestVdot: method test_basic (line 5599) | def test_basic(self): method test_vdot_array_order (line 5625) | def test_vdot_array_order(self): method test_vdot_uncontiguous (line 5635) | def test_vdot_uncontiguous(self): class TestDot (line 5658) | class TestDot: method setup (line 5659) | def setup(self): method test_dotmatmat (line 5668) | def test_dotmatmat(self): method test_dotmatvec (line 5675) | def test_dotmatvec(self): method test_dotmatvec2 (line 5682) | def test_dotmatvec2(self): method test_dotvecmat (line 5688) | def test_dotvecmat(self): method test_dotvecmat2 (line 5694) | def test_dotvecmat2(self): method test_dotvecmat3 (line 5700) | def test_dotvecmat3(self): method test_dotvecvecouter (line 5706) | def test_dotvecvecouter(self): method test_dotvecvecinner (line 5712) | def test_dotvecvecinner(self): method test_dotcolumnvect1 (line 5718) | def test_dotcolumnvect1(self): method test_dotcolumnvect2 (line 5725) | def test_dotcolumnvect2(self): method test_dotvecscalar (line 5732) | def test_dotvecscalar(self): method test_dotvecscalar2 (line 5740) | def test_dotvecscalar2(self): method test_all (line 5748) | def test_all(self): method test_vecobject (line 5759) | def test_vecobject(self): method test_dot_2args (line 5792) | def test_dot_2args(self): method test_dot_3args (line 5802) | def test_dot_3args(self): method test_dot_3args_errors (line 5824) | def test_dot_3args_errors(self): method test_dot_array_order (line 5854) | def test_dot_array_order(self): method test_accelerate_framework_sgemv_fix (line 5864) | def test_accelerate_framework_sgemv_fix(self): class MatmulCommon (line 5929) | class MatmulCommon: method test_exceptions (line 5937) | def test_exceptions(self): method test_shapes (line 5955) | def test_shapes(self): method test_result_types (line 5975) | def test_result_types(self): method test_scalar_output (line 5990) | def test_scalar_output(self): method test_vector_vector_values (line 6007) | def test_vector_vector_values(self): method test_vector_matrix_values (line 6026) | def test_vector_matrix_values(self): method test_matrix_vector_values (line 6053) | def test_matrix_vector_values(self): method test_matrix_matrix_values (line 6080) | def test_matrix_matrix_values(self): class TestMatmul (line 6146) | class TestMatmul(MatmulCommon): method test_out_arg (line 6149) | def test_out_arg(self): method test_out_contiguous (line 6180) | def test_out_contiguous(self): method test_dot_equivalent (line 6232) | def test_dot_equivalent(self, args): method test_matmul_object (line 6240) | def test_matmul_object(self): method test_matmul_object_type_scalar (line 6255) | def test_matmul_object_type_scalar(self): method test_matmul_empty (line 6261) | def test_matmul_empty(self): method test_matmul_exception_multiply (line 6267) | def test_matmul_exception_multiply(self): method test_matmul_exception_add (line 6276) | def test_matmul_exception_add(self): method test_matmul_bool (line 6285) | def test_matmul_bool(self): class TestMatmulOperator (line 6304) | class TestMatmulOperator(MatmulCommon): method test_array_priority_override (line 6308) | def test_array_priority_override(self): method test_matmul_raises (line 6324) | def test_matmul_raises(self): function test_matmul_inplace (line 6329) | def test_matmul_inplace(): function test_matmul_axes (line 6340) | def test_matmul_axes(): class TestInner (line 6352) | class TestInner: method test_inner_type_mismatch (line 6354) | def test_inner_type_mismatch(self): method test_inner_scalar_and_vector (line 6361) | def test_inner_scalar_and_vector(self): method test_vecself (line 6369) | def test_vecself(self): method test_inner_product_with_various_contiguities (line 6377) | def test_inner_product_with_various_contiguities(self): method test_3d_tensor (line 6402) | def test_3d_tensor(self): class TestAlen (line 6430) | class TestAlen: method test_basic (line 6431) | def test_basic(self): method test_singleton (line 6445) | def test_singleton(self): class TestChoose (line 6450) | class TestChoose: method setup (line 6451) | def setup(self): method test_basic (line 6458) | def test_basic(self): method test_broadcast1 (line 6462) | def test_broadcast1(self): method test_broadcast2 (line 6466) | def test_broadcast2(self): method test_output_dtype (line 6475) | def test_output_dtype(self, ops): class TestRepeat (line 6480) | class TestRepeat: method setup (line 6481) | def setup(self): method test_basic (line 6485) | def test_basic(self): method test_broadcast1 (line 6490) | def test_broadcast1(self): method test_axis_spec (line 6495) | def test_axis_spec(self): method test_broadcast2 (line 6505) | def test_broadcast2(self): class TestNeighborhoodIter (line 6522) | class TestNeighborhoodIter: method test_simple2d (line 6524) | def test_simple2d(self, dt): method test_mirror2d (line 6551) | def test_mirror2d(self, dt): method test_simple (line 6562) | def test_simple(self, dt): method test_mirror (line 6581) | def test_mirror(self, dt): method test_circular (line 6591) | def test_circular(self, dt): class TestStackedNeighborhoodIter (line 6601) | class TestStackedNeighborhoodIter: method test_simple_const (line 6603) | def test_simple_const(self): method test_simple_mirror (line 6629) | def test_simple_mirror(self): method test_simple_circular (line 6677) | def test_simple_circular(self): method test_simple_strict_within (line 6725) | def test_simple_strict_within(self): class TestWarnings (line 6751) | class TestWarnings: method test_complex_warning (line 6753) | def test_complex_warning(self): class TestMinScalarType (line 6763) | class TestMinScalarType: method test_usigned_shortshort (line 6765) | def test_usigned_shortshort(self): method test_usigned_short (line 6770) | def test_usigned_short(self): method test_usigned_int (line 6775) | def test_usigned_int(self): method test_usigned_longlong (line 6780) | def test_usigned_longlong(self): method test_object (line 6785) | def test_object(self): class TestPEP3118Dtype (line 6794) | class TestPEP3118Dtype: method _check (line 6795) | def _check(self, spec, wanted): method test_native_padding (line 6801) | def test_native_padding(self): method test_native_padding_2 (line 6813) | def test_native_padding_2(self): method test_trailing_padding (line 6818) | def test_trailing_padding(self): method test_native_padding_3 (line 6841) | def test_native_padding_3(self): method test_padding_with_array_inside_struct (line 6853) | def test_padding_with_array_inside_struct(self): method test_byteorder_inside_struct (line 6860) | def test_byteorder_inside_struct(self): method test_intra_padding (line 6866) | def test_intra_padding(self): method test_char_vs_string (line 6881) | def test_char_vs_string(self): method test_field_order (line 6888) | def test_field_order(self): method test_unnamed_fields (line 6893) | def test_unnamed_fields(self): class TestNewBufferProtocol (line 6901) | class TestNewBufferProtocol: method _check_roundtrip (line 6904) | def _check_roundtrip(self, obj): method test_roundtrip (line 6920) | def test_roundtrip(self): method test_roundtrip_half (line 6990) | def test_roundtrip_half(self): method test_roundtrip_single_types (line 7009) | def test_roundtrip_single_types(self): method test_roundtrip_scalar (line 7032) | def test_roundtrip_scalar(self): method test_invalid_buffer_format (line 7036) | def test_invalid_buffer_format(self): method test_export_simple_1d (line 7044) | def test_export_simple_1d(self): method test_export_simple_nd (line 7054) | def test_export_simple_nd(self): method test_export_discontiguous (line 7064) | def test_export_discontiguous(self): method test_export_record (line 7074) | def test_export_record(self): method test_export_subarray (line 7116) | def test_export_subarray(self): method test_export_endian (line 7126) | def test_export_endian(self): method test_export_flags (line 7141) | def test_export_flags(self): method test_padding (line 7147) | def test_padding(self): method test_reference_leak (line 7152) | def test_reference_leak(self): method test_padded_struct_array (line 7163) | def test_padded_struct_array(self): method test_relaxed_strides (line 7183) | def test_relaxed_strides(self, c=np.ones((1, 10, 10), dtype='i8')): method test_relaxed_strides_buffer_info_leak (line 7213) | def test_relaxed_strides_buffer_info_leak(self, arr=np.ones((1, 10))): method test_out_of_order_fields (line 7227) | def test_out_of_order_fields(self): method test_max_dims (line 7240) | def test_max_dims(self): method test_error_too_many_dims (line 7245) | def test_error_too_many_dims(self): method test_error_pointer_type (line 7268) | def test_error_pointer_type(self): method test_error_message_unsupported (line 7277) | def test_error_message_unsupported(self): method test_ctypes_integer_via_memoryview (line 7291) | def test_ctypes_integer_via_memoryview(self): method test_ctypes_struct_via_memoryview (line 7299) | def test_ctypes_struct_via_memoryview(self): class TestArrayAttributeDeletion (line 7315) | class TestArrayAttributeDeletion: method test_multiarray_writable_attributes_deletion (line 7317) | def test_multiarray_writable_attributes_deletion(self): method test_multiarray_not_writable_attributes_deletion (line 7326) | def test_multiarray_not_writable_attributes_deletion(self): method test_multiarray_flags_writable_attribute_deletion (line 7334) | def test_multiarray_flags_writable_attribute_deletion(self): method test_multiarray_flags_not_writable_attribute_deletion (line 7340) | def test_multiarray_flags_not_writable_attribute_deletion(self): class TestArrayInterface (line 7349) | class TestArrayInterface(): class Foo (line 7350) | class Foo: method __init__ (line 7351) | def __init__(self, value): method __float__ (line 7355) | def __float__(self): method __array_interface__ (line 7359) | def __array_interface__(self): method test_scalar_interface (line 7377) | def test_scalar_interface(self, val, iface, expected): function test_interface_no_shape (line 7394) | def test_interface_no_shape(): function test_array_interface_itemsize (line 7401) | def test_array_interface_itemsize(): function test_array_interface_empty_shape (line 7411) | def test_array_interface_empty_shape(): function test_array_interface_offset (line 7436) | def test_array_interface_offset(): function test_flat_element_deletion (line 7450) | def test_flat_element_deletion(): function test_scalar_element_deletion (line 7461) | def test_scalar_element_deletion(): class TestMemEventHook (line 7466) | class TestMemEventHook: method test_mem_seteventhook (line 7467) | def test_mem_seteventhook(self): class TestMapIter (line 7478) | class TestMapIter: method test_mapiter (line 7479) | def test_mapiter(self): class TestAsCArray (line 7500) | class TestAsCArray: method test_1darray (line 7501) | def test_1darray(self): method test_2darray (line 7506) | def test_2darray(self): method test_3darray (line 7511) | def test_3darray(self): class TestConversion (line 7517) | class TestConversion: method test_array_scalar_relational_operation (line 7518) | def test_array_scalar_relational_operation(self): method test_to_bool_scalar (line 7559) | def test_to_bool_scalar(self): method test_to_int_scalar (line 7581) | def test_to_int_scalar(self): class TestWhere (line 7610) | class TestWhere: method test_basic (line 7611) | def test_basic(self): method test_exotic (line 7637) | def test_exotic(self): method test_ndim (line 7678) | def test_ndim(self): method test_dtype_mix (line 7692) | def test_dtype_mix(self): method test_foreign (line 7716) | def test_foreign(self): method test_error (line 7735) | def test_error(self): method test_string (line 7742) | def test_string(self): method test_empty_result (line 7755) | def test_empty_result(self): method test_largedim (line 7763) | def test_largedim(self): class TestSizeOf (line 7777) | class TestSizeOf: method test_empty_array (line 7779) | def test_empty_array(self): method check_array (line 7783) | def check_array(self, dtype): method test_array_int32 (line 7790) | def test_array_int32(self): method test_array_int64 (line 7793) | def test_array_int64(self): method test_array_float32 (line 7796) | def test_array_float32(self): method test_array_float64 (line 7799) | def test_array_float64(self): method test_view (line 7802) | def test_view(self): method test_reshape (line 7806) | def test_reshape(self): method test_resize (line 7811) | def test_resize(self): method test_error (line 7819) | def test_error(self): class TestHashing (line 7824) | class TestHashing: method test_arrays_not_hashable (line 7826) | def test_arrays_not_hashable(self): method test_collections_hashable (line 7830) | def test_collections_hashable(self): class TestArrayPriority (line 7835) | class TestArrayPriority: class Foo (line 7845) | class Foo(np.ndarray): method __new__ (line 7848) | def __new__(cls, *args, **kwargs): class Bar (line 7851) | class Bar(np.ndarray): method __new__ (line 7854) | def __new__(cls, *args, **kwargs): class Other (line 7857) | class Other: method _all (line 7860) | def _all(self, other): method test_ndarray_subclass (line 7883) | def test_ndarray_subclass(self): method test_ndarray_other (line 7891) | def test_ndarray_other(self): method test_subclass_subclass (line 7899) | def test_subclass_subclass(self): method test_subclass_other (line 7907) | def test_subclass_other(self): class TestBytestringArrayNonzero (line 7916) | class TestBytestringArrayNonzero: method test_empty_bstring_array_is_falsey (line 7918) | def test_empty_bstring_array_is_falsey(self): method test_whitespace_bstring_array_is_falsey (line 7921) | def test_whitespace_bstring_array_is_falsey(self): method test_all_null_bstring_array_is_falsey (line 7926) | def test_all_null_bstring_array_is_falsey(self): method test_null_inside_bstring_array_is_truthy (line 7931) | def test_null_inside_bstring_array_is_truthy(self): class TestUnicodeEncoding (line 7937) | class TestUnicodeEncoding: method test_round_trip (line 7942) | def test_round_trip(self): method test_assign_scalar (line 7952) | def test_assign_scalar(self): method test_fill_scalar (line 7958) | def test_fill_scalar(self): class TestUnicodeArrayNonzero (line 7965) | class TestUnicodeArrayNonzero: method test_empty_ustring_array_is_falsey (line 7967) | def test_empty_ustring_array_is_falsey(self): method test_whitespace_ustring_array_is_falsey (line 7970) | def test_whitespace_ustring_array_is_falsey(self): method test_all_null_ustring_array_is_falsey (line 7975) | def test_all_null_ustring_array_is_falsey(self): method test_null_inside_ustring_array_is_truthy (line 7980) | def test_null_inside_ustring_array_is_truthy(self): class TestFormat (line 7986) | class TestFormat: method test_0d (line 7988) | def test_0d(self): method test_1d_no_format (line 7993) | def test_1d_no_format(self): method test_1d_format (line 7997) | def test_1d_format(self): class TestCTypes (line 8004) | class TestCTypes: method test_ctypes_is_available (line 8006) | def test_ctypes_is_available(self): method test_ctypes_is_not_available (line 8012) | def test_ctypes_is_not_available(self): method _make_readonly (line 8024) | def _make_readonly(x): method test_ctypes_data_as_holds_reference (line 8054) | def test_ctypes_data_as_holds_reference(self, arr): method test_ctypes_as_parameter_holds_reference (line 8077) | def test_ctypes_as_parameter_holds_reference(self): class TestWritebackIfCopy (line 8096) | class TestWritebackIfCopy: method test_argmax_with_out (line 8098) | def test_argmax_with_out(self): method test_argmin_with_out (line 8104) | def test_argmin_with_out(self): method test_insert_noncontiguous (line 8110) | def test_insert_noncontiguous(self): method test_put_noncontiguous (line 8118) | def test_put_noncontiguous(self): method test_putmask_noncontiguous (line 8123) | def test_putmask_noncontiguous(self): method test_take_mode_raise (line 8129) | def test_take_mode_raise(self): method test_choose_mod_raise (line 8135) | def test_choose_mod_raise(self): method test_flatiter__array__ (line 8144) | def test_flatiter__array__(self): method test_dot_out (line 8151) | def test_dot_out(self): method test_view_assign (line 8157) | def test_view_assign(self): method test_dealloc_warning (line 8177) | def test_dealloc_warning(self): method test_view_discard_refcount (line 8185) | def test_view_discard_refcount(self): class TestArange (line 8209) | class TestArange: method test_infinite (line 8210) | def test_infinite(self): method test_nan_step (line 8216) | def test_nan_step(self): method test_zero_step (line 8222) | def test_zero_step(self): class TestArrayFinalize (line 8231) | class TestArrayFinalize: method test_receives_base (line 8234) | def test_receives_base(self): method test_lifetime_on_error (line 8243) | def test_lifetime_on_error(self): function test_orderconverter_with_nonASCII_unicode_ordering (line 8278) | def test_orderconverter_with_nonASCII_unicode_ordering(): function test_equal_override (line 8284) | def test_equal_override(): function test_npymath_complex (line 8310) | def test_npymath_complex(): function test_npymath_real (line 8329) | def test_npymath_real(): function test_uintalignment_and_alignment (line 8350) | def test_uintalignment_and_alignment(): class TestAlignment (line 8386) | class TestAlignment: method check (line 8392) | def check(self, shape, dtype, order, align): method test_various_alignments (line 8413) | def test_various_alignments(self): method test_strided_loop_alignments (line 8424) | def test_strided_loop_alignments(self): function test_getfield (line 8457) | def test_getfield(): FILE: tests/github-actions.rs function all_jobs_not_missing_any_jobs (line 2) | fn all_jobs_not_missing_any_jobs() { FILE: tests/integration_tests.rs constant SAFE_CHILD_PROCESS_CREATION_TIME (line 21) | pub const SAFE_CHILD_PROCESS_CREATION_TIME: Duration = Duration::from_mi... constant CHILD_WAIT_TIMEOUT (line 22) | pub const CHILD_WAIT_TIMEOUT: Duration = Duration::from_secs(15); constant EXAMPLES_DIR (line 34) | const EXAMPLES_DIR: &str = "tests/examples"; function get_config (line 36) | fn get_config() -> &'static str { function basic (line 45) | fn basic() { function stdin (line 55) | fn stdin() { function concatenate (line 64) | fn concatenate() { function concatenate_stdin (line 74) | fn concatenate_stdin() { function concatenate_empty_first (line 86) | fn concatenate_empty_first() { function concatenate_empty_last (line 96) | fn concatenate_empty_last() { function concatenate_empty_both (line 106) | fn concatenate_empty_both() { function concatenate_empty_between (line 116) | fn concatenate_empty_between() { function concatenate_empty_first_and_last (line 127) | fn concatenate_empty_first_and_last() { function concatenate_single_line (line 138) | fn concatenate_single_line() { function concatenate_single_line_empty (line 148) | fn concatenate_single_line_empty() { function line_numbers (line 159) | fn line_numbers() { function line_numbers_from_cli_in_loop_through_mode (line 171) | fn line_numbers_from_cli_in_loop_through_mode() { function style_from_env_var_ignored_and_line_numbers_from_cli_in_loop_through_mode (line 181) | fn style_from_env_var_ignored_and_line_numbers_from_cli_in_loop_through_... function numbers_ignored_from_cli_when_followed_by_plain_in_loop_through_mode (line 193) | fn numbers_ignored_from_cli_when_followed_by_plain_in_loop_through_mode() { function numbers_honored_from_cli_when_preceeded_by_plain_in_loop_through_mode (line 206) | fn numbers_honored_from_cli_when_preceeded_by_plain_in_loop_through_mode... function line_range_2_3 (line 217) | fn line_range_2_3() { function line_range_up_to_2_from_back (line 227) | fn line_range_up_to_2_from_back() { function line_range_up_to_2_from_back_single_line_is_empty (line 237) | fn line_range_up_to_2_from_back_single_line_is_empty() { function line_range_from_back_last_two (line 247) | fn line_range_from_back_last_two() { function line_range_from_back_last_two_single_line_eq_sep (line 257) | fn line_range_from_back_last_two_single_line_eq_sep() { function line_range_from_back_last_two_single_line_no_sep (line 267) | fn line_range_from_back_last_two_single_line_no_sep() { function line_range_first_two (line 278) | fn line_range_first_two() { function line_range_last_3 (line 288) | fn line_range_last_3() { function line_range_multiple (line 298) | fn line_range_multiple() { function line_range_multiple_with_context (line 309) | fn line_range_multiple_with_context() { function line_range_context_around_single_line (line 320) | fn line_range_context_around_single_line() { function line_range_context_around_single_line_minimal (line 330) | fn line_range_context_around_single_line_minimal() { function line_range_context_around_range (line 340) | fn line_range_context_around_range() { function line_range_context_at_file_boundaries (line 350) | fn line_range_context_at_file_boundaries() { function line_range_context_at_end_of_file (line 360) | fn line_range_context_at_end_of_file() { function line_range_context_zero (line 370) | fn line_range_context_zero() { function line_range_context_negative_single_line (line 380) | fn line_range_context_negative_single_line() { function line_range_context_negative_range (line 392) | fn line_range_context_negative_range() { function line_range_context_non_numeric_single_line (line 404) | fn line_range_context_non_numeric_single_line() { function line_range_context_non_numeric_range (line 416) | fn line_range_context_non_numeric_range() { function line_range_context_very_large (line 428) | fn line_range_context_very_large() { function piped_output_with_implicit_auto_style (line 440) | fn piped_output_with_implicit_auto_style() { function piped_output_with_line_number_flag (line 449) | fn piped_output_with_line_number_flag() { function piped_output_with_line_numbers_style_flag (line 459) | fn piped_output_with_line_numbers_style_flag() { function piped_output_with_line_numbers_with_header_grid_style_flag (line 469) | fn piped_output_with_line_numbers_with_header_grid_style_flag() { function piped_output_with_auto_style (line 480) | fn piped_output_with_auto_style() { function piped_output_with_default_style_flag (line 491) | fn piped_output_with_default_style_flag() { function squeeze_blank (line 510) | fn squeeze_blank() { function squeeze_blank_line_numbers (line 520) | fn squeeze_blank_line_numbers() { function squeeze_limit (line 532) | fn squeeze_limit() { function squeeze_limit_line_numbers (line 551) | fn squeeze_limit_line_numbers() { function list_themes_with_colors (line 574) | fn list_themes_with_colors() { function list_themes_without_colors (line 590) | fn list_themes_without_colors() { function list_themes_to_piped_output (line 606) | fn list_themes_to_piped_output() { function list_languages (line 616) | fn list_languages() { function short_help (line 629) | fn short_help() { function long_help (line 638) | fn long_help() { function test_help (line 642) | fn test_help(arg: &str, expect_file: &str) { function short_help_with_highlighting (line 649) | fn short_help_with_highlighting() { function long_help_with_highlighting (line 662) | fn long_help_with_highlighting() { function help_with_color_never (line 675) | fn help_with_color_never() { function setup_temp_file (line 687) | fn setup_temp_file(content: &[u8]) -> io::Result<(PathBuf, tempfile::Tem... function basic_io_cycle (line 696) | fn basic_io_cycle() -> io::Result<()> { function first_file_cyclic_is_ok (line 712) | fn first_file_cyclic_is_ok() -> io::Result<()> { function empty_file_cycle_is_ok (line 728) | fn empty_file_cycle_is_ok() -> io::Result<()> { function stdin_to_stdout_cycle (line 744) | fn stdin_to_stdout_cycle() -> io::Result<()> { function bat_error_to_stderr (line 761) | fn bat_error_to_stderr() { function no_args_doesnt_break (line 771) | fn no_args_doesnt_break() { function tabs_numbers (line 817) | fn tabs_numbers() { function tabs_passthrough_wrapped (line 840) | fn tabs_passthrough_wrapped() { function tabs_4_wrapped (line 863) | fn tabs_4_wrapped() { function tabs_8_wrapped (line 886) | fn tabs_8_wrapped() { function tabs_passthrough (line 909) | fn tabs_passthrough() { function tabs_4 (line 932) | fn tabs_4() { function tabs_8 (line 955) | fn tabs_8() { function tabs_4_env_overrides_config (line 978) | fn tabs_4_env_overrides_config() { function tabs_4_arg_overrides_env (line 1002) | fn tabs_4_arg_overrides_env() { function tabs_4_arg_overrides_env_noconfig (line 1027) | fn tabs_4_arg_overrides_env_noconfig() { function fail_non_existing (line 1051) | fn fail_non_existing() { function fail_directory (line 1056) | fn fail_directory() { function do_not_exit_directory (line 1061) | fn do_not_exit_directory() { function pager_basic (line 1072) | fn pager_basic() { function pager_basic_arg (line 1086) | fn pager_basic_arg() { function pager_overwrite (line 1103) | fn pager_overwrite() { function pager_disable (line 1117) | fn pager_disable() { function pager_arg_override_env_withconfig (line 1130) | fn pager_arg_override_env_withconfig() { function pager_arg_override_env_noconfig (line 1150) | fn pager_arg_override_env_noconfig() { function pager_env_bat_pager_override_config (line 1169) | fn pager_env_bat_pager_override_config() { function pager_env_pager_nooverride_config (line 1185) | fn pager_env_pager_nooverride_config() { function env_var_pager_value_bat (line 1199) | fn env_var_pager_value_bat() { function env_var_bat_pager_value_bat (line 1210) | fn env_var_bat_pager_value_bat() { function pager_value_bat (line 1221) | fn pager_value_bat() { function pager_most_from_pager_env_var (line 1235) | fn pager_most_from_pager_env_var() { function pager_most_from_bat_pager_env_var (line 1252) | fn pager_most_from_bat_pager_env_var() { function pager_most_from_pager_arg (line 1267) | fn pager_most_from_pager_arg() { function pager_most_with_arg (line 1282) | fn pager_most_with_arg() { function pager_more (line 1297) | fn pager_more() { function alias_pager_disable (line 1310) | fn alias_pager_disable() { function alias_pager_disable_long_overrides_short (line 1322) | fn alias_pager_disable_long_overrides_short() { function disable_pager_if_disable_paging_flag_comes_after_paging (line 1336) | fn disable_pager_if_disable_paging_flag_comes_after_paging() { function disable_pager_if_pp_flag_comes_after_paging (line 1348) | fn disable_pager_if_pp_flag_comes_after_paging() { function enable_pager_if_disable_paging_flag_comes_before_paging (line 1361) | fn enable_pager_if_disable_paging_flag_comes_before_paging() { function enable_pager_if_pp_flag_comes_before_paging (line 1376) | fn enable_pager_if_pp_flag_comes_before_paging() { function paging_does_not_override_simple_plain (line 1390) | fn paging_does_not_override_simple_plain() { function simple_plain_does_not_override_paging (line 1404) | fn simple_plain_does_not_override_paging() { function pager_failed_to_parse (line 1418) | fn pager_failed_to_parse() { function pager_missing_warning (line 1430) | fn pager_missing_warning() { function env_var_bat_paging (line 1445) | fn env_var_bat_paging() { function basic_set_terminal_title (line 1458) | fn basic_set_terminal_title() { function diagnostic_sanity_check (line 1471) | fn diagnostic_sanity_check() { function help_works_with_invalid_config (line 1481) | fn help_works_with_invalid_config() { function help_uses_valid_config (line 1508) | fn help_uses_valid_config() { function version_works_with_invalid_config (line 1530) | fn version_works_with_invalid_config() { function diagnostic_works_with_invalid_config (line 1555) | fn diagnostic_works_with_invalid_config() { function config_location_test (line 1580) | fn config_location_test() { function config_location_when_generating (line 1597) | fn config_location_when_generating() { function config_location_from_bat_config_dir_variable (line 1617) | fn config_location_from_bat_config_dir_variable() { function config_read_arguments_from_file (line 1628) | fn config_read_arguments_from_file() { function cache_clear (line 1641) | fn cache_clear() { function cache_build_blank (line 1689) | fn cache_build_blank() { function cache_build (line 1734) | fn cache_build() { function utf16 (line 1777) | fn utf16() { function utf16le (line 1800) | fn utf16le() { function utf16be (line 1812) | fn utf16be() { function bom_not_stripped_in_loop_through_mode (line 1825) | fn bom_not_stripped_in_loop_through_mode() { function bom_stripped_when_colored_output (line 1838) | fn bom_stripped_when_colored_output() { function bom_stripped_when_no_color_and_not_loop_through (line 1852) | fn bom_stripped_when_no_color_and_not_loop_through() { function no_broken_osc_emit_with_line_wrapping (line 1874) | fn no_broken_osc_emit_with_line_wrapping() { function can_print_file_named_cache (line 1887) | fn can_print_file_named_cache() { function can_print_file_named_cache_with_additional_argument (line 1897) | fn can_print_file_named_cache_with_additional_argument() { function can_print_file_starting_with_cache (line 1908) | fn can_print_file_starting_with_cache() { function does_not_print_unwanted_file_named_cache (line 1918) | fn does_not_print_unwanted_file_named_cache() { function accepts_no_custom_assets_arg (line 1923) | fn accepts_no_custom_assets_arg() { function unicode_wrap (line 1934) | fn unicode_wrap() { function snip (line 1976) | fn snip() { function empty_file_leads_to_empty_output_with_grid_enabled (line 2002) | fn empty_file_leads_to_empty_output_with_grid_enabled() { function empty_file_leads_to_empty_output_with_rule_enabled (line 2014) | fn empty_file_leads_to_empty_output_with_rule_enabled() { function header_basic (line 2026) | fn header_basic() { function header_full_basic (line 2040) | fn header_full_basic() { function header_env_basic (line 2054) | fn header_env_basic() { function header_arg_overrides_env (line 2068) | fn header_arg_overrides_env() { function header_binary (line 2083) | fn header_binary() { function header_full_binary (line 2097) | fn header_full_binary() { function header_narrow_terminal (line 2112) | fn header_narrow_terminal() { function header_very_narrow_terminal (line 2136) | fn header_very_narrow_terminal() { function header_narrow_terminal_with_multibyte_chars (line 2166) | fn header_narrow_terminal_with_multibyte_chars() { function header_default (line 2178) | fn header_default() { function header_default_is_default (line 2203) | fn header_default_is_default() { function header_and_changes_only (line 2228) | fn header_and_changes_only() { function filename_stdin (line 2241) | fn filename_stdin() { function filename_stdin_binary (line 2256) | fn filename_stdin_binary() { function filename_multiple_ok (line 2270) | fn filename_multiple_ok() { function filename_multiple_err (line 2286) | fn filename_multiple_err() { function header_padding (line 2299) | fn header_padding() { function header_full_padding (line 2311) | fn header_full_padding() { function header_padding_rule (line 2323) | fn header_padding_rule() { function header_full_padding_rule (line 2343) | fn header_full_padding_rule() { function grid_overrides_rule (line 2365) | fn grid_overrides_rule() { function file_with_invalid_utf8_filename (line 2390) | fn file_with_invalid_utf8_filename() { function do_not_panic_regression_tests (line 2413) | fn do_not_panic_regression_tests() { function do_not_detect_different_syntax_for_stdin_and_files (line 2430) | fn do_not_detect_different_syntax_for_stdin_and_files() { function no_first_line_fallback_when_mapping_to_invalid_syntax (line 2459) | fn no_first_line_fallback_when_mapping_to_invalid_syntax() { function fallback_syntax_is_used_when_no_syntax_is_detected (line 2474) | fn fallback_syntax_is_used_when_no_syntax_is_detected() { function fallback_syntax_does_not_override_detected_syntax (line 2508) | fn fallback_syntax_does_not_override_detected_syntax() { function fallback_syntax_does_not_override_explicit_language (line 2541) | fn fallback_syntax_does_not_override_explicit_language() { function invalid_fallback_syntax_returns_error (line 2576) | fn invalid_fallback_syntax_returns_error() { function show_all_mode (line 2589) | fn show_all_mode() { function show_all_extends_tab_markers_to_next_tabstop (line 2599) | fn show_all_extends_tab_markers_to_next_tabstop() { function show_all_extends_tab_markers_to_next_tabstop_width_8 (line 2622) | fn show_all_extends_tab_markers_to_next_tabstop_width_8() { function show_all_with_caret_notation (line 2645) | fn show_all_with_caret_notation() { function show_all_with_unicode (line 2664) | fn show_all_with_unicode() { function binary_as_text (line 2675) | fn binary_as_text() { function no_strip_overstrike_for_plain_text (line 2685) | fn no_strip_overstrike_for_plain_text() { function strip_overstrike_with_syntax_highlighting (line 2698) | fn strip_overstrike_with_syntax_highlighting() { function strip_overstrike_for_manpage_syntax (line 2711) | fn strip_overstrike_for_manpage_syntax() { function no_strip_overstrike_for_other_syntax (line 2725) | fn no_strip_overstrike_for_other_syntax() { function show_all_shows_backspace_with_caret_notation (line 2738) | fn show_all_shows_backspace_with_caret_notation() { function no_paging_arg (line 2752) | fn no_paging_arg() { function no_paging_short_arg (line 2764) | fn no_paging_short_arg() { function no_pager_arg (line 2776) | fn no_pager_arg() { function plain_mode_does_not_add_nonexisting_newline (line 2788) | fn plain_mode_does_not_add_nonexisting_newline() { function grid_for_file_without_newline (line 2803) | fn grid_for_file_without_newline() { function ansi_highlight_underline (line 2829) | fn ansi_highlight_underline() { function ansi_highlight_json_keys (line 2850) | fn ansi_highlight_json_keys() { function ansi_passthrough_emit (line 2867) | fn ansi_passthrough_emit() { function ansi_sgr_emitted_when_wrapped (line 2887) | fn ansi_sgr_emitted_when_wrapped() { function ansi_hyperlink_emitted_when_wrapped (line 2906) | fn ansi_hyperlink_emitted_when_wrapped() { function ansi_sgr_joins_attributes_when_wrapped (line 2924) | fn ansi_sgr_joins_attributes_when_wrapped() { function ignored_suffix_arg (line 2941) | fn ignored_suffix_arg() { function wrapping_test (line 2977) | fn wrapping_test(wrap_flag: &str, expect_wrap: bool) { function no_line_wrapping_when_set_to_never (line 2999) | fn no_line_wrapping_when_set_to_never() { function line_wrapping_when_auto (line 3004) | fn line_wrapping_when_auto() { function no_line_wrapping_with_s_flag (line 3009) | fn no_line_wrapping_with_s_flag() { function no_wrapping_with_chop_long_lines (line 3014) | fn no_wrapping_with_chop_long_lines() { function wrap_never_flag_respected_with_paging_always (line 3020) | fn wrap_never_flag_respected_with_paging_always() { function s_flag_respected_with_paging_always (line 3039) | fn s_flag_respected_with_paging_always() { function theme_arg_overrides_env (line 3057) | fn theme_arg_overrides_env() { function theme_arg_overrides_env_withconfig (line 3076) | fn theme_arg_overrides_env_withconfig() { function theme_light_env_var_is_respected (line 3096) | fn theme_light_env_var_is_respected() { function theme_dark_env_var_is_respected (line 3116) | fn theme_dark_env_var_is_respected() { function theme_env_overrides_config (line 3136) | fn theme_env_overrides_config() { function highlighting_is_skipped_on_long_lines (line 3155) | fn highlighting_is_skipped_on_long_lines() { function all_global_git_config_locations_syntax_mapping_work (line 3174) | fn all_global_git_config_locations_syntax_mapping_work() { function map_syntax_and_ignored_suffix_work_together (line 3219) | fn map_syntax_and_ignored_suffix_work_together() { function acknowledgements (line 3249) | fn acknowledgements() { function lessopen_file_piped (line 3287) | fn lessopen_file_piped() { function lessopen_stdin_piped (line 3300) | fn lessopen_stdin_piped() { function lessopen_and_lessclose_file_temp (line 3313) | fn lessopen_and_lessclose_file_temp() { function lessopen_and_lessclose_file_piped (line 3330) | fn lessopen_and_lessclose_file_piped() { function lessopen_and_lessclose_stdin_temp (line 3356) | fn lessopen_and_lessclose_stdin_temp() { function lessopen_and_lessclose_stdin_piped (line 3373) | fn lessopen_and_lessclose_stdin_piped() { function lessopen_handling_empty_output_file (line 3401) | fn lessopen_handling_empty_output_file() { function lessopen_handling_empty_output_stdin (line 3443) | fn lessopen_handling_empty_output_stdin() { function lessopen_uses_shell (line 3484) | fn lessopen_uses_shell() { function do_not_use_lessopen_by_default (line 3497) | fn do_not_use_lessopen_by_default() { function do_not_use_lessopen_if_overridden (line 3509) | fn do_not_use_lessopen_if_overridden() { function lessopen_validity (line 3523) | fn lessopen_validity() { function highlighting_independant_from_map_syntax_case (line 3560) | fn highlighting_independant_from_map_syntax_case() { function map_syntax_target_syntax_case_insensitive (line 3581) | fn map_syntax_target_syntax_case_insensitive() { function strip_ansi_always_strips_ansi (line 3602) | fn strip_ansi_always_strips_ansi() { function strip_ansi_never_does_not_strip_ansi (line 3615) | fn strip_ansi_never_does_not_strip_ansi() { function strip_ansi_does_not_affect_simple_printer (line 3635) | fn strip_ansi_does_not_affect_simple_printer() { function strip_ansi_does_not_strip_when_show_nonprintable (line 3655) | fn strip_ansi_does_not_strip_when_show_nonprintable() { function strip_ansi_auto_strips_ansi_when_detected_syntax_by_filename (line 3676) | fn strip_ansi_auto_strips_ansi_when_detected_syntax_by_filename() { function strip_ansi_auto_strips_ansi_when_provided_syntax_by_option (line 3690) | fn strip_ansi_auto_strips_ansi_when_provided_syntax_by_option() { function strip_ansi_auto_does_not_strip_when_plain_text_by_filename (line 3704) | fn strip_ansi_auto_does_not_strip_when_plain_text_by_filename() { function strip_ansi_auto_does_not_strip_ansi_when_plain_text_by_option (line 3725) | fn strip_ansi_auto_does_not_strip_ansi_when_plain_text_by_option() { function style_components_can_be_removed (line 3747) | fn style_components_can_be_removed() { function style_components_can_be_overidden (line 3770) | fn style_components_can_be_overidden() { function style_components_will_merge (line 3785) | fn style_components_will_merge() { function style_components_will_merge_with_env_var (line 3800) | fn style_components_will_merge_with_env_var() { function plain_with_sized_terminal_width (line 3815) | fn plain_with_sized_terminal_width() { function quiet_empty_suppresses_output_on_empty_stdin (line 3828) | fn quiet_empty_suppresses_output_on_empty_stdin() { function quiet_empty_does_not_affect_non_empty_input (line 3838) | fn quiet_empty_does_not_affect_non_empty_input() { function quiet_empty_suppresses_output_on_empty_file (line 3848) | fn quiet_empty_suppresses_output_on_empty_file() { function cache_help_shows_help_message (line 3858) | fn cache_help_shows_help_message() { function unbuffered_flag_is_accepted (line 3875) | fn unbuffered_flag_is_accepted() { function unbuffered_mode_disables_line_numbers (line 3885) | fn unbuffered_mode_disables_line_numbers() { function unbuffered_mode_plain_output (line 3899) | fn unbuffered_mode_plain_output() { function word_wrap_breaks_at_word_boundaries (line 3911) | fn word_wrap_breaks_at_word_boundaries() { function word_wrap_with_line_numbers (line 3934) | fn word_wrap_with_line_numbers() { function word_wrap_short_line_no_wrap (line 3956) | fn word_wrap_short_line_no_wrap() { FILE: tests/no_duplicate_extensions.rs function no_duplicate_extensions (line 6) | fn no_duplicate_extensions() { FILE: tests/scripts/find-slow-to-highlight-files.py function find_slow_files (line 34) | def find_slow_files(startup_time, glob_pattern, language=None): function measure_bat_startup_speed (line 85) | def measure_bat_startup_speed(): function traverse_all_languages (line 101) | def traverse_all_languages(startup_time): function main (line 112) | def main(): FILE: tests/snapshots/generate_snapshots.py function generate_snapshots (line 9) | def generate_snapshots(): function generate_style_snapshot (line 21) | def generate_style_snapshot(style): function generate_snapshot (line 25) | def generate_snapshot(name, arguments): function build_bat (line 35) | def build_bat(): function prepare_output_dir (line 40) | def prepare_output_dir(): function modify_sample_file (line 45) | def modify_sample_file(): function undo_sample_file_modification (line 50) | def undo_sample_file_modification(): FILE: tests/snapshots/sample.modified.rs type Rectangle (line 2) | struct Rectangle { function main (line 7) | fn main() { function area (line 17) | fn area(rectangle: &Rectangle) -> u32 { function perimeter (line 21) | fn perimeter(rectangle: &Rectangle) -> u32 { FILE: tests/snapshots/sample.rs type Rectangle (line 1) | struct Rectangle { function main (line 6) | fn main() { function area (line 16) | fn area(rectangle: &Rectangle) -> u32 { FILE: tests/syntax-tests/compare_highlighted_versions.py function compare_highlighted_versions (line 10) | def compare_highlighted_versions(root_old, root_new): function strip_root (line 53) | def strip_root(p: str) -> str: FILE: tests/syntax-tests/create_highlighted_versions.py function get_options (line 29) | def get_options(source): function create_highlighted_version (line 43) | def create_highlighted_version(args): function create_highlighted_versions (line 81) | def create_highlighted_versions(output_basepath): FILE: tests/syntax-tests/highlighted/Dart/test.dart function m (line 2) | m(List list[38;2;248... FILE: tests/syntax-tests/source/C-Sharp/Stack.cs class Stack (line 3) | internal class Stack method Stack (line 9) | public Stack() method IsEmpty (line 14) | private bool IsEmpty() method IsFull (line 18) | private bool IsFull() method Peek (line 23) | public void Peek() method Pop (line 28) | public T Pop() method Push (line 33) | public void Push(T element) method ToString (line 45) | public override string ToString() FILE: tests/syntax-tests/source/C/test.c function test_function (line 5) | void test_function() type Node (line 13) | struct Node function main (line 19) | int main(int argc, char **argv) FILE: tests/syntax-tests/source/Cpp/test.cpp function test_function (line 10) | bool test_function(int x, int y) function main (line 38) | int main() FILE: tests/syntax-tests/source/Dart/inner_comment.dart function Object (line 1) | return Object( FILE: tests/syntax-tests/source/Dart/test.dart function partition (line 2) | int partition(List list, int low, int high) function swap (line 7) | void swap(List list, int i, int j) function quickSort (line 23) | void quickSort(List list, int low, int high) function merge (line 31) | void merge(List list, int leftIndex, int middleIndex, int rightIndex) function mergeSort (line 68) | void mergeSort(List list, int leftIndex, int rightIndex) class Spacecraft (line 90) | class Spacecraft { method describe (line 100) | void describe() class PilotedCraft (line 112) | class PilotedCraft extends Spacecraft with Piloted { class MockSpaceship (line 117) | class MockSpaceship implements Spacecraft { function printWithDelay (line 122) | Future printWithDelay(String message) function report (line 128) | Stream report(Spacecraft craft, Iterable objects) FILE: tests/syntax-tests/source/Elixir/command.ex class Charlex.Command (line 1) | defmodule Charlex.Command FILE: tests/syntax-tests/source/Go/main.go function PrintHugeParams (line 23) | func PrintHugeParams(fset *token.FileSet, info *types.Info, files []*ast... function main (line 53) | func main() { FILE: tests/syntax-tests/source/Java/test.java class Main (line 7) | public class Main method main (line 9) | public static void main(String[] arg) FILE: tests/syntax-tests/source/JavaScript/test.js function weatherSays (line 28) | function weatherSays(when=Date.now()) { class Forecast (line 52) | class Forecast { method constructor (line 53) | constructor(where, isGonnaRainA=true, isGonnaRainB=false, isGonnaRainC... method getLocalPrevisions (line 73) | async getLocalPrevisions() { method communicatePrevisions (line 78) | communicatePrevisions(isGonnaRain=undefined) { method destroy (line 82) | destroy() { method startHiring (line 86) | static startHiring() { method generateRainInZoneC (line 92) | * generateRainInZoneC(clouds=[1, 2, 3]) { FILE: tests/syntax-tests/source/PHP/test.php function favMovie (line 53) | function favMovie() { class Person (line 85) | class Person { method __construct (line 89) | function __construct($name){ method __destruct (line 93) | function __destruct(){ method setName (line 97) | function setName($name) { FILE: tests/syntax-tests/source/Python/battest.py class Hello (line 16) | class Hello: method __init__ (line 17) | def __init__(self, x): method selfprint (line 20) | def selfprint(self): method testprint (line 23) | def testprint(self): class Decorators (line 27) | class Decorators: method decoratorsTest (line 29) | def decoratorsTest(self): function x2 (line 81) | def x2(n): FILE: tests/syntax-tests/source/Ruby On Rails/test.rb class ContactsController (line 1) | class ContactsController < ApplicationController method new (line 2) | def new method create (line 6) | def create method secure_params (line 19) | def secure_params FILE: tests/syntax-tests/source/Ruby/output.rb class RepeatedSubstring (line 1) | class RepeatedSubstring method find_repeated_substring (line 2) | def find_repeated_substring(s) method get_prefix (line 32) | def get_prefix(s1, s2) method next_index (line 45) | def next_index(seq, index, value) method find_repeated_substring_file (line 53) | def find_repeated_substring_file(file_path) FILE: tests/syntax-tests/source/Rust/output.rs type OutputType (line 12) | pub enum OutputType { method from_mode (line 20) | pub fn from_mode(mode: PagingMode, pager: Option<&str>) -> Result { method try_pager (line 31) | fn try_pager(quit_if_one_screen: bool, pager_from_config: Option<&str>... method stdout (line 124) | pub(crate) fn stdout() -> Self { method is_pager (line 129) | pub(crate) fn is_pager(&self) -> bool { method is_pager (line 138) | pub(crate) fn is_pager(&self) -> bool { method handle (line 142) | pub fn handle(&mut self) -> Result<&mut dyn Write> { method drop (line 156) | fn drop(&mut self) { FILE: tests/syntax-tests/source/SQL/ims.sql type interships (line 2) | create table interships type directions (line 24) | create table directions type participants (line 35) | create table participants type hiring_layer_types (line 55) | create table hiring_layer_types type hiring_layers (line 68) | create table hiring_layers type subjects (line 85) | create table subjects type direction_subjects (line 97) | create table direction_subjects type component_types (line 111) | create table component_types type components (line 122) | create table components type results (line 136) | create table results type learning_material_types (line 150) | create table learning_material_types type learning_materials (line 163) | create table learning_materials type sessions (line 174) | create table sessions type attendances (line 183) | create table attendances type intership_info (line 197) | create view intership_info type participant_info (line 209) | create view participant_info type direction_info (line 228) | create view direction_info type subject_info (line 242) | create view subject_info type attendance_info (line 257) | create view attendance_info FILE: tests/syntax-tests/source/TypeScript/example.ts type SquareConfig (line 29) | interface SquareConfig { type SearchFunc (line 36) | interface SearchFunc { type Color (line 40) | enum Color { type Easing (line 45) | type Easing = "ease-in" | "ease-out" | "ease-in-out"; class Greeter (line 47) | class Greeter { method constructor (line 50) | constructor(message: string) { method greet (line 54) | greet() { class Animal (line 61) | class Animal { method move (line 62) | move(distanceInMeters: number = 0) { class Dog (line 67) | class Dog extends Animal { method bark (line 68) | bark() { class Point (line 78) | class Point { type Point3d (line 83) | interface Point3d extends Point { function add (line 89) | function add(x, y) { function identity (line 101) | function identity(arg: T): T { class GenericNumber (line 107) | class GenericNumber { FILE: tests/system_wide_config.rs function use_systemwide_config (line 10) | fn use_systemwide_config() { function config_overrides_system_config (line 22) | fn config_overrides_system_config() { FILE: tests/test_pretty_printer.rs function syntaxes (line 4) | fn syntaxes() { FILE: tests/tester/mod.rs type BatTester (line 13) | pub struct BatTester { method test_snapshot (line 22) | pub fn test_snapshot(&self, name: &str, style: &str) { method default (line 53) | fn default() -> Self { function create_sample_directory (line 62) | fn create_sample_directory() -> Result { FILE: tests/utils/command.rs function bat_raw_command_with_config (line 6) | pub fn bat_raw_command_with_config() -> Command { function bat_raw_command (line 27) | pub fn bat_raw_command() -> Command { function bat_with_config (line 34) | pub fn bat_with_config() -> assert_cmd::Command { function bat (line 39) | pub fn bat() -> assert_cmd::Command { FILE: tests/utils/mocked_pagers.rs function get_mocked_pagers_dir (line 10) | fn get_mocked_pagers_dir() -> PathBuf { function from (line 19) | pub fn from(base: &str) -> String { function prepend_dir_to_path_env_var (line 34) | fn prepend_dir_to_path_env_var(dir: PathBuf) -> String { function restore_path (line 51) | fn restore_path(original_path: String) { function with_mocked_versions_of_more_and_most_in_path (line 58) | pub fn with_mocked_versions_of_more_and_most_in_path(actual_test: fn()) {