Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/openbsd-src/sbin/fsck_msdos/
H A Dcheck.c55 int mod = 0; in checkfilesys() local
99 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); in checkfilesys()
100 if (mod & FSFATAL) { in checkfilesys()
108 mod |= readfat(dosfs, &boot, i, &currentFat); in checkfilesys()
110 if (mod & FSFATAL) { in checkfilesys()
116 mod |= comparefat(&boot, fat, currentFat, i); in checkfilesys()
118 if (mod & FSFATAL) { in checkfilesys()
128 mod |= checkfat(&boot, fat); in checkfilesys()
129 if (mod & FSFATAL) { in checkfilesys()
135 if (mod & FSFATMOD) in checkfilesys()
[all …]
H A Ddir.c423 int mod = FSOK; in readDosDirSection() local
484 mod |= THISMOD|FSDIRMOD; in readDosDirSection()
490 mod |= THISMOD|FSDIRMOD; in readDosDirSection()
493 mod |= FSERROR; in readDosDirSection()
605 mod |= removede(f, boot, fat, in readDosDirSection()
644 mod |= k = removede(f, boot, fat, in readDosDirSection()
648 if (mod & FSFATAL) in readDosDirSection()
654 mod |= THISMOD; in readDosDirSection()
670 mod |= THISMOD|FSDIRMOD|FSFATMOD; in readDosDirSection()
672 mod |= FSERROR; in readDosDirSection()
[all …]
/openbsd-src/lib/libcrypto/conf/
H A Dconf_mod.c88 CONF_MODULE *mod;
95 static void module_free(CONF_MODULE *mod);
103 static int module_init(CONF_MODULE *mod, char *name, char *value,
190 CONF_MODULE *mod;
193 if ((mod = module_find(name)) == NULL) { in module_run()
201 ret = module_init(mod, name, value, cnf); in module_run()
218 CONF_MODULE *mod = NULL;
229 if ((mod = calloc(1, sizeof(*mod))) == NULL) in module_add()
231 if ((mod in module_add()
89 CONF_MODULE *mod; global() member
194 CONF_MODULE *mod; module_run() local
222 CONF_MODULE *mod = NULL; module_add() local
260 CONF_MODULE *mod; module_find() local
282 module_init(CONF_MODULE * mod,char * name,char * value,const CONF * cnf) module_init() argument
339 CONF_MODULE *mod; CONF_modules_unload() local
361 module_free(CONF_MODULE * mod) module_free() argument
478 CONF_module_get_usr_data(CONF_MODULE * mod) CONF_module_get_usr_data() argument
485 CONF_module_set_usr_data(CONF_MODULE * mod,void * usr_data) CONF_module_set_usr_data() argument
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/API/
H A DBreakage.pm71 for my $mod (keys %suggest) {
72 my $file = pkg_to_file($mod);
74 my $want = $suggest{$mod};
75 next if eval { $mod->VERSION($want); 1 };
78 push @warn => " * Module '$mod' is outdated, we recommend updating above $want. error was: '$error'; INC is $INC{$file}";
81 for my $mod (keys %required) {
82 my $file = pkg_to_file($mod);
84 my $want = $required{$mod};
85 next if eval { $mod->VERSION($want); 1 };
86 push @warn => " * Module '$mod' i
[all...]
/openbsd-src/gnu/usr.bin/perl/dist/Module-CoreList/
H A Dcorelist211 for my $mod ( sort keys %$version_hash ) {
212 printf "%-${max_mod_len}s %s\n", $mod, $version_hash->{$mod} || "";
323 my ($mod, $ver);
325 ($mod, $ver) = split /=/, shift @ARGV;
327 $mod = shift @ARGV;
331 if ($mod !~ m|^/(.*)/([imosx]*)$|) { # not a regex
332 module_version($mod,$ver);
340 warn "\n$mod is a bad regex: $errmsg\n";
343 my @mod = Module::CoreList->find_modules($re);
344 if (@mod) {
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Load-Conditional/lib/Module/Load/
H A DConditional.pm412 for my $mod ( keys %$href ) {
414 next if $CACHE->{$mod}->{usable} && !$args->{nocache};
428 && defined $CACHE->{$mod}->{usable}
429 && (version->new( $CACHE->{$mod}->{version}||0 )
430 >= version->new( $href->{$mod} ) )
432 $error = loc( q[Already tried to use '%1', which was unsuccessful], $mod);
437 module => $mod,
438 version => $href->{$mod}
442 $error = loc(q[Could not find or check module '%1'], $mod);
443 $CACHE->{$mod}->{usable} = 0;
[all …]
/openbsd-src/usr.sbin/unbound/services/
H A Dmodstack.c95 stack->mod = NULL; in modstack_init()
104 free(stack->mod); in modstack_config()
105 stack->mod = NULL; in modstack_config()
123 stack->mod = (struct module_func_block**)calloc((size_t) in modstack_config()
125 if(!stack->mod) { in modstack_config()
130 stack->mod[i] = module_factory(&module_conf); in modstack_config()
131 if(!stack->mod[i]) { in modstack_config()
247 if(stack->mod[i]->startup == NULL) in modstack_setup()
250 i, stack->mod[i]->name);
251 fptr_ok(fptr_whitelist_mod_startup(stack->mod[
[all...]
/openbsd-src/sbin/unwind/libunbound/services/
H A Dmodstack.c95 stack->mod = NULL; in modstack_init()
104 free(stack->mod); in modstack_config()
105 stack->mod = NULL; in modstack_config()
123 stack->mod = (struct module_func_block**)calloc((size_t) in modstack_config()
125 if(!stack->mod) { in modstack_config()
130 stack->mod[i] = module_factory(&module_conf); in modstack_config()
131 if(!stack->mod[i]) { in modstack_config()
247 if(stack->mod[i]->startup == NULL) in modstack_setup()
250 i, stack->mod[i]->name);
251 fptr_ok(fptr_whitelist_mod_startup(stack->mod[
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Load/t/
H A D01_Module-Load.t29 my($mod, $flag, $diag) = @$aref;
31 my $file = Module::Load::_to_file($mod, $flag);
33 eval { load $mod };
35 is( $@, '', qq[Loading $diag '$mod' $@] );
41 { my $mod = 'TestModule';
44 eval { load $mod, @funcs };
45 is( $@, '', qq[Loaded exporter module '$mod'] );
48 ok( $mod->imported, " ->import() was called" );
52 ok( $mod->can($func), " $mod->can( $func )" );
/openbsd-src/gnu/usr.bin/perl/cpan/Encode/t/
H A Dmagic.t39 my $mod = defined $str && $croak;
44 is(tied($input)->{store}, $mod ? 1 : 0, "$func " . ($mod ? 'processes set magic only once' : 'does not process set magic'));
45 is($input, $mod ? '' : $str, "$func " . ($mod ? 'modifies' : 'does not modify') . ' $input string');
49 my $mod = defined $str && $croak;
55 is(tied($input)->{store}, $mod ? 1 : 0, "$func " . ($mod ? 'processes set magic only once' : 'does not process set magic'));
56 is($input, $mod ? '' : $input_str, "$func " . ($mod
[all...]
/openbsd-src/usr.bin/mandoc/
H A Dtbl_layout.c71 mod: in mods()
88 goto mod; in mods()
103 goto mod; in mods()
109 goto mod; in mods()
112 goto mod; in mods()
115 goto mod; in mods()
120 goto mod; in mods()
123 goto mod; in mods()
130 goto mod; in mods()
133 goto mod; in mods()
[all...]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.cpp58 for (const auto &mod : modules) { in OnLibraryLoaded() local
59 for (const auto &range : mod.ranges()) { in OnLibraryLoaded()
62 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded()
64 internal_strcmp(lib->real_name, mod.full_name()) == 0)) in OnLibraryLoaded()
69 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded()
78 lib->templ, mod.full_name()); in OnLibraryLoaded()
80 lib->name = internal_strdup(mod.full_name()); in OnLibraryLoaded()
100 for (const auto &mod : modules) { in OnLibraryLoaded() local
101 if (!mod.instrumented()) in OnLibraryLoaded()
103 for (const auto &range : mod.ranges()) { in OnLibraryLoaded()
[all …]
H A Dsanitizer_symbolizer.cpp45 void AddressInfo::FillModuleInfo(const LoadedModule &mod) { in FillModuleInfo() argument
46 module = internal_strdup(mod.full_name()); in FillModuleInfo()
47 module_offset = address - mod.base_address(); in FillModuleInfo()
48 module_arch = mod.arch(); in FillModuleInfo()
49 if (mod.uuid_size()) in FillModuleInfo()
50 internal_memcpy(uuid, mod.uuid(), mod.uuid_size()); in FillModuleInfo()
51 uuid_size = mod.uuid_size(); in FillModuleInfo()
/openbsd-src/gnu/usr.bin/perl/cpan/Memoize/Memoize/
H A DAnyDBM_File.pm8 for my $mod (@ISA) {
9 if (eval "require $mod") {
10 $mod = 'NDBM_File'
11 if $mod eq 'Memoize::NDBM_File'
13 print STDERR "AnyDBM_File => Selected $mod.\n" if our $Verbose;
14 @ISA = $mod;
/openbsd-src/lib/libcrypto/rsa/
H A Drsa_blinding.c129 BIGNUM *mod; member
138 BN_BLINDING_new(const BIGNUM *e, const BIGNUM *mod, BN_CTX *ctx, in BN_BLINDING_new() argument
154 if ((ret->mod = BN_dup(mod)) == NULL) in BN_BLINDING_new()
156 if (BN_get_flags(mod, BN_FLG_CONSTTIME) != 0) in BN_BLINDING_new()
157 BN_set_flags(ret->mod, BN_FLG_CONSTTIME); in BN_BLINDING_new()
185 BN_free(r->mod); in BN_BLINDING_free()
192 if (!bn_rand_interval(b->A, 1, b->mod)) in BN_BLINDING_setup()
194 if (BN_mod_inverse_ct(b->Ai, b->A, b->mod, ctx) == NULL) in BN_BLINDING_setup()
198 if (!b->bn_mod_exp(b->A, b->A, b->e, b->mod, ctx, b->m_ctx)) in BN_BLINDING_setup()
201 if (!BN_mod_exp_ct(b->A, b->A, b->e, b->mod, ctx)) in BN_BLINDING_setup()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/stats/
H A Dstats.cpp65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport() local
67 WriteToFile(stats_fd, mod->full_name(), in WriteModuleReport()
68 internal_strlen(mod->full_name()) + 1); in WriteModuleReport()
74 WriteLE(stats_fd, s->addr - mod->base_address()); in WriteModuleReport()
86 unsigned __sanitizer_stats_register(StatModule **mod) { in __sanitizer_stats_register() argument
88 modules.push_back(mod); in __sanitizer_stats_register()
104 for (StatModule **mod : modules) { in WriteFullReport()
105 if (!mod) in WriteFullReport()
107 WriteModuleReport(mod); in WriteFullReport()
/openbsd-src/gnu/llvm/llvm/examples/BrainF/
H A DBrainFDriver.cpp73 void addMainFunction(Module *mod) { in addMainFunction() argument
76 Type::getInt32Ty(mod->getContext()), in addMainFunction()
77 {Type::getInt32Ty(mod->getContext()), in addMainFunction()
78 Type::getInt8Ty(mod->getContext())->getPointerTo()->getPointerTo()}, in addMainFunction()
81 Function::Create(main_func_fty, Function::ExternalLinkage, "main", mod); in addMainFunction()
92 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction()
96 CallInst *brainf_call = CallInst::Create(mod->getFunction("brainf"), in addMainFunction()
102 ReturnInst::Create(mod->getContext(), in addMainFunction()
103 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb); in addMainFunction()
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dhistory.c192 char *mod; /* The module within which the file is contained */ member
334 if (left->mod && right->mod)
335 if ((i = strcmp (left->mod, right->mod)) != 0)
548 char **mod; local
582 for (mod = mod_list; mod < &mod_list[mod_count]; ++mod)
583 option_with_arg ("-n", *mod);
588 for (mod = user_list; mod < &user_list[user_count]; ++mod)
589 option_with_arg ("-u", *mod);
1019 hr->end = hr->mod = NULL;
1043 hr->mod = line;
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A Dlto.h247 lto_module_dispose(lto_module_t mod);
255 lto_module_get_target_triple(lto_module_t mod);
263 lto_module_set_target_triple(lto_module_t mod, const char *triple);
271 lto_module_get_num_symbols(lto_module_t mod);
279 lto_module_get_symbol_name(lto_module_t mod, unsigned int index);
287 lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index);
298 lto_module_get_linkeropts(lto_module_t mod);
311 extern lto_bool_t lto_module_get_macho_cputype(lto_module_t mod,
324 extern lto_bool_t lto_module_has_ctor_dtor(lto_module_t mod);
404 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D990106-2.c1 unsigned calc_mp(unsigned mod) in calc_mp() argument
5 a=c/mod; in calc_mp()
6 b=0-a*mod; in calc_mp()
7 if (b > mod) { a += 1; b-=mod; } in calc_mp()
/openbsd-src/gnu/llvm/llvm/tools/lto/
H A Dlto.cpp298 void lto_module_dispose(lto_module_t mod) { delete unwrap(mod); } in lto_module_dispose() argument
300 const char* lto_module_get_target_triple(lto_module_t mod) { in lto_module_get_target_triple() argument
301 return unwrap(mod)->getTargetTriple().c_str(); in lto_module_get_target_triple()
304 void lto_module_set_target_triple(lto_module_t mod, const char *triple) { in lto_module_set_target_triple() argument
305 return unwrap(mod)->setTargetTriple(StringRef(triple)); in lto_module_set_target_triple()
308 unsigned int lto_module_get_num_symbols(lto_module_t mod) { in lto_module_get_num_symbols() argument
309 return unwrap(mod)->getSymbolCount(); in lto_module_get_num_symbols()
312 const char* lto_module_get_symbol_name(lto_module_t mod, unsigned int index) { in lto_module_get_symbol_name() argument
313 return unwrap(mod)->getSymbolName(index).data(); in lto_module_get_symbol_name()
316 lto_symbol_attributes lto_module_get_symbol_attribute(lto_module_t mod, in lto_module_get_symbol_attribute() argument
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Load/lib/Module/
H A DLoad.pm68 my $mod = shift or return;
71 if( _is_file( $mod ) ) {
72 require $mod;
77 my $file = _to_file( $mod, $flag);
93 $import = $mod->can('import')
95 unshift(@_, $mod),
/openbsd-src/gnu/gcc/gcc/
H A Ddouble-int.c211 double_int *mod) in double_int_divmod() argument
216 &ret.low, &ret.high, &mod->low, &mod->high); in double_int_divmod()
223 double_int_sdivmod (double_int a, double_int b, unsigned code, double_int *mod) in double_int_sdivmod() argument
225 return double_int_divmod (a, b, false, code, mod); in double_int_sdivmod()
231 double_int_udivmod (double_int a, double_int b, unsigned code, double_int *mod) in double_int_udivmod() argument
233 return double_int_divmod (a, b, true, code, mod); in double_int_udivmod()
243 double_int mod; in double_int_div() local
245 return double_int_divmod (a, b, uns, code, &mod); in double_int_div()
271 double_int mod; in double_int_mod() local
273 double_int_divmod (a, b, uns, code, &mod); in double_int_mod()
[all …]
/openbsd-src/gnu/usr.bin/perl/lib/
H A DAnyDBM_File.pm9 my $mod;
10 for $mod (@ISA) {
11 if (eval "require $mod") {
12 @ISA = ($mod); # if we leave @ISA alone, warnings abound
/openbsd-src/gnu/usr.bin/perl/cpan/IPC-SysV/t/
H A Dpodcov.t39 my $mod = shift @modules;
40 pod_coverage_ok($mod, { trustme => [qw( dl_load_flags )] }, "$mod is covered");
42 for my $mod (@modules) {
43 pod_coverage_ok($mod, "$mod is covered");

12345678910>>...17