Home
last modified time | relevance | path

Searched refs:gen (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/src/crypto/openssl/crypto/x509/
H A Dv3_san.c26 static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
27 static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
56 GENERAL_NAME *gen; in STACK_OF() local
60 gen = sk_GENERAL_NAME_value(gens, i); in STACK_OF()
66 tmpret = i2v_GENERAL_NAME(method, gen, ret); in STACK_OF()
80 GENERAL_NAME *gen, in STACK_OF()
86 switch (gen->type) { in STACK_OF()
88 switch (OBJ_obj2nid(gen->d.otherName->type_id)) { in STACK_OF()
90 if (gen->d.otherName->value->type != V_ASN1_UTF8STRING in STACK_OF()
92 gen->d.otherName->value->value.utf8string->data, in STACK_OF()
[all …]
/src/contrib/ntp/ntpd/
H A Dntp_filegen.c98 FILEGEN * gen, in filegen_open() argument
113 len = strlen(gen->dir) + strlen(gen->fname) + 65; in filegen_open()
117 snprintf(filename, len, "%s%s", gen->dir, gen->fname); in filegen_open()
127 switch (gen->type) { in filegen_open()
133 gen->type, filename); in filegen_open()
134 gen->type = FILEGEN_NONE; in filegen_open()
142 gen->id_lo = getpid(); in filegen_open()
143 gen->id_hi = 0; in filegen_open()
145 SUFFIX_SEP, gen->id_lo); in filegen_open()
158 gen->id_lo = ntpcal_date_to_ntp(&cal); in filegen_open()
[all …]
/src/sys/tools/syscalls/scripts/
H A Dsystrace_args.lua32 local gen = generator:new({}, fh)
33 gen.storage_levels = {} -- make sure storage is clear
36 gen:pad64(config.abiChanges("pair_64bit"))
39 gen:preamble(
44 gen:write(string.format([[
53 gen:store(string.format([[
61 gen:store(string.format([[
71 gen:write(v.prolog);
72 gen:store(v.prolog, 1);
73 gen:store(v.prolog, 2);
[all …]
H A Dsysproto_h.lua30 local gen = generator:new({}, fh)
31 gen.storage_levels = {} -- make sure storage is clear
34 gen:preamble("System call prototypes.")
37 gen:write(string.format([[
70 gen:pad64(config.abiChanges("pair_64bit"))
83 gen:store(string.format("\n#ifdef %s\n\n", v.definition),
96 gen:write(v.prolog)
97 gen:store(v.prolog, 1)
99 gen:store(v.prolog, w.compatlevel * 10)
110 gen:write(string.format(
[all …]
H A Dinit_sysent.lua31 local gen = generator:new({}, fh)
34 gen:preamble("System call switch table.")
36 gen:write(tbl.includes)
39 gen:write(
44 gen:write(string.format([[
55 gen:write("\n")
58 gen:write(string.format([[
69 gen:write(v.prolog);
73 gen:write(string.format(
78 gen:write(string.format("nosys, " ..
[all …]
H A Dlibsys_h.lua38 local gen = generator:new({}, fh)
41 gen:preamble("Public system call stubs provided by libsys.\n" ..
45 gen:write(string.format([[
61 gen:write(string.format("struct %s;\n", name))
63 gen:write("union semun;\n")
65 gen:write("\n__BEGIN_DECLS\n")
69 gen:write(string.format(
75 gen:write("\n")
83 gen:write(string.format("%s%s __sys_%s(%s);\n",
88 gen:write("__END_DECLS\n")
[all …]
H A Dsyscalls.lua31 local gen = generator:new({}, fh)
34 gen:preamble("System call names.")
36 gen:write(string.format("const char *%s[] = {\n", config.namesname))
42 gen:write(v.prolog);
45 gen:write(string.format([[
61 gen:write(string.format([[
67 gen:write(string.format([[
73 gen:write(string.format([[
79 gen:write(string.format([[
86 gen:write(tbl.epilog)
[all …]
H A Dsyscalls_map.lua32 local gen = generator:new({}, fh)
35 gen:preamble("FreeBSD system call symbols.")
37 gen:write(string.format("FBSDprivate_1.0 {\n"))
40 gen:write(v.prolog)
43 gen:write(string.format("\t_%s;\n", v.name))
45 gen:write(string.format("\t__sys_%s;\n", v.name))
48 gen:write(tbl.epilog)
51 gen:write("};\n")
/src/sys/dev/dcons/
H A Ddcons.c51 u_int32_t ptr, pos, gen, next_gen; in dcons_ischar() local
57 gen = ptr >> DCONS_GEN_SHIFT; in dcons_ischar()
59 if (gen == ch->gen && pos == ch->pos) in dcons_ischar()
62 next_gen = DCONS_NEXT_GEN(ch->gen); in dcons_ischar()
64 if ((gen != ch->gen && gen != next_gen) in dcons_ischar()
65 || (gen == ch->gen && pos < ch->pos)) { in dcons_ischar()
68 ch->gen = gen; in dcons_ischar()
80 u_int32_t ptr, pos, gen, next_gen; in dcons_checkc() local
86 gen = ptr >> DCONS_GEN_SHIFT; in dcons_checkc()
88 if (gen == ch->gen && pos == ch->pos) in dcons_checkc()
[all …]
/src/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc143 const ParamGenerator<int> gen = Range(0, 10); in TEST() local
144 ParamGenerator<int>::iterator it = gen.begin(); in TEST()
178 const ParamGenerator<int> gen = Range(0, 3); in TEST() local
180 VerifyGenerator(gen, expected_values); in TEST()
186 const ParamGenerator<int> gen = Range(0, 1); in TEST() local
188 VerifyGenerator(gen, expected_values); in TEST()
194 const ParamGenerator<int> gen = Range(0, 0); in TEST() local
195 VerifyGeneratorIsEmpty(gen); in TEST()
201 const ParamGenerator<int> gen = Range(0, 9, 3); in TEST() local
203 VerifyGenerator(gen, expected_values); in TEST()
[all …]
/src/crypto/heimdal/lib/wind/
H A DMakefile.am98 map_table.h map_table.c: rfc3454.txt gen-map.py stringprep.py
99 $(skip_python) $(PYTHON) $(srcdir)/gen-map.py $(srcdir)/rfc3454.txt $(builddir)
101 errorlist_table.h errorlist_table.c: rfc3454.txt gen-errorlist.py stringprep.py
102 $(skip_python) $(PYTHON) $(srcdir)/gen-errorlist.py $(srcdir)/rfc3454.txt $(builddir)
104 normalize_table.h normalize_table.c: UnicodeData.txt CompositionExclusions-3.2.0.txt gen-normalize.…
105 …$(skip_python) $(PYTHON) $(srcdir)/gen-normalize.py $(srcdir)/UnicodeData.txt $(srcdir)/Compositio…
107 combining_table.h combining_table.c: UnicodeData.txt gen-combining.py
108 $(skip_python) $(PYTHON) $(srcdir)/gen-combining.py $(srcdir)/UnicodeData.txt $(builddir)
110 bidi_table.h bidi_table.c: rfc3454.txt gen-bidi.py
111 $(skip_python) $(PYTHON) $(srcdir)/gen-bidi.py $(srcdir)/rfc3454.txt $(builddir)
[all …]
/src/crypto/krb5/src/lib/crypto/builtin/camellia/
H A DMakefile.in17 EXTRADEPSRCS= $(srcdir)/camellia-gen.c
29 camellia-gen: camellia-gen.o $(GEN_OBJS)
30 $(CC_LINK) -o camellia-gen camellia-gen.o $(GEN_OBJS)
32 run-camellia-gen: camellia-gen
33 ./camellia-gen > kresults.out
37 check-yes: run-camellia-gen
43 -$(RM) camellia-gen camellia-gen.o kresults.out
/src/crypto/openssl/test/smime-certs/
H A Dmksmime-certs.sh16 gen() { function
27 gen smrsa1.pem "/CN=Test SMIME EE RSA #1" usr_rsa_cert >>smrsa1.pem
29 gen smrsa2.pem "/CN=Test SMIME EE RSA #2" usr_rsa_cert >>smrsa2.pem
31 gen smrsa3.pem "/CN=Test SMIME EE RSA #3" usr_rsa_cert >>smrsa3.pem
39 gen smdsa1.pem "/CN=Test SMIME EE DSA #1" signer_cert >>smdsa1.pem
41 gen smdsa2.pem "/CN=Test SMIME EE DSA #1" signer_cert >>smdsa2.pem
43 gen smdsa3.pem "/CN=Test SMIME EE DSA #1" signer_cert >>smdsa3.pem
48 gen smec1.pem "/CN=Test SMIME EE EC #1" signer_cert >>smec1.pem
50 gen smec2.pem "/CN=Test SMIME EE EC #2" signer_cert >>smec2.pem
65 gen smdh.pem "/CN=Test SMIME EE DH" dh_cert >>smdh.pem
[all …]
/src/crypto/krb5/src/lib/crypto/builtin/aes/
H A DMakefile.in30 $(srcdir)/aes-gen.c
51 aes-gen: aes-gen.o $(GEN_OBJS)
52 $(CC_LINK) -o aes-gen aes-gen.o $(GEN_OBJS)
54 run-aes-gen: aes-gen
55 ./aes-gen > kresults.out
60 check-yes: run-aes-gen
66 -$(RM) aes-gen aes-gen.o kresults.out
/src/contrib/arm-optimized-routines/math/test/
H A Dulp.c70 struct gen struct
123 next1 (struct gen *g) in next1()
136 next2 (uint64_t *x2, struct gen *g) in next2()
442 printgen_f1 (const struct fun *f, struct gen *gen) in printgen_f1() argument
444 printf ("%s in [%a;%a]", f->name, asfloat (gen->start), in printgen_f1()
445 asfloat (gen->start + gen->len)); in printgen_f1()
448 printgen_f2 (const struct fun *f, struct gen *gen) in printgen_f2() argument
450 printf ("%s in [%a;%a] x [%a;%a]", f->name, asfloat (gen->start), in printgen_f2()
451 asfloat (gen->start + gen->len), asfloat (gen->start2), in printgen_f2()
452 asfloat (gen->start2 + gen->len2)); in printgen_f2()
[all …]
/src/crypto/openssh/
H A Ddh.c64 char *strsize, *gen, *prime; in parse_prime() local
117 gen = strsep(&cp, " "); /* gen */ in parse_prime()
118 if (cp == NULL || *gen == '\0') in parse_prime()
132 if (BN_hex2bn(&dhg->g, gen) == 0) { in parse_prime()
313 dh_new_group_asc(const char *gen, const char *modulus) in dh_new_group_asc() argument
321 BN_hex2bn(&dh_g, gen) == 0) in dh_new_group_asc()
338 dh_new_group(BIGNUM *gen, BIGNUM *modulus) in dh_new_group() argument
344 if (!DH_set0_pqg(dh, modulus, NULL, gen)) { in dh_new_group()
356 static char *gen = "2", *group1 = in dh_new_group1() local
364 return (dh_new_group_asc(gen, group1)); in dh_new_group1()
[all …]
/src/sys/dev/qat/qat_api/common/include/
H A Dsal_hw_gen.h34 return (pService->generic_service_info.gen == GEN4); in isDcGen4x()
50 return ((pService->generic_service_info.gen == GEN2) || in isDcGen2x()
51 (pService->generic_service_info.gen == GEN3)); in isDcGen2x()
67 return (pService->generic_service_info.gen == GEN4); in isCyGen4x()
83 return ((pService->generic_service_info.gen == GEN2) || in isCyGen2x()
84 (pService->generic_service_info.gen == GEN3)); in isCyGen2x()
/src/sys/security/mac_veriexec/
H A Dveriexec_metadata.c105 unsigned long gen, int *found_dev) in get_veriexec_file() argument
117 " files=%d\n", (uintmax_t)fileid, gen, (uintmax_t)fsid, in get_veriexec_file()
140 if (ip->gen == gen) in get_veriexec_file()
174 "%02x %02x %02x...]\n", ip->fileid, ip->flags, ip->gen, in mac_veriexec_print_db_dev_list()
233 mac_veriexec_metadata_has_file(dev_t fsid, long fileid, unsigned long gen) in mac_veriexec_metadata_has_file() argument
236 return (mac_veriexec_metadata_get_file_info(fsid, fileid, gen, NULL, in mac_veriexec_metadata_has_file()
440 mac_veriexec_metadata_get_file_flags(dev_t fsid, long fileid, unsigned long gen, in mac_veriexec_metadata_get_file_flags() argument
446 error = mac_veriexec_metadata_get_file_info(fsid, fileid, gen, NULL, in mac_veriexec_metadata_get_file_flags()
601 unsigned long gen, int check_files) in mac_veriexec_metadata_get_file_label() argument
606 error = mac_veriexec_metadata_get_file_info(fsid, fileid, gen, NULL, in mac_veriexec_metadata_get_file_label()
[all …]
/src/lib/libsys/
H A D__vdso_gettimeofday.c63 uint32_t curr, gen; in binuptime() local
74 gen = atomic_load_acq_32(&th->th_gen); in binuptime()
102 } while (curr != tk->tk_current || gen == 0 || gen != th->th_gen); in binuptime()
110 uint32_t curr, gen; in getnanouptime() local
118 gen = atomic_load_acq_32(&th->th_gen); in getnanouptime()
126 } while (curr != tk->tk_current || gen == 0 || gen != th->th_gen); in getnanouptime()
/src/crypto/openssl/crypto/ct/
H A Dct_prn.c31 ASN1_GENERALIZEDTIME *gen = ASN1_GENERALIZEDTIME_new(); in timestamp_print() local
34 if (gen == NULL) in timestamp_print()
36 ASN1_GENERALIZEDTIME_adj(gen, (time_t)0, in timestamp_print()
44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print()
45 if (ASN1_GENERALIZEDTIME_set_string(gen, genstr)) in timestamp_print()
46 ASN1_GENERALIZEDTIME_print(out, gen); in timestamp_print()
47 ASN1_GENERALIZEDTIME_free(gen); in timestamp_print()
/src/contrib/libevent/test/
H A Dinclude.am11 test/regress.gen.c \
12 test/regress.gen.h \
81 DISTCLEANFILES += test/regress.gen.c test/regress.gen.h
84 BUILT_SOURCES += test/regress.gen.c test/regress.gen.h
108 test/regress.gen.c \
109 test/regress.gen.h \
162 test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
170 echo " "> test/regress.gen.c; \
171 echo "#define NO_PYTHON_EXISTS" > test/regress.gen.h; \
/src/contrib/ntp/sntp/libevent/test/
H A Dinclude.am11 test/regress.gen.c \
12 test/regress.gen.h \
81 DISTCLEANFILES += test/regress.gen.c test/regress.gen.h
84 BUILT_SOURCES += test/regress.gen.c test/regress.gen.h
108 test/regress.gen.c \
109 test/regress.gen.h \
162 test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
170 echo " "> test/regress.gen.c; \
171 echo "#define NO_PYTHON_EXISTS" > test/regress.gen.h; \
/src/contrib/bmake/unit-tests/
H A Dvar-scope-local.mk29 .SUFFIXES: .ir-gen-from .ir-from .ir-to
35 all: target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from
36 target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from:
49 .ir-gen-from.ir-from:
63 inference-rule-chain.ir-gen-from: .PHONY
64 dir/subdir/inference-rule-chain.ir-gen-from: .PHONY
/src/tools/tools/netmap/
H A DMakefile5 PROGS = pkt-gen nmreplay bridge lb
25 pkt-gen: pkt-gen.o
26 $(CC) $(CFLAGS) -o pkt-gen pkt-gen.o $(LDFLAGS)
/src/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c64 static int gen; /* DOF helper generation */ variable
192 if ((gen = ioctl(fd, DTRACEHIOC_ADDDOF, &dh)) == -1) in dtrace_dof_init()
197 gen = dh.dofhp_gen; in dtrace_dof_init()
220 if ((gen = ioctl(fd, DTRACEHIOC_REMOVE, &gen)) == -1) in dtrace_dof_fini()
221 dbg_printf(1, "DTrace ioctl failed to remove DOF (%d)\n", gen); in dtrace_dof_fini()
223 dbg_printf(1, "DTrace ioctl removed DOF (%d)\n", gen); in dtrace_dof_fini()

12345678910>>...19