MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / php_vendor_row

Function php_vendor_row

tests/test_php_lsp.c:5360–5373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5358}
5359
5360static const CBMResolvedCall *php_vendor_row(const CBMResolvedCallArray *out, const CBMCall *site,
5361 const char *callee) {
5362 const CBMResolvedCall *found = NULL;
5363 for (int i = 0; site && i < out->count; i++) {
5364 const CBMResolvedCall *row = &out->items[i];
5365 if (row->kind == CBM_RESOLVED_INVOCATION && row->caller_qn && row->callee_qn &&
5366 strcmp(row->caller_qn, site->enclosing_func_qn) == 0 &&
5367 row->site_start_byte == site->site_start_byte &&
5368 row->site_end_byte == site->site_end_byte && strcmp(row->callee_qn, callee) == 0) {
5369 found = row;
5370 }
5371 }
5372 return found;
5373}
5374
5375static int php_vendor_project_request_rows(const CBMResolvedCallArray *out) {
5376 int count = 0;

Callers 1

test_php_lsp.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected