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.cc2538 int data_fd = -1; in run() local
2547 data_fd = 0; in run()
2551 data_fd = mkstemp(tempfn); in run()
2552 if (data_fd == -1) { in run()
2574 while ((wret = write(data_fd, buf.data(), rret)) == -1 && in run()
2583 if (fstat(data_fd, &data_stat) == -1) { in run()
2584 close(data_fd); in run()
2590 data_fd = open(config.datafile.c_str(), O_RDONLY | O_BINARY); in run()
2591 if (data_fd == -1) { in run()
2596 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()
2862 config.data_fd = open(datafile.c_str(), O_RDONLY | O_BINARY); in main()
2863 if (config.data_fd == -1) { in main()
2868 if (fstat(config.data_fd, &data_stat) == -1) { in main()
2874 config.data_fd, 0); in main()
3013 shared_nva.emplace_back(":method", config.data_fd == -1 ? "GET" : "POST"); in main()
3037 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);