Searched refs:path_len (Results 1 – 2 of 2) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/ |
D | resourcemanager.cpp | 35 int path_len = property_get("ro.vendor.hwc.drm.device", path_pattern, "/dev/dri/card0"); in Init() local 37 if (path_pattern[path_len - 1] != '%') { in Init() 40 path_pattern[path_len - 1] = '\0'; in Init()
|
/hardware/libhardware/ |
D | hardware.c | 178 static int hw_module_exists(char *path, size_t path_len, const char *name, in hw_module_exists() argument 187 snprintf(path, path_len, "/apex/%s/%s/%s.%s.so", in hw_module_exists() 197 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists() 202 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists() 208 snprintf(path, path_len, "%s/%s.%s.so", in hw_module_exists()
|