/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/bpf_core_test/ |
H A D | BpfResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_core_test/ |
H A D | VpnResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/http_test/ |
H A D | HttpClientResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tcp_core_test/ |
H A D | TcpSocketResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/netshare_core_test/ |
H A D | NetShareResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/http_client/ |
H A D | HttpClientResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/http_client_test/ |
H A D | HttpClientResponseTest.cpp | 136 string cookies = ""; in HWTEST_F() local 137 cookies.append(emptyHead); in HWTEST_F() 138 cookies.append(errHead); in HWTEST_F() 139 cookies.append(realHead); in HWTEST_F() 144 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/websocket_core_test/ |
H A D | WebSocketResponseTest.cpp | 137 string cookies = ""; in HWTEST_F() local 138 cookies.append(emptyHead); in HWTEST_F() 139 cookies.append(errHead); in HWTEST_F() 140 cookies.append(realHead); in HWTEST_F() 145 EXPECT_EQ(cookies, ret); in HWTEST_F()
|
/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_task.cpp | 567 struct curl_slist *cookies = nullptr; in ProcessCookie() local 573 CURLcode res = curl_easy_getinfo(handle, CURLINFO_COOKIELIST, &cookies); in ProcessCookie() 579 while (cookies) { in ProcessCookie() 580 response_.AppendCookies(cookies->data, strlen(cookies->data)); in ProcessCookie() 581 if (cookies->next != nullptr) { in ProcessCookie() 584 cookies = cookies->next; in ProcessCookie()
|
H A D | http_client_response.cpp | 112 void HttpClientResponse::SetCookies(const std::string &cookies) in SetCookies() argument 114 cookies_ = cookies; in SetCookies()
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_response.cpp | 107 void HttpResponse::SetCookies(const std::string &cookies) in SetCookies() argument 109 cookies_ = cookies; in SetCookies()
|
H A D | net_http_client_exec.cpp | 191 struct curl_slist *cookies = nullptr; in GetCurlDataFromHandle() local 192 code = curl_easy_getinfo(handle, CURLINFO_COOKIELIST, &cookies); in GetCurlDataFromHandle() 198 std::unique_ptr<struct curl_slist, decltype(&curl_slist_free_all)> cookiesHandle(cookies, curl_slist_free_all); in GetCurlDataFromHandle() 199 while (cookies) { in GetCurlDataFromHandle() 200 context->response.AppendCookies(cookies->data, strlen(cookies->data)); in GetCurlDataFromHandle() 201 if (cookies->next != nullptr) { in GetCurlDataFromHandle() 205 cookies = cookies->next; in GetCurlDataFromHandle()
|
H A D | net_http_request_context.cpp | 517 .cookies = nullptr, in SendResponse() 524 resp.cookies = MallocCString(response.GetCookies()); in SendResponse()
|
/foundation/communication/netstack/frameworks/js/napi/http/options/src/ |
H A D | http_response.cpp | 107 void HttpResponse::SetCookies(const std::string &cookies) in SetCookies() argument 109 cookies_ = cookies; in SetCookies()
|
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | ffi_structs.h | 101 char* cookies; member
|
H A D | net_http_response.h | 42 void SetCookies(const std::string &cookies);
|
/foundation/communication/netstack/frameworks/js/napi/http/options/include/ |
H A D | http_response.h | 44 void SetCookies(const std::string &cookies);
|
/foundation/communication/netstack/interfaces/innerkits/http_client/include/ |
H A D | http_client_response.h | 86 * Get the cookies of the HTTP response. 87 * @return The cookies of the response. 145 * Sets the cookies for the HTTP response. 146 * @param cookies The cookie string. 148 void SetCookies(const std::string &cookies); 173 * Append data to the cookies of the HTTP response.
|
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 380 struct curl_slist *cookies = nullptr; in AddCurlHandle() local 381 code = curl_easy_getinfo(handle, CURLINFO_COOKIELIST, &cookies); in AddCurlHandle() 387 std::unique_ptr<struct curl_slist, decltype(&curl_slist_free_all)> cookiesHandle(cookies, curl_slist_free_all); in AddCurlHandle() 388 while (cookies) { in AddCurlHandle() 389 context->response.AppendCookies(cookies->data, strlen(cookies->data)); in AddCurlHandle() 390 if (cookies->next != nullptr) { in AddCurlHandle() 394 cookies = cookies->next; in AddCurlHandle()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/devicemanager/src/ |
H A D | audio_device_adapter_impl.cpp | 57 std::shared_ptr<AudioDeviceAdapterImpl> cookies = AudioDeviceAdapterImpl::GetParamCallback(); in ParamCallback() local 59 value.c_str(), static_cast<void *>(&reserved), cookies); in ParamCallback() local
|
/foundation/distributedhardware/distributed_audio/services/test_example/ |
H A D | distributedaudiotest.cpp | 82 void *cookies = nullptr; in ParamCallback() local 84 value.c_str(), static_cast<void *>(&reserved), cookies); in ParamCallback() local
|