Searched refs:macro (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/cmd/refer/
H A Droffbib.sh23 macro=-mbib
35 macro="-m$1"
52 $xroff $flags $macro
54 (echo .ds TL $headr; /usr/bin/refer -a1 -B"$abstr") | $xroff $flags $macro
H A Drefer6.c18 #define dsde (macro? "de" : "ds")
19 #define ifnl (macro? sep : ' ')
35 int nauth = 0, i, lastype = 0, cch, macro = 0, la; local
44 if (lastype && macro)
49 macro = 1;
53 macro = 0;
69 if (macro)
90 if (macro)
109 if (macro)
125 if (lastype && macro)
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppmacref.c25 * common preprocessor macro reference handler
42 if (sym->macro && sym->macro->value)
43 sum = strsum(sym->macro->value, (long)sym->macro->arity);
H A Dppbuiltin.c25 * preprocessor builtin macro support
33 * process a #(...) builtin macro call
119 if ((c = pplex()) != T_ID || !(sym = ppsymref(pp.symtab, pp.token)) || !sym->macro || sym->macro->arity != 1 || (c = pplex()) != ',')
121 error(2, "#(%s <macro(x)>, ...) expected", p);
246 p = (sym = pprefmac(a, REF_NORMAL)) ? sym->macro->value : "";
H A Dppcontrol.c156 * return symbol pointer for next token macro (re)definition
166 error(2, "%s: invalid macro name", pptokstr(pp.token, 0));
174 error(2, "%s: macro is %s", sym->name, (sym->flags & SYM_READONLY) ? "readonly" : "active");
177 if (!sym->macro) sym->macro = newof(0, struct ppmacro, 1, 0);
439 error(1, "%s: invalid macro name", pptokstr(pp.token, 0));
655 mac = sym->macro;
768 error(1, "%s: macro formal argument expected", sym->name);
777 error(2, "%s: %s: duplicate macro formal argument", sym->name, pp.token);
785 error(2, "%s: %s: macro forma
[all...]
H A Dppinput.c350 * macro definition dump
362 if ((mac = sym->macro) && !(sym->flags & (SYM_BUILTIN|SYM_PREDEFINED)))
391 * dump macro definitions for quick loading via ppload()
415 * output macro definitions
454 * load text and macro definitions from a previous ppdump()
520 * get the macro and index offsets
629 error(3, "checkpoint macro seek error");
631 error(3, "checkpoint macro read error");
657 if (sym->macro)
665 if (pp.test & 0x1000) error(2, "checkpoint SKIP %s=%s [%s]", sym->name, s, sym->macro
[all...]
H A Dppmisc.c31 * macro symbol def|ref
48 if (!sym->macro) sym = 0;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewkey.c50 * Set a new key or a new macro.
54 * macro: if this is not a function key but a macro,
59 newkey(char *rcvchars, short keyval, bool macro) argument
86 if (macro) {
109 cur_term->funckeystarter[*str] |= (macro ? _MACRO : _KEY);
/illumos-gate/usr/src/cmd/make/bin/
H A Dmacro.cc27 * macro.cc
36 #include <mksh/macro.h> /* getvar(), expand_value() */
59 register Property macro = get_prop(name->prop, macro_prop); local
68 if(macro != NULL) {
69 macro_apx->body.macro_appendix.value = macro->body.macro.value;
H A DMakefile23 macro.o \
H A Dmain.cc41 #include <mksh/macro.h> /* getvar() */
167 * makeflags The Name "MAKEFLAGS", used to get macro
380 dmake_value2 = prop2->body.macro.value;
423 dmake_value2 = prop2->body.macro.value;
498 body.macro.exported = true;
501 body.macro.exported = false;
1002 gettext(" [ -q ][ -r ][ -s ][ -S ][ -t ][ -v ][ -V ][ target... ][ macro=value... ][ \"macro +=value\"... ]\n"));
1728 * empty_name The Name "", use as macro value
1732 * makeflags The Name "MAKEFLAGS", used to set macro valu
1756 register Property macro; local
2411 Property macro; local
2643 register Name macro; local
3045 append_or_replace_macro_in_dyn_array(ASCII_Dyn_Array *Ar, char *macro) argument
[all...]
H A Dmisc.cc44 #include <mksh/macro.h> /* SETVAR() */
408 (prop->body.macro.value != NULL)) {
410 print_value(prop->body.macro.value,
411 (Daemon) prop->body.macro.daemon);
416 /* Conditional macro assignments */
/illumos-gate/usr/src/tools/cscope-fast/
H A Dfind.c88 char macro[PATLEN + 1]; /* macro name */ local
111 /* a macro can be inside a function, but not vice versa */
112 *macro = '\0';
160 case DEFINE: /* could be a macro */
162 s = macro;
169 *macro = '\0';
226 * output the file, calling function or macro,
229 if (*macro != '\0' && s != macro) {
254 char macro[PATLEN + 1]; /* macro name */ local
485 char macro[PATLEN + 1]; /* macro name */ local
552 char macro[PATLEN + 1]; /* macro name */ local
[all...]
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmacro.cc28 * macro.cc
38 #include <mksh/macro.h>
48 static void expand_value_with_daemon(Name, register Property macro, register String destination, Boolean cmd);
62 * Return expanded value of macro.
65 * The expanded value of the macro
68 * name The name of the macro we want the value for
93 expand_value(maybe_append_prop(name, macro_prop)->body.macro.value,
151 fatal_reader_mksh(gettext("Loop detected when expanding macro value `%s'"),
179 /* Quote $ in macro value */
199 /* Go expand the macro referenc
276 Property macro = NULL; local
1008 expand_value_with_daemon(Name, register Property macro, register String destination, Boolean cmd) argument
1079 register Property macro = maybe_append_prop(name, macro_prop); local
[all...]
H A DMakefile19 macro.o \
/illumos-gate/usr/src/tools/make/lib/mksh/
H A DMakefile16 OBJECTS = dosys.o globals.o i18n.o macro.o misc.o mksh.o read.o
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_gen.c247 generate_member_macro(char *memkind, char *macro, ndr_member_t *mem, argument
252 if (!macro)
253 macro = "";
261 memkind, macro, fname_type, mem->name);
264 macro, fname_type, mem->name, mem->pdu_offset);
269 generate_member_macro_with_arg(char *memkind, char *macro, argument
274 if (!macro)
275 macro = "_WITH_ARG";
283 memkind, macro, fname_type, mem->name);
286 macro, fname_typ
[all...]
/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd.h55 #define RCAPD_STR(macro) RCAPD__STR(macro)
/illumos-gate/usr/src/tools/make/bin/
H A DMakefile23 macro.o \
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_lex.l187 * A macro argument reference substitutes the text of
196 xyerror(D_MACRO_UNDEF, "macro argument %s is "
217 * A macro argument reference substitutes the text of
226 xyerror(D_MACRO_UNDEF, "macro argument %s is "
236 * If the macro text is not a valid integer or ident,
256 * If the macro text is not a string an begins with a
272 xyerror(D_MACRO_OFLOW, "macro argument"
290 xyerror(D_MACRO_UNDEF, "macro variable %s "
295 * For the moment, all current macro variables are of
310 xyerror(D_MACRO_UNDEF, "macro variabl
[all...]
/illumos-gate/usr/src/lib/libshell/
H A DMakefile.com80 sh/macro.o \
164 pics/sh/macro.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
/illumos-gate/usr/src/cmd/sh/
H A DMakefile30 ctype.o echo.o expand.o func.o macro.o pwd.o setbrk.o test.o \
/illumos-gate/usr/src/cmd/sendmail/src/
H A DMakefile37 deliver.o domain.o envelope.o err.o headers.o macro.o main.o map.o \
/illumos-gate/usr/src/tools/scripts/
H A Dcstyle.pl416 # that uses a macro to generate the type.
768 my $cont_macro; # this is a macro
814 my $macro = '[A-Z_][A-Z_0-9]*\(';
865 $cont_macro = /^\s*$macro/? 1 : 0;
886 # as is macro processing. Case statements are terminated with a :
915 # for if/for/while/switch and macro statements.
997 $cont_macro = ($rest =~ /^\s*$macro/)? 1 : 0;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dlex.c288 char *quoted, *macro, *split, *expand; local
291 quoted = macro = split = expand = "";
295 macro = "macro:";
302 macro, split, expand, fmttoken(lp,tok,tokstr));

Completed in 150 milliseconds

123