Searched refs:lseek (Results 1 - 25 of 152) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/libunarchive/
H A Dseek_by_jump.c11 if (lseek(archive_handle->src_fd, (off_t) amount, SEEK_CUR) == (off_t) -1) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/tests/
H A Dftruncate.c23 if (lseek(fd, 0, SEEK_END) == LEN) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/src/
H A Dtool_cb_see.c40 both represent the same value. Maximum offset used here when we lseek
73 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET))
79 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR))
88 if(LSEEK_ERROR == lseek(in->fd, offset, whence))
100 /* 64-bit lseek-like function unavailable */
101 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
106 /* 64-bit lseek-like function unavailable */
H A Dsetup.h169 # undef lseek macro
170 # define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence) macro
185 # undef lseek macro
186 # define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence) macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/
H A Drpm2cpio.c47 lseek (rpm_fd, 16 * header.entries, SEEK_CUR); /* Seek past index entries */
48 lseek (rpm_fd, header.size, SEEK_CUR); /* Seek past store */
72 lseek(rpm_fd, (8 - (lseek(rpm_fd, 0, SEEK_CUR) % 8)) % 8, SEEK_CUR);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/zlib-1.2.3/examples/
H A Dgzlog.c13 /* lseek() */
159 if (lseek(log->fd, 0, SEEK_END) == 0) {
167 (void)lseek(log->fd, 0, SEEK_SET);
189 (void)lseek(log->fd, sub_len, SEEK_CUR);
198 log->extra = lseek(log->fd, 0, SEEK_CUR);
207 (void)lseek(log->fd, log->last_off, SEEK_SET);
217 (void)lseek(log->fd, log->last_off + 5, SEEK_SET);
252 (void)lseek(log->fd, log->last_off, SEEK_SET);
258 log->last_off = lseek(log->fd, log->stored, SEEK_CUR);
259 (void)lseek(lo
[all...]
H A Dgzappend.c33 * - Add L to constants in lseek() calls
208 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1)
289 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
329 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in;
338 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
353 lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET);
356 lseek(gz.fd, -1L, SEEK_CUR);
372 lseek(gz.fd, --end, SEEK_SET);
376 lseek(gz.fd, end, SEEK_SET);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/zlib-1.2.3/examples/
H A Dgzlog.c13 /* lseek() */
159 if (lseek(log->fd, 0, SEEK_END) == 0) {
167 (void)lseek(log->fd, 0, SEEK_SET);
189 (void)lseek(log->fd, sub_len, SEEK_CUR);
198 log->extra = lseek(log->fd, 0, SEEK_CUR);
207 (void)lseek(log->fd, log->last_off, SEEK_SET);
217 (void)lseek(log->fd, log->last_off + 5, SEEK_SET);
252 (void)lseek(log->fd, log->last_off, SEEK_SET);
258 log->last_off = lseek(log->fd, log->stored, SEEK_CUR);
259 (void)lseek(lo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dunistd.in.h207 <http://www.opengroup.org/susv3xsh/lseek.html>. */
208 # define lseek rpl_lseek macro
209 extern off_t lseek (int fd, off_t offset, int whence);
212 # undef lseek macro
213 # define lseek(f,o,w) \ macro
214 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \
215 "systems - use gnulib module lseek for portability"), \
216 lseek (f, o, w))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/boot/
H A Dpiggyback.c65 if (lseek(image,i,0) < 0) die("lseek");
79 if (lseek(image,i,0) < 0) die("lseek");
91 if (lseek(image, offset, 0) < 0) die ("lseek");
97 if (lseek(image, 4, 0) < 0) die ("lseek");
102 if (lseek(image, k - start + ((end + 32 + 8191) & ~8191), 0) < 0) die ("lseek");
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dunistd.in.h207 <http://www.opengroup.org/susv3xsh/lseek.html>. */
208 # define lseek rpl_lseek macro
209 extern off_t lseek (int fd, off_t offset, int whence);
212 # undef lseek macro
213 # define lseek(f,o,w) \ macro
214 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \
215 "systems - use gnulib module lseek for portability"), \
216 lseek (f, o, w))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dunistd.in.h207 <http://www.opengroup.org/susv3xsh/lseek.html>. */
208 # define lseek rpl_lseek macro
209 extern off_t lseek (int fd, off_t offset, int whence);
212 # undef lseek macro
213 # define lseek(f,o,w) \ macro
214 (GL_LINK_WARNING ("lseek does not fail with ESPIPE on pipes on some " \
215 "systems - use gnulib module lseek for portability"), \
216 lseek (f, o, w))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_mmap.c36 if ( lseek( ad->ad_df.adf_fd, 0, SEEK_SET ) < 0 ) {
37 perror( "df lseek" );
47 if ( lseek( ad->ad_hf.adf_fd, 0, SEEK_SET ) < 0 ) {
48 perror( "hf lseek" );
79 if ( lseek( ad->ad_df.adf_fd, 0, SEEK_SET ) < 0 ) {
102 if ( lseek( ad->ad_hf.adf_fd, 0, SEEK_SET ) < 0 ) {
H A Dad_write.c31 if ( lseek( ad_fd->adf_fd, offset, SEEK_SET ) < 0 ) {
115 if ((off_t)-1 == (curpos = lseek(fd, 0, SEEK_CUR)) ) {
131 if (lseek(fd, length -1, SEEK_SET) != length -1) {
142 if (curpos != lseek(fd, curpos, SEEK_SET)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/bio/
H A Dbio_lcl.h26 #define UP_lseek lseek
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/utils/
H A Dmkbugboot.c63 lseek(in_fd, ELF_HEADER_SIZE, SEEK_SET);
129 lseek(bugboot_fd, HEADER_SIZE, SEEK_SET);
135 lseek(bugboot_fd, 0, SEEK_SET);
141 lseek(bugboot_fd, 0, SEEK_END);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_mmap.c36 if ( lseek( ad->ad_df.adf_fd, 0, SEEK_SET ) < 0 ) {
37 perror( "df lseek" );
47 if ( lseek( ad->ad_hf.adf_fd, 0, SEEK_SET ) < 0 ) {
48 perror( "hf lseek" );
79 if ( lseek( ad->ad_df.adf_fd, 0, SEEK_SET ) < 0 ) {
102 if ( lseek( ad->ad_hf.adf_fd, 0, SEEK_SET ) < 0 ) {
H A Dad_write.c31 if ( lseek( ad_fd->adf_fd, offset, SEEK_SET ) < 0 ) {
115 if ((off_t)-1 == (curpos = lseek(fd, 0, SEEK_CUR)) ) {
131 if (lseek(fd, length -1, SEEK_SET) != length -1) {
142 if (curpos != lseek(fd, curpos, SEEK_SET)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dpmon.h19 off_t (*lseek) (int, off_t, int); member in struct:callvectors
37 #define pmon_lseek(fd, off, whence) debug_vectors->lseek(fd, off, whence)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dpmon.h19 off_t (*lseek) (int, off_t, int); member in struct:callvectors
37 #define pmon_lseek(fd, off, whence) debug_vectors->lseek(fd, off, whence)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/scripts/kconfig/lxdialog/
H A Dtextbox.c54 if ((file_size = lseek(fd, 0, SEEK_END)) == -1) {
60 if (lseek(fd, 0, SEEK_SET) == -1) {
135 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
141 if (lseek(fd, 0, SEEK_SET) == -1) {
167 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
173 if (lseek(fd, -BUF_SIZE, SEEK_END) == -1) {
321 if ((fpos = lseek(fd, 0, SEEK_CUR)) == -1) {
336 if (lseek(fd, 0, SEEK_SET) == -1) {
344 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR) == -1) {
375 if ((fpos = lseek(f
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/config/
H A Dtextbox.c56 if ((file_size = lseek (fd, 0, SEEK_END)) == -1) {
62 if (lseek (fd, 0, SEEK_SET) == -1) {
150 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
157 if (lseek (fd, 0, SEEK_SET) == -1) {
183 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
190 if (lseek (fd, -BUF_SIZE, SEEK_END) == -1) {
340 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
355 if (lseek (fd, 0, SEEK_SET) == -1) {
363 if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR)
394 if ((fpos = lseek (f
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/boot/
H A Dpiggyback.c100 if (lseek(image,i,0) < 0) die("lseek");
111 if (lseek(image,i,0) < 0) die("lseek");
122 if (lseek(image, offset, 0) < 0) die ("lseek");
130 if (lseek(image, k - start + ((end + 32 + 4095) & ~4095), 0) < 0) die ("lseek");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gdbm-1.8.3/
H A Dupdate.c44 off_t file_pos; /* Return value for lseek. */
46 file_pos = lseek (dbf->desc, 0L, L_SET);
47 if (file_pos != 0) _gdbm_fatal (dbf, "lseek error");
65 off_t file_pos; /* Return value for lseek. */
94 file_pos = lseek (dbf->desc, dbf->header->dir, L_SET);
95 if (file_pos != dbf->header->dir) _gdbm_fatal (dbf, "lseek error");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbwrapper/
H A Dshared.c118 lseek(shared_fd, 0, SEEK_SET);
187 lseek(shared_fd, 0, SEEK_SET);

Completed in 275 milliseconds

1234567