Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 18 of 18) sorted by relevance

/freebsd-12-stable/contrib/mandoc/
Dmdoc_macro.c245 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) in lookup() argument
258 mandoc_msg(MANDOCERR_MACRO_CALL, line, ppos, "%s", p); in lookup()
405 find_pending(struct roff_man *mdoc, enum roff_tok tok, int line, int ppos, in find_pending() argument
426 line, ppos, "%s breaks %s", in find_pending()
428 mdoc_endbody_alloc(mdoc, line, ppos, in find_pending()
520 ntok = buf[ppos] == '"' || parsed == 0 || in macro_or_word()
522 lookup(mdoc, tok, line, ppos, p); in macro_or_word()
525 dword(mdoc, line, ppos, p, DELIM_MAX, tok == TOKEN_NONE || in macro_or_word()
532 (*mdoc_macro(ntok)->fp)(mdoc, ntok, line, ppos, pos, buf); in macro_or_word()
638 line, ppos, "%s breaks %s", in blk_exp_close()
[all …]
Dman_macro.c229 line, ppos, "RE %d", target); in blk_close()
252 line, ppos, "%s", roff_name[tok]); in blk_close()
255 roff_elem_alloc(man, line, ppos, ROFF_br); in blk_close()
274 roff_word_alloc(man, line, ppos, buf + *pos); in blk_close()
290 roff_elem_alloc(man, line, ppos, tok); in blk_close()
306 roff_block_alloc(man, line, ppos, tok); in blk_exp()
307 head = roff_head_alloc(man, line, ppos, tok); in blk_exp()
328 roff_body_alloc(man, line, ppos, tok); in blk_exp()
349 roff_block_alloc(man, line, ppos, tok); in blk_imp()
350 n = roff_head_alloc(man, line, ppos, tok); in blk_imp()
[all …]
Dman.c183 int ppos; in man_pmacro() local
188 ppos = offs; in man_pmacro()
193 tok = roffhash_find(man->manmac, buf + ppos, sz); in man_pmacro()
195 mandoc_msg(MANDOCERR_MACRO, ln, ppos, "%s", buf + ppos - 1); in man_pmacro()
248 (*man_macro(tok)->fp)(man, tok, ln, ppos, &offs, buf); in man_pmacro()
272 roff_body_alloc(man, ln, ppos, man->last->tok); in man_pmacro()
Droff.c156 int ppos, /* original pos in buffer */ \
1832 int ppos; /* original offset in buf->buf */ in roff_parseln() local
1835 ppos = pos = *offs; in roff_parseln()
1881 if (r->eqn != NULL && strncmp(buf->buf + ppos, ".EN", 3)) { in roff_parseln()
1882 eqn_read(r->eqn, buf->buf + ppos); in roff_parseln()
1886 tbl_read(r->tbl, ln, buf->buf, ppos); in roff_parseln()
1911 return (*roffs[t].sub)(r, t, buf, ln, ppos, pos, offs); in roff_parseln()
1918 t = roff_parse(r, buf->buf, &pos, ln, ppos); in roff_parseln()
2005 roff_parse(struct roff *r, char *buf, int *pos, int ln, int ppos) in roff_parse() argument
2019 maclen = roff_getname(r, &cp, ln, ppos); in roff_parse()
[all …]
Dlibman.h25 int ppos, \
Dlibmdoc.h26 int ppos, \
/freebsd-12-stable/usr.sbin/spi/
Dspi.c388 const char *ppos; in interpret_command_bytes() local
402 ppos = parg; in interpret_command_bytes()
404 while (*ppos) { in interpret_command_bytes()
405 while (*ppos && *ppos <= ' ') { in interpret_command_bytes()
406 ppos++; /* skip (optional) leading white space */ in interpret_command_bytes()
409 if (!*ppos) in interpret_command_bytes()
412 ch = hexval(*(ppos++)); in interpret_command_bytes()
413 if (ch < 0 || !*ppos) { /* must be valid pair of hex characters */ in interpret_command_bytes()
418 ch2 = hexval(*(ppos++)); in interpret_command_bytes()
/freebsd-12-stable/sys/contrib/vchiq/interface/vchiq_arm/
Dvchiq_debugfs.c125 size_t count, loff_t *ppos) in debugfs_log_write() argument
150 *ppos += count; in debugfs_log_write()
234 size_t count, loff_t *ppos) in debugfs_trace_write() argument
258 *ppos += count; in debugfs_trace_write()
Dvchiq_arm.c1581 size_t count, loff_t *ppos) in vchiq_read() argument
1587 context.offset = *ppos; in vchiq_read()
1591 *ppos += context.actual; in vchiq_read()
/freebsd-12-stable/sys/fs/ext2fs/
Dext2_extents.c378 int error, depth, i, ppos, alloc; in ext4_ext_find_extent() local
383 ppos = 0; in ext4_ext_find_extent()
408 ext4_ext_binsearch_index(&path[ppos], block); in ext4_ext_find_extent()
409 blk = ext4_ext_index_pblock(path[ppos].ep_index); in ext4_ext_find_extent()
410 path[ppos].ep_depth = i; in ext4_ext_find_extent()
411 path[ppos].ep_ext = NULL; in ext4_ext_find_extent()
420 ppos++; in ext4_ext_find_extent()
421 if (ppos > depth) { in ext4_ext_find_extent()
429 ext4_ext_fill_path_bdata(&path[ppos], bp, blk); in ext4_ext_find_extent()
432 eh = ext4_ext_block_header(path[ppos].ep_data); in ext4_ext_find_extent()
[all …]
/freebsd-12-stable/contrib/wpa/src/eap_peer/
Dikev2.c203 const u8 *pend, *ppos; in ikev2_parse_proposal() local
250 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
252 if (p->spi_size > pend - ppos) { in ikev2_parse_proposal()
259 ppos, p->spi_size); in ikev2_parse_proposal()
260 ppos += p->spi_size; in ikev2_parse_proposal()
280 int tlen = ikev2_parse_transform(prop, ppos, pend); in ikev2_parse_proposal()
283 ppos += tlen; in ikev2_parse_proposal()
286 if (ppos != pend) { in ikev2_parse_proposal()
/freebsd-12-stable/contrib/wpa/src/eap_server/
Dikev2.c213 const u8 *pend, *ppos; in ikev2_parse_proposal() local
257 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
259 if (p->spi_size > pend - ppos) { in ikev2_parse_proposal()
266 ppos, p->spi_size); in ikev2_parse_proposal()
267 ppos += p->spi_size; in ikev2_parse_proposal()
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend); in ikev2_parse_proposal()
289 ppos += tlen; in ikev2_parse_proposal()
292 if (ppos != pend) { in ikev2_parse_proposal()
/freebsd-12-stable/usr.bin/gzip/
Dunlz.c284 off_t pos, ppos, spos, dict_size; member
305 lz->ppos += lz->pos; in lz_flush()
335 lz->pos = lz->ppos = lz->spos = 0; in lz_create()
377 return lz->ppos + lz->pos; in lz_get_data_position()
/freebsd-12-stable/usr.bin/at/
Dat.c213 char *ap, *ppos, *mailname; in writefile() local
237 ppos = atfile + strlen(ATJOB_DIR); in writefile()
268 sprintf(ppos, "%c%5lx%8lx", queue, in writefile()
271 for(ap=ppos; *ap != '\0'; ap ++) in writefile()
/freebsd-12-stable/sys/compat/linuxkpi/common/src/
Dlinux_seq_file.c46 seq_read(struct linux_file *f, char *ubuf, size_t size, off_t *ppos) in seq_read() argument
/freebsd-12-stable/contrib/wpa/src/radius/
Dradius.c985 u8 *plain, *ppos, *res; in decrypt_ms_key() local
1010 ppos = plain = os_malloc(plen); in decrypt_ms_key()
1037 *ppos++ = *pos++ ^ hash[i]; in decrypt_ms_key()
/freebsd-12-stable/sys/dev/bxe/
Decore_sp.c1383 struct ecore_vlan_mac_registry_elem **ppos) in ecore_vlan_mac_restore() argument
1390 *ppos = NULL; in ecore_vlan_mac_restore()
1395 if (*ppos == NULL) in ecore_vlan_mac_restore()
1396 *ppos = ECORE_LIST_FIRST_ENTRY(&o->head, in ecore_vlan_mac_restore()
1400 *ppos = ECORE_LIST_NEXT(*ppos, link, in ecore_vlan_mac_restore()
1403 pos = *ppos; in ecore_vlan_mac_restore()
1407 *ppos = NULL; in ecore_vlan_mac_restore()
Decore_sp.h880 struct ecore_vlan_mac_registry_elem **ppos);