/third_party/exfatprogs/mkfs/ |
H A D | mkfs.c | 240 nbyte = pwrite(fd, (__u8 *) &clu, sizeof(__le32), fat_entry_offset); in write_fat_entry() 325 nbytes = pwrite(bd->dev_fd, bitmap, finfo.bitmap_byte_len, finfo.bitmap_byte_off); in exfat_create_bitmap() 362 nbytes = pwrite(bd->dev_fd, ed, dentries_len, finfo.root_byte_off); in exfat_create_root_dir()
|
/third_party/elfutils/lib/ |
H A D | system.h | 154 ssize_t ret = TEMP_FAILURE_RETRY (pwrite (fd, ((char *)buf) + recvd, len - recvd, in pwrite_retry()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | device.h | 110 s64 (*pwrite)(struct ntfs_device *dev, const void *buf, s64 count, member
|
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/ |
H A D | dirtyc0w_shmem_child.c | 77 * Ignore any errors -- errors mean that pwrite() would in write_thread_fn() 85 pwrite(mem_fd, str, strlen(str), (uintptr_t) map); in write_thread_fn() 208 * Thread 2: pwrite() [start] in main() 218 * Thread 2: pwrite() [continue] in main()
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
H A D | memfd_create_common.c | 446 if (pwrite(fd, buf, sizeof(buf), 0) != sizeof(buf)) { in check_mfd_growable_by_write() 448 "pwrite(%d, %s, %zu, %d) failed", in check_mfd_growable_by_write() 454 tst_res_(filename, lineno, TPASS, "pwrite(%d, %s, %zu, %d) succeeded", in check_mfd_growable_by_write() 465 if (pwrite(fd, buf, sizeof(buf), 0) == sizeof(buf)) { in check_mfd_non_growable_by_write() 467 "pwrite(%d, %s, %zu, %d) didn't fail as expected", in check_mfd_non_growable_by_write() 473 tst_res_(filename, lineno, TPASS, "pwrite(%d, %s, %zu, %d) succeeded", in check_mfd_non_growable_by_write()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | unistd.c | 302 * @tc.name : pwrite 303 * @tc.desc : Exception scenarios for pwrite 327 pwrite(fd, buf, n, 0); in unistd_dynamic_chk_008() 342 * @tc.name : pwrite 343 * @tc.desc : Exception scenarios for pwrite 367 pwrite(fd, buf, n, 0); in unistd_dynamic_chk_009()
|
/third_party/exfatprogs/exfat2img/ |
H A D | exfat2img.c | 192 ret = pwrite(ei->out_fd, ei->dump_bdesc[0].buffer, in dump_range() 813 if (pwrite(ei->out_fd, ei->dump_bdesc[0].buffer, len, out_start_off) in restore_from_stdin() 867 if (pwrite(ei->out_fd, ei->dump_bdesc[0].buffer, in restore_from_stdin()
|
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/ |
H A D | b_file.cpp | 85 int ret = pwrite(fd, str.c_str(), str.length(), 0); in Write()
|
/third_party/fsverity-utils/programs/ |
H A D | utils.c | 194 /* Not exactly the same as pwrite(), but good enough... */ in raw_pwrite() 201 return pwrite(fd, buf, count, offset); in raw_pwrite()
|
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_file.c | 239 COMM_LOGE(COMM_ADAPTER, "softbus pwrite file [buff is null]"); in SoftBusPwriteFile() 242 int64_t len = pwrite(fd, buf, writeBytes, offset); in SoftBusPwriteFile() 244 COMM_LOGE(COMM_ADAPTER, "softbus pwrite file fail. errno=%{public}s", strerror(errno)); in SoftBusPwriteFile()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 53 ssize_t pwrite(int, const void *, size_t, off_t);
|
/third_party/libfuse/lib/ |
H A D | buffer.c | 51 res = pwrite(dst->fd, (char *)src->mem + src_off, len, in fuse_buf_write()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | raw_ostream.h | 331 /// pwrite operation. This is useful for code that can mostly stream out data, 339 void pwrite(const char *Ptr, size_t Size, uint64_t Offset) { in pwrite() function in llvm::raw_pwrite_stream
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_uio.rs | 114 assert_eq!(Ok(8), pwrite(file.as_raw_fd(), &buf, 8)); in test_pwrite()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngvalid.c | 793 png_structp pwrite; /* Used when writing a new file */ member 871 ps->pwrite = NULL; in store_init() 922 png_error(ps->pwrite, "store new: OOM"); in store_storenew() 975 png_error(ps->pwrite, "storefile: incomplete write"); in store_storefile() 979 png_error(ps->pwrite, "storefile: OOM"); in store_storefile() 988 png_error(ps->pwrite, "storefile: 0 sized IDAT"); in store_storefile() 1022 else if (pp != NULL && pp == ps->pwrite) in store_message() 1291 if (ps->pwrite != pp) in store_write() 1743 if (ps->pwrite == NULL) in store_write_palette() 1747 png_error(ps->pwrite, "multipl in store_write_palette() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | prop_n_exporter.cpp | 468 arg->actLen = pwrite(fd, buf, len, position); in WriteExec() 580 writeLen = pwrite(fd, buf, len, position); in WriteSync()
|
/third_party/exfatprogs/lib/ |
H A D | libexfat.c | 217 return pwrite(fd, buf, size, offset); in exfat_write() 515 bytes = pwrite(bd->dev_fd, buf, bd->sector_size, offset); in exfat_write_sector()
|
/third_party/libdrm/intel/ |
H A D | intel_bufmgr_gem.c | 1775 struct drm_i915_gem_pwrite pwrite; in drm_intel_gem_bo_subdata() local 1781 memclear(pwrite); in drm_intel_gem_bo_subdata() 1782 pwrite.handle = bo_gem->gem_handle; in drm_intel_gem_bo_subdata() 1783 pwrite.offset = offset; in drm_intel_gem_bo_subdata() 1784 pwrite.size = size; in drm_intel_gem_bo_subdata() 1785 pwrite.data_ptr = (uint64_t) (uintptr_t) data; in drm_intel_gem_bo_subdata() 1788 &pwrite); in drm_intel_gem_bo_subdata()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | device.c | 278 written = dops->pwrite(dev, (const char*)b + total, count, in ntfs_pwrite()
|
/third_party/musl/porting/linux/user/src/aio/ |
H A D | aio.c | 258 ret = q->append ? write(fd, buf, len) : pwrite(fd, buf, len, off); in io_thread_func()
|
/third_party/musl/porting/liteos_a/user/src/aio/ |
H A D | aio.c | 256 ret = q->append ? write(fd, buf, len) : pwrite(fd, buf, len, off); in io_thread_func()
|
/third_party/musl/porting/linux/user/src/fortify/ |
H A D | fortify.c | 310 __diagnose_count("pwrite", "count", count); in __pwrite_chk() 311 __diagnose_buffer_access("pwrite", "read from", count, buf_size); in __pwrite_chk() 312 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(pwrite)(fd, buf, count, offset); in __pwrite_chk()
|
/third_party/musl/src/fortify/linux/ |
H A D | fortify.c | 321 __diagnose_count("pwrite", "count", count); in __pwrite_chk() 322 __diagnose_buffer_access("pwrite", "read from", count, buf_size); in __pwrite_chk() 323 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(pwrite)(fd, buf, count, offset); in __pwrite_chk()
|
/third_party/musl/src/aio/ |
H A D | aio.c | 265 ret = q->append ? write(fd, buf, len) : pwrite(fd, buf, len, off); in io_thread_func()
|
/third_party/libfuse/example/ |
H A D | passthrough_fh.c | 425 res = pwrite(fi->fh, buf, size, offset); in xmp_write()
|