Lines Matching refs:str_ref
62 defs = [(str_ref, json.loads(str_value) if str_value != '' else '')
63 for str_ref, str_value in ini_parser.items('LIT_MAGIC_STRINGS')]
82 for str_ref in re.findall('LIT_MAGIC_STRING_[a-zA-Z0-9_]+', line):
83 if str_ref in ['LIT_MAGIC_STRING_DEF',
94 if str_ref not in results:
95 results[str_ref] = {}
96 str_guards = results[str_ref]
163 for str_ref, str_value in defs:
164 if str_ref not in uses:
166 .format(str_ref=str_ref))
175 guards = [set(guard_tuple) for guard_tuple in uses[str_ref].keys()]
186 extended_defs.append((str_ref, str_value, guards))
225 for str_ref, str_value, guards in defs:
233 .format(str_ref=str_ref, str_value=json.dumps(str_value)), file=gen_file)
247 for str_ref, str_value, guards in defs:
259 .format(size=size, str_ref=str_ref), file=gen_file)