Lines Matching refs:path_len
407 size_t domain_len, path_len, size, ret = 0; in lws_cookie_attach_cookies() local
437 path_len = strlen(path); in lws_cookie_attach_cookies()
440 dl_path = memchr(path, '?', path_len); in lws_cookie_attach_cookies()
442 path_len = lws_ptr_diff_size_t(dl_path, path); in lws_cookie_attach_cookies()
445 if (path_len != 1 && path[path_len - 1] == '/') in lws_cookie_attach_cookies()
446 path_len--; in lws_cookie_attach_cookies()
448 if (!path_len) in lws_cookie_attach_cookies()
451 lwsl_cookie("%s: path %.*s len %d\n", __func__, (int)path_len, path, (int)path_len); in lws_cookie_attach_cookies()
468 if (domain_len + path_len + 6 > sizeof(cache_name)) in lws_cookie_attach_cookies()
477 memcpy(p1, path, path_len); in lws_cookie_attach_cookies()
478 p1 += path_len; in lws_cookie_attach_cookies()