/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 245 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 …]
|
H A D | man_macro.c | 229 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 …]
|
H A D | man.c | 183 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()
|
H A D | roff.c | 156 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 …]
|
H A D | libman.h | 25 int ppos, \
|
H A D | libmdoc.h | 26 int ppos, \
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | expand.c | 1046 int ppos; /* The index of a character in path[] */ in ef_expand_special() local 1060 for(spos=ppos=0; ppos < pathlen; ppos++) { in ef_expand_special() 1061 int c = path[ppos]; in ef_expand_special() 1072 if(spos < ppos && _pn_append_to_path(ef->path, path + spos, ppos-spos, 0) in ef_expand_special() 1081 ppos++; in ef_expand_special() 1087 for(envlen=0; envlen<ENV_LEN && ppos < pathlen && in ef_expand_special() 1088 strncmp(path + ppos, FS_DIR_SEP, FS_DIR_SEP_LEN); envlen++) in ef_expand_special() 1089 ef->envnam[envlen] = path[ppos++]; in ef_expand_special() 1124 spos = ppos; in ef_expand_special() 1130 if(spos < ppos && _pn_append_to_path(ef->path, path + spos, ppos-spos, 0) in ef_expand_special()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | consconfig_dacf.c | 1891 int ppos, i; in consconfig_setmodes() local 1949 for (ppos = 0; ppos < (MAXPATHLEN-8); ppos++) { /* Find first comma */ in consconfig_setmodes() 1950 if ((buf[ppos] == 0) || (buf[ppos] == ',')) in consconfig_setmodes() 1954 if (buf[ppos] != ',') { in consconfig_setmodes() 1961 if (strncmp(buf, speedtab[i].name, ppos) == 0) in consconfig_setmodes() 1977 switch (buf[ppos+1]) { in consconfig_setmodes() 1991 switch (buf[ppos+3]) { in consconfig_setmodes() 2006 switch (buf[ppos+5]) { in consconfig_setmodes()
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 404 struct iodev_snapshot *pos, *ppos, *tmp, *ptmp; in choose_iodevs() local 431 ppos = iodevs; in choose_iodevs() 432 while (ppos) { in choose_iodevs() 433 ptmp = ppos; in choose_iodevs() 434 ppos = ppos->is_next; in choose_iodevs() 442 pos = ppos; in choose_iodevs()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_map.c | 1108 int ppos, fpos; in verifyIndexMatch() local 1126 ppos = fpos = 0; in verifyIndexMatch() 1155 pass[ppos++] = x->index.name[i]; in verifyIndexMatch() 1202 for (i = 0; i < ppos; i++) { in verifyIndexMatch() 1206 if (i == ppos) { in verifyIndexMatch()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_sp_verbs.c | 1523 struct ecore_vlan_mac_registry_elem **ppos) in ecore_vlan_mac_restore() argument 1530 *ppos = NULL; in ecore_vlan_mac_restore() 1535 if (*ppos == NULL) in ecore_vlan_mac_restore() 1536 *ppos = ECORE_LIST_FIRST_ENTRY(&o->head, in ecore_vlan_mac_restore() 1540 *ppos = ECORE_LIST_NEXT(*ppos, link, in ecore_vlan_mac_restore() 1543 pos = *ppos; in ecore_vlan_mac_restore() 1547 *ppos = NULL; in ecore_vlan_mac_restore()
|
H A D | ecore_sp_verbs.h | 469 struct ecore_vlan_mac_registry_elem **ppos);
|