Home
last modified time | relevance | path

Searched refs:encoded_string (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/email/
Dheader.py114 for encoded_string, encoding, charset in words:
117 decoded_words.append((encoded_string, charset))
119 word = email.quoprimime.header_decode(encoded_string)
122 paderr = len(encoded_string) % 4 # Postel's law: add missing padding
124 encoded_string += '==='[:4 - paderr]
126 word = email.base64mime.decode(encoded_string)
/third_party/libsoup/libsoup/
Dsoup-headers.c668 decode_rfc5987 (char *encoded_string) in decode_rfc5987() argument
673 q = strchr (encoded_string, '\''); in decode_rfc5987()
676 if (g_ascii_strncasecmp (encoded_string, "UTF-8", in decode_rfc5987()
677 q - encoded_string) == 0) in decode_rfc5987()
679 else if (g_ascii_strncasecmp (encoded_string, "iso-8859-1", in decode_rfc5987()
680 q - encoded_string) == 0) in decode_rfc5987()
707 strcpy (encoded_string, decoded); in decode_rfc5987()
/third_party/cef/libcef/browser/devtools/
Ddevtools_frontend.cc205 std::string encoded_string; in OnDataReceived() local
206 base::Base64Encode(chunk, &encoded_string); in OnDataReceived()
207 chunkValue = base::Value(std::move(encoded_string)); in OnDataReceived()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc776 PyObject* encoded_string = NULL; in CheckString() local
780 encoded_string = arg; // Already encoded. in CheckString()
781 Py_INCREF(encoded_string); in CheckString()
783 encoded_string = PyUnicode_AsEncodedString(arg, "utf-8", NULL); in CheckString()
787 encoded_string = arg; in CheckString()
788 Py_INCREF(encoded_string); in CheckString()
791 return encoded_string; in CheckString()
800 ScopedPyObjectPtr encoded_string(CheckString(arg, descriptor)); in CheckAndSetString() local
802 if (encoded_string.get() == NULL) { in CheckAndSetString()
808 if (PyBytes_AsStringAndSize(encoded_string.get(), &value, &value_len) < 0) { in CheckAndSetString()