Home
last modified time | relevance | path

Searched refs:data_fd (Results 1 – 7 of 7) sorted by relevance

/third_party/nghttp2/src/
Dh2load_http1_session.cc206 if (config->data_fd == -1 || config->data_length == 0) { in submit_request()
264 while ((nread = pread(config->data_fd, buf.data(), buf.size(), in on_write()
303 return config->data_fd == -1 ? config->max_concurrent_streams : 1; in max_concurrent_streams()
Dh2load_http2_session.cc134 while ((nread = pread(config->data_fd, buf, length, req_stat->data_offset)) == in file_read_callback()
263 config->data_fd == -1 ? nullptr : &prd, nullptr); in submit_request()
Dnghttp.cc2539 int data_fd = -1; in run() local
2548 data_fd = 0; in run()
2552 data_fd = mkstemp(tempfn); in run()
2553 if (data_fd == -1) { in run()
2575 while ((wret = write(data_fd, buf.data(), rret)) == -1 && in run()
2584 if (fstat(data_fd, &data_stat) == -1) { in run()
2585 close(data_fd); in run()
2591 data_fd = open(config.datafile.c_str(), O_RDONLY | O_BINARY); in run()
2592 if (data_fd == -1) { in run()
2597 if (fstat(data_fd, &data_stat) == -1) { in run()
[all …]
Dh2load.cc124 data_fd(-1), in Config()
148 if (data_fd != -1) { in ~Config()
149 close(data_fd); in ~Config()
2850 config.data_fd = open(datafile.c_str(), O_RDONLY | O_BINARY); in main()
2851 if (config.data_fd == -1) { in main()
2856 if (fstat(config.data_fd, &data_stat) == -1) { in main()
2862 config.data_fd, 0); in main()
3001 shared_nva.emplace_back(":method", config.data_fd == -1 ? "GET" : "POST"); in main()
3025 if (config.data_fd != -1) { in main()
Dh2load.h114 int data_fd; member
Dh2load_http3_session.cc107 config->data_fd == -1 ? nullptr : &dr, nullptr); in submit_request_internal()
/third_party/chromium/patch/
D0004-ohos-3.2-Beta5.patch135 @@ -265,6 +271,34 @@ int LoadIcuData(PlatformFile data_fd,
141 +int LoadIcuDataByHap(PlatformFile data_fd,
168 PlatformFile data_fd,
176 + g_debug_icu_load = LoadIcuDataByHap(data_fd, data_region, &mapped_file, &err);
178 + g_debug_icu_load = LoadIcuData(data_fd, data_region, &mapped_file, &err);
181 g_debug_icu_load = LoadIcuData(data_fd, data_region, &mapped_file, &err);