Home
last modified time | relevance | path

Searched refs:nn (Results 1 – 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/cmd/factor/
H A Dfactor.c39 double nn, vv; variable
69 printf("%.0f\n", nn); in main()
78 if((nn<0.0) || (nn>huge)){ in main()
87 vv = 1. + sqrt(nn); in main()
98 if(nn == temp*ii){ in main()
100 nn = nn/ii; in main()
106 if(nn > 1.0){ in main()
119 modf(nn/arg, &temp); in try()
120 if(nn == temp*arg){ in try()
122 nn = nn/arg; in try()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_term.c182 nn = n; in terminal_man()
185 n = nn; in terminal_man()
319 for (i = 0, nn = n->child; nn != NULL; nn = nn->next, i = 1 - i) { in pre_alternate()
528 (nn = nn->next) != NULL && in pre_IP()
603 nn->string != NULL && ! (NODE_LINE & nn->flags) && in pre_TP()
620 nn = n->child; in pre_TP()
621 while (nn != NULL && (nn->flags & NODE_LINE) == 0) in pre_TP()
622 nn = nn->next; in pre_TP()
626 nn = nn->next; in pre_TP()
822 if ((nn = roff_node_prev(n)) == NULL || nn->tok != MAN_SY) in pre_SY()
[all …]
H A Dman_macro.c204 const struct roff_node *nn; in blk_close() local
215 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close()
216 if (nn->tok == ntok && nn->type == ROFFT_BLOCK) in blk_close()
246 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close()
247 if (nn->tok == ntok && nn->type == ROFFT_BLOCK && ! --nrew) in blk_close()
250 if (nn == NULL) { in blk_close()
266 man_unscope(man, nn); in blk_close()
268 if (tok == MAN_RE && nn->head->aux > 0) in blk_close()
269 roff_setreg(man->roff, "an-margin", nn->head->aux, '-'); in blk_close()
289 if (tok == MAN_YS && man->last == nn) { in blk_close()
H A Dman_html.c341 const struct roff_node *nn; in man_alt_pre() local
346 for (i = 0, nn = n->child; nn != NULL; nn = nn->next, i++) { in man_alt_pre()
376 print_text(h, nn->string); in man_alt_pre()
444 struct roff_node *nn; in man_IP_pre() local
450 list_type = list_continues(roff_node_prev(nn), nn); in man_IP_pre()
453 list_type = list_continues(nn, roff_node_next(nn)); in man_IP_pre()
503 nn = n->child; in man_IP_pre()
504 while (nn != NULL && (NODE_LINE & nn->flags) == 0) in man_IP_pre()
505 nn = nn->next; in man_IP_pre()
506 while (nn != NULL) { in man_IP_pre()
[all …]
H A Dmdoc_term.c269 nn = n; in terminal_mdoc()
272 n = nn; in terminal_mdoc()
593 nn = n; in print_bvspace()
596 nn = nn->parent; in print_bvspace()
600 if (nn->tok == MDOC_Sh || nn->tok == MDOC_Ss) in print_bvspace()
705 nn = nn->prev, i++) { in termp_it_pre()
1056 if ((nn = roff_node_prev(n)) != NULL && nn->tok == MDOC__A && in termp__a_pre()
1057 ((nn = roff_node_next(n)) == NULL || nn->tok != MDOC__A)) in termp__a_pre()
1403 for (nn = n->child; nn != NULL; nn = nn->next) { in termp_fa_pre()
1838 (nn = roff_node_next(n)) != NULL && nn->tok == MDOC__A && in termp____post()
[all …]
H A Dmdoc_validate.c1115 for (nn = n; nn != NULL; nn = nn->parent) { in post_tg()
1117 nn = nn->next; in post_tg()
1163 nn = nn->head->child == NULL ? n : nn->head; in post_tg()
1177 nn = nn->head; in post_tg()
1184 nn = nn->body->child == NULL ? n : nn->body; in post_tg()
1194 nn = nn->body->child == NULL ? n : nn->body; in post_tg()
2776 nn = nn->next; in post_dt()
2792 nn->line, nn->pos, "Dt ... %s", nn->string); in post_dt()
2805 if ((nn = nn->next) == NULL) in post_dt()
2814 if ((nn = nn->next) != NULL) in post_dt()
[all …]
H A Dmdoc_html.c608 struct roff_node *nn; in mdoc_fl_pre() local
934 struct roff_node *nn; in mdoc_bd_pre() local
952 for (nn = n; nn != NULL && comp == 0; nn = nn->parent) { in mdoc_bd_pre()
955 if (nn->tok == MDOC_Sh || nn->tok == MDOC_Ss) in mdoc_bd_pre()
1033 for (nn = n->child; nn != NULL; nn = nn->next) { in mdoc_fa_pre()
1483 struct roff_node *nn; in mdoc__x_pre() local
1492 if ((nn = roff_node_prev(n)) != NULL && nn->tok == MDOC__A && in mdoc__x_pre()
1493 ((nn = roff_node_next(n)) == NULL || nn->tok != MDOC__A)) in mdoc__x_pre()
1552 (nn = roff_node_next(n)) != NULL && nn->tok == MDOC__A && in mdoc__x_post()
1553 ((nn = roff_node_next(nn)) == NULL || nn->tok != MDOC__A) && in mdoc__x_post()
[all …]
H A Dmdoc_markdown.c798 struct roff_node *nn; in md_post_pc() local
804 if ((nn = roff_node_next(n)) != NULL) { in md_post_pc()
806 if (nn->tok == n->tok && in md_post_pc()
807 (nn = roff_node_prev(n)) != NULL && in md_post_pc()
808 nn->tok == n->tok) in md_post_pc()
1070 struct roff_node *nn; in md_post_Fa() local
1072 if ((nn = roff_node_next(n)) != NULL && nn->tok == MDOC_Fa) in md_post_Fa()
1094 struct roff_node *nn; in md_post_Fl() local
1097 if (n->child == NULL && (nn = roff_node_next(n)) != NULL && in md_post_Fl()
1098 nn->type != ROFFT_TEXT && (nn->flags & NODE_LINE) == 0) in md_post_Fl()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcharray.c74 int i, n, nn; in ldap_charray_merge() local
82 for ( nn = 0; s[nn] != NULL; nn++ ) { in ldap_charray_merge()
87 (n + nn + 1) * sizeof(char *) ); in ldap_charray_merge()
92 for ( i = 0; i < nn; i++ ) { in ldap_charray_merge()
95 (*a)[n + nn] = NULL; in ldap_charray_merge()
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c69 #define PAD(s, n) { int nn; \
70 for (nn = (n); nn > 20; nn -= 20) \
72 PUT((s), nn); \
756 int nn = decpt - 1; in _doprnt() local
757 if (nn < 0) in _doprnt()
758 nn = -nn; in _doprnt()
759 for (; nn > 9; nn /= 10) in _doprnt()
840 int nn = decpt; in _doprnt() local
848 } while (--nn > 0); in _doprnt()
856 if (prec > nn) { in _doprnt()
[all …]
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c169 for (nn = n; nn > PAD_LEN; nn -= PAD_LEN) \
172 PUT(s, nn); \
364 ssize_t nn; in pad_wide() local
382 for (nn = n; nn > PAD_LEN; nn -= PAD_LEN) { in pad_wide()
1380 int nn; in _wndoprnt() local
1382 nn = exp; in _wndoprnt()
1383 if (nn < 0) in _wndoprnt()
1384 nn = -nn; in _wndoprnt()
1385 for (; nn > 9; nn /= 10) in _wndoprnt()
1479 nn = -nn; in _wndoprnt()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb_name.c158 nb_name_encode(struct mbdata *mbp, struct nb_name *nn) in nb_name_encode() argument
165 bcopy(nn->nn_name, namebuf, NB_NAMELEN); in nb_name_encode()
166 namebuf[NB_NAMELEN-1] = (char)nn->nn_type; in nb_name_encode()
204 if (nn->nn_scope == NULL) { in nb_name_encode()
212 for (p = nn->nn_scope; ; p++) { in nb_name_encode()
H A Dnbns_rq.c183 struct nb_name nn; in nbns_resolvename() local
198 bzero(&nn, sizeof (nn)); in nbns_resolvename()
200 nn.nn_type = NBT_SERVER; in nbns_resolvename()
201 nn.nn_scope = ctx->nb_scope; in nbns_resolvename()
203 rqp->nr_qdname = &nn; in nbns_resolvename()
272 struct nb_name nn; in nbns_getnodestatus() local
282 bzero(&nn, sizeof (nn)); in nbns_getnodestatus()
283 strcpy((char *)nn.nn_name, "*"); in nbns_getnodestatus()
284 nn.nn_scope = ctx->nb_scope; in nbns_getnodestatus()
285 nn.nn_type = NBT_WKSTA; in nbns_getnodestatus()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c387 int nn; in get1101answer() local
389 nn = dn_expand(ansbuf, eom, cp, bp, ep - bp); in get1101answer()
390 if (nn < 0 || !maybe_hnok(pvt->res, bp) || nn != n) { in get1101answer()
403 nn = strlen(bp) + 1; in get1101answer()
404 bp += nn; in get1101answer()
502 int nn, mm; in get1101mask() local
505 for (nn = 0; nn < INADDRSZ; nn++) in get1101mask()
507 if (cp[nn] & (1 << mm)) in get1101mask()
/illumos-gate/usr/src/common/bzip2/
H A Ddecompress.c427 UInt32 nn; in BZ2_decompress() local
428 nn = (UInt32)(nextSym - 1); in BZ2_decompress()
430 if (nn < MTFL_SIZE) { in BZ2_decompress()
433 uc = s->mtfa[pp+nn]; in BZ2_decompress()
434 while (nn > 3) { in BZ2_decompress()
435 Int32 z = pp+nn; in BZ2_decompress()
440 nn -= 4; in BZ2_decompress()
442 while (nn > 0) { in BZ2_decompress()
443 s->mtfa[(pp+nn)] = s->mtfa[(pp+nn)-1]; nn--; in BZ2_decompress()
448 lno = nn / MTFL_SIZE; in BZ2_decompress()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_nisdbquery.c443 int nn, err = 0; in createQuery() local
456 qc[nn].which_index = j; in createQuery()
461 if (qc[nn].index_value == 0) in createQuery()
469 nn++; in createQuery()
472 q[a] = buildQuery(nn, qc); in createQuery()
476 for (a = 0; a < nn; a++) in createQuery()
625 int i, nq, nn; in filterQuery() local
660 new[nn] = q[i]; in filterQuery()
662 attr[nn] = (*objAttr)[i]; in filterQuery()
663 nn++; in filterQuery()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dstk.c510 int nn=0,add=1; in stkgrow() local
521 nn = fp->nalias+1; in stkgrow()
528 cp = newof(dp, char, n, nn*sizeof(char*)); in stkgrow()
535 nn--; in stkgrow()
549 if(fp->nalias=nn) in stkgrow()
552 if(end && nn>add) in stkgrow()
553 memmove(fp->aliases,end,(nn-add)*sizeof(char*)); in stkgrow()
555 fp->aliases[nn-1] = oldbase + roundof(sizeof(struct frame),STK_ALIGN); in stkgrow()
/illumos-gate/usr/src/cmd/localedef/
H A Dcharmap.c283 char *nn; in add_charmap_range() local
284 (void) asprintf(&nn, "%s%0*u", s, ls - si, i); in add_charmap_range()
285 if (nn == NULL) { in add_charmap_range()
290 add_charmap_impl(nn, wc, 1); in add_charmap_range()
/illumos-gate/usr/src/cmd/devfsadm/sparc/
H A Dmisc_link_sparc.c86 char *nn = di_node_name(node); in ddi_other() local
89 if (strcmp(nn, "SUNW,pmc") == 0) { in ddi_other()
91 } else if (strcmp(nn, "SUNW,mic") == 0) { in ddi_other()
/illumos-gate/usr/src/lib/libnsl/netdir/
H A Dnetdir.c213 struct nd_addrlist *nn; /* the results */ in __classic_netdir_getbyname() local
222 nn = (*(t->gbn))(tp, serv); in __classic_netdir_getbyname()
223 if (nn) { in __classic_netdir_getbyname()
224 *addrs = nn; in __classic_netdir_getbyname()
240 nn = (*(t->gbn))(tp, serv); in __classic_netdir_getbyname()
241 if (nn) { in __classic_netdir_getbyname()
242 *addrs = nn; in __classic_netdir_getbyname()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmoddiv.c74 const DWunion nn = {.ll = n}; in __udivmoddi4() local
83 n0 = nn.s.low; in __udivmoddi4()
84 n1 = nn.s.high; in __udivmoddi4()
/illumos-gate/usr/src/cmd/iconv/
H A Dcharmap.c415 char *nn; in add_charmap_range() local
416 (void) asprintf(&nn, "%s%0*u", ssym, ls - si, i); in add_charmap_range()
417 if (nn == NULL) { in add_charmap_range()
422 add_charmap_impl(nn, tmbs, mbs_len, 1); in add_charmap_range()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-lights/
H A Ddisk_lights.c108 char *nn = NULL, *tt = NULL; in get_facility_props() local
116 if (nvlist_lookup_string(fnvl, FM_FMRI_FACILITY_NAME, &nn) != 0) in get_facility_props()
122 *facname = topo_hdl_strdup(hdl, nn); in get_facility_props()
/illumos-gate/usr/src/cmd/diff3/
H A Ddiff3prog.c234 int nn; in number() local
235 nn = 0; in number()
237 nn = nn*10 + *(*lc)++ - '0'; in number()
238 return (nn); in number()
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy4.c273 int *r, n, nn, flag, j, *q1, *q2; in stin() local
284 nn = -maxoff; in stin()
286 for (n = nn; n < new_actsize; ++n) { in stin()
363 nn = new_actsize - ACTSIZE; in stin()

123