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

Function string_case_find

lib_acl/samples/vstring/main.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24static void string_case_find(ACL_VSTRING *vp, const char *needle)
25{
26 char *ptr;
27
28 ptr = acl_vstring_strcasestr(vp, needle);
29 if (ptr)
30 printf(">>>acl_vstring_strcasestr: find %s from %s, ptr: %s\r\n", needle, STR(vp), ptr);
31 else
32 printf(">>>acl_vstring_strcasestr: not find %s from %s\r\n", needle, STR(vp));
33}
34
35static void string_rfind(ACL_VSTRING *vp, const char *needle)
36{

Callers 1

mainFunction · 0.85

Calls 1

acl_vstring_strcasestrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…