Home
last modified time | relevance | path

Searched refs:macro (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/titanic_51/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, in getvar()
151 fatal_reader_mksh(gettext("Loop detected when expanding macro value `%s'"), in expand_value()
179 /* Quote $ in macro value */ in expand_value()
199 /* Go expand the macro referenc in expand_value()
276 Property macro = NULL; expand_macro() local
1008 expand_value_with_daemon(Name,register Property macro,register String destination,Boolean cmd) expand_value_with_daemon() argument
1079 register Property macro = maybe_append_prop(name, macro_prop); setvar_daemon() local
[all...]
/titanic_51/usr/src/tools/cscope-fast/
H A Dfind.c88 char macro[PATLEN + 1]; /* macro name */ in findsymbol() local
111 /* a macro can be inside a function, but not vice versa */ in findsymbol()
112 *macro = '\0'; in findsymbol()
160 case DEFINE: /* could be a macro */ in findsymbol()
162 s = macro; in findsymbol()
169 *macro = '\0'; in findsymbol()
226 * output the file, calling function or macro, in findsymbol()
229 if (*macro != '\0' && s != macro) { in findsymbol()
254 char macro[PATLEN + 1]; /* macro name */ finddef() local
485 char macro[PATLEN + 1]; /* macro name */ findcalling() local
552 char macro[PATLEN + 1]; /* macro name */ findassignments() local
[all...]
/titanic_51/usr/src/lib/libpp/common/
H A Dpp.tab122 COLLECTING # collecting macro call arguments
126 DEFINITION # processing macro definition
128 DISABLE # disable macro evaluation
136 NOEXPAND # no macro expansions or disables
144 SKIPMACRO # disable next macro
157 BUILTIN # mark macro definitions builtin
172 MARKMACRO # mark macro to disable later
174 READONLY # mark macro definitions readonly
180 DEFINITIONS # output macro definitions
182 FINAL # final hosted macro value
[all …]
H A Dppmacref.c42 if (sym->macro && sym->macro->value) in ppmacref()
43 sum = strsum(sym->macro->value, (long)sym->macro->arity); in ppmacref()
H A DHISTORY23 add space before macro actual in replacement text
37 03/15/89 fix PP_TRUNCATE macro id bit table checks
45 01/24/89 fix #undef of SYM_READONLY macro message
72 05/11/88 T_MOREARGS -> T_VARIADIC; add SYM_VARIADIC for ... last macro arg
79 02/18/88 ignore malformed #'s in COMPATIBILITY macro definitions
86 01/11/88 complete 12/11/87 COMPATIBILITY macro arg /**/ pasting bug fix
93 fix COMPATIBILITY macro arg /**/ pasting bug
110 fix COMPATIBILITY macro recursion bug
120 09/17/87 fix macro formal bug that didn't update pointers after realloc()
130 07/09/87 fix `macro("@*")' bug in expand_special()
[all …]
H A DRELEASE4 09-01-06 ppcall.c: fix macro definition overwrite bug -- I know
16 07-03-11 add -D-Y pp:pedantic, PP_WARN macro formal parenthesis checks
51 03-12-12 ppcall.c: missing macro actual warned but expanded
64 03-02-18 pplex.c: handle COMPATIBILITY \" and \' in macro actuals
96 02-01-23 probe.win32: add more msvc predefined macro candidates
113 01-04-25 pp.probe: split macro probe files for compilers that have #line limits
119 01-02-14 ppcall.c: fix macro(tuple*) bug that truncated macro arg expand buffer
126 ppcall.c: handle trailing \ in macro args
137 pp.probe: filter out invalid symbols for predefined macro scan, duh
154 00-05-09 ppcontrol: fix C++ macro >+> invalid fuse
[all …]
H A Dppcontrol.c177 if (!sym->macro) sym->macro = newof(0, struct ppmacro, 1, 0); in macsym()
655 mac = sym->macro; in ppcontrol()
856 sym->macro = 0; in ppcontrol()
1418 mac = sym->macro; in ppcontrol()
1757 if (!sym->macro) in ppcontrol()
1762 if (sym->macro && !(sym->flags & (SYM_ACTIVE|SYM_READONLY))) in ppcontrol()
1764 sym->hidden->macro = sym->macro; in ppcontrol()
1765 sym->macro = 0; in ppcontrol()
1773 if ((mac = sym->macro) && !(sym->flags & (SYM_ACTIVE|SYM_READONLY))) in ppcontrol()
1778 sym->macro = 0; in ppcontrol()
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libpp/
H A Dpp.tab122 COLLECTING # collecting macro call arguments
126 DEFINITION # processing macro definition
128 DISABLE # disable macro evaluation
136 NOEXPAND # no macro expansions or disables
144 SKIPMACRO # disable next macro
157 BUILTIN # mark macro definitions builtin
172 MARKMACRO # mark macro to disable later
174 READONLY # mark macro definitions readonly
180 DEFINITIONS # output macro definitions
182 FINAL # final hosted macro valu
[all...]
H A Dppmacref.c25 * common preprocessor macro reference handler
42 if (sym->macro && sym->macro->value) in ppmacref()
43 sum = strsum(sym->macro->value, (long)sym->macro->arity); in ppmacref()
H A DHISTORY23 add space before macro actual in replacement text
37 03/15/89 fix PP_TRUNCATE macro id bit table checks
45 01/24/89 fix #undef of SYM_READONLY macro message
72 05/11/88 T_MOREARGS -> T_VARIADIC; add SYM_VARIADIC for ... last macro arg
79 02/18/88 ignore malformed #'s in COMPATIBILITY macro definitions
86 01/11/88 complete 12/11/87 COMPATIBILITY macro arg /**/ pasting bug fix
93 fix COMPATIBILITY macro arg /**/ pasting bug
110 fix COMPATIBILITY macro recursion bug
120 09/17/87 fix macro formal bug that didn't update pointers after realloc()
130 07/09/87 fix `macro("
[all...]
H A DRELEASE2 12-02-29 pp.probe: handle predefined function-like macro definitions
15 09-01-06 ppcall.c: fix macro definition overwrite bug -- I know
27 07-03-11 add -D-Y pp:pedantic, PP_WARN macro formal parenthesis checks
62 03-12-12 ppcall.c: missing macro actual warned but expanded
75 03-02-18 pplex.c: handle COMPATIBILITY \" and \' in macro actuals
107 02-01-23 probe.win32: add more msvc predefined macro candidates
124 01-04-25 pp.probe: split macro probe files for compilers that have #line limits
130 01-02-14 ppcall.c: fix macro(tuple*) bug that truncated macro arg expand buffer
137 ppcall.c: handle trailing \ in macro arg
[all...]
H A Dppcontrol.c156 * return symbol pointer for next token macro (re)definition
166 error(2, "%s: invalid macro name", pptokstr(pp.token, 0)); in macsym()
174 error(2, "%s: macro is %s", sym->name, (sym->flags & SYM_READONLY) ? "readonly" : "active"); in macsym()
177 if (!sym->macro) sym->macro = newof(0, struct ppmacro, 1, 0); in macsym()
439 error(1, "%s: invalid macro name", pptokstr(pp.token, 0)); in ppcontrol()
655 mac = sym->macro; in ppcontrol()
768 error(1, "%s: macro formal argument expected", sym->name); in ppcontrol()
777 error(2, "%s: %s: duplicate macro formal argument", sym->name, pp.token); in ppcontrol()
785 error(2, "%s: %s: macro forma in ppcontrol()
[all...]
/titanic_51/usr/src/cmd/refer/
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; in putref() local
44 if (lastype && macro) in putref()
49 macro = 1; in putref()
53 macro = 0; in putref()
69 if (macro) in putref()
90 if (macro) in putref()
109 if (macro) in putref()
125 if (lastype && macro) in putref()
[all...]
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
/titanic_51/usr/src/cmd/make/bin/
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; in main()
423 dmake_value2 = prop2->body.macro.value; in main()
498 body.macro.exported = true; in main()
501 body.macro.exported = false; in main()
1002 gettext(" [ -q ][ -r ][ -s ][ -S ][ -t ][ -v ][ -V ][ target... ][ macro=value... ][ \"macro +=value\"... ]\n")); in read_command_options()
1728 * empty_name The Name "", use as macro value
1732 * makeflags The Name "MAKEFLAGS", used to set macro valu
1756 register Property macro; read_files_and_state() local
2411 Property macro; enter_argv_values() local
2643 register Name macro; read_environment() local
3045 append_or_replace_macro_in_dyn_array(ASCII_Dyn_Array * Ar,char * macro) append_or_replace_macro_in_dyn_array() argument
[all...]
H A Dmacro.cc27 * macro.cc
36 #include <mksh/macro.h> /* getvar(), expand_value() */
59 register Property macro = get_prop(name->prop, macro_prop); in setvar_append() local
68 if(macro != NULL) { in setvar_append()
69 macro_apx->body.macro_appendix.value = macro->body.macro.value; in setvar_append()
/titanic_51/usr/src/tools/ndrgen/
H A Dndr_gen.c247 generate_member_macro(char *memkind, char *macro, ndr_member_t *mem, in generate_member_macro() argument
252 if (!macro) in generate_member_macro()
253 macro = ""; in generate_member_macro()
261 memkind, macro, fname_type, mem->name); in generate_member_macro()
264 macro, fname_type, mem->name, mem->pdu_offset); in generate_member_macro()
269 generate_member_macro_with_arg(char *memkind, char *macro, in generate_member_macro_with_arg() argument
274 if (!macro) in generate_member_macro_with_arg()
275 macro = "_WITH_ARG"; in generate_member_macro_with_arg()
283 memkind, macro, fname_type, mem->name); in generate_member_macro_with_arg()
286 macro, fname_typ in generate_member_macro_with_arg()
[all...]
/titanic_51/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) in newkey() argument
86 if (macro) { in newkey()
109 cur_term->funckeystarter[*str] |= (macro ? _MACRO : _KEY); in newkey()
/titanic_51/usr/src/uts/common/io/ixgbe/core/
H A DREADME.illumos9 The IXGBE_REMOVED macro normally taks a pointer to the hardware address.
11 check. Instead we modify all users of this macro to pass the struct
/titanic_51/usr/src/cmd/rcap/common/
H A Drcapd.h55 #define RCAPD_STR(macro) RCAPD__STR(macro) argument
/titanic_51/usr/src/cmd/deroff/
H A Dderoff.c44 * -mm (or -ms) causes the corresponding macro's to be interpreted
48 * Deroff follows .so and .nx commands, removes contents of macro
52 * All input is through the C macro; the most recently read character
118 static void macro(void);
490 macro(); in comline()
492 macro(); in comline()
494 macro(); in comline()
582 macro(void) in macro() function
/titanic_51/usr/src/cmd/backup/dump/
H A Dlint.sed20 /dirent.h",.*different definitions of macro: MAXNAMLEN/d
21 /limits.h",.*different definitions of macro: SYS_NMLN/d
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/
H A Diffe.tst458 TEST 04 'test variable/macro override'
461 INPUT t.iffe $'iff macro
475 INPUT t.iffe $'iff macro
491 INPUT t.iffe $'iff macro
500 INPUT t.iffe $'iff macro
509 INPUT t.iffe $'iff macro
518 INPUT t.iffe $'iff macro
544 INPUT t.iffe $'iff macro
566 INPUT t.iffe $'iff macro
590 INPUT t.iffe $'iff macro
[all...]
/titanic_51/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;
/titanic_51/usr/src/lib/libast/common/features/
H A Deaccess2 macro{

12345678910>>...14