MCPcopy Create free account

hub / github.com/DeusData/codebase-memory-mcp / functions

Functions4,316 in github.com/DeusData/codebase-memory-mcp

↓ 2 callersFunctionnow_ns
src/watcher/watcher.c:90
↓ 2 callersFunctionoctree_new
src/ui/layout3d.c:219
↓ 2 callersFunctionos_rss
src/foundation/mem.c:43
↓ 2 callersFunctionparse_embedded_imports
internal/cbm/extract_imports.c:1421
↓ 2 callersFunctionparse_field_defs_into_type
Helper: parse "|"-separated "name:type" field definitions and populate a registered type. Format: "Binder:Binder|Name:string|Count:int" type_text is r
internal/cbm/lsp/go_lsp.c:2112
↓ 2 callersFunctionparse_match_chain
Parse a chain of MATCH / OPTIONAL MATCH patterns into query. * Returns -1 on error (fills p->error). */
src/cypher/cypher.c:1770
↓ 2 callersFunctionparse_match_pattern
Parse a single MATCH pattern into pat */
src/cypher/cypher.c:1697
↓ 2 callersFunctionparse_narrowing
internal/cbm/lsp/php_lsp.c:1681
↓ 2 callersFunctionparse_narrowing_collect
internal/cbm/lsp/php_lsp.c:1695
↓ 2 callersFunctionparse_node
Parse node: (variable:Label {props}) */
src/cypher/cypher.c:546
↓ 2 callersFunctionparse_param_text_full
Parse a type-text into a CBMType, with full inner-class qualification. * `parent_class` is the QN of the enclosing class (NULL at file scope), used
internal/cbm/lsp/java_lsp.c:2984
↓ 2 callersFunctionparse_rel
Parse relationship: -[:TYPE|TYPE2*min..max]-> or <-[...]- */
src/cypher/cypher.c:705
↓ 2 callersFunctionparse_return_or_with
Parse RETURN/WITH clause (shared logic) */
src/cypher/cypher.c:1610
↓ 2 callersFunctionparse_return_type_text
internal/cbm/lsp/php_lsp.c:2712
↓ 2 callersFunctionparse_token_index
Parse a decimal index string via strtol, returning CBM_NOT_FOUND on parse * failure. Centralizes the atoi-replacement pattern for token_map lookups.
src/semantic/semantic.c:1433
↓ 2 callersFunctionparse_where
Parse WHERE clause — builds expression tree */
src/cypher/cypher.c:1175
↓ 2 callersFunctionpath_append_segment
Append a single path segment to a mutable buffer that already holds a * normalized slash-separated path. Adds a '/' separator when needed, * return
src/pipeline/fqn.c:187
↓ 2 callersFunctionpath_basename
Get the basename from a relative path. Returns pointer into rel_path. */
src/pipeline/pass_pkgmap.c:135
↓ 2 callersFunctionpath_pop_segment
Pop the last segment from a mutable slash-separated path. */
src/pipeline/fqn.c:202
↓ 2 callersFunctionpb_add_cell
Add a cell to the current leaf page. For table leaves: varint(payload_len) + varint(rowid) + payload For index leaves: varint(payload_len) + payload
internal/cbm/sqlite_writer.c:536
↓ 2 callersFunctionpb_build_interior
internal/cbm/sqlite_writer.c:661
↓ 2 callersFunctionpb_cell_fits
Check if a cell of given size fits in the current page
internal/cbm/sqlite_writer.c:527
↓ 2 callersFunctionpb_count_label
Count nodes by label. Returns -1 on store error. */
tests/test_grammar_probe_b.c:128
↓ 2 callersFunctionpb_index_files
tests/test_grammar_probe_b.c:88
↓ 2 callersFunctionpc_module_is_dir
True for languages whose module QN derives from the CONTAINING DIRECTORY * (Java/Go package). MUST match cbm_lang_module_is_dir() (internal/cbm/helpe
src/pipeline/pass_calls.c:42
↓ 2 callersFunctionphp_lsp_add_use
internal/cbm/lsp/php_lsp.c:156
↓ 2 callersFunctionphp_lsp_collect_class_fields
internal/cbm/lsp/php_lsp.c:3889
↓ 2 callersFunctionphp_lsp_init
internal/cbm/lsp/php_lsp.c:139
↓ 2 callersFunctionphp_lsp_process_file
internal/cbm/lsp/php_lsp.c:2607
↓ 2 callersFunctionphpdoc_clean
Strip leading "/**", trailing "*​/", and per-line "*" prefixes. Returns a * mutable arena-allocated cleaned copy. */
internal/cbm/lsp/php_lsp.c:494
↓ 2 callersFunctionpick_resolved_node
Pick the best-resolving node among name matches. Sets *ambiguous when the * matches can't be reduced to one logical symbol, so resolution never silen
src/mcp/mcp.c:2857
↓ 2 callersFunctionpp_json_escaped_len
Escaped length of a string under json_escape_char's rules: escaped * characters expand to 2 bytes, everything else stays 1. */
src/pipeline/pass_parallel.c:361
↓ 2 callersFunctionprocess_body_type_ref
Process a single node for body-level type references.
internal/cbm/extract_type_refs.c:209
↓ 2 callersFunctionprocess_function_body
internal/cbm/lsp/ts_lsp.c:3057
↓ 2 callersFunctionprocess_type_assign_node
Process assignment nodes (assignment, short_var_declaration, variable_declarator, let_declaration).
internal/cbm/extract_type_assigns.c:168
↓ 2 callersFunctionproject_has_adr
src/mcp/mcp.c:1227
↓ 2 callersFunctionpush_method_def
Push a single method definition
internal/cbm/extract_defs.c:4088
↓ 2 callersFunctionpush_path_import
Shared: push an import whose path is the (quote-stripped) text of `node`. Strips a leading "./" so relative-import resolution matches the sibling file
internal/cbm/extract_imports.c:2064
↓ 2 callersFunctionpxc_append_results
Append cross-file results from `src_out` (allocated in a scratch arena * about to be destroyed) into `dst_calls` (lives in cache_entry->arena), * co
src/pipeline/pass_lsp_cross.c:435
↓ 2 callersFunctionpxc_last_component
src/pipeline/pass_lsp_cross.c:144
↓ 2 callersFunctionpxc_mark_entry_defs
src/pipeline/pass_lsp_cross.c:984
↓ 2 callersFunctionpxc_module_is_dir
True for languages whose module QN is derived from the CONTAINING DIRECTORY * (Java package, Go package) rather than the filename stem. MUST match th
src/pipeline/pass_lsp_cross.c:63
↓ 2 callersFunctionpxc_read_file
Slurp a file into a malloc'd, NUL-terminated buffer. Mirrors the * read_file helper in pass_calls.c / pass_parallel.c (kept local so the * pipeline
src/pipeline/pass_lsp_cross.c:70
↓ 2 callersFunctionpy_bind_for_target
Element type of an iterable. For TEMPLATE("list"|"set"|"Iterable"|..., * [T]), return T. For TEMPLATE("dict", [K, V]) — `for x in d` iterates * keys
internal/cbm/lsp/py_lsp.c:715
↓ 2 callersFunctionpy_classify_receiver
internal/cbm/extract_channels.c:392
↓ 2 callersFunctionpy_emit_resolved_call
internal/cbm/lsp/py_lsp.c:409
↓ 2 callersFunctionpy_emit_resolved_call_reason
internal/cbm/lsp/py_lsp.c:374
↓ 2 callersFunctionpy_lsp_bind_imports
internal/cbm/lsp/py_lsp.c:188
↓ 2 callersFunctionpy_parse_type_text_qn
internal/cbm/lsp/py_lsp.c:2807
↓ 2 callersFunctionpy_process_function
internal/cbm/lsp/py_lsp.c:3275
↓ 2 callersFunctionpy_process_statement
internal/cbm/lsp/py_lsp.c:1572
↓ 2 callersFunctionpy_register_instance_field
Append a (name, type) entry to a registered class's field arrays. * Idempotent — re-registering the same name overwrites the existing * entry. Mutat
internal/cbm/lsp/py_lsp.c:548
↓ 2 callersFunctionpy_register_lsp_defs
Build a registry from CBMLSPDef[] supplied by the caller — covers both * the source file's own defs and cross-file referenced defs. */
internal/cbm/lsp/py_lsp.c:3738
↓ 2 callersFunctionpy_split_subscript_args
Split a comma-separated argument string at depth 0 (ignoring commas * inside [], (), {}). Returns NULL-terminated arena array of trimmed * substring
internal/cbm/lsp/py_lsp.c:2760
↓ 2 callersFunctionpy_string_literal_value
Helper for stripping quotes from a tree-sitter `string` node text. */
internal/cbm/lsp/py_lsp.c:292
↓ 2 callersFunctionrb_apply_distinct
src/cypher/cypher.c:3147
↓ 2 callersFunctionreadRoute
()
graph-ui/src/App.tsx:17
↓ 2 callersFunctionread_file
Read entire file into heap-allocated buffer. Caller must free(). */
src/pipeline/pass_calls.c:47
↓ 2 callersFunctionread_file
Read file into a malloc'd buffer (= mimalloc in production). * *out_size receives the on-disk size and *out_status the failure reason so the * calle
src/pipeline/pass_parallel.c:216
↓ 2 callersFunctionread_file_lines
src/mcp/mcp.c:3138
↓ 2 callersFunctionread_metadata_version
Read schema_version from artifact.json. Returns -1 if missing/invalid. */
src/pipeline/artifact.c:283
↓ 2 callersFunctionread_small_file
Read up to (bufsz-1) bytes from `path` into `buf`, NUL-terminate, and strip * trailing whitespace. Returns the (stripped) byte count, or -1 if the fi
src/foundation/system_info.c:117
↓ 2 callersFunctionrec_add_blob
internal/cbm/sqlite_writer.c:388
↓ 2 callersFunctionrec_add_null
internal/cbm/sqlite_writer.c:358
↓ 2 callersFunctionregister_edge_in_indexes
Register an edge in secondary indexes (source_type, target_type, type). */
src/graph_buffer/graph_buffer.c:377
↓ 2 callersFunctionregister_node_in_indexes
Register a node in primary (QN, ID) and secondary (label, name) indexes. */
src/graph_buffer/graph_buffer.c:337
↓ 2 callersFunctionregister_watcher_if_enabled
Register the session project with the background watcher for ongoing * change detection — unless auto_watch is disabled. */
src/mcp/mcp.c:5861
↓ 2 callersFunctionresolve_as_class
src/pipeline/pass_parallel.c:609
↓ 2 callersFunctionresolve_as_class
Resolve a class/type name through the registry. Returns borrowed QN or NULL. */
src/pipeline/pass_semantic.c:171
↓ 2 callersFunctionresolve_builtin_type
internal/cbm/lsp/go_lsp.c:102
↓ 2 callersFunctionresolve_cpp_trailing_return
C++: resolve trailing return type (auto f() -> Type) on a declarator node. Updates def->return_type and def->return_types if trailing type found.
internal/cbm/extract_defs.c:3004
↓ 2 callersFunctionresolve_exception_name
Resolve exception name from the first meaningful child of a throw/raise node.
internal/cbm/extract_semantic.c:41
↓ 2 callersFunctionresolve_lhs_write_name
Resolve an assignment LHS node to the bare name being written. Handles common wrappers so WRITES resolve for more languages than a raw identifier: -
internal/cbm/extract_semantic.c:149
↓ 2 callersFunctionresolve_method_name
Try to extract method name from a node, with language-specific fallbacks.
internal/cbm/extract_defs.c:4031
↓ 2 callersFunctionresolve_method_reference
Resolve a method reference (Class::method or instance::method) to a * concrete callee, using the surrounding SAM context for arg-count. * * Emits a
internal/cbm/lsp/java_lsp.c:2576
↓ 2 callersFunctionresolve_param_name
Extract param_names from a parameter list node. Returns NULL-terminated arena-allocated array. Extract the parameter name from a single parameter AST
internal/cbm/extract_defs.c:2701
↓ 2 callersFunctionresolve_param_type_text
Resolve parameter type text for a single param node.
internal/cbm/extract_defs.c:2903
↓ 2 callersFunctionresolve_type_with_imports
Walk a parsed type and replace NAMED references whose bare name matches a known import binding. Recurses through TEMPLATE / UNION / INTERSECTION compo
internal/cbm/lsp/ts_lsp.c:1928
↓ 2 callersFunctionresolve_write_lhs_node
Resolve the write target of a node in an assignment_node_types set. For a plain assignment the target is the "left" field (or first child). For an i
internal/cbm/extract_semantic.c:201
↓ 2 callersFunctionresp_has_key
Check response contains a specific key (in nested JSON) */
tests/test_incremental.c:923
↓ 2 callersFunctionrestore_cache_dir
tests/test_mcp.c:61
↓ 2 callersFunctionrh_to_fwd_slashes
tests/repro/repro_harness.h:44
↓ 2 callersFunctionround_to_page
Round up to page boundary. */
src/foundation/vmem.c:52
↓ 2 callersFunctionrun_parallel
tests/test_parallel.c:185
↓ 2 callersFunctionrun_parallel_with_extract_opts
tests/test_parallel.c:115
↓ 2 callersFunctionrun_serial
src/pipeline/worker_pool.c:27
↓ 2 callersFunctionrust_inject_syn_call
Inject a synthetic CBMCall into result->calls so the downstream pipeline * (cbm_pipeline_find_lsp_resolution) can pair it with the resolved_call and
internal/cbm/lsp/rust_lsp.c:3504
↓ 2 callersFunctionrust_lookup_field
internal/cbm/lsp/rust_lsp.c:2146
↓ 2 callersFunctionrust_parse_return_type_text
Public-ish helper used by the cross-file path. */
internal/cbm/lsp/rust_lsp.c:1001
↓ 2 callersFunctionrust_populate_cross_registry
Populate + finalize a Rust cross-file type registry from `defs`. Shared by the * per-file resolver (cbm_run_rust_lsp_cross_with_manifest) and the bui
internal/cbm/lsp/rust_lsp.c:5368
↓ 2 callersFunctionrust_process_function
Process a single function: bind parameters / `self`, then walk body. */
internal/cbm/lsp/rust_lsp.c:4232
↓ 2 callersFunctionrust_process_statement
internal/cbm/lsp/rust_lsp.c:3446
↓ 2 callersFunctionrust_resolve_trait_method
For a method call where the receiver is a `dyn Trait` or `impl Trait`, * try to resolve through the trait's known impls. Returns the chosen * concre
internal/cbm/lsp/rust_lsp.c:2316
↓ 2 callersFunctionrust_resolve_use
Look up a `use` alias and return its fully-qualified module path, * or NULL if absent. The returned pointer aliases into the use map. */
internal/cbm/lsp/rust_lsp.c:307
↓ 2 callersFunctionrust_strip_turbofish
In-place strip turbofish segments (`::<...>`) from a Rust path. The * grammar exposes paths like `Vec::<i32>::new` or `parse::<u32>(s)` — * the LSP
internal/cbm/lsp/rust_lsp.c:280
↓ 2 callersFunctionrust_type_derefs_to_first_arg
Hardcoded Deref<Target=U> map for stdlib smart pointers + guards. The * format mirrors the de-facto rule: `<smart-pointer-QN-prefix>` → * `<inner-ty
internal/cbm/lsp/rust_lsp.c:2178
↓ 2 callersFunctionsafe_props
Safe properties: returns "{}" if NULL. */
src/store/store.c:172
↓ 2 callersFunctionsafe_str
Safe string: returns "" if NULL. */
src/store/store.c:167
↓ 2 callersFunctionscalar_func_canonical
Canonical name for a single-argument scalar / entity-introspection function * invoked by identifier — labels/type/id/keys/properties and the numeric/
src/cypher/cypher.c:1333
↓ 2 callersFunctionscan_edge
Scan an edge from current row of stmt. */
src/store/store.c:1543
← previousnext →1,301–1,400 of 4,316, ranked by callers