Searched refs:file_path (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/mbedtls/esp_crt_bundle/ |
D | gen_crt_bundle.py | 63 for file_path in os.listdir(crts_path): 64 found |= self.add_from_file(os.path.join(crts_path, file_path)) 69 def add_from_file(self, file_path): argument 71 if file_path.endswith('.pem'): 72 status('Parsing certificates from %s' % file_path) 73 with open(file_path, 'r', encoding='utf-8') as f: 78 elif file_path.endswith('.der'): 79 status('Parsing certificates from %s' % file_path) 80 with open(file_path, 'rb') as f: 86 critical('Invalid certificate in %s' % file_path)
|
/hal_espressif-latest/tools/esptool_py/esptool/ |
D | config.py | 27 def _validate_config_file(file_path, verbose=False): argument 28 if not os.path.exists(file_path): 33 cfg.read(file_path, encoding="UTF-8")
|
/hal_espressif-latest/tools/esptool_py/test/ |
D | test_esptool.py | 1503 def __init__(self, file_path, file_content): argument 1504 self.file_path = file_path 1508 with open(self.file_path, "w") as cfg_file: 1513 os.unlink(self.file_path) 1514 assert not os.path.exists(self.file_path)
|
D | test_espefuse.py | 127 self, log, file_path, repeat=1, reverse_order=False, offset=0 argument 129 with open(file_path, "rb") as f:
|