Lines Matching refs:path_len
401 size_t domain_len, path_len, size, ret = 0; in lws_cookie_attach_cookies() local
431 path_len = strlen(path); in lws_cookie_attach_cookies()
434 dl_path = memchr(path, '?', path_len); in lws_cookie_attach_cookies()
436 path_len = lws_ptr_diff_size_t(dl_path, path); in lws_cookie_attach_cookies()
439 if (path_len != 1 && path[path_len - 1] == '/') in lws_cookie_attach_cookies()
440 path_len--; in lws_cookie_attach_cookies()
442 if (!path_len) in lws_cookie_attach_cookies()
445 lwsl_cookie("%s: path %.*s len %d\n", __func__, (int)path_len, path, (int)path_len); in lws_cookie_attach_cookies()
462 if (domain_len + path_len + 6 > sizeof(cache_name)) in lws_cookie_attach_cookies()
471 memcpy(p1, path, path_len); in lws_cookie_attach_cookies()
472 p1 += path_len; in lws_cookie_attach_cookies()