Home
last modified time | relevance | path

Searched refs:norm (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_check.c38 extract_format(char *norm, const char *sfmt, size_t sz) in extract_format() argument
101 (norm[ap * 2] && in extract_format()
102 norm[ap * 2] != '*')) { in extract_format()
108 norm[ap * 2] = '*'; in extract_format()
127 (norm[ap * 2] && in extract_format()
128 norm[ap * 2] != '*')) { in extract_format()
134 norm[ap * 2] = '*'; in extract_format()
254 (norm[arg * 2] && in extract_format()
255 (norm[arg * 2] != conv))) { in extract_format()
260 norm[arg * 2] = conv; in extract_format()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_man.c819 if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { in pre__t()
831 if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T) { in post__t()
915 switch (n->norm->An.auth) { in pre_an()
967 if (n->norm->Bd.type == DISP_unfilled || in pre_bd()
968 n->norm->Bd.type == DISP_literal) in pre_bd()
970 if (n->norm->Bd.comp == 0 && roff_node_prev(n->parent) != NULL) in pre_bd()
972 print_offs(n->norm->Bd.offs, 1); in pre_bd()
985 now = n->norm->Bd.type == DISP_unfilled || in post_bd()
986 n->norm->Bd.type == DISP_literal ? ROFF_nf : ROFF_fi; in post_bd()
1018 switch (n->norm->Bf.font) { in pre_bf()
[all …]
H A Dmdoc_term.c587 if ((bl->tok == MDOC_Bd && bl->norm->Bd.comp) || in print_bvspace()
588 (bl->tok == MDOC_Bl && bl->norm->Bl.comp)) in print_bvspace()
603 nn->parent->parent->norm->Bl.type != LIST_item) in print_bvspace()
615 (bl->norm->Bl.type != LIST_column && in print_bvspace()
616 (bl->norm->Bl.type != LIST_diag || in print_bvspace()
640 type = bl->norm->Bl.type; in termp_it_pre()
672 if (bl->norm->Bl.offs != NULL) { in termp_it_pre()
673 offset = a2width(p, bl->norm->Bl.offs); in termp_it_pre()
694 ncols = bl->norm->Bl.ncols; in termp_it_pre()
707 term_strlen(p, bl->norm->Bl.cols[i])); in termp_it_pre()
[all …]
H A Dmdoc_markdown.c862 switch (n->norm->An.auth) { in md_pre_An()
893 switch (n->norm->Bd.type) { in md_pre_Bd()
926 n->norm->Bl.count = 0; in md_pre_Bl()
927 if (n->norm->Bl.type == LIST_column) in md_pre_Bl()
936 n->norm->Bl.count = 0; in md_post_Bl()
937 if (n->norm->Bl.type == LIST_column) in md_post_Bl()
992 if (n->norm->Es == NULL || in md_pre_En()
993 n->norm->Es->child == NULL) in md_pre_En()
996 md_word(n->norm->Es->child->string); in md_pre_En()
1004 if (n->norm->Es == NULL || in md_post_En()
[all …]
H A Dmdoc_validate.c352 np->parent->parent->norm->Bl.type != LIST_diag)) in mdoc_validate()
647 n->norm->Bl.type = LIST__NONE; in post_bl_norm()
697 if (n->norm->Bl.comp) in post_bl_norm()
700 n->norm->Bl.comp = 1; in post_bl_norm()
707 n->norm->Bl.width = "0n"; in post_bl_norm()
710 if (NULL != n->norm->Bl.width) in post_bl_norm()
715 n->norm->Bl.width = argv->value[0]; in post_bl_norm()
723 if (NULL != n->norm->Bl.offs) in post_bl_norm()
728 n->norm->Bl.offs = argv->value[0]; in post_bl_norm()
739 if (LIST__NONE != n->norm->Bl.type) { in post_bl_norm()
[all …]
H A Dmdoc.c104 p->norm = body->norm; in mdoc_endbody_alloc()
128 p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); in mdoc_block_alloc()
151 p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); in mdoc_elem_alloc()
181 n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) || in mdoc_ptext()
183 n->parent->norm->Bl.type == LIST_column)) { in mdoc_ptext()
376 n->end == ENDBODY_NOT && n->norm->Bl.type == LIST_column) || in mdoc_pmacro()
378 n->parent->norm->Bl.type == LIST_column)) { in mdoc_pmacro()
H A Dmdoc_html.c736 type = bl->norm->Bl.type; in mdoc_it_pre()
821 bl = &n->norm->Bl; in mdoc_bl_pre()
951 comp = n->norm->Bd.comp; in mdoc_bd_pre()
966 if (n->norm->Bd.offs != NULL && in mdoc_bd_pre()
967 strcmp(n->norm->Bd.offs, "left") != 0) in mdoc_bd_pre()
970 if (n->norm->Bd.type == DISP_literal) in mdoc_bd_pre()
994 if (n->norm->An.auth == AUTH_split) { in mdoc_an_pre()
999 if (n->norm->An.auth == AUTH_nosplit) { in mdoc_an_pre()
1405 if (FONT_Em == n->norm->Bf.font) in mdoc_bf_pre()
1407 else if (FONT_Sy == n->norm->Bf.font) in mdoc_bf_pre()
[all …]
H A Dmdoc_state.c196 n->norm->Bl.type = LIST_diag; in state_bl()
199 n->norm->Bl.type = LIST_column; in state_bl()
H A Dtag.c213 switch (np->parent->parent->norm->Bl.type) { in tag_move_id()
H A Droff.h507 union mdoc_data *norm; /* Normalized arguments. */ member
H A Dmdoc_argv.c434 if (n->norm->Bl.type == LIST_column) in mdoc_args()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c257 extract_format(const char *fmt, char *norm, size_t sz, int strict) in extract_format() argument
269 (void) memset(norm, '\0', sz); in extract_format()
329 STORE(norm, sz, argp, '*'); in extract_format()
349 STORE(norm, sz, argp, '*'); in extract_format()
459 STORE(norm, sz, arg, conv); in extract_format()
460 norm[arg*FORMAT_SIZE + 1] = flag; in extract_format()
465 printf("%c(%d)", norm[t], norm[t+1]); in extract_format()
472 if (norm[arg*FORMAT_SIZE] == '\0') in extract_format()
/illumos-gate/usr/src/uts/common/sys/
H A Dppmio.h97 int norm; /* normal level */ member
123 int32_t norm; /* normal level */ member
/illumos-gate/usr/src/test/zfs-tests/tests/functional/casenorm/
H A Dcasenorm.kshlib92 typeset norm=$(get_norm $1)
94 if [[ $norm == "C" ]] ; then
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfnmatch.c173 goto norm; in fnmatch1()
193 norm: in fnmatch1()
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c57 static char *norm(register char *user, register char *ubuf,
491 norm(register char *user, register char *ubuf, int nbangs) in norm() function
549 user = norm(user, ubuf, nbangs); in samebody()
550 addr = norm(addr, abuf, nbangs); in samebody()
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditm_comp.l48 %start norm comment
159 BEGIN norm; variable
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm.c679 STRUCT_DECL(ppm_norm, norm); in ppm_ioctl()
686 STRUCT_INIT(norm, mode); in ppm_ioctl()
687 ret = ddi_copyin((caddr_t)arg, STRUCT_BUF(norm), in ppm_ioctl()
688 STRUCT_SIZE(norm), mode); in ppm_ioctl()
695 STRUCT_FGETP(norm, path), path, MAXPATHLEN, NULL); in ppm_ioctl()
713 level = STRUCT_FGET(norm, norm); in ppm_ioctl()
728 STRUCT_FSET(norm, norm, level); in ppm_ioctl()
729 ret = ddi_copyout(STRUCT_BUF(norm), (caddr_t)arg, in ppm_ioctl()
730 STRUCT_SIZE(norm), mode); in ppm_ioctl()
/illumos-gate/usr/src/uts/common/os/
H A Dip_cksum.c117 goto norm; in ip_cksum()
170 norm: in ip_cksum()
H A Dsunpm.c3392 e_pm_default_levels(dev_info_t *dip, pm_component_t *cp, int norm) in e_pm_default_levels() argument
3398 pmc->pmc_lvals[1] = norm; in e_pm_default_levels()
3399 e_pm_set_cur_pwr(dip, cp, norm); in e_pm_default_levels()
3434 int cmpts, i, norm, error; in pm_premanage() local
3481 norm = pm_get_normal_power(dip, i); in pm_premanage()
3482 if (norm == (uint_t)-1) { in pm_premanage()
3492 e_pm_default_levels(dip, PM_CP(dip, i), norm); in pm_premanage()
7810 int norm; in pm_cfb_powerup() local
7827 norm = pm_get_normal_power(cfb_dip, ci); in pm_cfb_powerup()
7828 (void) pm_set_power(cfb_dip, ci, norm, PM_LEVEL_UPONLY, in pm_cfb_powerup()
/illumos-gate/usr/src/tools/smatch/src/
H A Dtokenize.c375 norm: in nextchar_slow()
412 goto norm; in nextchar_slow()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_micro.c157 char norm[ZAP_MAXNAMELEN]; in zap_match() local
159 if (zap_normalize(zn->zn_zap, matchname, norm, in zap_match()
163 return (strcmp(zn->zn_key_norm, norm) == 0); in zap_match()
H A Dzfs_znode.c1839 uint64_t norm = 0; in zfs_create_fs() local
1883 norm = val; in zfs_create_fs()
1938 zfsvfs->z_norm = norm; in zfs_create_fs()
/illumos-gate/usr/src/common/mc/zen_umc/
H A Dzen_umc_decode.c1727 zen_umc_decoder_cs_matches(const umc_cs_t *cs, const uint64_t norm, in zen_umc_decoder_cs_matches() argument
1732 if ((norm & imask) == (cs->ucs_base.udb_base & imask)) { in zen_umc_decoder_cs_matches()
1740 if ((norm & imask) == (cs->ucs_sec.udb_base & imask)) { in zen_umc_decoder_cs_matches()
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c3435 mp_digit norm; in s_mp_div_d() local
3442 MP_CHECKOK( s_mp_norm(&rem, &quot, &norm) ); in s_mp_div_d()
3443 if (norm) in s_mp_div_d()
3444 d <<= norm; in s_mp_div_d()
3466 if (norm) in s_mp_div_d()
3467 w >>= norm; in s_mp_div_d()

12