Home
last modified time | relevance | path

Searched refs:fmt_str (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v1.py107 def process_one_fmt_str(self, fmt_str, arg_list, string_tbl): argument
120 for idx, fmt in enumerate(fmt_str):
147 if fmt_str[idx - 1] == 'l':
148 if fmt_str[idx - 2] == 'l':
169 if fmt_str[idx - 1] == 'L':
320 fmt_str = self.__get_string(fmt_str_ptr,
325 if not fmt_str:
329 args = self.process_one_fmt_str(fmt_str, logdata[offset:offset_end_of_args], string_tbl)
331 fmt_str = formalize_fmt_string(fmt_str)
332 log_msg = fmt_str % args
Dlog_parser_v3.py112 def process_one_fmt_str(self, fmt_str, arg_list, string_tbl): argument
125 for idx, fmt in enumerate(fmt_str):
152 if fmt_str[idx - 1] == 'l':
153 if fmt_str[idx - 2] == 'l':
174 if fmt_str[idx - 1] == 'L':
328 fmt_str = self.__get_string(fmt_str_ptr,
333 if not fmt_str:
337 args = self.process_one_fmt_str(fmt_str, logdata[offset:offset_end_of_args], string_tbl)
339 fmt_str = formalize_fmt_string(fmt_str)
340 log_msg = fmt_str % args
Dlog_parser.py32 def formalize_fmt_string(fmt_str): argument
34 new_str = fmt_str