Home
last modified time | relevance | path

Searched refs:globals (Results 1 – 25 of 172) sorted by relevance

1234567

/freebsd/contrib/kyua/utils/logging/
H A Doperations.cpp179 struct global_state* globals = get_globals(); in generate_log_name() local
181 if (!globals->first_timestamp) in generate_log_name()
182 globals->first_timestamp = datetime::timestamp::now(); in generate_log_name()
185 globals->first_timestamp.get().strftime(timestamp_format)); in generate_log_name()
202 struct global_state* globals = get_globals(); in log() local
205 if (!globals->first_timestamp) in log()
206 globals->first_timestamp = now; in log()
208 if (globals->auto_set_persistency) { in log()
214 globals->auto_set_persistency = false; in log()
217 if (message_level > globals->log_level) in log()
[all …]
/freebsd/tools/boot/
H A Dlua-lint.sh17 ${LUACHECK} . --globals loader --globals lfs --globals io.getchar \
18 --globals io.ischar --globals printc --globals cli_execute \
19 --globals cli_execute_unparsed --globals try_include \
20 --globals pager --globals gfx --globals hash --std lua53
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_globals.cpp112 int GetGlobalsForAddress(uptr addr, Global *globals, u32 *reg_sites, in GetGlobalsForAddress() argument
122 internal_memcpy(&globals[res], &g, sizeof(g)); in GetGlobalsForAddress()
367 void __asan_register_globals(__asan_global *globals, uptr n) { in __asan_register_globals() argument
377 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]}; in __asan_register_globals()
381 Printf("=== ID %d; %p %p\n", stack_id, (void *)&globals[0], in __asan_register_globals()
382 (void *)&globals[n - 1]); in __asan_register_globals()
385 if (SANITIZER_WINDOWS && globals[i].beg == 0) { in __asan_register_globals()
394 CHECK(globals[i].size == 0 && globals[i].size_with_redzone == 0 && in __asan_register_globals()
395 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
396 globals[i].odr_indicator == 0); in __asan_register_globals()
[all …]
H A Dasan_mac.cpp78 __asan_global *globals = (__asan_global *)getsectiondata( in AsanApplyToGlobals() local
83 if (!globals) return; in AsanApplyToGlobals()
85 op(globals, size / sizeof(__asan_global)); in AsanApplyToGlobals()
H A Dasan_descriptions.cpp304 int globals_num = GetGlobalsForAddress(addr, descr->globals, descr->reg_sites, in GetGlobalAddressInformation()
305 ARRAY_SIZE(descr->globals)); in GetGlobalAddressInformation()
327 DescribeAddressRelativeToGlobal(addr, access_size, globals[i]); in Print()
342 const __asan_global &a = globals[i]; in PointsInsideTheSameVariable()
344 const __asan_global &b = other.globals[j]; in PointsInsideTheSameVariable()
H A Dasan_flags.inc41 "Controls the way to handle globals (0 - don't detect buffer overflow on "
42 "globals, 1 - detect buffer overflow, 2 - print data about registered "
43 "globals).")
132 "If true, assume that dynamic initializers can never access globals from "
/freebsd/contrib/libcxxrt/
H A Dexception.cc194 __cxa_eh_globals globals; member
334 __cxa_eh_globals *globals = __cxa_get_globals(); in terminate_with_diagnostics() local
335 __cxa_exception *ex = globals->caughtExceptions; in terminate_with_diagnostics()
421 if (info->globals.caughtExceptions) in thread_cleanup()
426 _Unwind_Exception *e = reinterpret_cast<_Unwind_Exception*>(info->globals.caughtExceptions); in thread_cleanup()
432 free_exception_list(info->globals.caughtExceptions); in thread_cleanup()
504 return &(thread_info()->globals); in __cxa_get_globals()
512 return &(thread_info_fast()->globals); in __cxa_get_globals_fast()
793 info->globals.uncaughtExceptions++; in throw_exception()
852 __cxa_eh_globals* globals = __cxa_get_globals(); in __cxa_current_primary_exception() local
[all …]
/freebsd/contrib/kyua/utils/signals/
H A Dtimer.cpp350 static std::auto_ptr< global_state > globals; variable
360 globals->fire(datetime::timestamp::now()); in sigalrm_handler()
427 if (globals.get() == NULL) { in timer()
428 globals.reset(new global_state(this, now)); in timer()
430 globals->program_new(this, now); in timer()
532 if (!globals->unprogram(this)) { in unprogram()
533 globals.reset(NULL); in unprogram()
/freebsd/contrib/llvm-project/lld/docs/ELF/
H A Dlarge_sections.rst25 large globals depending on if their size is over a certain threshold. Large
26 globals are placed further away from text and we use 64-bit references to refer
29 Large globals are placed in separate sections from small globals, and those
32 do not affect affect the distance of small globals to text. The large versions
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DManualDWARFIndex.cpp135 task_group.async(finalize_fn, &IndexSet::globals); in Index()
367 set.globals.Insert(ConstString(name), ref); in IndexUnitImpl()
379 set.globals.Insert(ConstString(mangled_cstr), ref); in IndexUnitImpl()
393 m_set.globals.Find(basename, in GetGlobalVariables()
401 m_set.globals.Find(regex, DIERefCallback(callback, regex.GetText())); in GetGlobalVariables()
407 m_set.globals.FindAllEntriesForUnit(unit, DIERefCallback(callback)); in GetGlobalVariables()
521 m_set.globals.Dump(&s); in Dump()
590 if (!globals.Decode(data, offset_ptr, strtab)) in Decode()
644 if (!globals.IsEmpty()) { in Encode()
646 globals.Encode(index_encoder, strtab); in Encode()
H A DManualDWARFIndex.h68 NameToDIE globals; member
79 globals == rhs.globals && types == rhs.types &&
/freebsd/crypto/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl160 my %globals;
313 $self->{label} =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei;
448 my $func = ($globals{$self->{value}} or $self->{value}) . ":";
508 $self->{value} =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei;
793 && do { $globals{$$line} = $prefix . $$line;
794 $$line = $globals{$$line} if ($prefix);
803 $current_function->{scope} = defined($globals{$sym})?"PUBLIC":"PRIVATE";
807 $current_function->{scope} = defined($globals{$sym})?"PUBLIC":"PRIVATE";
820 && do { $$line =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei;
833 $self->{value} = ".def\t" . ($globals{$1} or $1) . ";\t" .
[all …]
/freebsd/usr.bin/bmake/tests/variables/modifier_M/
H A Dexpected.stdout.11 all files: main.c globals.h util.c util.h map.c map.h parser.y lexer.l cmdman.1 format.5
3 hfiles: globals.h util.h map.h
H A DMakefile.test5 main.c globals.h \
/freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp112 while (!M.globals().empty()) in clearModule()
113 eraseFromModule(*M.globals().begin()); in clearModule()
122 for (auto &&G : M.globals()) { // TODO: should we handle these in the FE? in maybeHandleGlobals()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.h136 llvm::pdb::GlobalsStream &globals() { return *m_globals; } in globals() function
137 const llvm::pdb::GlobalsStream &globals() const { return *m_globals; } in globals() function
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_fuchsia.cpp45 // There is nothing left to do after the globals callbacks.
79 // Callback from libc for globals (data/bss modulo relro), when enabled. in LockStuffAndStopTheWorld()
80 auto globals = +[](void *chunk, size_t size, void *data) { in LockStuffAndStopTheWorld() local
139 flags()->use_globals ? globals : nullptr, in LockStuffAndStopTheWorld()
/freebsd/contrib/llvm-project/lld/ELF/
H A DScriptParser.cpp199 SmallVector<SymbolVersion, 0> globals; in readDynamicList() local
200 std::tie(locals, globals) = readSymbols(); in readDynamicList()
212 for (SymbolVersion v : globals) in readDynamicList()
1673 SmallVector<SymbolVersion, 0> globals; in readAnonymousDeclaration() local
1674 std::tie(locals, globals) = readSymbols(); in readAnonymousDeclaration()
1677 for (const SymbolVersion &pat : globals) in readAnonymousDeclaration()
1688 SmallVector<SymbolVersion, 0> globals; in readVersionDeclaration() local
1689 std::tie(locals, globals) = readSymbols(); in readVersionDeclaration()
1694 ver.nonLocalPatterns = std::move(globals); in readVersionDeclaration()
1716 SmallVector<SymbolVersion, 0> globals; in readSymbols() local
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp1468 PythonDictionary globals(PyInitialValue::Empty); in Init() local
1470 if (Error error = globals.SetItem("__builtins__", builtins)) in Init()
1473 PyRun_String(script, Py_file_input, globals.get(), globals.get()); in Init()
1477 auto f = As<PythonCallable>(globals.GetItem("main")); in Init()
1487 const PythonDictionary &globals, in runStringOneLine() argument
1489 if (!globals.IsValid() || !locals.IsValid()) in runStringOneLine()
1503 PyObject *result = PyEval_EvalCode(code, globals.get(), locals.get()); in runStringOneLine()
1513 const PythonDictionary &globals, in runStringMultiLine() argument
1515 if (!globals.IsValid() || !locals.IsValid()) in runStringMultiLine()
1518 globals.get(), locals.get()); in runStringMultiLine()
/freebsd/contrib/bc/include/
H A Dprogram.h48 /// The index of ibase in the globals array.
51 /// The index of obase in the globals array.
54 /// The index of scale in the globals array.
64 /// The length of the globals array.
69 /// The array of globals values.
70 BcBigDig globals[BC_PROG_GLOBALS_LEN]; member
73 /// The array of globals stacks.
182 #define BC_PROG_IBASE(p) ((p)->globals[BC_PROG_GLOBALS_IBASE])
189 #define BC_PROG_OBASE(p) ((p)->globals[BC_PROG_GLOBALS_OBASE])
196 #define BC_PROG_SCALE(p) ((p)->globals[BC_PROG_GLOBALS_SCAL
[all...]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp62 for (const auto &G : M.globals()) { in run()
100 for (const auto &G : M.globals()) { in runOnModule()
/freebsd/sys/kern/
H A Dsubr_asan.c1082 __asan_register_globals(struct __asan_global *globals, size_t n) in __asan_register_globals() argument
1087 kasan_mark(globals[i].beg, globals[i].size, in __asan_register_globals()
1088 globals[i].size_with_redzone, KASAN_GENERIC_REDZONE); in __asan_register_globals()
1093 __asan_unregister_globals(struct __asan_global *globals, size_t n) in __asan_unregister_globals() argument
1098 kasan_mark(globals[i].beg, globals[i].size_with_redzone, in __asan_unregister_globals()
1099 globals[i].size_with_redzone, 0); in __asan_unregister_globals()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInternalize.cpp196 for (GlobalVariable &GV : M.globals()) in internalizeModule()
249 for (auto &GV : M.globals()) { in internalizeModule()
H A DConstantMerge.cpp155 for (GlobalVariable &GV : llvm::make_early_inc_range(M.globals())) { in mergeConstants()
198 for (GlobalVariable &GV : llvm::make_early_inc_range(M.globals())) { in mergeConstants()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssembly.td54 SubtargetFeature<"mutable-globals", "HasMutableGlobals", "true",
55 "Enable mutable globals">;

1234567