Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 83) sorted by relevance

1234

/device/generic/vulkan-cereal/gl-host-common/opengl/
Dgpuinfo_unittest.cpp393 std::string contents(win_noinstalleddrivers); in TEST() local
396 parse_gpu_info_list_windows(contents, &gpulist); in TEST()
402 std::string contents(win_single_gpu); in TEST() local
405 parse_gpu_info_list_windows(contents, &gpulist); in TEST()
431 std::string contents(win_dual_gpu); in TEST() local
434 parse_gpu_info_list_windows(contents, &gpulist); in TEST()
491 std::string contents; in TEST() local
494 parse_gpu_info_list_linux(contents, &gpulist); in TEST()
500 std::string contents(linux_2); in TEST() local
503 parse_gpu_info_list_linux(contents, &gpulist); in TEST()
[all …]
DNativeGpuInfo_windows.cpp91 const std::string& contents, in parse_windows_gpu_dlls() argument
95 contents.substr(val_pos, line_loc - val_pos); in parse_windows_gpu_dlls()
211 void parse_gpu_info_list_windows(const std::string& contents, in parse_gpu_info_list_windows() argument
213 size_t line_loc = contents.find("\r\n"); in parse_gpu_info_list_windows()
215 line_loc = contents.size(); in parse_gpu_info_list_windows()
228 equals_pos = contents.find("=", p); in parse_gpu_info_list_windows()
230 key = contents.substr(p, equals_pos - p); in parse_gpu_info_list_windows()
232 val = contents.substr(val_pos, line_loc - val_pos); in parse_gpu_info_list_windows()
250 parse_windows_gpu_dlls(line_loc, val_pos, contents, gpulist); in parse_gpu_info_list_windows()
253 if (line_loc == contents.size()) { in parse_gpu_info_list_windows()
[all …]
DNativeGpuInfo_linux.cpp42 void parse_gpu_info_list_linux(const std::string& contents, in parse_gpu_info_list_linux() argument
44 size_t line_loc = contents.find("\n"); in parse_gpu_info_list_linux()
46 line_loc = contents.size(); in parse_gpu_info_list_linux()
62 key = contents.substr(p, line_loc - p); in parse_gpu_info_list_linux()
76 if (line_loc == contents.size()) { in parse_gpu_info_list_linux()
80 line_loc = contents.find("\n", p); in parse_gpu_info_list_linux()
82 line_loc = contents.size(); in parse_gpu_info_list_linux()
/device/generic/vulkan-cereal/stream-servers/
DColorBuffer.cpp297 std::vector<uint8_t> contents; in flushFromVk() local
298 if (!vk::readColorBufferToBytes(mHandle, &contents)) { in flushFromVk()
303 if (contents.empty()) { in flushFromVk()
307 if (!mColorBufferGl->replaceContents(contents.data(), contents.size())) { in flushFromVk()
363 std::vector<uint8_t> contents(contentsSize, 0); in invalidateForVk() local
365 if (!mColorBufferGl->readContents(&contentsSize, contents.data())) { in invalidateForVk()
370 if (!mColorBufferVk->updateFromBytes(contents)) { in invalidateForVk()
/device/google/cuttlefish/common/libs/confui/
Dprotocol.cpp165 auto& contents = message.additional_info_; in ToConfUiMessage() local
171 if (contents.size() != 2) { in ToConfUiMessage()
177 const std::string success_str(contents[0].begin(), contents[0].end()); in ToConfUiMessage()
179 const std::string status_message(contents[1].begin(), contents[1].end()); in ToConfUiMessage()
/device/google/cuttlefish/host/commands/cvd/selector/
Dinstance_database_utils.cpp109 std::vector<std::string> contents = std::move(*contents_result); in PotentiallyHostArtifactsPath() local
110 std::set<std::string> contents_set{std::move_iterator(contents.begin()), in PotentiallyHostArtifactsPath()
111 std::move_iterator(contents.end())}; in PotentiallyHostArtifactsPath()
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp328 std::string contents; in ReadFile() local
339 contents.resize(in.tellg()); in ReadFile()
341 in.read(&contents[0], contents.size()); in ReadFile()
343 return(contents); in ReadFile()
Dsubprocess.cpp352 std::string contents = in AsBashScript() local
355 contents += " &> " + AbsolutePath(redirected_stdio_path); in AsBashScript()
357 return contents; in AsBashScript()
Dproc_file_utils.cpp138 std::string contents = CF_EXPECT(ReadAll(cmdline_file_path)); in GetCmdArgs() local
139 return TokenizeByNullChar(contents); in GetCmdArgs()
/device/generic/vulkan-cereal/gl-host-common/include/host-common/opengl/
Dgpuinfo.h128 void parse_gpu_info_list_linux(const std::string& contents, GpuInfoList* gpulist);
129 void parse_gpu_info_list_windows(const std::string& contents, GpuInfoList* gpulist);
/device/google/gs101/usb/usb/
DUsb.cpp879 string contents; in report_overheat_event() local
883 if (ReadFileToString(string(kOverheatStatsPath) + "trip_time", &contents)) { in report_overheat_event()
884 overheat_info.set_time_to_overheat_secs(stoi(Trim(contents))); in report_overheat_event()
889 if (ReadFileToString(string(kOverheatStatsPath) + "hysteresis_time", &contents)) { in report_overheat_event()
890 overheat_info.set_time_to_hysteresis_secs(stoi(Trim(contents))); in report_overheat_event()
895 if (ReadFileToString(string(kOverheatStatsPath) + "cleared_time", &contents)) { in report_overheat_event()
896 overheat_info.set_time_to_inactive_secs(stoi(Trim(contents))); in report_overheat_event()
/device/google/cuttlefish/host/commands/test_gce_driver/
Dtest_gce_driver.proto26 oneof contents { oneof
70 bytes contents = 2; field
Dcvd_test_gce_driver.cpp337 << data_msg.data().contents().size(); in UploadFile()
338 if (WriteAll(ssh_stdin_in, data_msg.data().contents()) != in UploadFile()
339 data_msg.data().contents().size()) { in UploadFile()
/device/google/gs201/usb/usb/
DUsb.cpp962 string contents; in report_overheat_event() local
966 if (ReadFileToString(string(kOverheatStatsPath) + "trip_time", &contents)) { in report_overheat_event()
967 overheat_info.set_time_to_overheat_secs(stoi(Trim(contents))); in report_overheat_event()
972 if (ReadFileToString(string(kOverheatStatsPath) + "hysteresis_time", &contents)) { in report_overheat_event()
973 overheat_info.set_time_to_hysteresis_secs(stoi(Trim(contents))); in report_overheat_event()
978 if (ReadFileToString(string(kOverheatStatsPath) + "cleared_time", &contents)) { in report_overheat_event()
979 overheat_info.set_time_to_inactive_secs(stoi(Trim(contents))); in report_overheat_event()
/device/google/cuttlefish/host/commands/cvd/proto/
Dcvd_server.proto34 oneof contents { oneof
46 oneof contents { oneof
/device/generic/goldfish-opengl/system/hwc3/
DDevice.cpp81 const std::string contents = dictionary.toStyledString(); in savePersistentKeyValues() local
82 if (!::android::base::WriteStringToFile(contents, path)) { in savePersistentKeyValues()
/device/generic/vulkan-cereal/stream-servers/gl/
DColorBufferGl.cpp1121 std::vector<uint8_t> contents(bytes); in getContents() local
1122 readContents(&bytes, contents.data()); in getContents()
1123 return contents; in getContents()
1142 std::vector<uint8_t> contents; in rebindEglImage() local
1144 contents = getContents(); in rebindEglImage()
1150 replaceContents(contents.data(), m_numBytes); in rebindEglImage()
/device/google/redbull-kernel/sm7250/kernel-headers/input/
Dtouch_offload.h147 } contents; member
167 } contents; member
/device/google/raviole-kernel/original-kernel-headers/input/
Dtouch_offload.h281 } contents; member
316 } contents; member
/device/google/bluejay-kernel/original-kernel-headers/input/
Dtouch_offload.h281 } contents; member
316 } contents; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/input/
Dtouch_offload.h277 } contents; member
312 } contents; member
/device/google/cuttlefish/host/libs/config/
Dinstance_nums.cpp147 auto contents = *reinterpret_cast<const std::string*>(info.flag_ptr); in GflagsInstanceNumsFlag() local
148 return CF_EXPECT(ParseInstanceNums(contents)); in GflagsInstanceNumsFlag()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dsuper_image_mixer.cc87 auto contents = archive->ExtractToMemory(build_prop_file); in FindImports() local
88 auto lines = android::base::Split(contents, "\n"); in FindImports()
/device/google/contexthub/firmware/os/platform/stm32/lkr/
Dapp.lkr23 * initial contents of RW data
24 * initial contents of the GOT
/device/google/zuma/usb/usb/
DUsb.cpp1019 string contents; in report_overheat_event() local
1023 if (ReadFileToString(string(kOverheatStatsPath) + "trip_time", &contents)) { in report_overheat_event()
1024 overheat_info.set_time_to_overheat_secs(stoi(Trim(contents))); in report_overheat_event()
1029 if (ReadFileToString(string(kOverheatStatsPath) + "hysteresis_time", &contents)) { in report_overheat_event()
1030 overheat_info.set_time_to_hysteresis_secs(stoi(Trim(contents))); in report_overheat_event()
1035 if (ReadFileToString(string(kOverheatStatsPath) + "cleared_time", &contents)) { in report_overheat_event()
1036 overheat_info.set_time_to_inactive_secs(stoi(Trim(contents))); in report_overheat_event()

1234