Searched refs:PATH_SIZE (Results 1 – 3 of 3) sorted by relevance
/external/libdrm/libkms/ |
D | linux.c | 50 #define PATH_SIZE 512 macro 55 char path[PATH_SIZE+1] = ""; /* initialize to please valgrind */ in linux_name_from_sysfs() 56 char link[PATH_SIZE+1] = ""; in linux_name_from_sysfs() 84 snprintf(path, PATH_SIZE, "/sys/dev/char/%d:%d/device/driver", maj, min); in linux_name_from_sysfs() 86 if (readlink(path, link, PATH_SIZE) < 0) in linux_name_from_sysfs()
|
/external/libxml2/fuzz/ |
D | genSeed.c | 26 #define PATH_SIZE 500 macro 43 char cwd[PATH_SIZE]; 188 char outPath[PATH_SIZE]; in processPattern() 213 if (size >= PATH_SIZE) { in processPattern() 253 char pattern[PATH_SIZE]; in processXPath() 260 if (size >= PATH_SIZE) in processXPath() 286 char outPath[PATH_SIZE]; in processXPath() 297 if (size >= PATH_SIZE) { in processXPath() 333 char pattern[PATH_SIZE]; in processXPathDir() 343 if (size >= PATH_SIZE) in processXPathDir() [all …]
|
/external/libdrm/tests/amdgpu/ |
D | ras_tests.c | 35 #define PATH_SIZE PATH_MAX macro 504 char path[PATH_SIZE]; in amdgpu_ras_lookup_id() 513 snprintf(path, PATH_SIZE, "/sys/kernel/debug/dri/%d/name", i); in amdgpu_ras_lookup_id() 531 static char sysfs_path[PATH_SIZE]; 532 static char debugfs_path[PATH_SIZE]; 539 snprintf(sysfs_path, PATH_SIZE, "/sys/class/drm/card%d/device/ras/", devices[card].id); in set_test_card() 540 snprintf(debugfs_path, PATH_SIZE, "/sys/kernel/debug/dri/%d/ras/", devices[card].id); in set_test_card() 611 char path[PATH_SIZE]; in amdgpu_ras_invoke() 626 char name[PATH_SIZE]; in amdgpu_ras_query_err_count() 846 char path[PATH_SIZE]; in amdgpu_ras_basic_test()
|