Home
last modified time | relevance | path

Searched refs:encoded_message (Results 1 – 13 of 13) sorted by relevance

/external/python/apitools/apitools/base/py/
Dencoding_helper.py265 def _IncludeFields(encoded_message, message, include_fields): argument
268 return encoded_message
269 result = json.loads(encoded_message)
303 def decode_message(self, message_type, encoded_message): argument
306 message_type].decoder(encoded_message)
307 result = _DecodeCustomFieldNames(message_type, encoded_message)
310 result = _ProcessUnknownEnums(result, encoded_message)
311 result = _ProcessUnknownMessages(result, encoded_message)
312 return _DecodeUnknownFields(result, encoded_message)
392 def _DecodeUnknownFields(message, encoded_message): argument
[all …]
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddetokenize.py68 encoded_message: bytes,
71 self.encoded_message = encoded_message
80 result = fmt.format(encoded_message[ENCODED_TOKEN.size:],
151 self.encoded_message)
154 return encode.prefixed_base64(self.encoded_message)
161 self.encoded_message)
200 def detokenize(self, encoded_message: bytes) -> DetokenizedString:
202 if len(encoded_message) < ENCODED_TOKEN.size:
203 return DetokenizedString(None, (), encoded_message,
206 token, = ENCODED_TOKEN.unpack_from(encoded_message)
[all …]
/external/pigweed/pw_tokenizer/
Dsimple_tokenize_test.cc143 const uint8_t* encoded_message, size_t size_bytes) { in pw_tokenizer_HandleEncodedMessage() argument
144 TokenizeToGlobalHandler::SetMessage(encoded_message, size_bytes); in pw_tokenizer_HandleEncodedMessage()
193 const uint8_t* encoded_message, in pw_tokenizer_HandleEncodedMessageWithPayload() argument
195 TokenizeToGlobalHandlerWithPayload::SetMessage(encoded_message, size_bytes); in pw_tokenizer_HandleEncodedMessageWithPayload()
Dglobal_handlers_test.cc116 const uint8_t* encoded_message, size_t size_bytes) { in pw_tokenizer_HandleEncodedMessage() argument
117 TokenizeToGlobalHandler::SetMessage(encoded_message, size_bytes); in pw_tokenizer_HandleEncodedMessage()
244 const uint8_t* encoded_message, in pw_tokenizer_HandleEncodedMessageWithPayload() argument
246 TokenizeToGlobalHandlerWithPayload::SetMessage(encoded_message, size_bytes); in pw_tokenizer_HandleEncodedMessageWithPayload()
Dtokenize.cc91 void (*callback)(const uint8_t* encoded_message, size_t size_bytes), in _pw_tokenizer_ToCallback() argument
Ddocs.rst172 void pw_tokenizer_HandleEncodedMessage(const uint8_t encoded_message[],
190 uintptr_t payload, const uint8_t encoded_message[], size_t size_bytes);
310 pw::tokenizer::EncodedMessage encoded_message(token, types, args);
313 HandleTokenizedMessage(metadata, encoded_message);
369 uintptr_t level, const uint8_t encoded_message[], size_t size_bytes) {
371 TransmitLog(TimeSinceBootMillis(), encoded_message, size_bytes);
868 void pw_tokenizer_HandleEncodedMessage(const uint8_t encoded_message[],
872 pw::span(encoded_message, size_bytes), base64_buffer);
902 void pw_tokenizer_HandleEncodedMessage(const uint8_t encoded_message[],
906 pw::span(encoded_message, size_bytes), base64_buffer);
/external/python/apitools/apitools/base/protorpclite/
Dprotojson.py195 def decode_message(self, message_type, encoded_message): argument
209 encoded_message = six.ensure_str(encoded_message)
210 if not encoded_message.strip():
213 dictionary = json.loads(encoded_message)
/external/ukey2/src/main/cpp/src/securegcm/
Dukey2_shell.cc205 std::unique_ptr<string> encoded_message = in RunSecureConnectionLoop() local
207 if (!encoded_message) { in RunSecureConnectionLoop()
211 WriteFrame(*encoded_message); in RunSecureConnectionLoop()
/external/pigweed/pw_tokenizer/public/pw_tokenizer/
Dtokenize_to_global_handler.h68 void pw_tokenizer_HandleEncodedMessage(const uint8_t encoded_message[],
Dtokenize_to_global_handler_with_payload.h75 const uint8_t encoded_message[],
Dtokenize.h186 void _pw_tokenizer_ToCallback(void (*callback)(const uint8_t* encoded_message,
/external/libchrome/base/test/launcher/
Dtest_results_tracker.cc411 std::string encoded_message; in SaveSummaryAsJSON() local
412 Base64Encode(result_part.message, &encoded_message); in SaveSummaryAsJSON()
413 result_part_value->SetString("message_base64", encoded_message); in SaveSummaryAsJSON()
/external/python/cpython3/Lib/test/
Dtest_traceback.py141 encoded_message = message.encode(output_encoding,
144 message_ascii = encoded_message.decode(output_encoding)