Searched refs:sub_len (Results 1 – 1 of 1) sorted by relevance
191 size_t sub_len) in memmem() argument195 if (sub_len <= mem_len && sub_len > 0) { in memmem()196 for (i = 0; i <= mem_len - sub_len; i++) { in memmem()197 if (!memcmp(&mem[i], sub, sub_len)) { in memmem()