MCPcopy Create free account
hub / github.com/acl-dev/acl / string_find

Function string_find

lib_acl/samples/vstring/main.cpp:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#define LEN ACL_VSTRING_LEN
12
13static void string_find(ACL_VSTRING *vp, const char *needle)
14{
15 char *ptr;
16
17 ptr = acl_vstring_strstr(vp, needle);
18 if (ptr)
19 printf(">>>acl_vstring_strstr: find %s from %s, ptr: %s\r\n", needle, STR(vp), ptr);
20 else
21 printf(">>>acl_vstring_strstr: not find %s from %s\r\n", needle, STR(vp));
22}
23
24static void string_case_find(ACL_VSTRING *vp, const char *needle)
25{

Callers 1

mainFunction · 0.85

Calls 1

acl_vstring_strstrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…