Home
last modified time | relevance | path

Searched refs:card_path (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/tests/
Ddevice_blacklist_unittest.cc19 char card_path[128]; in CreateConfigFile() local
21 snprintf(card_path, sizeof(card_path), "%s/%s", CONFIG_PATH, CONFIG_FILENAME); in CreateConfigFile()
22 f = fopen(card_path, "w"); in CreateConfigFile()
Dcard_config_unittest.cc29 char card_path[128]; in CreateConfigFile() local
31 snprintf(card_path, sizeof(card_path), "%s/%s", CONFIG_PATH, name); in CreateConfigFile()
32 f = fopen(card_path, "w"); in CreateConfigFile()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_surfaceless.c280 char *card_path; in surfaceless_probe_device() local
281 if (asprintf(&card_path, DRM_RENDER_DEV_NAME, DRM_DIR_NAME, base + i) < 0) in surfaceless_probe_device()
284 fd = loader_open_device(card_path); in surfaceless_probe_device()
285 free(card_path); in surfaceless_probe_device()
/external/libdrm/tests/planetest/
Ddev.c112 char card_path[256]; in create_sp_dev() local
114 snprintf(card_path, sizeof(card_path), "/dev/dri/card%d", card); in create_sp_dev()
116 fd = open(card_path, O_RDWR); in create_sp_dev()