Searched refs:string_buffer (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_device.cpp | 712 char *string_buffer = reinterpret_cast<char*>(malloc(sizeof(char) * kMaxStringLength)); in GetHWPanelNameByNode() local 713 if (!string_buffer) { in GetHWPanelNameByNode() 717 snprintf(string_buffer, kMaxStringLength, "%s%d/msm_fb_panel_info", fb_path_, device_node); in GetHWPanelNameByNode() 718 FILE *fileptr = Sys::fopen_(string_buffer, "r"); in GetHWPanelNameByNode() 724 while ((Sys::getline_(&string_buffer, &len, fileptr)) != -1) { in GetHWPanelNameByNode() 728 if (!ParseLine(string_buffer, "=\n", tokens, max_count, &token_count)) { in GetHWPanelNameByNode() 737 free(string_buffer); in GetHWPanelNameByNode()
|