Searched refs:out_fd (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NeuralNetworks/tools/test_generator/ |
D | spec_visualizer.py | 237 with open(out_file, "w") as out_fd: 238 out_fd.write(Template(html_template).substitute(
|
/packages/modules/adb/client/ |
D | commandline.cpp | 825 unique_fd out_fd(adb_connect(android::base::StringPrintf("sideload:%d", size), &error)); in adb_sideload_legacy() local 826 if (out_fd < 0) { in adb_sideload_legacy() 832 opt = adb_setsockopt(out_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_legacy() 842 if (!WriteFdExactly(out_fd, buf, xfer)) { in adb_sideload_legacy() 844 adb_status(out_fd, &error); in adb_sideload_legacy() 854 if (!adb_status(out_fd, &error)) { in adb_sideload_legacy()
|