/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/ntp/ntpd/ |
H A D | ntp_filegen.c | 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() 158 gen->id_lo = ntpcal_date_to_ntp(&cal); 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([[ 73 gen:write(string.format([[ 78 gen:store(string.format([[ 83 gen:store(string.format([[ [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), 104 gen:write(string.format( 111 gen:write("#ifdef PAD64_REQUIRED\n") 114 gen:write(string.format([[ 125 gen:write("#endif\n") [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([[ 71 gen:write(string.format( 76 gen:write(string.format("nosys, " .. 83 gen:write(string.format("lkmressys, " .. [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") 79 gen:write(string.format("%s __sys_%s(%s);\n", 84 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(string.format([[ 58 gen:write(string.format([[ 64 gen:write(string.format([[ 70 gen:write(string.format([[ 76 gen:write(string.format([[ 84 gen:write("};\n")
|
H A D | syscall_mk.lua | 38 local gen = generator:new({}, fh) 41 gen:preamble("FreeBSD system call object files.", "#") 43 gen:write("MIASM = \\\n") -- preamble 50 gen:write(string.format("\t%s.o\n", v:symbol())) 53 gen:write(string.format("\t%s.o \\\n", v:symbol())) 59 gen:write(string.format("\t%s.o\n", v:symbol())) 62 gen:write(string.format("\t%s.o \\\n", v:symbol()))
|
H A D | syscalls_map.lua | 32 local gen = generator:new({}, fh) 35 gen:preamble("FreeBSD system call symbols.") 37 gen:write(string.format("FBSDprivate_1.0 {\n")) 43 gen:write(string.format("\t_%s;\n", v.name)) 45 gen:write(string.format("\t__sys_%s;\n", v.name)) 49 gen:write("};\n")
|
/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/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/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 …]
|
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | ulp.c | 99 struct gen struct 152 next1 (struct gen *g) in next1() 165 next2 (uint64_t *x2, struct gen *g) in next2() 429 printgen_f1 (const struct fun *f, struct gen *gen) in printgen_f1() argument 431 printf ("%s in [%a;%a]", f->name, asfloat (gen->start), in printgen_f1() 432 asfloat (gen->start + gen->len)); in printgen_f1() 435 printgen_f2 (const struct fun *f, struct gen *gen) in printgen_f2() argument 437 printf ("%s in [%a;%a] x [%a;%a]", f->name, asfloat (gen->start), in printgen_f2() 438 asfloat (gen->start + gen->len), asfloat (gen->start2), in printgen_f2() 439 asfloat (gen->start2 + gen->len2)); in printgen_f2() [all …]
|
/freebsd/crypto/openssh/ |
H A D | dh.c | 64 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 …]
|
/freebsd/sys/dev/qat/qat_api/common/include/ |
H A D | sal_hw_gen.h | 34 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()
|
/freebsd/sys/security/mac_veriexec/ |
H A D | veriexec_metadata.c | 105 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 …]
|
/freebsd/lib/libsys/ |
H A D | __vdso_gettimeofday.c | 63 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()
|
/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_prn.c | 31 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()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
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; \
|
H A D | rpcgen_wrapper.sh | 32 test/regress.gen.h test/regress.gen.c 39 test -r ${srcdir}/regress.gen.c -a -r ${srcdir}/regress.gen.h && \
|
/freebsd/contrib/libevent/test/ |
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; \
|
H A D | rpcgen_wrapper.sh | 32 test/regress.gen.h test/regress.gen.c 39 test -r ${srcdir}/regress.gen.c -a -r ${srcdir}/regress.gen.h && \
|
/freebsd/tools/tools/netmap/ |
H A D | Makefile | 5 PROGS = pkt-gen nmreplay bridge lb 25 pkt-gen: pkt-gen.o 26 $(CC) $(CFLAGS) -o pkt-gen pkt-gen.o $(LDFLAGS)
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | var-scope-local.mk | 29 .SUFFIXES: .ir-gen-from .ir-from .ir-to 34 # expect: target-rule.ir-gen-from: * = <target-rule> 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
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | drti.c | 64 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()
|