Home
last modified time | relevance | path

Searched refs:gh (Results 1 – 10 of 10) sorted by relevance

/mirbsd/src/usr.bin/mail/
Dvars.c148 struct grouphead *gh; in findgroup() local
150 for (gh = groups[hash(name)]; gh != NULL; gh = gh->g_link) in findgroup()
151 if (*gh->g_name == *name && equal(gh->g_name, name)) in findgroup()
152 return(gh); in findgroup()
162 struct grouphead *gh; in printgroup() local
165 if ((gh = findgroup(name)) == NULL) { in printgroup()
169 printf("%s\t", gh->g_name); in printgroup()
170 for (gp = gh->g_list; gp != NULL; gp = gp->ge_link) in printgroup()
Dcmd3.c465 struct grouphead *gh; in group() local
472 for (gh = groups[h]; gh != NULL; gh = gh->g_link) in group()
476 for (gh = groups[h]; gh != NULL; gh = gh->g_link) in group()
477 *p++ = gh->g_name; in group()
490 if ((gh = findgroup(gname)) == NULL) { in group()
491 if ((gh = (struct grouphead *)calloc(1, sizeof(*gh))) == NULL) in group()
493 gh->g_name = vcopy(gname); in group()
494 gh->g_list = NULL; in group()
495 gh->g_link = groups[h]; in group()
496 groups[h] = gh; in group()
[all …]
Dnames.c376 struct grouphead *gh; in usermap() local
389 gh = findgroup(np->n_name); in usermap()
391 if (gh != NULL) in usermap()
392 new = gexpand(new, gh, metoo, np->n_type); in usermap()
406 gexpand(struct name *nlist, struct grouphead *gh, int metoo, int ntype) in gexpand() argument
419 for (gp = gh->g_list; gp != NULL; gp = gp->ge_link) { in gexpand()
423 if (strcmp(cp, gh->g_name) == 0) in gexpand()
435 if (gp == gh->g_list && gp->ge_link == NULL) in gexpand()
/mirbsd/src/usr.bin/gzsig/
Dsign.c61 struct gzip_header gh; in embed_signature() local
70 if (fread((u_char *)&gh, 1, sizeof(gh), fin) != sizeof(gh)) { in embed_signature()
76 if (memcmp(gh.magic, GZIP_MAGIC, sizeof(gh.magic)) != 0) { in embed_signature()
80 if (gh.flags & GZIP_FCONT) { in embed_signature()
85 if (gh.flags & GZIP_FEXTRA) { in embed_signature()
116 if (gh.flags & GZIP_FNAME) { in embed_signature()
120 if (gh.flags & GZIP_FCOMMENT) { in embed_signature()
124 if (gh.flags & GZIP_FENCRYPT) { in embed_signature()
155 gh.flags |= GZIP_FEXTRA; in embed_signature()
157 if (fwrite((u_char *)&gh, 1, sizeof(gh), fout) != sizeof(gh)) { in embed_signature()
Dverify.c56 struct gzip_header gh; in verify_signature() local
64 if ((i = fread((u_char *)&gh, 1, sizeof(gh), fin)) != sizeof(gh)) { in verify_signature()
70 if (memcmp(gh.magic, GZIP_MAGIC, sizeof(gh.magic)) != 0) { in verify_signature()
73 } else if (gh.flags & GZIP_FCONT){ in verify_signature()
76 } else if ((gh.flags & GZIP_FEXTRA) == 0) { in verify_signature()
107 if (gh.flags & GZIP_FNAME) { in verify_signature()
111 if (gh.flags & GZIP_FCOMMENT) { in verify_signature()
115 if (gh.flags & GZIP_FENCRYPT && in verify_signature()
/mirbsd/src/sys/net/
Dif_gre.c202 struct greip *gh = NULL; in gre_output() local
413 gh = mtod(m, struct greip *); in gre_output()
417 bzero((void *) &gh->gi_g, sizeof(struct gre_h)); in gre_output()
418 gh->gi_ptype = htons(etype); in gre_output()
421 gh->gi_pr = sc->g_proto; in gre_output()
423 gh->gi_src = sc->g_src; in gre_output()
424 gh->gi_dst = sc->g_dst; in gre_output()
425 ((struct ip *) gh)->ip_hl = (sizeof(struct ip)) >> 2; in gre_output()
426 ((struct ip *) gh)->ip_ttl = ip_defttl; in gre_output()
427 ((struct ip *) gh)->ip_tos = ip_tos; in gre_output()
[all …]
/mirbsd/src/lib/libc/regex/test/
Dtests327 [ab][cd][ef][gh][ij][kl][mn] - xacegikmoq acegikm
328 [ab][cd][ef][gh][ij][kl][mn][op] - xacegikmoq acegikmo
329 [ab][cd][ef][gh][ij][kl][mn][op][qr] - xacegikmoqy acegikmoq
330 [ab][cd][ef][gh][ij][kl][mn][op][q] - xacegikmoqy acegikmoq
/mirbsd/src/gnu/usr.bin/perl/pod/
Dperldebguts.pod435 anchored `de' at 1 floating `gh' at 3..2147483647 (checking floating)
452 anchored `de' at 1 floating `gh' at 3..2147483647 (checking floating)
457 should contain a substring C<de> at offset 1, plus substring C<gh>
460 for the substring C<gh> before checking for the substring C<de>. The
/mirbsd/src/lib/libncurses/src/man/
Dterminfo.cat51885 …HHiigghhlliigghhttiinngg,, UUnnddeerrlliinniinngg,, aanndd VViissi…
2797 …ics nnuumm__llaabbeellss, llaabbeell__hheeiigghhtt, llaabbeell__wwi…
/mirbsd/src/lib/libncurses/src/
DNEWS4817 Hasse <gh@raditex.se>).