HomeSort by: relevance | last modified time | path
    Searched refs:gn (Results 1 - 20 of 20) sorted by relevancy

  /src/usr.bin/make/
targ.c 183 GNode *gn; local
185 gn = bmake_malloc(sizeof *gn);
186 gn->name = bmake_strdup(name);
187 gn->uname = NULL;
188 gn->path = NULL;
189 gn->type = name[0] == '-' && name[1] == 'l' ? OP_LIB : OP_NONE;
190 memset(&gn->flags, 0, sizeof(gn->flags));
191 gn->made = UNMADE
279 GNode *gn = Targ_NewInternalNode(name); local
294 GNode *gn = GNode_New(name); local
331 GNode *gn = Targ_GetNode(name); local
342 GNode *gn = ln->datum; local
532 GNode *gn = ln->datum; local
589 GNode *gn = ln->datum; local
    [all...]
compat.c 108 CompatDeleteTarget(GNode *gn)
110 if (!GNode_IsPrecious(gn) &&
111 (gn->type & OP_PHONY) == 0) {
112 const char *file = GNode_VarTarget(gn);
133 GNode *gn = Targ_FindNode(".INTERRUPT"); local
134 if (gn != NULL)
135 Compat_Make(gn, gn);
156 DebugFailedTarget(const char *cmd, const GNode *gn)
160 gn->name)
702 GNode *gn = Targ_FindNode(".BEGIN"); local
753 GNode *gn = Lst_Dequeue(targets); local
    [all...]
