Home
last modified time | relevance | path

Searched refs:noff (Results 1 – 19 of 19) sorted by relevance

/third_party/iowow/src/platform/
Diwp.c76 iwrc iwp_copy_bytes(HANDLE fh, off_t off, size_t siz, off_t noff) { in iwp_copy_bytes() argument
80 int overlap = IW_RANGES_OVERLAP(off, off + siz, noff, noff + siz); in iwp_copy_bytes()
85 if (overlap && noff > off) { in iwp_copy_bytes()
99 rc = iwp_pwrite(fh, noff + pos, buf, sp, &sp2); in iwp_copy_bytes()
Diwp.h202 off_t noff);
/third_party/musl/src/network/
Ddn_comp.c41 int noff = getoffs(offs, base, dn); in match() local
42 if (!noff) return 0; in match()
45 o = offs[--noff]; in match()
52 if (!nlen || !noff) return m; in match()
/third_party/iowow/src/fs/
Diwfsmfile.c456 uint64_t noff = IW_ROUNDUP(akoff, aunit_blk); in _fsm_blk_allocate_aligned_lw() local
458 if (noff <= max_offset_blk && (noff < aklen + akoff) && (aklen - (noff - akoff) >= length_blk)) { in _fsm_blk_allocate_aligned_lw()
460 aklen = aklen - (noff - akoff); in _fsm_blk_allocate_aligned_lw()
461 if (noff > akoff) { in _fsm_blk_allocate_aligned_lw()
462 _fsm_put_fbk(impl, akoff, noff - akoff); in _fsm_blk_allocate_aligned_lw()
465 _fsm_put_fbk(impl, noff + length_blk, aklen - length_blk); in _fsm_blk_allocate_aligned_lw()
467 *offset_blk = noff; in _fsm_blk_allocate_aligned_lw()
469 return _fsm_set_bit_status_lw(impl, noff, length_blk, 1, bopts); in _fsm_blk_allocate_aligned_lw()
480noff = IW_ROUNDUP(koff, aunit_blk); … in _fsm_blk_allocate_aligned_lw()
481 …if (noff <= max_offset_blk && (noff < klen + koff) && (klen - (noff - koff) >= length_blk)) { … in _fsm_blk_allocate_aligned_lw()
[all …]
Diwfile.c138 static iwrc _iwfs_copy(struct IWFS_FILE *f, off_t off, size_t siz, off_t noff) { in _iwfs_copy() argument
147 iwrc rc = iwp_copy_bytes(impl->fh, off, siz, noff); in _iwfs_copy()
149 rc = impl->opts.dlsnr->oncopy(impl->opts.dlsnr, off, siz, noff, 0); in _iwfs_copy()
Diwdlsnr.h36 iwrc(*oncopy)(struct IWDLSNR *self, off_t off, off_t len, off_t noff, int flags);
Diwfile.h191 iwrc(*copy)(struct IWFS_FILE *f, off_t off, size_t siz, off_t noff);
Diwexfile.c399 static iwrc _exfile_copy(struct IWFS_EXT *f, off_t off, size_t siz, off_t noff) { in _exfile_copy() argument
404 if (s && s->mmap && s->off == 0 && s->len >= noff + siz) { // fully mmaped file in _exfile_copy()
405 rc = _exfile_ensure_size_lw(f, noff + siz); in _exfile_copy()
408 rc = impl->dlsnr->onwrite(impl->dlsnr, noff, s->mmap + off, siz, 0); in _exfile_copy()
411 memmove(s->mmap + noff, s->mmap + off, siz); in _exfile_copy()
413 IWRC(impl->file.copy(&impl->file, off, siz, noff), rc); in _exfile_copy()
Diwexfile.h305 iwrc(*copy)(struct IWFS_EXT *f, off_t off, size_t siz, off_t noff);
/third_party/iowow/src/platform/win32/
Dwin32.c285 LARGE_INTEGER loff, noff; in iwp_lseek() local
294 if (!SetFilePointerEx(fh, loff, &noff, w)) { in iwp_lseek()
298 *pos = noff.QuadPart; in iwp_lseek()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java747 int ioff, noff = offsets.length; in TestSearchCollatorElements() local
758 if ( ioff < noff ) { in TestSearchCollatorElements()
769 if ( ioff < noff ) { in TestSearchCollatorElements()
775 ioff = noff; in TestSearchCollatorElements()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationIteratorTest.java750 int ioff, noff = offsets.length; in TestSearchCollatorElements() local
761 if ( ioff < noff ) { in TestSearchCollatorElements()
772 if ( ioff < noff ) { in TestSearchCollatorElements()
778 ioff = noff; in TestSearchCollatorElements()
/third_party/iowow/src/kv/
Diwal.h75 off_t noff; member
Diwal.c243 static iwrc _oncopy(struct IWDLSNR *self, off_t off, off_t len, off_t noff, int flags) { in _oncopy() argument
252 .noff = noff in _oncopy()
495 memmove(mm + wb.noff, mm + wb.off, (size_t) wb.len); in _rollforward_exl()
Diwkv.c995 off_t noff = coff + kvp->len; in KSORT_INIT() local
996 if (kvp->off > noff) { in KSORT_INIT()
997 assert(noff <= (1ULL << kb->szpow) && kvp->len <= noff); in KSORT_INIT()
999 rc = dlsnr->onwrite(dlsnr, blkend - noff, wp - kvp->off, kvp->len, 0); in KSORT_INIT()
1001 memmove(wp - noff, wp - kvp->off, kvp->len); in KSORT_INIT()
1002 kvp->off = noff; in KSORT_INIT()
1110 off_t noff; // offset of new kvpair from end of block in _kvblk_addkv() local
1139 noff = kb->maxoff + psz; in _kvblk_addkv()
1140 rsz = psz + IW_VNUMSIZE(noff) + IW_VNUMSIZE(psz); in _kvblk_addkv()
1189 kvp->off = noff; in _kvblk_addkv()
[all …]
/third_party/littlefs/
Dlfs.c1355 lfs_off_t noff = lfs_min(end - off, 0x3fe) + off; in lfs_dir_commitcrc() local
1356 if (noff < end) { in lfs_dir_commitcrc()
1357 noff = lfs_min(noff, end - 2*sizeof(uint32_t)); in lfs_dir_commitcrc()
1364 commit->block, noff, &tag, sizeof(tag)); in lfs_dir_commitcrc()
1371 tag = LFS_MKTAG(LFS_TYPE_CRC + reset, 0x3ff, noff - off); in lfs_dir_commitcrc()
1404 lfs_off_t noff = off1; in lfs_dir_commitcrc() local
1407 for (lfs_off_t i = off; i < noff+sizeof(uint32_t); i++) { in lfs_dir_commitcrc()
1417 NULL, &lfs->rcache, noff+sizeof(uint32_t)-i, in lfs_dir_commitcrc()
1432 off = lfs_min(end - noff, 0x3fe) + noff; in lfs_dir_commitcrc()
1436 noff = off + sizeof(uint32_t); in lfs_dir_commitcrc()
[all …]
/third_party/mesa3d/docs/drivers/freedreno/
Dir3-notes.rst240 split_0 [label="split\noff=0"];
242 split_1 [label="split\noff=1"];
244 split_2 [label="split\noff=2"];
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java2173 int ioff, noff = offsets.length; in TestUsingSearchCollator() local
2183 if ( ioff < noff ) { in TestUsingSearchCollator()
2194 if ( ioff < noff ) { in TestUsingSearchCollator()
2199 ioff = noff; in TestUsingSearchCollator()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/search/
DSearchTest.java2176 int ioff, noff = offsets.length; in TestUsingSearchCollator() local
2186 if ( ioff < noff ) { in TestUsingSearchCollator()
2197 if ( ioff < noff ) { in TestUsingSearchCollator()
2202 ioff = noff; in TestUsingSearchCollator()