Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Ddata_encoding_unittest.cc13 namespace data_encoding { namespace
15 TEST(data_encoding, UrlEncoding) { in TEST() argument
27 TEST(data_encoding, WebParamsEncoding) { in TEST() argument
42 TEST(data_encoding, Base64Encode) { in TEST() argument
70 TEST(data_encoding, Base64EncodeWrapLines) { in TEST() argument
99 TEST(data_encoding, Base64Decode) { in TEST() argument
Durl_utils.cc98 data_encoding::WebParamList url::GetQueryStringParameters( in GetQueryStringParameters()
104 return data_encoding::WebParamsDecode(query_string); in GetQueryStringParameters()
112 std::string url::GetQueryStringValue(const data_encoding::WebParamList& params, in GetQueryStringValue()
141 const data_encoding::WebParamList& params) { in AppendQueryParams()
153 result += data_encoding::WebParamsEncode(params); in AppendQueryParams()
Durl_utils.h48 BRILLO_EXPORT data_encoding::WebParamList GetQueryStringParameters(
56 const data_encoding::WebParamList& params,
77 const data_encoding::WebParamList& params) WARN_UNUSED_RESULT;
Ddata_encoding.h16 namespace data_encoding {
Ddata_encoding.cc43 namespace data_encoding { namespace
/external/libcups/cups/
Dhttp.c704 …intf(("httpFlushWrite(http=%p) data_encoding=%d", (void *)http, http ? http->data_encoding : 100)); in httpFlushWrite()
713 if (http->data_encoding == HTTP_ENCODING_CHUNKED) in httpFlushWrite()
1597 return (http ? http->data_encoding == HTTP_ENCODING_CHUNKED : 0); in httpIsChunked()
1660 if (http->data_encoding == HTTP_ENCODING_CHUNKED && in httpPeek()
1693 if (http->data_remaining <= 0 && http->data_encoding != HTTP_ENCODING_FIELDS) in httpPeek()
1705 if (http->data_encoding == HTTP_ENCODING_CHUNKED) in httpPeek()
1720 http->data_encoding = HTTP_ENCODING_FIELDS; in httpPeek()
1920 if (http->data_encoding == HTTP_ENCODING_FIELDS) in httpPrintf()
1983 …(void *)http, (void *)buffer, CUPS_LLCAST length, http->coding, http->data_encoding, CUPS_LLCAST h… in httpRead2()
1985 …" CUPS_LLFMT, (void *)http, (void *)buffer, CUPS_LLCAST length, http->data_encoding, CUPS_LLCAST h… in httpRead2()
[all …]
Dhttp-private.h293 http_encoding_t data_encoding; /* Chunked or not */ member
Drequest.c351 if (http->data_encoding == HTTP_ENCODING_CHUNKED) in cupsGetResponse()
/external/python/cpython2/Lib/
Dcodecs.py760 data_encoding = 'unknown' variable in StreamRecoder
907 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'): argument
933 file_encoding = data_encoding
934 data_info = lookup(data_encoding)
939 sr.data_encoding = data_encoding
/external/python/cpython3/Lib/
Dcodecs.py772 data_encoding = 'unknown' variable in StreamRecoder
907 def EncodedFile(file, data_encoding, file_encoding=None, errors='strict'): argument
933 file_encoding = data_encoding
934 data_info = lookup(data_encoding)
939 sr.data_encoding = data_encoding
/external/pdfium/third_party/libpng16/
Dpngread.c2083 unsigned int data_encoding = P_NOTSET; /* Encoding libpng must produce */ in png_image_read_colormap() local
2219 data_encoding = P_FILE; in png_image_read_colormap()
2248 data_encoding = P_sRGB; in png_image_read_colormap()
2344 data_encoding = P_sRGB; in png_image_read_colormap()
2506 data_encoding = P_sRGB; in png_image_read_colormap()
2551 data_encoding = P_FILE; in png_image_read_colormap()
2570 if (data_encoding == P_FILE) /* from the fixup above */ in png_image_read_colormap()
2627 data_encoding = P_sRGB; in png_image_read_colormap()
2800 data_encoding = P_FILE; /* Don't change from color-map indices */ in png_image_read_colormap()
2858 switch (data_encoding) in png_image_read_colormap()
/external/libpng/
Dpngread.c2097 unsigned int data_encoding = P_NOTSET; /* Encoding libpng must produce */ in png_image_read_colormap() local
2233 data_encoding = P_FILE; in png_image_read_colormap()
2262 data_encoding = P_sRGB; in png_image_read_colormap()
2358 data_encoding = P_sRGB; in png_image_read_colormap()
2520 data_encoding = P_sRGB; in png_image_read_colormap()
2565 data_encoding = P_FILE; in png_image_read_colormap()
2584 if (data_encoding == P_FILE) /* from the fixup above */ in png_image_read_colormap()
2641 data_encoding = P_sRGB; in png_image_read_colormap()
2814 data_encoding = P_FILE; /* Don't change from color-map indices */ in png_image_read_colormap()
2872 switch (data_encoding) in png_image_read_colormap()
/external/libbrillo/brillo/http/
Dhttp_utils.cc242 std::string encoded_data = brillo::data_encoding::WebParamsEncode(data); in PostFormDataAndBlock()
271 std::string encoded_data = brillo::data_encoding::WebParamsEncode(data); in PostFormData()
Dhttp_transport_fake.cc227 auto fields = brillo::data_encoding::WebParamsDecode(GetDataAsString()); in GetFormField()
/external/libbrillo/
DAndroid.bp21 "brillo/data_encoding.cc",
Dlibbrillo.gypi63 'brillo/data_encoding.cc',
/external/python/cpython3/Doc/library/
Dcodecs.rst201 .. function:: EncodedFile(file, data_encoding, file_encoding=None, errors='strict')
208 *data_encoding* and then written to the original file as bytes using
211 using *data_encoding*.
213 If *file_encoding* is not given, it defaults to *data_encoding*.