Home
last modified time | relevance | path

Searched refs:io_ptr (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/libs/fiber/examples/asio/
Dexchange.cpp18 auto io_ptr = std::make_shared< boost::asio::io_context >(); in foo() local
19 boost::fibers::use_scheduling_algorithm< boost::fibers::asio::round_robin >( io_ptr); in foo()
20 boost::fibers::fiber([io_ptr](){ in foo()
26 io_ptr->stop(); in foo()
28 io_ptr->run(); in foo()
32 auto io_ptr = std::make_shared< boost::asio::io_context >(); in bar() local
33 boost::fibers::use_scheduling_algorithm< boost::fibers::asio::round_robin >( io_ptr); in bar()
34 boost::fibers::fiber([io_ptr](){ in bar()
43 io_ptr->stop(); in bar()
45 io_ptr->run(); in bar()
/third_party/skia/third_party/externals/libpng/
Dpngwio.c58 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data()
81 png_FILE_p io_ptr; in png_default_flush() local
86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
87 fflush(io_ptr); in png_default_flush()
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_write_fn() argument
128 png_ptr->io_ptr = io_ptr; in png_set_write_fn()
Dpngrio.c60 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
87 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
93 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
/third_party/libpng/
Dpngwio.c58 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data()
81 png_FILE_p io_ptr; in png_default_flush() local
86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
87 fflush(io_ptr); in png_default_flush()
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_write_fn() argument
128 png_ptr->io_ptr = io_ptr; in png_set_write_fn()
Dpngrio.c60 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
87 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
93 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
Dpngtest.c392 png_voidp io_ptr; in pngtest_read_data() local
397 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data()
398 if (io_ptr != NULL) in pngtest_read_data()
400 check = fread(data, 1, length, (png_FILE_p)io_ptr); in pngtest_read_data()
/third_party/flutter/skia/third_party/externals/libpng/
Dpngwio.c58 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data()
81 png_FILE_p io_ptr; in png_default_flush() local
86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
87 fflush(io_ptr); in png_default_flush()
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_write_fn() argument
128 png_ptr->io_ptr = io_ptr; in png_set_write_fn()
Dpngrio.c60 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
87 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
93 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
Dpngtest.c392 png_voidp io_ptr; in pngtest_read_data() local
397 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data()
398 if (io_ptr != NULL) in pngtest_read_data()
400 check = fread(data, 1, length, (png_FILE_p)io_ptr); in pngtest_read_data()
/third_party/e2fsprogs/resize/
Dmain.c172 io_manager *io_ptr) in resize2fs_setup_tdb() argument
181 retval = set_undo_io_backing_manager(*io_ptr); in resize2fs_setup_tdb()
184 *io_ptr = undo_io_manager; in resize2fs_setup_tdb()
226 retval = set_undo_io_backing_manager(*io_ptr); in resize2fs_setup_tdb()
229 *io_ptr = undo_io_manager; in resize2fs_setup_tdb()
262 io_manager io_ptr; in main() local
398 io_ptr = test_io_manager; in main()
402 io_ptr = unix_io_manager; in main()
409 retval = resize2fs_setup_tdb(device_name, undo_file, &io_ptr); in main()
414 0, 0, io_ptr, &fs); in main()
/third_party/flutter/skia/third_party/externals/libpng/contrib/visupng/
DPngFile.c420 check = fread(data, 1, length, (FILE *)png_ptr->io_ptr);
433 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
443 FILE *io_ptr; local
444 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
445 if (io_ptr != NULL)
446 fflush(io_ptr);
/third_party/libpng/contrib/visupng/
DPngFile.c420 check = fread(data, 1, length, (FILE *)png_ptr->io_ptr);
433 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
443 FILE *io_ptr; local
444 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
445 if (io_ptr != NULL)
446 fflush(io_ptr);
/third_party/skia/third_party/externals/libpng/contrib/visupng/
DPngFile.c420 check = fread(data, 1, length, (FILE *)png_ptr->io_ptr);
433 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
443 FILE *io_ptr; local
444 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
445 if (io_ptr != NULL)
446 fflush(io_ptr);
/third_party/e2fsprogs/misc/
De2initrd_helper.c374 io_manager io_ptr; in main() local
383 io_ptr = test_io_manager; in main()
387 io_ptr = unix_io_manager; in main()
388 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs); in main()
Dtune2fs.c259 io_manager io_ptr; in remove_journal_device() local
276 io_ptr = test_io_manager; in remove_journal_device()
280 io_ptr = unix_io_manager; in remove_journal_device()
283 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
1559 io_manager io_ptr; in add_journal() local
1572 io_ptr = test_io_manager; in add_journal()
1576 io_ptr = unix_io_manager; in add_journal()
1579 fs->blocksize, io_ptr, &jfs); in add_journal()
2787 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) in tune2fs_setup_tdb() argument
2796 retval = set_undo_io_backing_manager(*io_ptr); in tune2fs_setup_tdb()
[all …]
De2undo.c224 static int e2undo_setup_tdb(const char *name, io_manager *io_ptr) in e2undo_setup_tdb() argument
233 retval = set_undo_io_backing_manager(*io_ptr); in e2undo_setup_tdb()
236 *io_ptr = undo_io_manager; in e2undo_setup_tdb()
278 retval = set_undo_io_backing_manager(*io_ptr); in e2undo_setup_tdb()
281 *io_ptr = undo_io_manager; in e2undo_setup_tdb()
Dmke2fs.c1922 io_manager io_ptr; in PRS() local
1926 io_ptr = test_io_manager; in PRS()
1930 io_ptr = unix_io_manager; in PRS()
1933 0, io_ptr, &jfs); in PRS()
2742 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) in mke2fs_setup_tdb() argument
2751 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2754 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2802 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2805 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2984 io_manager io_ptr; in main() local
[all …]
De2image.c1420 io_manager io_ptr; in install_image() local
1431 io_ptr = test_io_manager; in install_image()
1435 io_ptr = unix_io_manager; in install_image()
1438 io_ptr, &fs); in install_image()
1457 retval = io_ptr->open(device, IO_FLAG_RW, &io); in install_image()
/third_party/e2fsprogs/e2fsck/
Dunix.c1168 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, in try_open_fs() argument
1177 io_ptr, ret_fs); in try_open_fs()
1189 io_ptr, ret_fs); in try_open_fs()
1195 flags, 0, 0, io_ptr, ret_fs); in try_open_fs()
1298 static int e2fsck_setup_tdb(e2fsck_t ctx, io_manager *io_ptr) in e2fsck_setup_tdb() argument
1307 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1310 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1359 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1362 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1390 io_manager io_ptr; in main() local
[all …]
Djournal.c959 io_manager io_ptr = 0; in e2fsck_get_journal() local
1058 io_ptr = inode_io_manager; in e2fsck_get_journal()
1087 io_ptr = unix_io_manager; in e2fsck_get_journal()
1091 test_io_backing_manager = io_ptr; in e2fsck_get_journal()
1092 io_ptr = test_io_manager; in e2fsck_get_journal()
1107 retval = io_ptr->open(journal_name, flags, in e2fsck_get_journal()
1661 io_manager io_ptr = ctx->fs->io->manager; in e2fsck_run_ext3_journal() local
1692 ctx->superblock, blocksize, io_ptr, in e2fsck_run_ext3_journal()
/third_party/e2fsprogs/debugfs/
Djournal.c301 io_manager io_ptr = 0; in ext2fs_get_journal() local
388 io_ptr = inode_io_manager; in ext2fs_get_journal()
418 io_ptr = unix_io_manager; in ext2fs_get_journal()
422 test_io_backing_manager = io_ptr; in ext2fs_get_journal()
423 io_ptr = test_io_manager; in ext2fs_get_journal()
429 retval = io_ptr->open(journal_name, fs->flags & EXT2_FLAG_RW, in ext2fs_get_journal()
783 io_manager io_ptr = fs->io->manager; in ext2fs_run_ext3_journal() local
816 retval = ext2fs_open(fsname, fsflags, 0, fsblocksize, io_ptr, fsp); in ext2fs_run_ext3_journal()
Ddebugfs.c67 io_manager *io_ptr) in debugfs_setup_tdb() argument
76 retval = set_undo_io_backing_manager(*io_ptr); in debugfs_setup_tdb()
79 *io_ptr = undo_io_manager; in debugfs_setup_tdb()
121 retval = set_undo_io_backing_manager(*io_ptr); in debugfs_setup_tdb()
124 *io_ptr = undo_io_manager; in debugfs_setup_tdb()
147 io_manager io_ptr = unix_io_manager; in open_filesystem() local
174 retval = debugfs_setup_tdb(device, undo_file, &io_ptr); in open_filesystem()
181 io_ptr, &current_fs); in open_filesystem()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/
Dai_cpu_dynamic_kernel.cc132 auto io_ptr = args_.data() + sizeof(kernel::AicpuParamHead); in UpdateInputOutputAddr() local
138 …memcpy_s(io_ptr, args_.size() - sizeof(kernel::AicpuParamHead), &io_addrs[0], sizeof(uint64_t) * i… in UpdateInputOutputAddr()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h708 LLVMValueRef io_ptr; member
733 LLVMValueRef io_ptr; member
759 LLVMValueRef io_ptr; member
Ddraw_llvm.c1165 LLVMValueRef io_ptr, in store_aos() argument
1171 LLVMValueRef data_ptr = draw_jit_header_data(gallivm, io_ptr); in store_aos()
1182 … lp_build_printf(gallivm, " ---- %p storing attribute %d (io = %p)\n", data_ptr, index, io_ptr); in store_aos()
1244 LLVMValueRef io_ptr, in store_aos_array() argument
1269 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
1390 LLVMValueRef io_ptr, in store_clip() argument
1411 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
1823 LLVMValueRef io = variant->io_ptr; in draw_gs_llvm_emit_vertex()
1933 LLVMValueRef io_ptr, vbuffers_ptr, vb_ptr; in draw_llvm_generate() local
2004 io_ptr = LLVMGetParam(variant_func, 1); in draw_llvm_generate()
[all …]

123