Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/login/
Dutmp_file.c39 static off64_t file_offset; variable
49 if (file_offset <= 0) in matches_last_entry()
151 file_offset = 0; in __libc_setutent()
172 file_offset); in read_last_entry()
181 file_offset += sizeof (buffer); in read_last_entry()
379 file_offset -= sizeof (last_entry); in __libc_pututline()
412 write_offset = file_offset - sizeof (struct utmp); in __libc_pututline()
440 file_offset = write_offset + sizeof (struct utmp); in __libc_pututline()
/glibc-2.36/nss/
Dmakedb.c739 uint64_t file_offset = (sizeof (struct nss_db_header) in write_output() local
741 header = alloca (file_offset); in write_output()
745 header->valstroffset = file_offset; in write_output()
752 iov[0].iov_len = file_offset; in write_output()
756 file_offset += iov[1].iov_len; in write_output()
758 size_t keydataoffset = file_offset + nhashentries_total * sizeof (stridx_t); in write_output()
762 assert (file_offset % sizeof (stridx_t) == 0); in write_output()
772 header->dbs[filled_dbs].hashoffset = file_offset; in write_output()
773 file_offset += iov[2 + filled_dbs].iov_len; in write_output()
790 assert (file_offset == (iov[0].iov_len + iov[1].iov_len in write_output()
[all …]
/glibc-2.36/locale/programs/
Dlocarchive.c928 while (GET (sumhashtab[idx].file_offset) != 0) in add_locale()
945 == GET (sumhashtab[idx].file_offset))) in add_locale()
954 (ah, GET (sumhashtab[idx].file_offset), in add_locale()
958 + GET (sumhashtab[idx].file_offset), in add_locale()
961 GET (sumhashtab[idx].file_offset), in add_locale()
965 file_offsets[cnt] = GET (sumhashtab[idx].file_offset); in add_locale()
1056 while (GET (sumhashtab[idx].file_offset) != 0) in add_locale()
1064 SET (sumhashtab[idx].file_offset, file_offsets[cnt]); in add_locale()
1597 uint32_t file_offset; member
1613 if (((const struct dataent *) a)->file_offset in dataentcmp()
[all …]
/glibc-2.36/locale/
Dlocarchive.h67 uint32_t file_offset; member
/glibc-2.36/ChangeLog.old/
DChangeLog.62211 * login/utmp_file.c: Consistently set file_offset to the position
DChangeLog.191375 (__libc_pututline): Likewise. Check for file_offset == -1.