Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 15 of 15) sorted by relevance

/posix/
A Dtst-truncate-common.c49 do_test_with_offset (off_t offset) in do_test_with_offset() argument
56 if (pwrite (temp_fd, buf, sizeof (buf), offset) != sizeof (buf)) in do_test_with_offset()
58 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + sizeof (buf))) in do_test_with_offset()
61 if (ftruncate (temp_fd, offset + 800) < 0) in do_test_with_offset()
63 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 800)) in do_test_with_offset()
69 if (ftruncate (temp_fd, offset + 1200) < 0) in do_test_with_offset()
71 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 1200)) in do_test_with_offset()
74 if (truncate (temp_filename, offset + 800) < 0) in do_test_with_offset()
76 if (fstat (temp_fd, &st) < 0 || st.st_size != (offset + 800)) in do_test_with_offset()
82 if (truncate (temp_filename, (offset + 1200)) < 0) in do_test_with_offset()
[all …]
A Dwordexp.c438 for (; words[*offset] != '\0'; ++*offset) in parse_glob()
504 --*offset; in parse_glob()
524 for (; words[*offset]; ++(*offset)) in parse_squote()
662 for (; words[*offset]; ++(*offset)) in parse_arith()
1115 for (; words[*offset]; ++(*offset)) in parse_comm()
1213 ++*offset; in parse_param()
1225 if (isalpha (words[*offset]) || words[*offset] == '_') in parse_param()
1316 for (; words[*offset]; ++(*offset)) in parse_param()
1375 --(*offset); in parse_param()
2070 for (; words[*offset]; ++(*offset)) in parse_backtick()
[all …]
A Dtst-posix_fadvise64.c36 off_t offset = UINT32_MAX + 2048LL; in do_test() local
37 if (posix_fadvise (temp_fd, 0, offset, POSIX_FADV_NORMAL) != 0) in do_test()
39 (ssize_t)offset); in do_test()
41 if (posix_fadvise (temp_fd, offset, 0, POSIX_FADV_NORMAL) != 0) in do_test()
43 (ssize_t)offset); in do_test()
A Dtst-regex.c220 size_t offset; in run_test() local
237 offset = 0; in run_test()
239 while (offset < memlen) in run_test()
300 offset = 0; in run_test()
310 while (offset < memlen) in run_test()
363 size_t offset; in run_test_backwards() local
388 offset = memlen; in run_test_backwards()
390 while (offset <= memlen) in run_test_backwards()
396 start = re_search (&re, mem, memlen, offset, -offset, NULL); in run_test_backwards()
446 offset = memlen; in run_test_backwards()
[all …]
A Dtst-mmap-offset.c61 const unsigned long offset = 0xace00000; in do_test_bz18877() local
62 const unsigned long size = offset + length; in do_test_bz18877()
68 addr = mmap (NULL, length, prot, flags, fd, offset); in do_test_bz18877()
90 const int64_t offset = 1ULL << (page_shift + 8 * sizeof (uint32_t)); in do_test_large_offset() local
93 void *addr = mmap64 (NULL, length, prot, flags, fd, offset); in do_test_large_offset()
A Dtst-preadwrite-common.c47 do_test_with_offset (off_t offset) in do_test_with_offset() argument
62 ret = pwrite (fd, buf + 100, 100, offset + 100); in do_test_with_offset()
68 ret = pwrite (fd, buf + 450, 150, offset + 450); in do_test_with_offset()
72 ret = pread (fd, res, sizeof (buf) - 50, offset + 50); in do_test_with_offset()
A Dregex_internal.c581 Idx offset; in re_string_reconstruct() local
602 offset = idx; in re_string_reconstruct()
635 && mid == offset && pstr->offsets[mid] == offset) in re_string_reconstruct()
639 memmove (pstr->mbs, pstr->mbs + offset, pstr->valid_len - offset); in re_string_reconstruct()
640 pstr->valid_len -= offset; in re_string_reconstruct()
643 pstr->offsets[low] = pstr->offsets[low + offset] - offset; in re_string_reconstruct()
686 pstr->valid_len - offset); in re_string_reconstruct()
722 p = raw + offset - 1; in re_string_reconstruct()
803 pstr->mbs += offset; in re_string_reconstruct()
806 pstr->len -= offset; in re_string_reconstruct()
[all …]
A Dpread.c24 __libc_pread (int fd, void *buf, size_t nbytes, off_t offset) in __libc_pread() argument
33 if (buf == NULL || offset < 0) in __libc_pread()
A Dpwrite.c24 __libc_pwrite (int fd, const void *buf, size_t nbytes, off_t offset) in __libc_pwrite() argument
33 if (buf == NULL || offset < 0) in __libc_pwrite()
A Dpread64.c24 __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset) in __libc_pread64() argument
33 if (buf == NULL || offset < 0) in __libc_pread64()
A Dpwrite64.c24 __libc_pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset) in __libc_pwrite64() argument
33 if (buf == NULL || offset < 0) in __libc_pwrite64()
A Dregex_internal.h434 #define re_string_peek_byte(pstr, offset) \ argument
435 ((pstr)->mbs[(pstr)->cur_idx + offset])
A DMakefile78 tst-mmap tst-mmap-offset tst-getaddrinfo tst-truncate \
A Dregexec.c750 __re_size_t offset = match_first - mctx.input.raw_mbs_idx; in re_search_internal() local
751 if (__glibc_unlikely (offset in re_search_internal()
759 offset = match_first - mctx.input.raw_mbs_idx; in re_search_internal()
762 ch = (offset < mctx.input.valid_len in re_search_internal()
763 ? re_string_byte_at (&mctx.input, offset) : 0); in re_search_internal()
A Dtst-regex.input3889 DST information and offset in them.
6320 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
10018 Call munmap with load address added to offset.

Completed in 75 milliseconds