Searched refs:file_path (Results 1 – 1 of 1) sorted by relevance
640 def read_defines(file_path, prefix): argument641 if os.path.exists(file_path) is False:642 print("** ERROR ** %s does not exist" %file_path)645 logging.info("read '%s' defines from %s", prefix, file_path)647 file = open(file_path, 'r')661 def read_enum(file_path, variable_name): argument662 if os.path.exists(file_path) is False:663 print("** ERROR ** %s does not exist" %file_path)666 logging.info("read '%s' enum structure from %s", variable_name, file_path)668 file = open(file_path, 'r')