make.c 199 GNode_FprintDetails(FILE *f, const char *prefix, const GNode *gn,
202 char *type = GNodeType_ToString(gn->type);
203 char *flags = GNodeFlags_ToString(gn->flags);
206 prefix, GNodeMade_Name(gn->made), type, flags, suffix);
212 GNode_ShouldExecute(GNode *gn)
214 return !((gn->type & OP_MAKE)
221 GNode_UpdateYoungestChild(GNode *gn, GNode *cgn)
223 if (gn->youngestChild == NULL || cgn->mtime > gn->youngestChild->mtime)
224 gn->youngestChild = cgn
438 GNode *gn = ln->datum; local
1016 GNode *gn; local
1216 GNode *gn = ln->datum; local
1247 GNode *gn = Lst_Dequeue(&examine); local
1311 GNode *gn = ln->datum; local
    [all...]
suff.c 350 GNode *gn = ln->datum; local
351 if (strcmp(gn->name, name) == 0)
352 return gn;
573 GNode *gn = FindTransformByName(name); local
574 if (gn == NULL) {
579 gn = GNode_New(name);
580 Lst_Append(&transforms, gn);
589 Lst_Done(&gn->commands);
590 Lst_Init(&gn->commands);
591 Lst_Done(&gn->children)
797 GNode *gn = ln->datum; local
1217 GNode *gn; local
1262 GNode *gn; local
1304 GNode *gn = Targ_GetNode(start); local
1366 GNode *gn = Lst_Dequeue(&members); local
1454 GNode *gn; \/* Node for the transformation rule *\/ local
    [all...]
arch.c 192 GNode *gn; /* New node */ local
311 gn = Targ_GetNode(fullName);
312 gn->type |= OP_ARCHV;
313 Lst_Append(gns, gn);
333 gn = Targ_GetNode(fullname);
336 gn->type |= OP_ARCHV;
337 Lst_Append(gns, gn);
343 gn = Targ_GetNode(fullname);
346 gn->type |= OP_ARCHV;
347 Lst_Append(gns, gn);
    [all...]
make.h 1091 bool GNode_ShouldExecute(GNode *gn) MAKE_ATTR_USE;
1096 GNode_IsTarget(const GNode *gn)
1098 return (gn->type & OP_OPMASK) != OP_NONE;
1102 GNode_Path(const GNode *gn)
1104 return gn->path != NULL ? gn->path : gn->name;
1108 GNode_IsWaitingFor(const GNode *gn)
1110 return gn->flags.remake && gn->made <= REQUESTED
    [all...]
meta.c 306 any_is_submake(GNode *gn)
311 for (ln = gn->commands.first; ln != NULL; ln = ln->next) {
312 cmd = Var_Subst(ln->datum, gn, VARE_EVAL);
323 printCMD(const char *ucmd, FILE *fp, GNode *gn)
327 Var_Expand(&xcmd, gn, VARE_EVAL);
333 printCMDs(GNode *gn, FILE *fp)
337 for (ln = gn->commands.first; ln != NULL; ln = ln->next)
338 printCMD(ln->datum, fp, gn);
345 if ((gn->type & (flag))) { \
347 debug_printf("Skipping meta for %s: .%s\n", gn->name, str);
    [all...]
trace.c 105 GNode *gn = Job_Node(job); local
106 char *type = GNodeType_ToString(gn->type);
110 gn->name, Job_Pid(job), flags, type);
parse.c 502 RememberLocation(GNode *gn)
505 gn->fname = Str_Intern(curFile->name.str);
506 gn->lineno = curFile->lineno;
535 PrintLocation(FILE *f, bool useVars, const GNode *gn)
542 if (gn != NULL) {
543 fname = gn->fname;
544 lineno = gn->lineno;
574 ParseVErrorInternal(FILE *f, bool useVars, const GNode *gn,
581 PrintLocation(f, useVars, gn);
599 || (gn == NULL && includes.len == 0 /* see PrintLocation */)
796 GNode *gn; local
857 GNode *gn; local
882 GNode *gn; local
929 GNode *gn = ln->datum; local
1014 GNode *gn = Targ_GetNode(targetName); local
1029 GNode *gn = GNode_New(".DEFAULT"); local
1113 GNode *gn = Suff_IsTransform(name) local
1587 GNode *gn = Lst_Dequeue(&sources); local
2679 GNode *gn = ln->datum; local
2722 GNode *gn = ln->datum; local
    [all...]
job.c 520 SwitchOutputTo(GNode *gn)
525 if (gn == lastNode)
527 lastNode = gn;
530 (void)fprintf(stdout, "%s %s ---\n", targPrefix, gn->name);
592 JobDeleteTarget(GNode *gn)
596 if (gn->type & OP_JOIN)
598 if (gn->type & OP_PHONY)
600 if (GNode_IsPrecious(gn))
605 file = GNode_Path(gn);
1349 TouchRegular(GNode *gn)
2737 GNode *gn = Targ_FindNode(target); local
    [all...]
dir.c 1346 ResolveMovedDepends(GNode *gn)
1350 const char *base = str_basename(gn->name);
1351 if (base == gn->name)
1354 fullName = Dir_FindFile(base, Suff_FindPath(gn));
1359 * Put the found file in gn->path so that we give that to the compiler.
1362 * XXX: Better just reset gn->path to NULL; updating it is already done
1365 gn->path = bmake_strdup(fullName);
1366 if (!Job_RunTarget(".STALE", gn->fname))
1369 progname, gn->fname, gn->lineno
    [all...]
main.c 2032 shouldDieQuietly(GNode *gn, int bf)
2043 quietly = gn != NULL && gn->type & OP_MAKE ? 1 : 0;
2049 SetErrorVars(GNode *gn)
2057 snprintf(sts, sizeof(sts), "%d", gn->exit_status);
2059 Global_Set(".ERROR_TARGET", gn->name);
2062 for (ln = gn->commands.first; ln != NULL; ln = ln->next) {
2076 PrintOnError(GNode *gn, const char *msg)
2104 if (shouldDieQuietly(gn, -1))
2107 if (gn != NULL
    [all...]
cond.c 317 GNode *gn = Targ_FindNode(node); local
318 return gn != NULL && GNode_IsTarget(gn);
325 GNode *gn = Targ_FindNode(node); local
326 return gn != NULL && GNode_IsTarget(gn) &&
327 !Lst_IsEmpty(&gn->commands);
var.c 401 const GNode *gn; local
412 && (gn = Targ_FindNode(elem->str)) != NULL
413 && gn->fname != NULL) {
415 Buf_AddStr(buf, gn->fname);
417 Buf_AddInt(buf, (int)gn->lineno);
1344 GNode_ValueDirect(GNode *gn, const char *name)
1346 Var *v = VarFind(name, gn, false);
2618 GNode *gn; local
2628 gn = Targ_FindNode(expr->name);
2629 if (gn == NULL || gn->type & OP_NOPATH
    [all...]
  /src/tests/usr.bin/indent/
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)
752 return GNode_ValueDirect(gn, TARGET);
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,
  /src/games/hack/
hack.do_name.c 284 const char *gn = (char *) mtmp->mextra; local
285 if (!*gn) { /* might also look in scorefile */
286 gn = ghostnames[rn2(SIZE(ghostnames))];
289 strlcpy((char *) mtmp->mextra, !rn2(5) ? plname : gn, mtmp->mxlth);
291 (void) snprintf(buf, sizeof(buf), "%s's ghost", gn);
  /src/usr.bin/make/unit-tests/
varname-make_print_var_on_error.mk 8 # gn->commands has been set to NULL already. This leaves .ERROR_CMD an empty
  /src/usr.bin/sed/
compile.c 710 int gn; /* True if we have seen g or n */ local
719 for (gn = 0;;) {
723 if (gn)
726 gn = 1;
743 if (gn)
746 gn = 1;
  /src/usr.sbin/syslogd/
tls.c 443 GENERAL_NAME *gn; local
468 gn = sk_GENERAL_NAME_value(gennames, i);
469 if (gn->type == GEN_IPADD
471 gn->d.iPAddress))
477 gn = sk_GENERAL_NAME_value(gennames, i);
478 if (gn->type == GEN_DNS) {
480 ASN1_STRING_get0_data(gn->d.ia5);
481 len = ASN1_STRING_length(gn->d.ia5);
  /src/share/terminfo/
terminfo 309 gn, use=dumb,
16027 lf6=A ce of/cf gn, lf7=A print, lf8=A on-line,
18049 gn,
    [all...]

Completed in 78 milliseconds