MCPcopy Create free account

hub / github.com/RallyPat/LibreTune / functions

Functions2,182 in github.com/RallyPat/LibreTune

↓ 305 callersMethodget
Get an entry by ID
crates/libretune-core/src/project/repository.rs:241
↓ 233 callersMethodlen
Get data count
crates/libretune-core/src/datalog/dyno.rs:382
↓ 184 callersMethodparse
(&mut self)
crates/libretune-core/src/ini/expression.rs:132
↓ 149 callersMethodcontains
Check if a key exists
crates/libretune-core/src/project/properties.rs:188
↓ 148 callersMethoderror
Create error response.
crates/libretune-core/src/plugin_api.rs:69
↓ 142 callersMethodis_empty
Check if empty
crates/libretune-core/src/datalog/dyno.rs:387
↓ 128 callersMethodlen
Get the number of entries in the table
crates/libretune-core/src/ini/inc_tables.rs:207
↓ 92 callersFunctiontsColorToHex
(color: TsColor | null | undefined)
crates/libretune-app/src/components/dashboards/dashTypes.ts:28
↓ 69 callersMethodas_str
Convert to string for display.
crates/libretune-core/src/plugin_api.rs:108
↓ 69 callersMethodis_empty
Check if the table is empty
crates/libretune-core/src/ini/inc_tables.rs:215
↓ 67 callersMethodlen
Get number of entries
crates/libretune-core/src/project/properties.rs:193
↓ 66 callersMethodok
Create successful response with data.
crates/libretune-core/src/plugin_api.rs:51
↓ 63 callersMethodnext
(&mut self)
crates/libretune-core/src/datalog/playback.rs:74
↓ 56 callersMethodas_f64
(&self)
crates/libretune-core/src/ini/expression.rs:18
↓ 46 callersMethodis_empty
Check if empty
crates/libretune-core/src/project/properties.rs:198
↓ 44 callersMethodsize_bytes
Get the size in bytes for this data type
crates/libretune-core/src/ini/types.rs:198
↓ 36 callersFunctionwrite_string_property
( writer: &mut Writer<W>, name: &str, value: &str, )
crates/libretune-core/src/dash/writer.rs:421
↓ 33 callersMethodadd_assignment
Add a port assignment
crates/libretune-core/src/port_editor.rs:119
↓ 32 callersMethodkeys
Get all keys
crates/libretune-core/src/project/properties.rs:178
↓ 32 callersFunctionsplit_ini_line
Split an INI line value by commas, respecting quotes and braces This handles expressions like `{ bitStringValue(algorithmUnits , algorithm) }` correct
crates/libretune-core/src/ini/parser.rs:672
↓ 31 callersFunctionisGauge
(comp: DashComponent)
crates/libretune-app/src/components/dashboards/dashTypes.ts:263
↓ 31 callersFunctionlightenColor
(hex: string, percent: number)
crates/libretune-app/src/components/gauges/drawUtils.ts:35
↓ 31 callersMethodwrite_bytes
Write raw bytes to a page
crates/libretune-core/src/ecu/memory.rs:59
↓ 30 callersFunctiondarkenColor
(hex: string, percent: number)
crates/libretune-app/src/components/gauges/drawUtils.ts:45
↓ 28 callersFunctioncloseContextMenu
()
crates/libretune-app/src/components/curves/CurveEditor.tsx:528
↓ 28 callersMethodmatch_token
(&mut self, token: Token)
crates/libretune-core/src/ini/expression.rs:363
↓ 26 callersMethoddisplay_to_raw
Convert a display value to raw value
crates/libretune-core/src/ini/constants.rs:122
↓ 25 callersMethodclear
Clear all dirty flags
crates/libretune-core/src/ecu/shadow.rs:50
↓ 25 callersFunctionisIndicator
(comp: DashComponent)
crates/libretune-app/src/components/dashboards/dashTypes.ts:268
↓ 24 callersMethodelement_count
Get total element count
crates/libretune-core/src/ini/types.rs:304
↓ 24 callersMethodwrite_to_bytes
Write a value to bytes at given offset
crates/libretune-core/src/ini/types.rs:237
↓ 23 callersMethodentries
Get all entries
crates/libretune-core/src/datalog/recorder.rs:108
↓ 23 callersMethodfrom
(info: CommitInfo)
crates/libretune-app/src-tauri/src/commands/git.rs:26
↓ 23 callersFunctionget_attribute
(e: &BytesStart, name: &str)
crates/libretune-core/src/dash/parser.rs:322
↓ 23 callersMethodset
Set a value
crates/libretune-core/src/project/properties.rs:155
↓ 22 callersFunctionevaluate
Evaluates an expression against a context
crates/libretune-core/src/ini/expression.rs:1037
↓ 21 callersFunctiontsColorToRgba
(color: TsColor | null | undefined)
crates/libretune-app/src/components/dashboards/dashTypes.ts:17
↓ 21 callersFunctionwrite_double_property
( writer: &mut Writer<W>, name: &str, value: f64, )
crates/libretune-core/src/dash/writer.rs:434
↓ 19 callersFunctionexecute_script
(script: &str)
crates/libretune-core/src/lua/mod.rs:30
↓ 18 callersFunctionextract_bits
Simulates the bit extraction logic used in get_constant_value and get_all_constant_values
crates/libretune-core/tests/bit_extraction.rs:18
↓ 18 callersFunctionparse_ini
Parse a complete INI file into an EcuDefinition
crates/libretune-core/src/ini/parser.rs:77
↓ 18 callersFunctionregisterPainter
(keys: GaugePainter | GaugePainter[], painter: Painter)
crates/libretune-app/src/components/gauges/painters/types.ts:69
↓ 17 callersFunctionload_settings
(app: &tauri::AppHandle)
crates/libretune-app/src-tauri/src/commands/app_settings.rs:150
↓ 17 callersFunctionmatchesAction
(actionId: string)
crates/libretune-app/src/components/tables/TableEditor2D.tsx:361
↓ 17 callersMethodposition
Get the current position
crates/libretune-core/src/datalog/playback.rs:49
↓ 17 callersFunctionstream_log
Helper to write stream diagnostic logs to /tmp/libretune-stream.log
crates/libretune-app/src-tauri/src/commands/util_helpers.rs:60
↓ 17 callersFunctionupdateGauge
(updates: Partial<TsGaugeConfig>)
crates/libretune-app/src/components/dashboards/designer/PropertyEditor.tsx:16
↓ 16 callersFunctionparse_dash_file
Parse a TunerStudio .dash file from a string.
crates/libretune-core/src/dash/parser.rs:42
↓ 16 callersMethodraw_to_display
Convert a raw value to display value
crates/libretune-core/src/ini/constants.rs:117
↓ 16 callersFunctiontoPercent
(v: number | undefined | null)
crates/libretune-app/src/components/dashboards/components/DashboardCanvas.tsx:65
↓ 16 callersMethodupdate
Update simulation and generate current sensor values # Arguments `elapsed_ms` - Milliseconds since simulation started # Returns HashMap of channel n
crates/libretune-core/src/demo.rs:71
↓ 15 callersFunctionformatStat
* Format a number for display with appropriate precision
crates/libretune-app/src/components/tuner-ui/LoggerStatsPanel.tsx:79
↓ 15 callersMethodget_table_by_name_or_map
Get a table definition by name or map_name Menus often reference tables by map_name (e.g., "veTable1Map"), but tables are indexed by name (e.g., "veTa
crates/libretune-core/src/ini/mod.rs:203
↓ 15 callersMethodremove
Remove an INI from the repository
crates/libretune-core/src/project/repository.rs:251
↓ 15 callersFunctionroundRect
( ctx: CanvasRenderingContext2D, x: number, y: number, w: number, h: number, r: number, )
crates/libretune-app/src/components/gauges/drawUtils.ts:13
↓ 14 callersFunctioncreate_mock_pins
()
crates/libretune-core/tests/port_editor.rs:7
↓ 14 callersFunctiongetFunctionColor
(func: PinFunction)
crates/libretune-app/src/components/hardware/PortEditor.tsx:173
↓ 14 callersMethodread_bytes
Read raw bytes from a page
crates/libretune-core/src/ecu/memory.rs:46
↓ 14 callersMethodread_from_bytes
Read a value from bytes at given offset
crates/libretune-core/src/ini/types.rs:209
↓ 13 callersFunctioncreate_temp_ini
Create a test INI file and return its path
crates/libretune-core/tests/include_directive.rs:9
↓ 13 callersFunctionfetchConstants
()
crates/libretune-app/src/App.tsx:605
↓ 13 callersMethodname
Get human-readable name
crates/libretune-core/src/port_editor.rs:30
↓ 12 callersFunctioncreate_test_context
()
crates/libretune-core/tests/plugin_api.rs:8
↓ 12 callersFunctionget_table_data_internal
Tune health/anomaly/predicted_fills/dyno_overlay extracted to commands/tune_health.rs Helper function to get table data internally (avoids code duplic
crates/libretune-app/src-tauri/src/commands/table_internals.rs:25
↓ 12 callersMethodwrite_all
(&mut self, buf: &[u8])
crates/libretune-core/tests/protocol.rs:41
↓ 11 callersMethodextension
Get the file extension for this format
crates/libretune-core/src/datalog/format.rs:31
↓ 11 callersFunctionfetchMenuTree
(context?: Record<string, number>)
crates/libretune-app/src/App.tsx:616
↓ 11 callersMethodget_recommendations
(&self)
crates/libretune-core/src/autotune/mod.rs:476
↓ 11 callersMethodstart_recording
Start recording a new action set
crates/libretune-core/src/action_scripting.rs:100
↓ 11 callersFunctionsubstitute_variables
Substitute $variableName or \$variableName references with byte values from pc_variables In INI files, variables can appear as either $varName or \$va
crates/libretune-core/src/ini/parser.rs:1360
↓ 11 callersFunctionwrite_boolean_property
( writer: &mut Writer<W>, name: &str, value: bool, )
crates/libretune-core/src/dash/writer.rs:460
↓ 11 callersFunctionwrite_int_property
( writer: &mut Writer<W>, name: &str, value: i32, )
crates/libretune-core/src/dash/writer.rs:447
↓ 10 callersMethodclear_input_buffer
(&mut self)
crates/libretune-core/src/protocol/stream.rs:56
↓ 10 callersFunctionevaluate_visibility
Evaluate visibility condition - returns true if visible (or on error/missing condition)
crates/libretune-app/src-tauri/src/commands/menu.rs:138
↓ 10 callersMethodload_page
Load a complete page from data
crates/libretune-core/src/ecu/memory.rs:73
↓ 10 callersMethodmax_load_kpa
Get the maximum load bin value in kPa
crates/libretune-core/src/basemap/engine_spec.rs:191
↓ 10 callersMethodpage_state
Get the state of a page
crates/libretune-core/src/tune/cache.rs:82
↓ 10 callersMethodread
(&mut self, buf: &mut [u8])
crates/libretune-core/src/protocol/stream.rs:36
↓ 10 callersMethodread_memory
Read memory from ECU using INI-defined command format
crates/libretune-core/src/protocol/connection.rs:1303
↓ 10 callersMethodstop_recording
Stop recording and return the action set
crates/libretune-core/src/action_scripting.rs:128
↓ 10 callersFunctionwrite_bits
Helper function that mirrors the bit write logic in update_constant Writes the given bit value to the specified position in the data buffer.
crates/libretune-core/tests/bit_extraction.rs:184
↓ 10 callersFunctionwrite_color_property
( writer: &mut Writer<W>, name: &str, color: &TsColor, )
crates/libretune-core/src/dash/writer.rs:477
↓ 10 callersFunctionwrite_dash_file
Write a dashboard to TunerStudio XML format (version 3.0).
crates/libretune-core/src/dash/writer.rs:20
↓ 10 callersMethodwrite_memory
Write memory to ECU using INI-defined command format
crates/libretune-core/src/protocol/connection.rs:1401
↓ 9 callersMethodas_bool
(&self)
crates/libretune-core/src/ini/expression.rs:32
↓ 9 callersFunctioncreate_test_config
()
crates/libretune-core/src/port_editor.rs:236
↓ 9 callersFunctioncreate_test_context
()
crates/libretune-core/src/plugin_api.rs:382
↓ 9 callersMethodcurrent_tune_path
Get the path to CurrentTune.msq
crates/libretune-core/src/project/project.rs:369
↓ 9 callersMethodflush
(&mut self)
crates/libretune-core/src/protocol/stream.rs:46
↓ 9 callersFunctiongenerate_load_bins
Generate load (MAP) axis bins in kPa
crates/libretune-core/src/basemap/generator.rs:143
↓ 9 callersFunctionisValid
(r: number, c: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:81
↓ 9 callersFunctionnormalizeX
(v: number)
crates/libretune-app/src/components/tables/3d/SceneComponents.tsx:49
↓ 9 callersFunctionnormalizeY
(v: number)
crates/libretune-app/src/components/tables/3d/SceneComponents.tsx:50
↓ 9 callersFunctionparse_ini_bool
Parse an INI boolean value. Accepts: `true`/`false`, `1`/`0`, `on`/`off`, `yes`/`no` (case-insensitive). Inline `;`-comments are stripped.
crates/libretune-core/src/ini/parser.rs:582
↓ 9 callersMethodsave
Save the tune file to disk
crates/libretune-core/src/tune/file.rs:789
↓ 9 callersMethodsend_packet
Send a modern protocol packet and get response
crates/libretune-core/src/protocol/connection.rs:956
↓ 9 callersMethodsend_raw_bytes
Send raw bytes to ECU (for controller commands) This is used by commandButton widgets to send arbitrary commands WARNING: These commands bypass normal
crates/libretune-core/src/protocol/connection.rs:1556
↓ 9 callersMethodset_constant
Set a constant value
crates/libretune-core/src/tune/file.rs:1019
↓ 9 callersFunctionupdateIndicator
(updates: Partial<TsIndicatorConfig>)
crates/libretune-app/src/components/dashboards/designer/PropertyEditor.tsx:227
↓ 8 callersFunctionapi_log_message
Host function: Log a message from plugin. No special permissions required (logging is always allowed). # Arguments `plugin_name` - Name of calling p
crates/libretune-core/src/plugin_api.rs:301
next →1–100 of 2,182, ranked by callers