Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mandoc/
H A Dmdoc_macro.c235 lookup(struct mdoc *mdoc, enum mdoct from, int line, int ppos, const char *p) in lookup() argument
246 mdoc->parse, line, ppos, p); in lookup()
457 p = buf + ppos; in macro_or_word()
462 ntok = lookup(mdoc, tok, line, ppos, p); in macro_or_word()
465 dword(mdoc, line, ppos, p, DELIM_MAX, tok == MDOC_MAX || in macro_or_word()
471 mdoc_macro(mdoc, ntok, line, ppos, pos, buf); in macro_or_word()
561 line, ppos, "%s breaks %s", in blk_exp_close()
565 endbody = mdoc_endbody_alloc(mdoc, line, ppos, in blk_exp_close()
598 line, ppos, mdoc_macronames[tok]); in blk_exp_close()
604 mdoc_elem_alloc(mdoc, line, ppos, MDOC_br, NULL); in blk_exp_close()
[all …]
H A Dman_macro.c302 line, ppos, "RE %d", target); in blk_close()
320 line, ppos, man_macronames[tok]); in blk_close()
324 ppos = man->last->pos; in blk_close()
332 blk_imp(man, ntok, line, ppos, pos, buf); in blk_close()
345 man_block_alloc(man, line, ppos, tok); in blk_exp()
346 man_head_alloc(man, line, ppos, tok); in blk_exp()
359 man_body_alloc(man, line, ppos, tok); in blk_exp()
377 man_block_alloc(man, line, ppos, tok); in blk_imp()
378 man_head_alloc(man, line, ppos, tok); in blk_imp()
403 man_body_alloc(man, line, ppos, tok); in blk_imp()
[all …]
H A Droff.c352 int ppos, /* original pos in buffer */ \
1165 int ppos; /* original offset in buf->buf */ in roff_parseln() local
1168 ppos = pos = *offs; in roff_parseln()
1207 return(eqn_read(&r->eqn, ln, buf->buf, ppos, offs)); in roff_parseln()
1209 return(tbl_read(r->tbl, ln, buf->buf, ppos)); in roff_parseln()
1231 return((*roffs[t].sub)(r, t, buf, ln, ppos, pos, offs)); in roff_parseln()
1237 t = roff_parse(r, buf->buf, &pos, ln, ppos); in roff_parseln()
1264 return((*roffs[t].proc)(r, t, buf, ln, ppos, pos, offs)); in roff_parseln()
1294 roff_parse(struct roff *r, char *buf, int *pos, int ln, int ppos) in roff_parse() argument
1307 maclen = roff_getname(r, &cp, ln, ppos); in roff_parse()
[all …]
H A Dman.c443 int i, ppos; in man_pmacro() local
447 ppos = offs; in man_pmacro()
464 ln, ppos, buf + ppos - 1); in man_pmacro()
508 (*man_macros[tok].fp)(man, tok, ln, ppos, &offs, buf); in man_pmacro()
533 man_body_alloc(man, ln, ppos, man->last->tok); in man_pmacro()
H A Dlibman.h43 int ppos, \
H A Dlibmdoc.h52 int ppos, \
H A Dmdoc.c259 mdoc->parse, line, ppos, in mdoc_macro()
266 mdoc->parse, line, ppos, "%s %s", in mdoc_macro()
274 (*mdoc_macros[tok].fp)(mdoc, tok, line, ppos, pos, buf); in mdoc_macro()
/titanic_50/usr/src/lib/libwanbootutil/common/
H A Dkey_util.c198 wbku_find_key(FILE *fp, fpos_t *ppos, wbku_key_attr_t *ka, uint8_t *ekey, in wbku_find_key() argument
238 if (ppos != NULL) { in wbku_find_key()
271 if (ppos != NULL) { in wbku_find_key()
272 *ppos = pos; in wbku_find_key()
294 wbku_write_key(FILE *fp, const fpos_t *ppos, const wbku_key_attr_t *ka, in wbku_write_key() argument
303 if (fsetpos(fp, ppos) != 0) { in wbku_write_key()
/titanic_50/usr/src/lib/libtecla/common/
H A Dexpand.c1047 int ppos; /* The index of a character in path[] */ in ef_expand_special() local
1061 for(spos=ppos=0; ppos < pathlen; ppos++) { in ef_expand_special()
1062 int c = path[ppos]; in ef_expand_special()
1073 if(spos < ppos && _pn_append_to_path(ef->path, path + spos, ppos-spos, 0) in ef_expand_special()
1082 ppos++; in ef_expand_special()
1088 for(envlen=0; envlen<ENV_LEN && ppos < pathlen && in ef_expand_special()
1089 strncmp(path + ppos, FS_DIR_SEP, FS_DIR_SEP_LEN); envlen++) in ef_expand_special()
1090 ef->envnam[envlen] = path[ppos++]; in ef_expand_special()
1125 spos = ppos; in ef_expand_special()
1131 if(spos < ppos && _pn_append_to_path(ef->path, path + spos, ppos-spos, 0) in ef_expand_special()
/titanic_50/usr/src/uts/common/io/
H A Dconsconfig_dacf.c1892 int ppos, i; in consconfig_setmodes() local
1950 for (ppos = 0; ppos < (MAXPATHLEN-8); ppos++) { /* Find first comma */ in consconfig_setmodes()
1951 if ((buf[ppos] == 0) || (buf[ppos] == ',')) in consconfig_setmodes()
1955 if (buf[ppos] != ',') { in consconfig_setmodes()
1962 if (strncmp(buf, speedtab[i].name, ppos) == 0) in consconfig_setmodes()
1978 switch (buf[ppos+1]) { in consconfig_setmodes()
1992 switch (buf[ppos+3]) { in consconfig_setmodes()
2007 switch (buf[ppos+5]) { in consconfig_setmodes()
/titanic_50/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c404 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()
/titanic_50/usr/src/lib/libnisdb/
H A Dldap_map.c1110 int ppos, fpos; in verifyIndexMatch() local
1128 ppos = fpos = 0; in verifyIndexMatch()
1158 pass[ppos++] = x->index.name[i]; in verifyIndexMatch()
1210 for (i = 0; i < ppos; i++) { in verifyIndexMatch()
1214 if (i == ppos) { in verifyIndexMatch()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c1523 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 Decore_sp_verbs.h469 struct ecore_vlan_mac_registry_elem **ppos);