Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 1 of 1) sorted by relevance

/memcached-1.6.32/
Dproxy_luafgen.c1493 static inline const char *_mcp_router_shortsep(const char *key, const int klen, const char needle, … in _mcp_router_shortsep() argument
1497 end = memchr(key, needle, klen); in _mcp_router_shortsep()
1511 static inline const char *_mcp_router_longsep(const char *key, const int klen, const char *needle, … in _mcp_router_longsep() argument
1514 size_t nlen = strlen(needle); in _mcp_router_longsep()
1516 end = memchr(key, needle[0], klen); in _mcp_router_longsep()
1526 if (*end == needle[0] && memcmp(end, needle, nlen) == 0) { in _mcp_router_longsep()
1537 static inline const char *_mcp_router_anchorsm(const char *key, const int klen, const char *needle,… in _mcp_router_anchorsm() argument
1539 if (key[0] != needle[0]) { in _mcp_router_anchorsm()
1544 return _mcp_router_shortsep(key+1, klen-1, needle[1], len); in _mcp_router_anchorsm()