| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | v3_san.c | 26 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 …]
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | TableGen.cpp | 122 clEnumValN(GenClangAttrClasses, "gen-clang-attr-classes", 125 "gen-clang-attr-parser-string-switches", 128 "gen-clang-attr-subject-match-rules-parser-string-switches", 131 clEnumValN(GenClangAttrImpl, "gen-clang-attr-impl", 133 clEnumValN(GenClangAttrList, "gen-clang-attr-list", 135 clEnumValN(GenClangAttrDocTable, "gen-clang-attr-doc-table", 138 "gen-clang-attr-subject-match-rule-list", 140 clEnumValN(GenClangAttrPCHRead, "gen-clang-attr-pch-read", 142 clEnumValN(GenClangAttrPCHWrite, "gen-clang-attr-pch-write", 145 "gen-clang-regular-keyword-attr-info", [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_filegen.c | 92 * open a file generation according to the current settings of gen 98 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() [all …]
|
| /freebsd/sys/tools/syscalls/scripts/ |
| H A D | systrace_args.lua | 32 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 D | sysproto_h.lua | 30 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 D | init_sysent.lua | 31 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 D | libsys_h.lua | 38 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 D | syscalls.lua | 31 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 …]
|
| /freebsd/sys/dev/dcons/ |
| H A D | dcons.c | 51 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 …]
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | Makefile.am | 98 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 …]
|
| H A D | NTMakefile | 66 $(OBJ)\map_table.h $(OBJ)\map_table.c: rfc3454.txt gen-map.py stringprep.py 68 $(PYTHON) $(SRCDIR)\gen-map.py $(SRCDIR)\rfc3454.txt $(OBJ) 71 $(OBJ)\errorlist_table.h $(OBJ)\errorlist_table.c: rfc3454.txt gen-errorlist.py stringprep.py 73 $(PYTHON) $(SRCDIR)\gen-errorlist.py $(SRCDIR)\rfc3454.txt $(OBJ) 76 …_table.h $(OBJ)\normalize_table.c: UnicodeData.txt CompositionExclusions-3.2.0.txt gen-normalize.py 78 …$(PYTHON) $(SRCDIR)\gen-normalize.py $(SRCDIR)\UnicodeData.txt $(SRCDIR)\CompositionExclusions-3.2… 81 $(OBJ)\combining_table.h $(OBJ)\combining_table.c: UnicodeData.txt gen-combining.py 83 $(PYTHON) $(SRCDIR)\gen-combining.py $(SRCDIR)\UnicodeData.txt $(OBJ) 86 $(OBJ)\bidi_table.h $(OBJ)\bidi_table.c: rfc3454.txt gen-bidi.py 88 $(PYTHON) $(SRCDIR)\gen-bidi.py $(SRCDIR)\rfc3454.txt $(OBJ) [all …]
|
| /freebsd/contrib/ntp/sntp/libevent/test/ |
| H A D | rpcgen_wrapper.sh | 4 # regress.gen.c and regress.gen.h already exist in $srcdir. This 6 # as with read-only sources fresh from tarball, regress.gen.[ch] will 8 # Makefile.am to create stub regress.gen.c and regress.gen.h in the 11 # Note that regress.gen.[ch] are not in fresh git clones, making 15 # echo "Updated ${srcdir}/regress.gen.c and ${srcdir}/regress.gen.h" 20 echo "event_rpcgen.py failed, ${srcdir}/regress.gen.\[ch\] will be reused." >&2 25 echo "Could not generate regress.gen.\[ch\] using event_rpcgen.sh" >&2 32 test/regress.gen.h test/regress.gen.c 39 test -r ${srcdir}/regress.gen.c -a -r ${srcdir}/regress.gen.h && \
|
| H A D | include.am | 11 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; \
|
| /freebsd/contrib/libevent/test/ |
| H A D | rpcgen_wrapper.sh | 4 # regress.gen.c and regress.gen.h already exist in $srcdir. This 6 # as with read-only sources fresh from tarball, regress.gen.[ch] will 8 # Makefile.am to create stub regress.gen.c and regress.gen.h in the 11 # Note that regress.gen.[ch] are not in fresh git clones, making 15 # echo "Updated ${srcdir}/regress.gen.c and ${srcdir}/regress.gen.h" 20 echo "event_rpcgen.py failed, ${srcdir}/regress.gen.\[ch\] will be reused." >&2 25 echo "Could not generate regress.gen.\[ch\] using event_rpcgen.sh" >&2 32 test/regress.gen.h test/regress.gen.c 39 test -r ${srcdir}/regress.gen.c -a -r ${srcdir}/regress.gen.h && \
|
| H A D | include.am | 11 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; \
|
| /freebsd/contrib/bmake/unit-tests/ |
| H A D | var-scope-local.exp | 1 Global: .ALLTARGETS = all target-rule.ext dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from inference-rule.ir-to dir/subdir/inference-rule.ir-to inference-rule.ir-from dir/subdir/inference-rule.ir-from inference-rule-chain.ir-to dir/subdir/inference-rule-chain.ir-to inference-rule-chain.ir-gen-from dir/subdir/inference-rule-chain.ir-gen-from one 2 Global: .ALLTARGETS = all target-rule.ext dir/subdir/target-rule.ext target-rule.ir-gen-from dir/subdir/target-rule-dir.ir-gen-from inference-rule.ir-to dir/subdir/inference-rule.ir-to inference-rule.ir-from dir/subdir/inference-rule.ir-from inference-rule-chain.ir-to dir/subdir/inference-rule-chain.ir-to inference-rule-chain.ir-gen-from dir/subdir/inference-rule-chain.ir-gen-from one two 20 target-rule.ir-gen-from: @ = <target-rule.ir-gen [all...] |
| /freebsd/crypto/krb5/src/lib/crypto/builtin/camellia/ |
| H A D | Makefile.in | 17 EXTRADEPSRCS= $(srcdir)/camellia-gen.c 23 all-unix: all-libobjs # camellia-gen 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
|
| /freebsd/contrib/ntp/include/ |
| H A D | gps.h | 15 #define GFRZ1 0x0020 /* freeze cmd addr gen reg. 1 */ 16 #define GREG1A 0x0021 /* Gen reg. 1 Word A (units microsec to 0.001 sec) */ 17 #define GREG1B 0x0040 /* Gen reg. 1 Word B (units 0.01 sec to tens sec ) */ 18 #define GREG1C 0x0041 /* Gen reg 1 Word C (units mins and hours) */ 19 #define GREG1D 0x0042 /* Gen reg. 1 Word D (units days and status) */ 20 #define GREG1E 0x0043 /* Gen reg. 1 Word E (units Years ) */ 21 #define GUFRZ1 0x0022 /* unfreeze cmd addr gen reg 1 */ 45 #define PUMS 0x0056 /* Gen. preset register unit millisec */ 46 #define PMS 0x0057 /* Gen. preset register units hundreds and tens ms */ 47 #define PSEC 0x0058 /* Gen. preset register units tens and unit seconds */ [all …]
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/aes/ |
| H A D | Makefile.in | 30 $(srcdir)/aes-gen.c 39 all-unix: all-libobjs # aes-gen 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
|
| /freebsd/crypto/openssl/test/smime-certs/ |
| H A D | mksmime-certs.sh | 16 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 …]
|
| /freebsd/contrib/googletest/googletest/test/ |
| H A D | googletest-param-test-test.cc | 138 const ParamGenerator<int> gen = Range(0, 10); in TEST() local 139 ParamGenerator<int>::iterator it = gen.begin(); in TEST() 173 const ParamGenerator<int> gen = Range(0, 3); in TEST() local 175 VerifyGenerator(gen, expected_values); in TEST() 181 const ParamGenerator<int> gen = Range(0, 1); in TEST() local 183 VerifyGenerator(gen, expected_values); in TEST() 189 const ParamGenerator<int> gen = Range(0, 0); in TEST() local 190 VerifyGeneratorIsEmpty(gen); in TEST() 196 const ParamGenerator<int> gen = Range(0, 9, 3); in TEST() local 198 VerifyGenerator(gen, expected_values); in TEST() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/test/ |
| H A D | ulp.c | 70 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 …]
|
| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 20-test_dhparam.t | 31 my $gen = shift; #2, 5 or something else (0 is "something else")? 80 if ($gen == 2 || $gen == 5) { 82 $genline = "G: $gen (0x$gen)"; 136 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.pem', 138 checkdhparams("gen-pkcs3-2-512.pem", "PKCS3", 2, "PEM", 512, 125); 142 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-exp2-512.pem', '-2', 144 checkdhparams("gen-pkcs3-exp2-512.pem", "PKCS3", 2, "PEM", 512, 125); 148 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-5-512.pem', '-5', 150 checkdhparams("gen-pkcs3-5-512.pem", "PKCS3", 5, "PEM", 512, 125); 154 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.exp.pem', [all …]
|
| /freebsd/kerberos5/lib/libasn1/ |
| H A D | Makefile | 20 ${GEN:S/.x$/.c/:S/.hx$/.h/} 35 GEN+= ${GEN_RFC2459} 36 GEN+= ${GEN_CMS} 37 GEN+= ${GEN_K5} 38 GEN+= ${GEN_PKINIT} 39 GEN+= ${GEN_PKCS8} 40 GEN+= ${GEN_PKCS9} 41 GEN+= ${GEN_PKCS12} 42 GEN+= ${GEN_DIGEST} 43 GEN+= ${GEN_KX509} [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | VOPInstructions.td | 201 class VOP3_Real_Gen <VOP_Pseudo ps, GFXGen Gen, string asm_name = ps.Mnemonic> : 202 VOP3_Real <ps, Gen.Subtarget, asm_name> { 203 let AssemblerPredicate = Gen.AssemblerPredicate; 205 let DecoderNamespace = Gen.DecoderNamespace# 218 class VOP3P_Real_Gen<VOP_Pseudo ps, GFXGen Gen, string asm_name = ps.Mnemonic> : 219 VOP3P_Real<ps, Gen.Subtarget, asm_name> { 220 let AssemblerPredicate = Gen.AssemblerPredicate; 221 let DecoderNamespace = Gen.DecoderNamespace; 1352 class VOP3_DPP16_Gen<bits<10> op, VOP_DPP_Pseudo ps, GFXGen Gen, 1354 VOP3_DPP16 <op, ps, Gen.Subtarget, opName> { [all …]
|