Home
last modified time | relevance | path

Searched refs:pwrite (Results 26 - 50 of 76) sorted by relevance

1234

/third_party/exfatprogs/mkfs/
H A Dmkfs.c240 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 Dsystem.h154 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 Ddevice.h110 s64 (*pwrite)(struct ntfs_device *dev, const void *buf, s64 count, member
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/
H A Ddirtyc0w_shmem_child.c77 * 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 Dmemfd_create_common.c446 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 Dunistd.c302 * @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 Dexfat2img.c192 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 Db_file.cpp85 int ret = pwrite(fd, str.c_str(), str.length(), 0); in Write()
/third_party/fsverity-utils/programs/
H A Dutils.c194 /* 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 Dsoftbus_adapter_file.c239 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 Dunistd.h53 ssize_t pwrite(int, const void *, size_t, off_t);
/third_party/libfuse/lib/
H A Dbuffer.c51 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 Draw_ostream.h331 /// 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 Dtest_uio.rs114 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 Dpngvalid.c793 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 Dprop_n_exporter.cpp468 arg->actLen = pwrite(fd, buf, len, position); in WriteExec()
580 writeLen = pwrite(fd, buf, len, position); in WriteSync()
/third_party/exfatprogs/lib/
H A Dlibexfat.c217 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 Dintel_bufmgr_gem.c1775 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 Ddevice.c278 written = dops->pwrite(dev, (const char*)b + total, count, in ntfs_pwrite()
/third_party/musl/porting/linux/user/src/aio/
H A Daio.c258 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 Daio.c256 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 Dfortify.c310 __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 Dfortify.c321 __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 Daio.c265 ret = q->append ? write(fd, buf, len) : pwrite(fd, buf, len, off); in io_thread_func()
/third_party/libfuse/example/
H A Dpassthrough_fh.c425 res = pwrite(fi->fh, buf, size, offset); in xmp_write()

Completed in 29 milliseconds

1234