Home
last modified time | relevance | path

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

12345678

/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/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/llvm-project/compiler-rt/lib/asan/
H A Dasan_globals.cpp175 int GetGlobalsForAddress(uptr addr, Global *globals, u32 *reg_sites, in GetGlobalsForAddress() argument
185 internal_memcpy(&globals[res], &g, sizeof(g)); in GetGlobalsForAddress()
429 void __asan_register_globals(__asan_global *globals, uptr n) { in __asan_register_globals() argument
439 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]}; in __asan_register_globals()
443 Printf("=== ID %d; %p %p\n", stack_id, (void *)&globals[0], in __asan_register_globals()
444 (void *)&globals[n - 1]); in __asan_register_globals()
447 if (SANITIZER_WINDOWS && globals[i].beg == 0) { in __asan_register_globals()
456 CHECK(globals[i].size == 0 && globals[i].size_with_redzone == 0 && in __asan_register_globals()
457 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
458 globals[i].odr_indicator == 0); in __asan_register_globals()
[all …]
H A Dasan_mac.cpp81 __asan_global *globals = (__asan_global *)getsectiondata( in AsanApplyToGlobals() local
86 if (!globals) return; in AsanApplyToGlobals()
88 op(globals, size / sizeof(__asan_global)); in AsanApplyToGlobals()
H A Dasan_descriptions.cpp306 int globals_num = GetGlobalsForAddress(addr, descr->globals, descr->reg_sites, in GetGlobalAddressInformation()
307 ARRAY_SIZE(descr->globals)); in GetGlobalAddressInformation()
329 DescribeAddressRelativeToGlobal(addr, access_size, globals[i]); in Print()
344 const __asan_global &a = globals[i]; in PointsInsideTheSameVariable()
346 const __asan_global &b = other.globals[j]; in PointsInsideTheSameVariable()
/freebsd/contrib/kyua/utils/signals/
H A Dtimer.cpp350 static std::unique_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(); 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 the distance of small globals to text. The large versions
/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/lldb/source/Plugins/SymbolFile/DWARF/
H A DManualDWARFIndexSet.h26 T globals; member
36 &IndexSet::globals, in Indices()
H A DManualDWARFIndexSet.cpp83 if (!result.globals.Decode(data, offset_ptr, strtab)) in DecodeIndexSet()
136 if (!set.globals.IsEmpty()) { in EncodeIndexSet()
138 set.globals.Encode(index_encoder, strtab); in EncodeIndexSet()
H A DManualDWARFIndex.cpp392 set.globals.Insert(ConstString(name), ref); in IndexUnitImpl()
404 set.globals.Insert(ConstString(mangled_cstr), ref); in IndexUnitImpl()
418 m_set.globals.Find(basename, in GetGlobalVariables()
426 m_set.globals.Find(regex, DIERefCallback(callback, regex.GetText())); in GetGlobalVariables()
432 m_set.globals.FindAllEntriesForUnit(unit, DIERefCallback(callback)); in GetGlobalVariables()
546 m_set.globals.Dump(&s); in Dump()
/freebsd/crypto/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl219 my %globals;
391 $self->{label} =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei;
526 my $func = ($globals{$self->{value}} or $self->{value}) . ":";
586 $self->{value} =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei;
870 && do { $globals{$$line} = $prefix . $$line;
871 $$line = $globals{$$line} if ($prefix);
880 $current_function->{scope} = defined($globals{$sym})?"PUBLIC":"PRIVATE";
884 $current_function->{scope} = defined($globals{$sym})?"PUBLIC":"PRIVATE";
897 && do { $$line =~ s/([_a-z][_a-z0-9]*)/$globals{$1} or $1/gei;
910 $self->{value} = ".def\t" . ($globals{$1} or $1) . ";\t" .
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp109 while (!M.globals().empty()) in clearModule()
110 eraseFromModule(*M.globals().begin()); in clearModule()
119 for (auto &&G : M.globals()) { // TODO: should we handle these in the FE? in maybeHandleGlobals()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp1423 PythonDictionary globals(PyInitialValue::Empty); in Init() local
1425 if (Error error = globals.SetItem("__builtins__", builtins)) in Init()
1428 PyRun_String(script, Py_file_input, globals.get(), globals.get()); in Init()
1432 auto f = As<PythonCallable>(globals.GetItem("main")); in Init()
1442 const PythonDictionary &globals, in runStringOneLine() argument
1444 if (!globals.IsValid() || !locals.IsValid()) in runStringOneLine()
1458 PyObject *result = PyEval_EvalCode(code, globals.get(), locals.get()); in runStringOneLine()
1468 const PythonDictionary &globals, in runStringMultiLine() argument
1470 if (!globals.IsValid() || !locals.IsValid()) in runStringMultiLine()
1473 globals.get(), locals.get()); in runStringMultiLine()
/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/bc/include/
H A Dprogram.h70 BcBigDig globals[BC_PROG_GLOBALS_LEN]; member
185 #define BC_PROG_IBASE(p) ((p)->globals[BC_PROG_GLOBALS_IBASE])
192 #define BC_PROG_OBASE(p) ((p)->globals[BC_PROG_GLOBALS_OBASE])
199 #define BC_PROG_SCALE(p) ((p)->globals[BC_PROG_GLOBALS_SCALE])
/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/lld/ELF/
H A DScriptParser.cpp184 SmallVector<SymbolVersion, 0> globals; in readDynamicList() local
185 std::tie(locals, globals) = readSymbols(); in readDynamicList()
198 for (SymbolVersion v : globals) in readDynamicList()
1730 SmallVector<SymbolVersion, 0> globals; in readAnonymousDeclaration() local
1731 std::tie(locals, globals) = readSymbols(); in readAnonymousDeclaration()
1734 for (const SymbolVersion &pat : globals) in readAnonymousDeclaration()
1745 SmallVector<SymbolVersion, 0> globals; in readVersionDeclaration() local
1746 std::tie(locals, globals) = readSymbols(); in readVersionDeclaration()
1751 ver.nonLocalPatterns = std::move(globals); in readVersionDeclaration()
1773 SmallVector<SymbolVersion, 0> globals; in readSymbols() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp120 for (GlobalVariable &GV : M.globals()) { in ScanVTables()
265 for (GlobalVariable &GV : M.globals()) in run()
325 for (GlobalVariable &GV : M.globals()) in run()
H A DInternalize.cpp194 for (GlobalVariable &GV : M.globals()) in internalizeModule()
251 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()

12345678