Home
last modified time | relevance | path

Searched refs:gn (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-11-stable/contrib/bmake/
HDtarg.c234 GNode *gn; in Targ_NewGN() local
236 gn = bmake_malloc(sizeof(GNode)); in Targ_NewGN()
237 gn->name = bmake_strdup(name); in Targ_NewGN()
238 gn->uname = NULL; in Targ_NewGN()
239 gn->path = NULL; in Targ_NewGN()
241 gn->type = OP_LIB; in Targ_NewGN()
243 gn->type = 0; in Targ_NewGN()
245 gn->unmade = 0; in Targ_NewGN()
246 gn->unmade_cohorts = 0; in Targ_NewGN()
247 gn->cohort_num[0] = 0; in Targ_NewGN()
[all …]
HDmake.c143 make_abort(GNode *gn, int line) in make_abort() argument
148 Targ_PrintNode(gn, &two); in make_abort()
215 Make_OODate(GNode *gn) in Make_OODate() argument
223 if ((gn->type & (OP_JOIN|OP_USE|OP_USEBEFORE|OP_EXEC)) == 0) { in Make_OODate()
224 (void)Dir_MTime(gn, 1); in Make_OODate()
226 if (gn->mtime != 0) { in Make_OODate()
227 fprintf(debug_file, "modified %s...", Targ_FmtTime(gn->mtime)); in Make_OODate()
248 if (gn->type & (OP_USE|OP_USEBEFORE)) { in Make_OODate()
257 } else if ((gn->type & OP_LIB) && in Make_OODate()
258 ((gn->mtime==0) || Arch_IsLib(gn))) { in Make_OODate()
[all …]
HDcompat.c129 CompatDeleteTarget(GNode *gn) in CompatDeleteTarget() argument
131 if ((gn != NULL) && !Targ_Precious (gn)) { in CompatDeleteTarget()
133 char *file = Var_Value(TARGET, gn, &p1); in CompatDeleteTarget()
164 GNode *gn; in CompatInterrupt() local
173 gn = Targ_FindNode(".INTERRUPT", TARG_NOCREATE); in CompatInterrupt()
174 if (gn != NULL) { in CompatInterrupt()
175 Compat_Make(gn, gn); in CompatInterrupt()
234 GNode *gn = (GNode *)gnp; in CompatRunCommand() local
236 silent = gn->type & OP_SILENT; in CompatRunCommand()
237 errCheck = !(gn->type & OP_IGNORE); in CompatRunCommand()
[all …]
HDsuff.c206 GNode **gn; member
395 SuffGNHasNameP(const void *gn, const void *name) in SuffGNHasNameP() argument
397 return (strcmp(name, ((const GNode *)gn)->name)); in SuffGNHasNameP()
700 GNode *gn; /* GNode of transformation rule */ in Suff_AddTransform() local
711 gn = Targ_NewGN(line); in Suff_AddTransform()
712 (void)Lst_AtEnd(transforms, gn); in Suff_AddTransform()
720 gn = (GNode *)Lst_Datum(ln); in Suff_AddTransform()
721 Lst_Destroy(gn->commands, NULL); in Suff_AddTransform()
722 Lst_Destroy(gn->children, NULL); in Suff_AddTransform()
723 gn->commands = Lst_Init(FALSE); in Suff_AddTransform()
[all …]
HDarch.c288 GNode *gn; /* New node */ in Arch_ParseArchive() local
425 gn = Targ_FindNode(buf, TARG_CREATE); in Arch_ParseArchive()
427 if (gn == NULL) { in Arch_ParseArchive()
431 gn->type |= OP_ARCHV; in Arch_ParseArchive()
432 (void)Lst_AtEnd(nodeLst, gn); in Arch_ParseArchive()
461 gn = Targ_FindNode(nameBuf, TARG_CREATE); in Arch_ParseArchive()
462 if (gn == NULL) { in Arch_ParseArchive()
473 gn->type |= OP_ARCHV; in Arch_ParseArchive()
474 (void)Lst_AtEnd(nodeLst, gn); in Arch_ParseArchive()
483 gn = Targ_FindNode(nameBuf, TARG_CREATE); in Arch_ParseArchive()
[all …]
HDmeta.c327 GNode *gn = gnp; in is_submake() local
334 p_make = Var_Value(".MAKE", gn, &cp); in is_submake()
339 mp = Var_Subst(NULL, cmd, gn, VARF_WANTRES); in is_submake()
370 GNode *gn; member
381 cmd = cp = Var_Subst(NULL, cmd, mfp->gn, VARF_WANTRES); in printCMD()
392 if ((gn->type & __CONCAT(OP_, _type))) { \
395 gn->name, __STRING(_type)); \
406 meta_needed(GNode *gn, const char *dname, in meta_needed() argument
419 if (!(gn->type & OP_META)) { in meta_needed()
426 if (Lst_IsEmpty(gn->commands)) { in meta_needed()
[all …]
HDjob.c362 #define MESSAGE(fp, gn) \ argument
364 (void)fprintf(fp, TARG_FMT, targPrefix, gn->name)
409 JobDeleteTarget(GNode *gn) in JobDeleteTarget() argument
411 if ((gn->type & (OP_JOIN|OP_PHONY)) == 0 && !Targ_Precious(gn)) { in JobDeleteTarget()
412 char *file = (gn->path == NULL ? gn->name : gn->path); in JobDeleteTarget()
938 JobSaveCommand(void *cmd, void *gn) in JobSaveCommand() argument
940 cmd = Var_Subst(NULL, (char *)cmd, (GNode *)gn, VARF_WANTRES); in JobSaveCommand()
1184 Job_Touch(GNode *gn, Boolean silent) in Job_Touch() argument
1189 if (gn->type & (OP_JOIN|OP_USE|OP_USEBEFORE|OP_EXEC|OP_OPTIONAL| in Job_Touch()
1198 if (!silent || NoExecute(gn)) { in Job_Touch()
[all …]
HDparse.c911 GNode *gn = (GNode *)gnp; in ParseDoOp() local
918 if (((op & OP_OPMASK) != (gn->type & OP_OPMASK)) && in ParseDoOp()
919 !OP_NOP(gn->type) && !OP_NOP(op)) in ParseDoOp()
921 Parse_Error(PARSE_FATAL, "Inconsistent operator for %s", gn->name); in ParseDoOp()
925 if ((op == OP_DOUBLEDEP) && ((gn->type & OP_OPMASK) == OP_DOUBLEDEP)) { in ParseDoOp()
940 gn->type |= op & ~OP_OPMASK; in ParseDoOp()
942 cohort = Targ_FindNode(gn->name, TARG_NOHASH); in ParseDoOp()
953 (void)Lst_AtEnd(gn->cohorts, cohort); in ParseDoOp()
954 cohort->centurion = gn; in ParseDoOp()
955 gn->unmade_cohorts += 1; in ParseDoOp()
[all …]
HDdir.c1517 Dir_MTime(GNode *gn, Boolean recheck) in Dir_MTime() argument
1523 if (gn->type & OP_ARCHV) { in Dir_MTime()
1524 return Arch_MTime(gn); in Dir_MTime()
1525 } else if (gn->type & OP_PHONY) { in Dir_MTime()
1526 gn->mtime = 0; in Dir_MTime()
1528 } else if (gn->path == NULL) { in Dir_MTime()
1529 if (gn->type & OP_NOPATH) in Dir_MTime()
1532 fullName = Dir_FindFile(gn->name, Suff_FindPath(gn)); in Dir_MTime()
1533 if (fullName == NULL && gn->flags & FROM_DEPEND && in Dir_MTime()
1534 !Lst_IsEmpty(gn->iParents)) { in Dir_MTime()
[all …]
HDcond.c443 GNode *gn; in CondDoTarget() local
445 gn = Targ_FindNode(arg, TARG_NOCREATE); in CondDoTarget()
446 return (gn != NULL) && !OP_NOP(gn->type); in CondDoTarget()
467 GNode *gn; in CondDoCommands() local
469 gn = Targ_FindNode(arg, TARG_NOCREATE); in CondDoCommands()
470 return (gn != NULL) && !OP_NOP(gn->type) && !Lst_IsEmpty(gn->commands); in CondDoCommands()
HDmake.h311 #define NoExecute(gn) ((gn->type & OP_MAKE) ? noRecursiveExecute : noExecute) argument
HDmain.c2045 PrintOnError(GNode *gn, const char *s) in PrintOnError() argument
2058 if (gn) { in PrintOnError()
2062 Var_Set(".ERROR_TARGET", gn->name, VAR_GLOBAL, 0); in PrintOnError()
2064 Lst_ForEach(gn->commands, addErrorCMD, gn); in PrintOnError()
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/
HDgn.c107 sdp_gn_profile_p gn = (sdp_gn_profile_p) provider->data; in gn_profile_create_protocol_descriptor_list() local
110 buf, eob, (uint8_t const *) &gn->psm, in gn_profile_create_protocol_descriptor_list()
111 sizeof(gn->psm))); in gn_profile_create_protocol_descriptor_list()
120 sdp_gn_profile_p gn = (sdp_gn_profile_p) provider->data; in gn_profile_create_security_description() local
123 (uint8_t const *) &gn->security_description, in gn_profile_create_security_description()
124 sizeof(gn->security_description))); in gn_profile_create_security_description()
133 sdp_gn_profile_p gn = (sdp_gn_profile_p) provider->data; in gn_profile_create_service_availability() local
136 &gn->load_factor, 1)); in gn_profile_create_service_availability()
142 sdp_gn_profile_p gn = (sdp_gn_profile_p) data; in gn_profile_data_valid() local
144 return ((gn->psm == 0)? 0 : 1); in gn_profile_data_valid()
HDMakefile7 bgd.c dun.c ftrn.c gn.c irmc.c irmc_command.c lan.c log.c \
/freebsd-11-stable/crypto/heimdal/lib/hx509/
HDca.c476 GeneralName gn; in hx509_ca_tbs_add_crl_dp_uri() local
481 name.u.fullName.val = &gn; in hx509_ca_tbs_add_crl_dp_uri()
483 gn.element = choice_GeneralName_uniformResourceIdentifier; in hx509_ca_tbs_add_crl_dp_uri()
484 gn.u.uniformResourceIdentifier.data = rk_UNCONST(uri); in hx509_ca_tbs_add_crl_dp_uri()
485 gn.u.uniformResourceIdentifier.length = strlen(uri); in hx509_ca_tbs_add_crl_dp_uri()
510 GeneralName gn; in hx509_ca_tbs_add_crl_dp_uri()
517 memset(&gn, 0, sizeof(gn)); in hx509_ca_tbs_add_crl_dp_uri()
519 gn.element = choice_GeneralName_directoryName; in hx509_ca_tbs_add_crl_dp_uri()
526 gn.u.directoryName.element = n.element; in hx509_ca_tbs_add_crl_dp_uri()
527 gn.u.directoryName.u.rdnSequence = n.u.rdnSequence; in hx509_ca_tbs_add_crl_dp_uri()
[all …]
HDprint.c567 GeneralNames gn; in check_altName() local
580 &gn, &size); in check_altName()
587 if (gn.len == 0) { in check_altName()
593 for (i = 0; i < gn.len; i++) { in check_altName()
594 switch (gn.val[i].element) { in check_altName()
603 &gn.val[i].u.otherName.type_id) != 0) in check_altName()
608 (*altname_types[j].func)(ctx, &gn.val[i].u.otherName.value); in check_altName()
612 hx509_oid_print(&gn.val[i].u.otherName.type_id, in check_altName()
621 ret = hx509_general_name_unparse(&gn.val[i], &s); in check_altName()
634 free_GeneralNames(&gn); in check_altName()
/freebsd-11-stable/sys/gnu/dts/mips/
HDWR512-3GN-8M.dts45 label = "wr512-3gn:green:3g";
50 label = "wr512-3gn:green:gateway";
55 label = "wr512-3gn:green:ap";
60 label = "wr512-3gn:green:wps";
65 label = "wr512-3gn:green:station";
HDWR512-3GN-4M.dts45 label = "wr512-3gn:green:3g";
50 label = "wr512-3gn:green:gateway";
55 label = "wr512-3gn:green:ap";
60 label = "wr512-3gn:green:wps";
65 label = "wr512-3gn:green:station";
HDMOFI3500-3GN.dts45 label = "mofi3500-3gn:green:usb";
50 label = "mofi3500-3gn:green:3g";
55 label = "mofi3500-3gn:green:status";
60 label = "mofi3500-3gn:green:wps";
HDWCR150GN.dts45 label = "wcr-150gn:amber:user";
50 label = "wcr-150gn:amber:power";
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDzio.c2040 zio_read_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, abd_t *data, in zio_read_gang() argument
2043 if (gn != NULL) in zio_read_gang()
2053 zio_rewrite_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, abd_t *data, in zio_rewrite_gang() argument
2058 if (gn != NULL) { in zio_rewrite_gang()
2060 abd_get_from_buf(gn->gn_gbh, SPA_GANGBLOCKSIZE); in zio_rewrite_gang()
2074 if (gn != pio->io_gang_leader->io_gang_tree) { in zio_rewrite_gang()
2100 zio_free_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, abd_t *data, in zio_free_gang() argument
2110 zio_claim_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, abd_t *data, in zio_claim_gang() argument
2131 zio_gang_node_t *gn; in zio_gang_node_alloc() local
2135 gn = kmem_zalloc(sizeof (*gn), KM_SLEEP); in zio_gang_node_alloc()
[all …]
/freebsd-11-stable/usr.bin/sed/
HDcompile.c559 int gn; /* True if we have seen g or n */ in compile_flags() local
568 for (gn = 0;;) { in compile_flags()
572 if (gn) in compile_flags()
575 gn = 1; in compile_flags()
592 if (gn) in compile_flags()
595 gn = 1; in compile_flags()
/freebsd-11-stable/contrib/groff/src/roff/troff/
HDnode.cpp2075 node *glyph_node::merge_glyph_node(glyph_node *gn) in merge_glyph_node() argument
2077 if (tf == gn->tf && gcol == gn->gcol && fcol == gn->fcol) { in merge_glyph_node()
2079 if ((lig = tf->get_lig(ci, gn->ci)) != 0) { in merge_glyph_node()
2082 return new ligature_node(lig, tf, gcol, fcol, this, gn, state, in merge_glyph_node()
2083 gn->div_nest_level, next1); in merge_glyph_node()
2086 if (tf->get_kern(ci, gn->ci, &kern)) { in merge_glyph_node()
2089 return new kern_pair_node(kern, this, gn, state, in merge_glyph_node()
2090 gn->div_nest_level, next1); in merge_glyph_node()
2235 node *dbreak_node::merge_glyph_node(glyph_node *gn) in merge_glyph_node() argument
2237 glyph_node *gn2 = (glyph_node *)gn->copy(); in merge_glyph_node()
[all …]
HDinput.cpp2171 node *gn = curenv->make_char_node(ci); in next() local
2172 if (gn == 0) in next()
2174 nd = new zero_width_node(gn); in next()
2201 const char *gn = check_unicode_name(s.contents()); in next() local
2202 if (gn) { in next()
2203 const char *gn_decomposed = decompose_unicode(gn); in next()
2205 gn = &gn_decomposed[1]; in next()
2206 const char *groff_gn = unicode_to_glyph_name(gn); in next()
2210 char *buf = new char[strlen(gn) + 1 + 1]; in next()
2212 strcat(buf, gn); in next()
[all …]
/freebsd-11-stable/contrib/sendmail/src/
HDtls.c1678 const GENERAL_NAME *gn;
1691 gn = sk_GENERAL_NAME_value(gens, i);
1692 if (gn == NULL || gn->type != GEN_DNS)
1696 if (ASN1_STRING_type(gn->d.ia5) != V_ASN1_IA5STRING)
1704 dnsname = (char *) MTA_ASN1_STRING_data(gn->d.ia5);
1707 len = ASN1_STRING_length(gn->d.ia5);

12