Home
last modified time | relevance | path

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

1234

/picolibc-3.7.0-3.6.0/newlib/libc/machine/powerpc/
Dsetjmp.S42 evstdd 1,0(3) # offset 0
43 evstdd 2,8(3) # offset 8
44 evstdd 13,16(3) # offset 16
45 evstdd 14,24(3) # offset 24
46 evstdd 15,32(3) # offset 32
47 evstdd 16,40(3) # offset 40
48 evstdd 17,48(3) # offset 48
49 evstdd 18,56(3) # offset 56
50 evstdd 19,64(3) # offset 64
51 evstdd 20,72(3) # offset 72
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dfmemopen.c168 off_t offset = (off_t) pos; in fmemseeker() local
170 _off64_t offset = (_off64_t) pos; in fmemseeker() local
174 offset += c->pos; in fmemseeker()
176 offset += c->eof; in fmemseeker()
177 if (offset < 0) in fmemseeker()
180 offset = -1; in fmemseeker()
182 else if (offset > (off_t) c->max) in fmemseeker()
185 offset = -1; in fmemseeker()
188 else if ((_fpos_t) offset != offset) in fmemseeker()
191 offset = -1; in fmemseeker()
[all …]
Dopen_memstream.c156 OFF_T offset = (OFF_T) pos; in memseeker() local
159 offset += c->pos; in memseeker()
161 offset += c->eof; in memseeker()
162 if (offset < 0) in memseeker()
165 offset = -1; in memseeker()
167 else if ((OFF_T) (size_t) offset != offset) in memseeker()
170 offset = -1; in memseeker()
173 else if ((_fpos_t) offset != offset) in memseeker()
176 offset = -1; in memseeker()
189 c->pos = offset; in memseeker()
[all …]
Dfopencookie.c144 off_t offset = (off_t) pos; in fcseeker() local
146 _off64_t offset = (_off64_t) pos; in fcseeker() local
150 if (c->seekfn (c->cookie, &offset, whence) < 0 && errno) in fcseeker()
153 else if ((_fpos_t)offset != offset) in fcseeker()
156 offset = -1; in fcseeker()
159 return (_fpos_t) offset; in fcseeker()
169 _off64_t offset = (_off64_t) pos; in fcseeker64() local
172 if (c->seekfn (c->cookie, &offset, whence) < 0 && errno) in fcseeker64()
174 return (_fpos64_t) offset; in fcseeker64()
Dfseek.c86 long offset, in fseek() argument
89 return fseeko ( fp, offset, whence); in fseek()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dstack_reg_va.S76 #define offset $67 macro
119 ai offset, parms, -1 /* offset = parms - 1 */
120 mpyi offset, offset, 16 /* offset = offset * 16 */
121 a ptr, ptr, offset /* ptr = ptr + offset */
130 ai offset, parms, 2 /* offset = parms + 2 */
131 mpyi offset, offset, -16 /* offset = offset * -16 */
132 a ptr, ptr, offset /* ptr = ptr + offset */
Dfseek.c42 long offset; member
51 long offset, in fseek() argument
59 args.offset = offset; in fseek()
Dmmap_ea.c41 flags, int fd, off_t offset) in mmap_ea() argument
49 (size_t) length, prot, flags, fd, offset); in mmap_ea()
58 prot, flags, fd, offset); in mmap_ea()
/picolibc-3.7.0-3.6.0/semihost/
Dlseek.c43 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
45 if (whence == SEEK_CUR && offset == 0) in lseek()
52 offset += flen; in lseek()
68 .field2 = offset in lseek()
73 return offset; in lseek()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dsetenv.c48 int offset; in setenv() local
60 if ((C = _findenv (name, &offset))) in setenv()
103 offset = cnt; in setenv()
112 (*p_environ)[offset] = E; in setenv()
129 int offset; in unsetenv() local
140 while (_findenv (name, &offset)) /* if set multiple times */ in unsetenv()
142 for (P = &(*p_environ)[offset];; ++P) in unsetenv()
Dgetenv.c63 int offset; in getenv() local
65 return _findenv (name, &offset); in getenv()
/picolibc-3.7.0-3.6.0/test/
Dtest-fread-fwrite.c62 test_value(long offset, int generation) in test_value() argument
64 return (uint8_t) my_permute(offset * (generation + 1)); in test_value()
68 fill_buf(long offset, int generation, void *b, size_t len) in fill_buf() argument
72 *bp++ = test_value(offset++, generation); in fill_buf()
76 check_buf(long offset, int generation, void *b, size_t len) in check_buf() argument
80 if (test_value(offset, generation) != *bp++) { in check_buf()
81 return offset; in check_buf()
83 offset++; in check_buf()
119 off_t offset; in main() local
157 offset = 0; in main()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dryu_table.c99 const uint32_t offset = i - base2; in __double_computePow5() local
101 if (offset == 0) { in __double_computePow5()
106 const uint64_t m = DOUBLE_POW5_TABLE[offset]; in __double_computePow5()
119 const uint32_t offset = base2 - i; in __double_computeInvPow5() local
121 if (offset == 0) { in __double_computeInvPow5()
126 const uint64_t m = DOUBLE_POW5_TABLE[offset]; // 5^offset in __double_computeInvPow5()
142 const uint32_t offset = i - base2; in __double_computePow5() local
144 if (offset == 0) { in __double_computePow5()
149 const uint64_t m = DOUBLE_POW5_TABLE[offset]; in __double_computePow5()
168 const uint32_t offset = base2 - i; in __double_computeInvPow5() local
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dlcltime_r.c38 long offset; in localtime_r() local
65 offset = (res->tm_isdst == 1 in localtime_r()
66 ? tz->__tzrule[1].offset in localtime_r()
67 : tz->__tzrule[0].offset); in localtime_r()
69 hours = (int) (offset / SECSPERHOUR); in localtime_r()
70 offset = offset % SECSPERHOUR; in localtime_r()
72 mins = (int) (offset / SECSPERMIN); in localtime_r()
73 secs = (int) (offset % SECSPERMIN); in localtime_r()
/picolibc-3.7.0-3.6.0/semihost/fake/
Dfake_stub.c75 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
78 (void) offset; in lseek()
83 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
85 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/powerpc/
Dpowerpc_stub.c76 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
79 (void) offset; in lseek()
84 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
86 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/m68k/
Dm68k_lseek.c47 lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
49 uint32_t a = offset >> 32; in lseek64()
50 uint32_t b = offset; in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/nios2/
Dnios2_lseek.c47 lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
49 uint32_t a = offset >> 32; in lseek64()
50 uint32_t b = offset; in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/msp430/
Dmsp430-stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
83 (void) offset; in lseek()
88 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/sparc/
Dsparc_stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
83 (void) offset; in lseek()
88 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/mips/
Dmips_stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
83 (void) offset; in lseek()
88 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/x86/
De9_stub.c80 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
83 (void) offset; in lseek()
88 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
90 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/semihost/machine/sh/
Dsh_stub.c81 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
84 (void) offset; in lseek()
89 _off64_t lseek64(int fd, _off64_t offset, int whence) in lseek64() argument
91 return (_off64_t) lseek(fd, (off_t) offset, whence); in lseek64()
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dmemmem.c145 size_t offset = 0; in memmem() local
173 if (m1 <= 15 || memcmp (hs + offset, ne + offset, sizeof (long)) == 0) in memmem()
179 offset = (offset >= sizeof (long) ? offset : m1) - sizeof (long); in memmem()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio64/
Dfseeko64.c91 _off64_t offset, in fseeko64() argument
106 if ((_off_t) offset != offset) in fseeko64()
111 return (_off64_t) fseeko (fp, offset, whence); in fseeko64()
174 offset += curoff; in fseeko64()
231 target = offset; in fseeko64()
237 target = st.st_size + offset; in fseeko64()
331 || seekfn (fp->_cookie, offset, whence) == POS_ERR) in fseeko64()

1234