Home
last modified time | relevance | path

Searched refs:PATH_SIZE (Results 1 – 6 of 6) sorted by relevance

/third_party/libdrm/libkms/
Dlinux.c50 #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()
/third_party/libxml2/fuzz/
DgenSeed.c26 #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 …]
/third_party/alsa-utils/alsactl/
Dinit_sysfs.c21 static char sysfs_path[PATH_SIZE];
27 char path[PATH_SIZE];
35 char sysfs_test[PATH_SIZE]; in sysfs_init()
74 char path_full[PATH_SIZE]; in sysfs_attr_get_value()
116 char link_target[PATH_SIZE + 1]; in sysfs_attr_get_value()
Dinit_utils_run.c39 char arg[PATH_SIZE]; in run_program0()
40 char program[PATH_SIZE]; in run_program0()
Dinit_parse.c44 #define PATH_SIZE 512 macro
1006 char temp[PATH_SIZE]; in apply_format()
1007 char temp2[PATH_SIZE]; in apply_format()
1294 char string[PATH_SIZE]; in parse_line()
1295 char result[PATH_SIZE]; in parse_line()
/third_party/libdrm/tests/amdgpu/
Dras_tests.c35 #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()