/src/usr.bin/make/ |
job.h | 96 void Job_Touch(GNode *, bool); 97 bool Job_CheckCommands(GNode *, void (*abortProc)(const char *, ...)) 101 void Job_Make(GNode *); 117 GNode *Job_Node(Job *) MAKE_ATTR_USE;
|
make.h | 419 typedef struct GNode { 451 struct GNode *youngestChild; 494 struct GNode *centurion; 518 /* Filename where the GNode got defined, unlimited lifetime */ 520 /* Line number where the GNode got defined, 1-based */ 523 } GNode; 587 extern GNode *defaultNode; 593 extern GNode *SCOPE_INTERNAL; 595 extern GNode *SCOPE_GLOBAL; 597 extern GNode *SCOPE_CMDLINE [all...] |
meta.h | 46 void meta_job_start(struct Job *, GNode *); 51 void meta_job_error(struct Job *, GNode *, bool, int); 55 bool meta_oodate(GNode *, bool) MAKE_ATTR_USE;
|
compat.c | 99 static GNode *curTarg; 108 CompatDeleteTarget(GNode *gn) 133 GNode *gn = Targ_FindNode(".INTERRUPT"); 156 DebugFailedTarget(const char *cmd, const GNode *gn) 235 Compat_RunCommand(const char *cmdp, GNode *gn, StringListNode *ln) 273 GNode *endNode = Targ_GetEndNode(); 441 RunCommands(GNode *gn) 453 MakeInRandomOrder(GNode **gnodes, GNode **end, GNode *pgn [all...] |
targ.c | 72 * Maintaining the targets and sources, which are both implemented as GNode. 81 * GNode_New Create a new GNode with the given name, don't add it 122 static void GNode_Free(GNode *); 180 GNode * 183 GNode *gn; 221 GNode_Free(GNode *gn) 263 GNode * 270 GNode * 279 GNode *gn = Targ_NewInternalNode(name); 291 GNode * [all...] |
make.c | 198 GNode_FprintDetails(FILE *f, const char *prefix, const GNode *gn, 211 GNode_ShouldExecute(GNode *gn) 220 GNode_UpdateYoungestChild(GNode *gn, GNode *cgn) 227 IsOODateRegular(GNode *gn) 266 GNode_IsOODate(GNode *gn) 383 PretendAllChildrenAreMade(GNode *pgn) 388 GNode *cgn = ln->datum; 412 Make_HandleUse(GNode *cgn, GNode *pgn [all...] |
dir.h | 93 void Dir_UpdateMTime(GNode *, bool);
|
suff.c | 214 GNode *node; 344 static GNode * 350 GNode *gn = ln->datum; 567 GNode * 573 GNode *gn = FindTransformByName(name); 624 Suff_EndTransform(GNode *gn) 674 RebuildGraph(GNode *transform, Suffix *suff) 716 UpdateTarget(GNode *target, Suffix *suff, bool *inout_removedMain) 797 GNode *gn = ln->datum; 964 GNode *gn [all...] |
arch.c | 100 * member's GNode. 110 * library name in the GNode should be in 188 Arch_ParseArchive(char **pp, GNodeList *gns, GNode *scope) 192 GNode *gn; /* New node */ 746 * GNode. Update the st_mtime of the entire archive as well. For a library, 750 Arch_Touch(GNode *gn) 773 Arch_TouchLib(GNode *gn MAKE_ATTR_UNUSED) 794 * Update the mtime of the GNode with the mtime from the archive member on 798 Arch_UpdateMTime(GNode *gn) 814 Arch_UpdateMemberMTime(GNode *gn [all...] |
parse.c | 201 static void Parse_Var(VarAssign *, GNode *); 207 GNode *mainNode; 232 static GNode *order_pred; 502 RememberLocation(GNode *gn) 535 PrintLocation(FILE *f, bool useVars, const GNode *gn) 574 ParseVErrorInternal(FILE *f, bool useVars, const GNode *gn, 604 ParseErrorInternal(const GNode *gn, 681 LinkSource(GNode *pgn, GNode *cgn, bool isSpecial) 706 LinkToTargets(GNode *gn, bool isSpecial [all...] |
trace.c | 105 GNode *gn = Job_Node(job);
|
var.c | 141 * Scope variables are stored in GNode.vars. The only way to undefine 169 * These variables are not registered in any GNode, therefore they 334 GNode *SCOPE_CMDLINE; 335 GNode *SCOPE_GLOBAL; 336 GNode *SCOPE_INTERNAL; 468 GNode_FindVar(GNode *scope, Substring varname, unsigned hash) 487 VarFindSubstring(Substring name, GNode *scope, bool elsewhere) 533 VarFind(const char *name, GNode *scope, bool elsewhere) 562 VarAdd(const char *name, const char *value, GNode *scope, VarSetFlags flags) 578 Var_Delete(GNode *scope, const char *varname [all...] |
meta.c | 310 is_submake(const char *cmd, GNode *gn) 354 any_is_submake(GNode *gn) 365 printCMD(const char *ucmd, FILE *fp, GNode *gn) 375 printCMDs(GNode *gn, FILE *fp) 399 meta_needed(GNode *gn, const char *dname, 455 meta_create(BuildMon *pbm, GNode *gn) 647 meta_job_start(Job *job, GNode *gn) 735 meta_job_error(Job *job, GNode *gn, bool ignerr, int status) 923 meta_ignore(GNode *gn, const char *p) 952 * XXX: This variable is set on a target GNode but is not one o [all...] |
job.c | 186 GNode *node; 520 SwitchOutputTo(GNode *gn) 523 static GNode *lastNode = NULL; 560 GNode * 592 JobDeleteTarget(GNode *gn) 1314 TouchRegular(GNode *gn) 1354 Job_Touch(GNode *gn, bool echo) 1396 Job_CheckCommands(GNode *gn, void (*abortProc)(const char *, ...)) 1649 JobWriteShellCommands(Job *job, GNode *gn, bool *out_run) 1674 Job_Make(GNode *gn [all...] |
main.c | 123 GNode *defaultNode; /* .DEFAULT node */ 2032 shouldDieQuietly(GNode *gn, int bf) 2049 SetErrorVars(GNode *gn) 2076 PrintOnError(GNode *gn, const char *msg) 2078 static GNode *errorNode = NULL;
|
dir.c | 1346 ResolveMovedDepends(GNode *gn) 1376 ResolveFullName(GNode *gn) 1408 Dir_UpdateMTime(GNode *gn, bool forceRefresh)
|
cond.c | 317 GNode *gn = Targ_FindNode(node); 325 GNode *gn = Targ_FindNode(node);
|
/src/usr.bin/make/unit-tests/ |
varmod-to-abs.mk | 14 # This unintended behavior was caused by cached_realpath using a GNode for 15 # keeping the cache, just like the GNode for global variables.
|
varmod-gmtime.mk | 77 # 0 means now; this differs from GNode.mtime, where a 0 means nonexistent.
|
varmod-localtime.mk | 77 # 0 means now; this differs from GNode.mtime, where a 0 means nonexistent.
|
/src/tests/usr.bin/indent/ |
fmt_expr.c | 22 *(GNode **)Vector_Push(&vec) = ln->datum;
|
fmt_decl.c | 738 GNode_VarTarget(GNode *gn) { return GNode_ValueDirect(gn, TARGET); } 742 * Before lexi.c 1.156 from 2021-11-25, indent generated 'GNode * gn' with an 750 GNode_VarTarget(GNode *gn) 1005 Job_CheckCommands(GNode *gn, void (*abortProc)(const char *, ...)) 1010 ParseVErrorInternal(FILE *f, bool useVars, const GNode *gn, 1026 Job_CheckCommands(GNode *gn, void (*abortProc)(const char *, ...)) 1032 ParseVErrorInternal(FILE *f, bool useVars, const GNode *gn,
|