Searched defs:offs (Results 1 - 25 of 76) sorted by relevance

1234

/freebsd-head/usr.sbin/dumpcis/
H A Dreadcis.h41 off_t offs; member in struct:tuple_list
H A Dreadcis.c199 off_t offs; local
216 offs = (uint32_t)tpl32(tp->data);
219 offs, flag ? "Attribute" : "Common");
224 if (offs > 0 && offs < 32 * 1024 && ck_linktarget(fd, offs, flag)) {
225 tl = read_one_tuplelist(fd, flag, offs);
250 read_one_tuplelist(int fd, int flags, off_t offs) argument
260 if (tl->offs == offs
335 ck_linktarget(int fd, off_t offs, int flag) argument
[all...]
/freebsd-head/lib/libusbhid/
H A Ddata.c49 int i, end, offs; local
66 offs = hpos / 8;
67 end = (hpos + hsize) / 8 - offs;
70 data |= buf[offs + i] << (i*8);
94 int offs; local
115 offs = hpos / 8;
116 end = (hpos + hsize) / 8 - offs;
119 buf[offs + i] = (buf[offs + i] & (mask >> (i*8))) |
/freebsd-head/contrib/mandoc/
H A Dman.c44 man_parseln(struct roff_man *man, int ln, char *buf, int offs) argument
50 return roff_getcontrol(man->roff, buf, &offs) ?
51 man_pmacro(man, ln, buf, offs) :
52 man_ptext(man, ln, buf, offs);
74 man_descope(struct roff_man *man, int line, int offs, char *start) argument
96 roff_body_alloc(man, line, offs, man->last->tok);
101 man_ptext(struct roff_man *man, int line, char *buf, int offs) argument
109 roff_word_alloc(man, line, offs, buf + offs);
110 man_descope(man, line, offs, bu
177 man_pmacro(struct roff_man *man, int ln, char *buf, int offs) argument
[all...]
H A Dtbl_opts.c123 tbl_option(struct tbl_node *tbl, int ln, const char *p, int *offs) argument
127 pos = *offs;
133 *offs = pos + 1;
H A Dmdoc.c60 mdoc_parseln(struct roff_man *mdoc, int ln, char *buf, int offs) argument
77 return roff_getcontrol(mdoc->roff, buf, &offs) ?
78 mdoc_pmacro(mdoc, ln, buf, offs) :
79 mdoc_ptext(mdoc, ln, buf, offs);
163 mdoc_ptext(struct roff_man *mdoc, int line, char *buf, int offs) argument
184 line, offs, &offs, buf);
195 for (c = end = buf + offs; *c; c++) {
238 if (buf[offs] == '\0' && (mdoc->flags & ROFF_NOFILL) == 0) {
255 roff_elem_alloc(mdoc, line, offs, ROFF_s
305 mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, int offs) argument
[all...]
/freebsd-head/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_lineno.c73 dwarf_lne_set_address(Dwarf_P_Debug dbg, Dwarf_Addr offs, Dwarf_Unsigned symndx, argument
91 ln->ln_addr = offs;
/freebsd-head/sys/mips/nlm/
H A Dboard_eeprom.c96 nlm_board_eeprom_read(int node, int bus, int addr, int offs, uint8_t *buf, argument
127 if (oc_wr_cmd(offs, OC_COMMAND_WRITE)) {
/freebsd-head/sys/cddl/dev/fbt/aarch64/
H A Dfbt_isa.c90 int offs; local
134 offs = (*instr & B_DATA_MASK);
135 offs *= 4;
136 target = (instr + offs);
/freebsd-head/sys/contrib/zlib/
H A Dinftrees.c59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local
141 offs[1] = 0;
143 offs[len + 1] = offs[len] + count[len];
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
/freebsd-head/contrib/llvm-project/clang/include/clang/Edit/
H A DFileOffset.h24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) {} argument
/freebsd-head/contrib/libexecinfo/
H A Dbacktrace.c77 rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...) argument
83 if (*buf && offs < *bufsiz) {
88 len = vsnprintf(*buf + offs, *bufsiz - offs, fmt, ap);
91 if (len < 0 || (size_t)len + 1 < *bufsiz - offs)
95 nbufsiz = MAX(offs, *bufsiz) + 512;
114 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, argument
118 size_t o = offs;
152 return o - offs;
156 format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs, argument
194 size_t offs = len * sizeof(char *); local
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c161 size_t offs, count; local
164 offs = 4;
168 offs = 2;
174 if (strcmp(f[i].name, buf + offs) == 0)
/freebsd-head/contrib/netbsd-tests/lib/libc/time/
H A Dt_strptime.c104 long offs; member in struct:__anon38
223 ztest1(zt[i].name, fmt, zt[i].offs);
/freebsd-head/sys/arm/freescale/imx/
H A Dimx_wdog.c91 RD2(struct imx_wdog_softc *sc, bus_size_t offs) argument
94 return (bus_read_2(sc->sc_res[MEMRES], offs));
98 WR2(struct imx_wdog_softc *sc, bus_size_t offs, uint16_t val) argument
101 bus_write_2(sc->sc_res[MEMRES], offs, val);
/freebsd-head/sys/mips/beri/
H A Dberi_iommu.c70 uint32_t offs; member in struct:beri_iommu_softc
/freebsd-head/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c118 uint32_t offs; local
141 offs = agg->dtag_base;
143 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
198 rec.dtrd_offset -= offs;
/freebsd-head/sys/dev/iwm/
H A Dif_iwm_pcie_trans.c214 int offs, ret = 0; local
219 for (offs = 0; offs < dwords; offs++)
220 vals[offs] = IWM_READ(sc, IWM_HBUS_TARG_MEM_RDAT);
233 int offs; local
239 for (offs = 0; offs < dwords; offs++) {
240 uint32_t val = vals ? vals[offs]
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp225 bool Commit::canInsert(SourceLocation loc, FileOffset &offs) { argument
245 offs = FileOffset(locInfo.first, locInfo.second);
246 return canInsertInOffset(loc, offs);
249 bool Commit::canInsertAfterToken(SourceLocation loc, FileOffset &offs, argument
279 offs = FileOffset(locInfo.first, locInfo.second);
280 return canInsertInOffset(loc, offs);
H A DEditedSource.cpp338 SourceLocation Loc, FileOffset offs,
346 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid);
350 unsigned begin = offs.getOffset();
383 StringRef text, FileOffset offs, unsigned len,
386 assert(offs.getFID().isValid());
387 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID());
388 Loc = Loc.getLocWithOffset(offs.getOffset());
392 adjustRemoval(SM, LangOpts, Loc, offs, len, text);
426 FileOffset offs = I->first;
428 assert(offs >
337 adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts, SourceLocation Loc, FileOffset offs, unsigned &len, StringRef &text) argument
[all...]
/freebsd-head/tests/sys/fs/fusefs/
H A Dread.cc876 off_t offs; local
888 for (offs = 0; offs < bufsize; offs += clustersize) {
889 len = std::min((size_t)clustersize, (size_t)(filesize - offs));
890 expect_read(ino, offs, len, len, contents + offs);
H A Dio.cc224 void do_ftruncate(off_t offs) argument
226 ASSERT_EQ(0, ftruncate(m_test_fd, offs)) << strerror(errno);
227 ASSERT_EQ(0, ftruncate(m_control_fd, offs)) << strerror(errno);
228 m_filesize = offs;
231 void do_mapread(ssize_t size, off_t offs) argument
238 pg_offset = offs & page_mask;
242 offs - pg_offset);
248 ASSERT_EQ(size, pread(m_control_fd, control_buf, size, offs))
251 compare((void*)((char*)p + pg_offset), control_buf, offs, size);
257 void do_read(ssize_t size, off_t offs) argument
281 do_mapwrite(ssize_t size, off_t offs) argument
318 do_write(ssize_t size, off_t offs) argument
[all...]
/freebsd-head/libexec/rtld-elf/aarch64/
H A Dreloc.c150 Elf_Addr offs; local
153 offs = 0;
159 offs = def->st_value;
168 offs += rela->r_addend;
173 where[1] = obj->tlsoffset + offs;
177 where[1] = reloc_tlsdesc_alloc(obj->tlsindex, offs);
/freebsd-head/sys/cddl/dev/dtrace/mips/
H A Ddtrace_subr.c250 int16_t offs; local
257 offs = (invop & LDSD_DATA_MASK);
258 sp = (register_t *)((uint8_t *)frame->sp + offs);
/freebsd-head/sys/cddl/dev/dtrace/aarch64/
H A Ddtrace_subr.c265 int offs; local
278 offs = (data >> OFFSET_SHIFT) & OFFSET_MASK;
282 if (offs >> (OFFSET_SIZE - 1))
283 sp -= (~offs & OFFSET_MASK) + 1;
285 sp += (offs);
292 if (offs >> (OFFSET_SIZE - 1))
293 sp -= (~offs & OFFSET_MASK) + 1;
295 sp += (offs);

Completed in 148 milliseconds

1234