Searched refs:off (Results 1 - 25 of 1123) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dmemset-2.c38 void check (int off, int len, int ch) argument
44 for (i = 0; i < off; i++, q++)
59 int off; local
63 for (off = 0; off < MAX_OFFSET; off++)
67 p = memset (u.buf + off, '\0', 1);
68 if (p != u.buf + off) abort ();
69 check (off, 1, '\0');
71 p = memset (u.buf + off,
[all...]
H A Dmemset-1.c34 int off, len, i; local
37 for (off = 0; off < MAX_OFFSET; off++)
43 p = memset (u.buf + off, '\0', len);
44 if (p != u.buf + off)
48 for (i = 0; i < off; i++, q++)
60 p = memset (u.buf + off, A, len);
61 if (p != u.buf + off)
65 for (i = 0; i < off;
[all...]
H A Dstrlen-1.c33 size_t off, len, len2, i; local
36 for (off = 0; off < MAX_OFFSET; off++)
40 for (i = 0; i < off; i++)
50 p = u.buf + off;
/openbsd-current/sys/dev/pci/drm/include/linux/
H A Dio-mapping.h15 io_mapping_map_wc(struct io_mapping *map, unsigned long off, unsigned long size) argument
17 return ((uint8_t *)map->iomem + off);
26 io_mapping_map_local_wc(struct io_mapping *map, unsigned long off) argument
28 return ((uint8_t *)map->iomem + off);
37 io_mapping_map_atomic_wc(struct io_mapping *map, unsigned long off) argument
39 return ((uint8_t *)map->iomem + off);
/openbsd-current/gnu/llvm/lld/MachO/
H A DEhFrame.cpp21 uint64_t EhReader::readLength(size_t *off) const {
22 const size_t errOff = *off;
23 if (*off + 4 > data.size())
25 uint64_t len = read32le(data.data() + *off);
26 *off += 4;
29 if (*off + 8 > data.size())
31 len = read64le(data.data() + *off);
32 *off += 8;
34 if (*off + len > data.size())
39 void EhReader::skipValidLength(size_t *off) cons
61 readPointer(size_t *off, uint8_t size) const argument
109 createSubtraction(PointerUnion<Symbol *, InputSection *> a, PointerUnion<Symbol *, InputSection *> b, uint64_t off, uint8_t length, SmallVectorImpl<Reloc> *newRelocs) argument
126 makePcRel(uint64_t off, PointerUnion<Symbol *, InputSection *> target, uint8_t length) argument
132 makeNegativePcRel( uint64_t off, PointerUnion<Symbol *, InputSection *> target, uint8_t length) argument
[all...]
H A DEhFrame.h61 uint64_t readLength(size_t *off) const;
63 void skipValidLength(size_t *off) const;
64 uint8_t readByte(size_t *off) const;
65 uint32_t readU32(size_t *off) const;
66 uint64_t readPointer(size_t *off, uint8_t size) const;
67 StringRef readString(size_t *off) const;
68 void skipLeb128(size_t *off) const;
95 // For the next two methods, let `PC` denote `isec address + off`.
97 void makePcRel(uint64_t off,
101 void makeNegativePcRel(uint64_t off,
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dkod-cisco.c30 /* Define this to turn off communication with target. */
135 int off = 0; /* Where we are in the string. */
184 off += 4;
188 count = strtol (&buffer[off], &s_end, 16);
189 if (s_end - &buffer[off] != 2 || buffer[off + 2] != ',')
195 off += 3;
198 if ((buffer[off] != '0' && buffer[off] != '1')
199 || buffer[off
134 int off = 0; /* Where we are in the string. */ local
251 int off = 0; local
[all...]
H A Dalpha-linux-tdep.c68 long i, off; local
74 off = alpha_linux_sigtramp_offset_1 (pc);
75 if (off < 0)
79 pc -= off;
82 if (i == off)
88 return off;
102 long off; local
107 off = alpha_linux_sigtramp_offset (pc);
108 gdb_assert (off >= 0);
119 if (alpha_read_insn (pc - off
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Denum3.C9 typedef enum{on, off} TOGGLE; enumerator in enum:__anon6668
16 virtual void off(void) { toggle = on; };// ERROR - .* function in class:field
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/
H A Dscal.c4 write_at (addr, off, val)
6 int off;
10 addr[off] = val;
/openbsd-current/regress/usr.sbin/vmd/diskfmt/
H A Dvioscribble.c69 fill(size_t off, char *buf, size_t len) argument
73 /* use the top bits of off, since we can guess at where we went wrong. */
75 buf[i] = (off >> 8);
83 off_t len, off, qcsz, rawsz; local
101 off = (random() % DISKSZ);
103 fill(off, buf, sizeof buf);
104 if (qcowfile.pwrite(qcowfile.p, buf, len, off) == -1)
105 printf("iter %d: unable to write at %llx\n", i, off);
106 rawfile.pwrite(rawfile.p, buf, len, off);
108 if (qcowfile.pread(qcowfile.p, buf, len, off)
[all...]
/openbsd-current/sys/crypto/
H A Dcriov.c35 cuio_copydata(struct uio *uio, int off, int len, caddr_t cp) argument
41 if (off < 0)
42 panic("cuio_copydata: off %d < 0", off);
45 while (off > 0) {
48 if (off < iov->iov_len)
50 off -= iov->iov_len;
57 count = min(iov->iov_len - off, len);
58 bcopy(((caddr_t)iov->iov_base) + off, cp, count);
61 off
68 cuio_copyback(struct uio *uio, int off, int len, const void *_cp) argument
102 cuio_getptr(struct uio *uio, int loc, int *off) argument
127 cuio_apply(struct uio *uio, int off, int len, int (*f)(caddr_t, caddr_t, unsigned int), caddr_t fstate) argument
[all...]
/openbsd-current/gnu/usr.bin/perl/ext/SDBM_File/
H A Dutil.c28 int off; local
37 off = PBLKSIZ;
39 if (ino[0] > off || ino[1] > off ||
42 off = ino[1];
H A Ddbd.c74 int off; local
77 off = PBLKSIZ;
80 for (n = ino[i]; n < off; n++)
83 off = ino[i];
85 for (n = ino[i + 1]; n < off; n++)
87 off = ino[i + 1];
96 int off; local
99 off = PBLKSIZ;
101 for (n = ino[i]; n < off; n++)
105 off
[all...]
H A Dpair.c51 int off; local
55 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
56 free = off - (n + 1) * sizeof(short);
68 int off; local
71 off = ((n = ino[0]) > 0) ? ino[n] : PBLKSIZ;
75 off -= key.dsize;
76 (void) memcpy(pag + off, key.dptr, key.dsize);
77 ino[n + 1] = off;
81 off -= val.dsize;
82 (void) memcpy(pag + off, va
133 int off; local
219 int off = PBLKSIZ; local
238 int off = PBLKSIZ; local
290 int off; local
[all...]
/openbsd-current/lib/libradius/
H A Dradius_userpass.c45 size_t off; local
52 for (off = 0; off < plen; off += sizeof(p)) {
53 c = ((char *)cipher) + off;
55 strncpy(p, plain + off, sizeof(p)); /* not strlcpy() */
58 if (off == 0)
67 *clen = off;
77 size_t off; local
87 for (off
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Di386-memset-1.c37 int off, len, i; local
40 for (off = 0; off < MAX_OFFSET; off++)
46 p = memset (u.buf + off, '\0', len);
47 if (p != u.buf + off)
51 for (i = 0; i < off; i++, q++)
63 p = memset (u.buf + off, A, len);
64 if (p != u.buf + off)
68 for (i = 0; i < off;
[all...]
/openbsd-current/regress/sys/kern/exec_self/
H A Dexec_self.c26 vaddr_t va, off; local
32 off = va & (pgsz - 1);
35 if (madvise((void *)(va - off), sizeof(blob) + (off > 0 ? pgsz : 0),
/openbsd-current/sys/arch/amd64/stand/libsa/
H A Dpxeboot.h43 #define SEGOFF2FLAT(seg, off) ((void *)((((u_int32_t)(seg))<<4) + \
44 ((u_int32_t)(off))))
/openbsd-current/sys/arch/i386/stand/libsa/
H A Dpxeboot.h43 #define SEGOFF2FLAT(seg, off) ((void *)((((u_int32_t)(seg))<<4) + \
44 ((u_int32_t)(off))))
/openbsd-current/usr.bin/gprof/
H A Dmips64.c75 int off; local
85 off = pc - s_lowpc;
86 op = *(unsigned long *)&textspace[off];
92 off = (op & 0x03ffffff) << 2;
93 destpc = (pc & 0xf0000000) | off;
H A Di386.c31 #define iscall(off) ((*(u_char *)&textspace[off]) == 0xE8)
40 int off; local
55 off = pc - s_lowpc;
57 if (iscall(off)) {
58 destpc = *(unsigned long *)&textspace[off + 1] + off + 5;
/openbsd-current/sys/arch/sparc64/sparc64/
H A Din4_cksum.c94 in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) argument
124 while (m && off > 0) {
125 if (m->m_len > off)
127 off -= m->m_len;
130 return (in_cksum_internal(m, len, off, sum));
/openbsd-current/lib/libc/stdio/
H A Dgetdelim.c50 size_t len, newlen, off; local
65 off = 0;
83 if (off > SSIZE_MAX || len + 1 > SSIZE_MAX - off) {
87 newlen = off + len + 1; /* reserve space for NUL terminator */
113 (void)memcpy((*buf + off), fp->_p, len);
117 off += len;
123 if (off == 0)
127 *(*buf + off) = '\0';
128 return off;
[all...]
/openbsd-current/usr.bin/nm/
H A Dutil.h8 #define MMAP(ptr, len, prot, flags, fd, off) do { \
9 if ((ptr = mmap(NULL, len, prot, flags, fd, off)) == MAP_FAILED) { \
16 } else if (pread(fd, ptr, len, off) != len) { \

Completed in 183 milliseconds

1234567891011>>