Home
last modified time | relevance | path

Searched refs:fileptr (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_info.cpp110 FILE *fileptr = NULL; in GetDynamicBWLimits() local
114 fileptr = Sys::fopen_(bw_info_node, "r"); in GetDynamicBWLimits()
116 if (!fileptr) { in GetDynamicBWLimits()
136 while ((read = Sys::getline_(&line, &len, fileptr)) != -1) { in GetDynamicBWLimits()
158 Sys::fclose_(fileptr); in GetDynamicBWLimits()
169 FILE *fileptr = NULL; in GetHWResourceInfo() local
181 fileptr = Sys::fopen_(stringbuffer, "r"); in GetHWResourceInfo()
183 if (!fileptr) { in GetHWResourceInfo()
195 while ((read = Sys::getline_(&line, &len, fileptr)) != -1) { in GetHWResourceInfo()
263 read = Sys::getline_(&line, &len, fileptr); in GetHWResourceInfo()
[all …]
Dhw_device.cpp718 FILE *fileptr = Sys::fopen_(string_buffer, "r"); in GetHWPanelNameByNode() local
719 if (!fileptr) { in GetHWPanelNameByNode()
724 while ((Sys::getline_(&string_buffer, &len, fileptr)) != -1) { in GetHWPanelNameByNode()
735 Sys::fclose_(fileptr); in GetHWPanelNameByNode()
746 FILE *fileptr = NULL; in GetHWPanelInfoByNode() local
748 fileptr = Sys::fopen_(stringbuffer, "r"); in GetHWPanelInfoByNode()
749 if (!fileptr) { in GetHWPanelInfoByNode()
758 while ((read = Sys::getline_(&line, &len, fileptr)) != -1) { in GetHWPanelInfoByNode()
792 Sys::fclose_(fileptr); in GetHWPanelInfoByNode()
809 FILE *fileptr = Sys::fopen_(stringbuffer, "r"); in GetHWDisplayPortAndMode() local
[all …]
/hardware/qcom/display/msm8996/libqdutils/
Dqd_utils.cpp53 FILE *fileptr = NULL; in querySDEInfo() local
70 fileptr = fopen("/sys/devices/virtual/graphics/fb0/mdp/caps", "rb"); in querySDEInfo()
71 if (!fileptr) { in querySDEInfo()
79 while ((read = getline(&line, &len, fileptr)) != -1) { in querySDEInfo()
95 fclose(fileptr); in querySDEInfo()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h45 typedef int (*fclose)(FILE* fileptr);
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp68 extern int virtual_fclose(FILE* fileptr);