Home
last modified time | relevance | path

Searched refs:io_device (Results 1 – 25 of 144) sorted by relevance

123456

/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/rabbitmq_cli/lib/rabbitmq/cli/printers/
H A Dfile.ex14 {:ok, io_device} -> {:ok, %{device: io_device}}
19 def finish(%{device: io_device}) do
20 :ok = File.close(io_device)
23 def print_output(output, %{device: io_device}) when is_list(output) do
25 IO.puts(io_device, line)
29 def print_output(output, %{device: io_device}) do
30 IO.puts(io_device, output)
/dports/net/mpich/mpich-3.4.3/src/util/
H A Dmpir_hwtopo.c386 if (io_device->attr->osdev.type != obj_type) in io_device_found()
390 if (strncmp(io_device->name, devname, strlen(devname))) in io_device_found()
394 if (strlen(resource) != strlen(devname) && strcmp(io_device->name, resource)) in io_device_found()
410 hwloc_obj_t io_device = NULL; in MPIR_hwtopo_get_obj_by_name() local
415 if (io_device) { in MPIR_hwtopo_get_obj_by_name()
426 while ((io_device = hwloc_get_next_osdev(hwloc_topology, io_device))) { in MPIR_hwtopo_get_obj_by_name()
429 if (!io_device_found(name, "ib", io_device, HWLOC_OBJ_OSDEV_NETWORK)) in MPIR_hwtopo_get_obj_by_name()
431 if (!io_device_found(name, "eth", io_device, HWLOC_OBJ_OSDEV_NETWORK) && in MPIR_hwtopo_get_obj_by_name()
432 !io_device_found(name, "en", io_device, HWLOC_OBJ_OSDEV_NETWORK)) in MPIR_hwtopo_get_obj_by_name()
436 if (io_device->attr->osdev.type == HWLOC_OBJ_OSDEV_GPU) { in MPIR_hwtopo_get_obj_by_name()
[all …]
/dports/graphics/scantailor/scantailor-advanced-1.0.16/
H A DPngMetadataLoader.cpp62 auto* io_device = (QIODevice*) png_get_io_ptr(png_ptr); in readFn() local
64 const qint64 read = io_device->read((char*) data, length); in readFn()
82 ImageMetadataLoader::Status PngMetadataLoader::loadMetadata(QIODevice& io_device, in loadMetadata() argument
84 if (!io_device.isReadable()) { in loadMetadata()
89 if (io_device.peek((char*) signature, 8) != 8) { in loadMetadata()
103 png_set_read_fn(png.handle(), &io_device, &readFn); in loadMetadata()
H A DImageMetadataLoader.h49 static Status load(QIODevice& io_device, OutFunc out);
70 …virtual Status loadMetadata(QIODevice& io_device, const VirtualFunction<void, const ImageMetadata&…
73 …static Status loadImpl(QIODevice& io_device, const VirtualFunction<void, const ImageMetadata&>& ou…
83 ImageMetadataLoader::Status ImageMetadataLoader::load(QIODevice& io_device, Callable out) { in load() argument
84 return loadImpl(io_device, ProxyFunction<Callable, void, const ImageMetadata&>(out)); in load()
H A DJpegMetadataLoader.cpp68 explicit JpegSourceManager(QIODevice& io_device);
90 JpegSourceManager::JpegSourceManager(QIODevice& io_device) : jpeg_source_mgr(), m_device(io_device)… in JpegSourceManager() argument
191 ImageMetadataLoader::Status JpegMetadataLoader::loadMetadata(QIODevice& io_device, in loadMetadata() argument
193 if (!io_device.isReadable()) { in loadMetadata()
201 if (io_device.peek((char*) signature, sig_size) != sig_size) { in loadMetadata()
214 JpegSourceManager src_mgr(io_device); in loadMetadata()
H A DTiffMetadataLoader.cpp30 ImageMetadataLoader::Status TiffMetadataLoader::loadMetadata(QIODevice& io_device, in loadMetadata() argument
32 return TiffReader::readMetadata(io_device, out); in loadMetadata()
H A DImageMetadataLoader.cpp31 ImageMetadataLoader::Status ImageMetadataLoader::loadImpl(QIODevice& io_device, in loadImpl() argument
36 const Status status = (*it)->loadMetadata(io_device, out); in loadImpl()
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/tools/topo/hwloc/
H A Dtopo_hwloc.c179 if (io_device->attr->osdev.type != obj_type) in io_device_found()
183 if (strncmp(io_device->name, devname, strlen(devname))) in io_device_found()
187 if (strlen(resource) != strlen(devname) && strcmp(io_device->name, resource)) in io_device_found()
225 hwloc_obj_t io_device = NULL; in get_hw_obj_list() local
230 while ((io_device = hwloc_get_next_osdev(topology, io_device))) { in get_hw_obj_list()
233 if (io_device->attr->osdev.type != HWLOC_OBJ_OSDEV_GPU) in get_hw_obj_list()
248 hwloc_obj_t io_device = NULL; in get_hw_obj_list() local
258 while ((io_device = hwloc_get_next_osdev(topology, io_device))) { in get_hw_obj_list()
261 if (!io_device_found(resource_str, "ib", io_device, HWLOC_OBJ_OSDEV_NETWORK)) in get_hw_obj_list()
264 !io_device_found(resource_str, "en", io_device, HWLOC_OBJ_OSDEV_NETWORK)) in get_hw_obj_list()
[all …]
/dports/textproc/elixir-earmark/earmark-1.2.5/lib/earmark/
H A Dcli.ex54 defp process({io_device, options}) do
56 content = IO.stream(io_device, :line) |> Enum.to_list
77 defp open_file(filename), do: io_device(File.open(filename, [:utf8]), filename)
79 defp io_device({:ok, io_device}, _), do: io_device function
80 defp io_device({:error, reason}, filename) do function
/dports/www/erlang-webmachine/webmachine-1.10.9/src/
H A Dwebmachine_log.erl96 -spec fix_log(file:io_device(), non_neg_integer()) -> ok.
132 -spec log_close(atom(), string(), file:io_device()) -> ok | {error, term()}.
153 -spec log_open(string()) -> {file:io_device(), datehour()}.
159 -spec log_open(string(), datehour()) -> file:io_device().
170 -spec log_write(file:io_device(), iolist()) -> ok | {error, term()}.
176 -spec maybe_rotate(atom(), string(), file:io_device(), erlang:timestamp(), datehour()) ->
177 {datehour(), file:io_device()}.
182 -spec maybe_rotate(atom(), string(), file:io_device(), erlang:timestamp(), datehour(), boolean()) ->
183 {datehour(), file:io_device()}.
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/rabbit/src/
H A Drabbit_msg_file.erl27 -type io_device() :: any(). type
37 -spec append(io_device(), rabbit_types:msg_id(), msg()) ->
54 -spec read(io_device(), msg_size()) ->
70 -spec scan(io_device(), file_size(), message_accumulator(A), A) ->
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/rabbitmq_web_dispatch/src/
H A Dwebmachine_log.erl47 handle :: file:io_device()}).
96 -spec fix_log(file:io_device(), non_neg_integer()) -> ok.
132 -spec log_close(atom(), string(), file:io_device()) -> ok | {error, term()}.
138 -spec log_open(string()) -> {file:io_device(), non_neg_integer()}.
144 -spec log_open(string(), non_neg_integer()) -> file:io_device().
155 -spec log_write(file:io_device(), iolist()) -> ok | {error, term()}.
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/ssh/src/
H A Dssh_sftpd_file_api.erl26 -callback close(file:io_device(), State::term()) ->
44 -callback position(file:io_device(), Offs::term(), State::term()) ->
46 -callback read(file:io_device(), Len::term(), State::term()) ->
56 -callback write(file:io_device(), Data::term(), State::term()) ->
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/kernel/src/
H A Dfile.erl493 IoDevice :: io_device(),
524 IoDevice :: io_device(),
543 IoDevice :: io_device(),
558 File :: io_device(),
610 IoDevice :: io_device(),
639 IoDevice :: io_device(),
671 IoDevice :: io_device(),
696 IoDevice :: io_device(),
709 IoDevice :: io_device(),
720 IoDevice :: io_device(),
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/kernel/src/
H A Dfile.erl514 IoDevice :: io_device(),
547 IoDevice :: io_device(),
566 IoDevice :: io_device(),
581 File :: io_device(),
633 IoDevice :: io_device(),
662 IoDevice :: io_device(),
694 IoDevice :: io_device(),
719 IoDevice :: io_device(),
732 IoDevice :: io_device(),
743 IoDevice :: io_device(),
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/kernel/src/
H A Dfile.erl514 IoDevice :: io_device(),
547 IoDevice :: io_device(),
566 IoDevice :: io_device(),
581 File :: io_device(),
633 IoDevice :: io_device(),
662 IoDevice :: io_device(),
694 IoDevice :: io_device(),
719 IoDevice :: io_device(),
732 IoDevice :: io_device(),
743 IoDevice :: io_device(),
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/kernel/src/
H A Dfile.erl514 IoDevice :: io_device(),
547 IoDevice :: io_device(),
566 IoDevice :: io_device(),
581 File :: io_device(),
633 IoDevice :: io_device(),
662 IoDevice :: io_device(),
694 IoDevice :: io_device(),
719 IoDevice :: io_device(),
732 IoDevice :: io_device(),
743 IoDevice :: io_device(),
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/kernel/src/
H A Dfile.erl514 IoDevice :: io_device(),
547 IoDevice :: io_device(),
566 IoDevice :: io_device(),
581 File :: io_device(),
633 IoDevice :: io_device(),
662 IoDevice :: io_device(),
694 IoDevice :: io_device(),
719 IoDevice :: io_device(),
732 IoDevice :: io_device(),
743 IoDevice :: io_device(),
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/kernel/src/
H A Dfile.erl464 IoDevice :: io_device(),
495 IoDevice :: io_device(),
514 IoDevice :: io_device(),
529 File :: io_device(),
581 IoDevice :: io_device(),
610 IoDevice :: io_device(),
642 IoDevice :: io_device(),
667 IoDevice :: io_device(),
680 IoDevice :: io_device(),
691 IoDevice :: io_device(),
[all …]

123456