| /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 437 GNode *gn = ln->datum; local 1015 GNode *gn; local 1215 GNode *gn = ln->datum; local 1246 GNode *gn = Lst_Dequeue(&examine); local 1310 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 | 1093 bool GNode_ShouldExecute(GNode *gn) MAKE_ATTR_USE; 1098 GNode_IsTarget(const GNode *gn) 1100 return (gn->type & OP_OPMASK) != OP_NONE; 1104 GNode_Path(const GNode *gn) 1106 return gn->path != NULL ? gn->path : gn->name; 1110 GNode_IsWaitingFor(const GNode *gn) 1112 return gn->flags.remake && gn->made <= REQUESTED [all...] |
| meta.c | 300 any_is_submake(GNode *gn) 305 for (ln = gn->commands.first; ln != NULL; ln = ln->next) { 306 cmd = Var_Subst(ln->datum, gn, VARE_EVAL); 317 printCMD(const char *ucmd, FILE *fp, GNode *gn) 321 Var_Expand(&xcmd, gn, VARE_EVAL); 327 printCMDs(GNode *gn, FILE *fp) 331 for (ln = gn->commands.first; ln != NULL; ln = ln->next) 332 printCMD(ln->datum, fp, gn); 339 if ((gn->type & (flag))) { \ 341 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); 1368 TouchRegular(GNode *gn) 2756 GNode *gn = Targ_FindNode(target); local [all...] |
| dir.c | 1349 ResolveMovedDepends(GNode *gn) 1353 const char *base = str_basename(gn->name); 1354 if (base == gn->name) 1357 fullName = Dir_FindFile(base, Suff_FindPath(gn)); 1362 * Put the found file in gn->path so that we give that to the compiler. 1365 * XXX: Better just reset gn->path to NULL; updating it is already done 1368 gn->path = bmake_strdup(fullName); 1369 if (!Job_RunTarget(".STALE", gn->fname)) 1372 progname, gn->fname, gn->lineno [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/x509/ |
| v3_iobo.c | 14 GENERAL_NAME *gn, BIO *out, 19 if (GENERAL_NAME_print(out, gn) <= 0)
|
| /src/external/apache2/llvm/dist/llvm/utils/gn/ |
| get.py | 2 """Downloads a prebuilt gn binary to a place where gn.py can find it.""" 18 def download_and_unpack(url, output_dir, gn): 19 """Download an archive from url and extract gn from it into output_dir.""" 24 zipfile.ZipFile(io.BytesIO(data)).extract(gn, path=output_dir) 50 print(' rm -rf /tmp/gn &&') 51 print(' pushd /tmp && git clone https://gn.googlesource.com/gn &&') 52 print(' cd gn && build/gen.py && ninja -C out gn && popd &&' [all...] |
| gn.py | 2 """Calls `gn` with the right --dotfile= and --root= arguments for LLVM.""" 4 # GN normally expects a file called '.gn' at the root of the repository. 5 # Since LLVM's GN build isn't supported, putting that file at the root 6 # is deemed inappropriate, which requires passing --dotfile= and -root= to GN. 31 print('gn binary not found in PATH') 33 print('run llvm/utils/gn/get.py to download a binary and try again, or') 34 print('follow https://gn.googlesource.com/gn/#getting-started') 39 # Find real gn executable [all...] |
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| gcdext.c | 106 mp_srcptr gp, mp_size_t gn, 116 ASSERT (gn > 0); 125 ASSERT (gn <= an); 138 ASSERT_NOCARRY (mpn_sub (tp, tp, size, gp, gn)); 147 ASSERT_NOCARRY (mpn_add (tp, tp, size, gp, gn)); 276 mp_size_t gn = mpn_gcdext_lehmer_n(gp, up, usizep, ap, bp, n, tp); local 279 return gn; 335 return ctx.gn; 390 return ctx.gn; 450 mp_size_t gn; local 465 mp_size_t gn; local [all...] |
| gcd.c | 67 mp_size_t gn; member in struct:gcd_ctx 71 gcd_hook (void *p, mp_srcptr gp, mp_size_t gn, 75 MPN_COPY (ctx->gp, gp, gn); 76 ctx->gn = gn; 139 ctx.gn = n; 237 ctx.gn = 1; 261 ctx.gn = 1 + (g.d1 > 0); 265 return ctx.gn;
|
| gcdext_lehmer.c | 38 mpn_gcdext_hook (void *p, mp_srcptr gp, mp_size_t gn, 48 ASSERT (gn > 0); 49 ASSERT (gp[gn-1] > 0); 51 MPN_COPY (ctx->gp, gp, gn); 52 ctx->gn = gn; 244 return ctx.gn;
|
| jacobi.c | 135 jacobi_hook (void *p, mp_srcptr gp, mp_size_t gn, 142 ASSERT (gn > 0); 143 if (gn != 1 || gp[0] != 1)
|
| hgcd_step.c | 40 hgcd_hook (void *p, mp_srcptr gp, mp_size_t gn,
|
| /src/crypto/external/bsd/heimdal/dist/lib/hx509/ |
| ca.c | 482 GeneralName gn; local 487 name.u.fullName.val = &gn; 489 gn.element = choice_GeneralName_uniformResourceIdentifier; 490 gn.u.uniformResourceIdentifier.data = rk_UNCONST(uri); 491 gn.u.uniformResourceIdentifier.length = strlen(uri); 516 GeneralName gn; 523 memset(&gn, 0, sizeof(gn)); 525 gn.element = choice_GeneralName_directoryName; 532 gn.u.directoryName.element = n.element 578 GeneralName gn; local 787 GeneralName gn; local 815 GeneralName gn; local 1500 GeneralName gn; local [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/external/bsd/tre/dist/python/ |
| tre-python.c | 196 PyTreMatch_groupi(PyObject *obj, int gn) 202 if (gn < 0 || (size_t)gn > self->am.nmatch - 1) 207 rm = &self->am.pmatch[gn]; 221 long gn; local 223 gn = PyInt_AsLong(grpno); 228 result = PyTreMatch_groupi((PyObject*)self, gn);
|
| /src/external/mit/xorg/lib/xkeyboard-config/symbols/ |
| Makefile | 13 gb ge gh gn gr group \
|