Searched refs:dir_path (Results 1 – 2 of 2) sorted by relevance
44 "{}/{}".format(dir_path, file_name)[2:]45 for dir_path, dir_names, file_names in os.walk(path)
1210 char *dir_path = NULL; in setup_res_gpio() local1216 len = asprintf(&dir_path, "%s/direction", path); in setup_res_gpio()1232 setup_fd = open(dir_path, O_WRONLY | O_CLOEXEC); in setup_res_gpio()1252 if (dir_path) in setup_res_gpio()1254 free(dir_path); in setup_res_gpio()1295 char * dir_path = NULL; in setup_int_gpio() local1304 len = asprintf(&dir_path, "%s/direction", path); in setup_int_gpio()1328 setup_fd = open(dir_path, O_WRONLY | O_CLOEXEC); in setup_int_gpio()1373 if (dir_path) in setup_int_gpio()1375 free(dir_path); in setup_int_gpio()