MCPcopy Create free account

hub / github.com/RallyPat/LibreTune / functions

Functions2,182 in github.com/RallyPat/LibreTune

↓ 4 callersMethodpage_size
Get the size of a page
crates/libretune-core/src/ecu/memory.rs:41
↓ 4 callersFunctionparse_color_attributes
(e: &BytesStart)
crates/libretune-core/src/dash/parser.rs:480
↓ 4 callersFunctionparse_command_string
Parse a command string with escape sequences into raw bytes Handles: \xNN (hex), \n, \r, \t, \\, \0, and regular characters
crates/libretune-core/src/protocol/connection.rs:20
↓ 4 callersMethodprocess
Process raw data and produce a full map of output channels # Arguments `raw_data` - Raw byte buffer from ECU `def` - ECU definition # Returns Map of
crates/libretune-core/src/realtime/evaluator.rs:46
↓ 4 callersFunctionread_axis_bins
Read axis bin values from a constant definition
crates/libretune-app/src-tauri/src/commands/start_autotune.rs:141
↓ 4 callersMethodrecord_response_time
Record a response time for adaptive timing
crates/libretune-core/src/protocol/connection.rs:515
↓ 4 callersMethodreset_adaptive_timing_on_error
Reset adaptive timing on error (back off to conservative values)
crates/libretune-core/src/protocol/connection.rs:522
↓ 4 callersMethodsend_raw_bytes_with_response
Send raw bytes to ECU and read back the response. Sends command bytes, waits up to `timeout` for the response, using an inter-character timeout of 50
crates/libretune-core/src/protocol/connection.rs:1573
↓ 4 callersFunctionset_gauge_color
(gauge: &mut GaugeConfig, prop: &str, color: TsColor)
crates/libretune-core/src/dash/parser.rs:499
↓ 4 callersMethodstart
(&mut self)
crates/libretune-core/src/autotune/mod.rs:176
↓ 4 callersMethodstop
(&mut self)
crates/libretune-core/src/autotune/mod.rs:182
↓ 4 callersFunctiontearDownTauriMocks
()
crates/libretune-app/src/test-utils/tauriMocks.ts:192
↓ 4 callersFunctiontoCurveData
(data: BackendCurveData)
crates/libretune-app/src/types/app.ts:131
↓ 4 callersFunctiontoLinear
(r: number, c: number, cols: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:90
↓ 4 callersFunctiontoTunerTableData
(data: BackendTableData)
crates/libretune-app/src/types/app.ts:120
↓ 4 callersFunctiontoggleSection
(section: string)
crates/libretune-app/src/components/dialogs/MigrationReportDialog.tsx:121
↓ 4 callersMethodtouch
Update the modified timestamp
crates/libretune-core/src/tune/file.rs:1004
↓ 4 callersFunctionuseToast
()
crates/libretune-app/src/contexts/ToastContext.tsx:48
↓ 4 callersFunctionwrite_attrs
(out: &mut String, attrs: &BTreeMap<String, String>)
crates/libretune-core/src/tune_view/writer.rs:77
↓ 4 callersMethodx_size
Get the X dimension (columns for 2D, size for 1D, 1 for scalar)
crates/libretune-core/src/ini/types.rs:313
↓ 3 callersMethodadd_data_point
( &mut self, point: VEDataPoint, table_x_bins: &[f64], table_y_bins: &[f64],
crates/libretune-core/src/autotune/mod.rs:263
↓ 3 callersMethodbuild
Build the packet
crates/libretune-core/src/protocol/packet.rs:255
↓ 3 callersMethodbuild_burn_command
Build a burn command from format string e.g., "B%2i" with page=0
crates/libretune-core/src/protocol/command_builder.rs:53
↓ 3 callersMethodbuild_read_command
Build a read command from format string e.g., "R%2i%2o%2c" with page=0, offset=0, count=256
crates/libretune-core/src/protocol/command_builder.rs:29
↓ 3 callersFunctioncall_connection_factory_and_build_result
Helper that invokes the optional connection factory and builds a ConnectResult
crates/libretune-app/src-tauri/src/commands/signature_helpers.rs:192
↓ 3 callersMethodchannels
Get the channel names
crates/libretune-core/src/datalog/recorder.rs:113
↓ 3 callersMethodclear
Clear the cache
crates/libretune-core/src/ini/inc_tables.rs:277
↓ 3 callersMethodcompute_peaks
Compute peak HP and torque from data
crates/libretune-core/src/datalog/dyno.rs:273
↓ 3 callersMethodcompute_req_fuel
Calculate the required fuel pulse width (Speeduino/MS `reqFuel` constant) Formula: reqFuel = (displacement_per_cyl * stoich_afr) / (injector_flow * d
crates/libretune-core/src/basemap/engine_spec.rs:154
↓ 3 callersFunctionconnect
()
crates/libretune-app/src/App.tsx:699
↓ 3 callersFunctionconvertAfr
(value: number, from: AfrUnit, to: AfrUnit, stoichAfr: number = STOICH_AFR.gasoline)
crates/libretune-app/src/utils/unitConversions.ts:128
↓ 3 callersFunctionconvertPressure
(value: number, from: PressureUnit, to: PressureUnit)
crates/libretune-app/src/utils/unitConversions.ts:86
↓ 3 callersFunctionconvertSpeed
(value: number, from: SpeedUnit, to: SpeedUnit)
crates/libretune-app/src/utils/unitConversions.ts:148
↓ 3 callersFunctionconvertTemperature
(value: number, from: TemperatureUnit, to: TemperatureUnit)
crates/libretune-app/src/utils/unitConversions.ts:58
↓ 3 callersFunctioncreate_basic_dashboard
Create a basic dashboard layout - LibreTune default Clean 4x2 grid: Large RPM + AFR in center, supporting gauges around edges Perfect for general moni
crates/libretune-core/src/dash/templates.rs:83
↓ 3 callersFunctioncreate_test_cache
()
crates/libretune-core/src/tune/cache.rs:273
↓ 3 callersFunctioncreate_test_manifest
()
crates/libretune-core/tests/plugin_system.rs:7
↓ 3 callersMethoddisconnect
()
crates/libretune-app/src/setupTests.ts:8
↓ 3 callersFunctiondrawZone
(startVal: number, endVal: number, color: string)
crates/libretune-app/src/components/gauges/painters/analogMovingBarGauge.ts:43
↓ 3 callersFunctionfahrenheit_to_celsius
Convert Fahrenheit to Celsius
crates/libretune-core/src/unit_conversion.rs:16
↓ 3 callersFunctionfind_matching_inis_internal
Find INI files that match the given ECU signature (uses tauri State wrapper)
crates/libretune-app/src-tauri/src/commands/signature_helpers.rs:147
↓ 3 callersFunctionfind_table_with_dims
Look up a table definition by trying a list of candidate names. Returns the matched table definition and the actual cols and rows. Dimensions are reso
crates/libretune-app/src-tauri/src/commands/apply_base_map.rs:168
↓ 3 callersFunctionformatBytes
(bytes: number)
crates/libretune-app/src/components/diagnostics/OutputChannelStatus.tsx:65
↓ 3 callersFunctionformatDuration
(ms: number)
crates/libretune-app/src/components/tuner-ui/DataLogView.tsx:554
↓ 3 callersFunctionformatValue
(val: TuneValue | null)
crates/libretune-app/src/components/dialogs/TuneFileDiffDialog.tsx:43
↓ 3 callersFunctiongenerate_afr_table
Generate AFR target table Strategy: - Idle: slightly rich of stoich (14.0 for gasoline) - Cruise: lean for economy (15.0-15.5 for gasoline) - WOT: sa
crates/libretune-core/src/basemap/generator.rs:283
↓ 3 callersFunctiongenerate_base_map
Generate a complete base map from engine specs
crates/libretune-core/src/basemap/generator.rs:389
↓ 3 callersFunctiongenerate_ignition_table
Generate a conservative ignition advance table Strategy: - Low RPM / high load: conservative (15-20° BTDC) - High RPM: more advance (25-35°) - Booste
crates/libretune-core/src/basemap/generator.rs:225
↓ 3 callersFunctiongenerate_ve_table
Generate a conservative VE table Strategy: - Low RPM / low load: ~35-45% VE (vacuum / idle) - Mid RPM / mid load: ~55-75% VE (cruising) - High RPM /
crates/libretune-core/src/basemap/generator.rs:176
↓ 3 callersFunctiongetNormalizedPosition
Helper to get normalized position for a cell
crates/libretune-app/src/components/tables/3d/SceneComponents.tsx:157
↓ 3 callersFunctionget_definitions_dir
Get the definitions directory (cross-platform).
crates/libretune-app/src-tauri/src/paths.rs:25
↓ 3 callersMethodget_output_channel
Get an output channel by name
crates/libretune-core/src/ini/mod.rs:191
↓ 3 callersMethodget_page_identifier
Get page identifier for a page index (used in protocol commands) Returns the 16-bit page identifier from INI, or page index if not defined
crates/libretune-core/src/protocol/connection.rs:1285
↓ 3 callersMethodget_plugin
Get loaded plugin by name.
crates/libretune-core/src/plugin_system.rs:280
↓ 3 callersFunctionget_projects_dir
Get the projects directory (cross-platform).
crates/libretune-app/src-tauri/src/paths.rs:20
↓ 3 callersMethodget_realtime_data
Get real-time data from ECU
crates/libretune-core/src/protocol/connection.rs:1190
↓ 3 callersMethodget_timeout
Get current effective timeout
crates/libretune-core/src/ini/types.rs:732
↓ 3 callersFunctionhandleCellChange
( x: number, y: number, value: number, options?: { suppressAlert?: boolean; operation?: string
crates/libretune-app/src/components/tables/TableEditor2D.tsx:542
↓ 3 callersFunctionhandleIncrease
(amount: number)
crates/libretune-app/src/components/tables/TableEditor2D.tsx:625
↓ 3 callersFunctionhandleScale
(factor: number)
crates/libretune-app/src/components/tables/TableEditor2D.tsx:645
↓ 3 callersFunctionhandleSetEqual
()
crates/libretune-app/src/components/tables/TableEditor2D.tsx:578
↓ 3 callersFunctionhandleSort
(field: SortField)
crates/libretune-app/src/components/dialogs/TuneFileDiffDialog.tsx:196
↓ 3 callersFunctionhexToRgb
(hex: string)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:198
↓ 3 callersFunctioninterpolate_linear
( z_values: &[Vec<f64>], selected_cells: Vec<TableCell>, axis: InterpolationAxis, )
crates/libretune-core/src/table_ops.rs:308
↓ 3 callersMethodis_adaptive_timing_enabled
Check if adaptive timing is enabled
crates/libretune-core/src/protocol/connection.rs:435
↓ 3 callersFunctionkmh_to_mph
Convert km/h to mph
crates/libretune-core/src/unit_conversion.rs:85
↓ 3 callersFunctionlambda_to_afr
Convert Lambda to AFR # Arguments `lambda` - Lambda value (1.0 = stoichiometric) `fuel_type` - Fuel type: "gasoline" (default), "E85", "LPG", "CNG",
crates/libretune-core/src/unit_conversion.rs:48
↓ 3 callersMethodlen
Get the number of entries
crates/libretune-core/src/datalog/playback.rs:29
↓ 3 callersFunctionlist_ports
List all available serial ports, with /dev fallbacks and deterministic ordering
crates/libretune-core/src/protocol/serial.rs:77
↓ 3 callersFunctionloadChannels
()
crates/libretune-app/src/components/dialogs/MathChannelsDialog.tsx:54
↓ 3 callersFunctionloadRestorePoints
()
crates/libretune-app/src/components/dialogs/RestorePointsDialog.tsx:48
↓ 3 callersMethodload_current_tune
Load the current tune from disk
crates/libretune-core/src/project/project.rs:379
↓ 3 callersFunctionload_fixture
Load a fixture file from tests/fixtures/dashboards/
crates/libretune-core/tests/dash_parsing.rs:8
↓ 3 callersFunctionmake_hits
(rows: usize, cols: usize, fill: u32)
crates/libretune-core/src/autotune/health.rs:496
↓ 3 callersMethodmanifest
Get manifest reference.
crates/libretune-core/src/plugin_system.rs:221
↓ 3 callersFunctionnormalize_signature
Normalize a signature string for robust comparison: - Lowercase - Replace non-alphanumeric characters with spaces - Collapse multiple spaces
crates/libretune-app/src-tauri/src/commands/signature_helpers.rs:10
↓ 3 callersMethodobserve
()
crates/libretune-app/src/setupTests.ts:6
↓ 3 callersMethodpage_count
Get the number of pages
crates/libretune-core/src/ecu/memory.rs:36
↓ 3 callersMethodparse
Parse properties from a string
crates/libretune-core/src/project/properties.rs:34
↓ 3 callersFunctionparse_analysis_filter
Parse an analysis filter line Format: filter = name, "Display Name", channel, operator, defaultValue, userAdjustable Or: filter = std_Custom (standard
crates/libretune-core/src/ini/parser.rs:2802
↓ 3 callersFunctionparse_output_channel_line
Parse an output channel definition line Format: name = type, offset, units, scale, translate Format (Modern): name = scalar, type, offset, units, sca
crates/libretune-core/src/ini/output_channels.rs:179
↓ 3 callersFunctionparse_pc_variable_line
Parse a PcVariable constant line (no offset field) Format: name = class, type, units, scale, translate, min, max, digits or: name = bits, U08, [bit_sp
crates/libretune-core/src/ini/constants.rs:288
↓ 3 callersMethodpc_variables_path
Get the path to pcVariableValues.msq
crates/libretune-core/src/project/project.rs:374
↓ 3 callersFunctionpercentChange
(from: number, to: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:230
↓ 3 callersMethodraw_to_display
Convert a raw value to display value
crates/libretune-core/src/ini/output_channels.rs:72
↓ 3 callersMethodread_byte
(&mut self)
crates/libretune-core/tests/protocol.rs:31
↓ 3 callersFunctionread_const_from_source
Helper to read constant data from TuneFile (offline) or ECU (online)
crates/libretune-app/src-tauri/src/commands/get_table_data.rs:57
↓ 3 callersFunctionread_const_values
( constant: &Constant, tune: Option<&TuneFile>, endianness: libretune_core::ini::Endia
crates/libretune-app/src-tauri/src/commands/table_internals.rs:73
↓ 3 callersMethodread_page
Read a full page from ECU, respecting blocking factor
crates/libretune-core/src/protocol/connection.rs:1358
↓ 3 callersFunctionrelativePercent
(current: number, min: number, max: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:239
↓ 3 callersFunctionreplaceComponents
(next: DashComponent[])
crates/libretune-app/src/components/dashboards/designer/LayerPanel.tsx:60
↓ 3 callersFunctionreplaceImages
(next: EmbeddedImage[])
crates/libretune-app/src/components/dashboards/designer/AssetManager.tsx:38
↓ 3 callersFunctionresistanceToTemperature
(resistance: number, coeffs: SteinhartCoefficients)
crates/libretune-app/src/components/wizards/ThermistorWizard.tsx:90
↓ 3 callersFunctionrgbToHex
(r: number, g: number, b: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:188
↓ 3 callersFunctionsetTheme
(newTheme: ThemeName)
crates/libretune-app/src/themes/theme-context.tsx:34
↓ 3 callersMethodset_protocol
Set protocol settings after connection (for signature matching)
crates/libretune-core/src/protocol/connection.rs:384
↓ 3 callersMethodstats
Get execution statistics.
crates/libretune-core/src/plugin_system.rs:226
↓ 3 callersMethodstoich_afr
Get the stoichiometric air-fuel ratio for this fuel
crates/libretune-core/src/basemap/engine_spec.rs:22
↓ 3 callersFunctionsubscribe
(event: string)
crates/libretune-app/src/components/dashboards/hooks/useGaugeRangeSync.ts:111
↓ 3 callersFunctiontest_crc_command
( port: &mut Box<dyn SerialPort>, payload: &[u8], description: &str, timeout_ms: u64, )
crates/libretune-core/examples/speeduino_test.rs:281
← previousnext →201–300 of 2,182, ranked by callers