Searched refs:symbol (Results 26 - 50 of 63) sorted by relevance

123

/haiku/headers/private/kernel/arch/
H A Ddebug.h43 bool arch_debug_contains_call(Thread *thread, const char *symbol,
/haiku/src/libs/bsd/
H A Dwait.c71 #define DEFINE_LIBBSD_SYMBOL_VERSION(function, symbol, version) \
72 B_DEFINE_SYMBOL_VERSION(function, symbol "LIBBSD_" version)
/haiku/headers/private/kernel/boot/
H A Delf.h90 Elf32_Sym* symbol, Elf32_Addr* symbolAddress);
92 Elf64_Sym* symbol, Elf64_Addr* symbolAddress);
/haiku/src/system/kernel/arch/arm/
H A Darch_elf.cpp196 Elf32_Sym *symbol; local
199 symbol = SYMBOL(image, ELF32_R_SYM(rel[i].r_info));
202 status = boot_elf_resolve_symbol(image, symbol, &S);
204 status = elf_resolve_symbol(image, symbol, resolveImage, &S);
208 TRACE(("failed relocating %s\n", SYMNAME(image, symbol)));
214 TRACE(("S %p (%s)\n", (void *)S, SYMNAME(image, symbol)));
330 elf_addr S = 0; // symbol address
331 addr_t R = 0; // section relative symbol address
H A Darch_debug.cpp77 // a kernel symbol
121 print_demangled_call(const char* image, const char* symbol, addr_t args, argument
130 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
163 while (debug_get_next_demangled_argument(&cookie, symbol, buffer,
288 const char* symbol; local
301 status = lookup_symbol(thread, ip, &baseAddress, &symbol, &image,
309 status = print_demangled_call(image, symbol,
314 if (symbol != NULL) {
315 kprintf("<%s> %s%s", image, symbol,
456 arch_debug_contains_call(Thread *thread, const char *symbol, argument
[all...]
/haiku/src/system/kernel/arch/ppc/
H A Darch_debug.cpp90 // lookup symbol
91 const char *symbol, *image; local
94 status_t status = elf_debug_lookup_symbol_address(ip, &baseAddress, &symbol,
99 &baseAddress, &symbol, &image, &exactMatch);
102 if (symbol != NULL) {
104 diff, ip, image, symbol, ip - baseAddress,
276 arch_debug_contains_call(Thread *thread, const char *symbol, argument
/haiku/src/system/kernel/arch/m68k/
H A Darch_debug.cpp91 // lookup symbol
92 const char *symbol, *image; local
95 status_t status = elf_debug_lookup_symbol_address(ip, &baseAddress, &symbol,
100 &baseAddress, &symbol, &image, &exactMatch);
103 if (symbol != NULL) {
105 diff, ip, image, symbol, ip - baseAddress,
265 arch_debug_contains_call(Thread *thread, const char *symbol, argument
/haiku/src/system/kernel/arch/x86/
H A Darch_debug.cpp112 // a kernel symbol
159 print_demangled_call(const char* image, const char* symbol, addr_t args, argument
168 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
201 while (debug_get_next_demangled_argument(&cookie, symbol, buffer,
325 print_demangled_call(const char* image, const char* symbol, addr_t args, argument
339 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
351 while (debug_get_next_demangled_argument(&cookie, symbol, buffer,
376 const char* symbol; local
389 status = lookup_symbol(thread, ip, &baseAddress, &symbol, &image,
397 status = print_demangled_call(image, symbol,
763 const char *symbol, *image; local
976 const char* symbol; local
1063 arch_debug_contains_call(Thread* thread, const char* symbol, addr_t start, addr_t end) argument
[all...]
/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp491 // we'll load the symbol and string tables and resolve the ABI symbol
589 // look up the ABI symbol
596 Elf32_Sym* symbol = symbolTable + i; local
597 if (symbol->st_shndx != SHN_UNDEF
598 && ((symbol->Bind() == STB_GLOBAL) || (symbol->Bind() == STB_WEAK))
599 && symbol->Type() == STT_OBJECT
600 && (off_t)symbol->st_name + (off_t)nameLength < stringTableSize
601 && strcmp(stringTable + symbol
[all...]
H A Delf.cpp565 // This results in the desired symbol resolution for dlopen()ed libraries.
695 // for undefined symbol resolution.
822 elf_sym *symbol = &image->syms[j]; local
825 const char* symbolName = SYMNAME(image, symbol);
829 void* location = (void*)(symbol->st_value
832 if (symbol->Type() == STT_FUNC)
834 else if (symbol->Type() == STT_OBJECT)
877 // If the caller does not want the actual symbol name, only the image,
889 elf_sym *symbol = &image->syms[j]; local
890 addr_t location = symbol
997 elf_sym* symbol = find_undefined_symbol_global(gProgramImage, local
1049 elf_sym *symbol = find_symbol(image, local
[all...]
H A Delf_symbol_lookup.h130 void** symbol, int32* type);
132 const char* name, image_t** foundInImage, void** symbol,
/haiku/src/add-ons/kernel/debugger/demangle/
H A Dgcc2.cpp392 get_next_argument_internal(uint32* _cookie, const char* symbol, char* name, argument
395 Input mangled(symbol, strlen(symbol));
420 status_t status = get_next_argument_internal(&index, symbol,
443 status_t status = get_next_argument_internal(&index, symbol, name,
549 get_next_argument_gcc2(uint32* _cookie, const char* symbol, char* name, argument
552 status_t error = get_next_argument_internal(_cookie, symbol, name, nameSize,
/haiku/src/system/kernel/arch/arm64/
H A Darch_debug.cpp69 // a kernel symbol
113 print_demangled_call(const char* image, const char* symbol, addr_t args, argument
122 const char* name = debug_demangle_symbol(symbol, buffer, kBufferSize,
155 while (debug_get_next_demangled_argument(&cookie, symbol, buffer,
279 const char* symbol; local
292 status = lookup_symbol(thread, ip, &baseAddress, &symbol, &image,
300 status = print_demangled_call(image, symbol,
305 if (symbol != NULL) {
306 kprintf("<%s> %s%s", image, symbol,
438 arch_debug_contains_call(Thread *thread, const char *symbol, argument
[all...]
/haiku/src/bin/debug/profile/
H A DCallgrindProfileResult.cpp147 int32 symbol = -1; local
149 symbol = image->GetImage()->FindSymbol(address - loadDelta);
150 if (symbol >= 0) {
151 image->AddSymbolHit(symbol, previousImage, previousSymbol);
153 previousSymbol = symbol;
/haiku/src/tests/add-ons/print/ppd/parser/
H A DParser.cpp109 Error("Expected symbol value!");
149 BString* symbol = fScanner.ScanOption(); local
150 if (symbol == NULL) {
154 Value* value = new Value(symbol, Value::kSymbolValue);
/haiku/headers/private/kernel/
H A Delf_priv.h42 // pointer to symbol participation data structures
83 elf_sym* symbol, struct elf_image_info* sharedImage,
H A Ddebug.h143 status_t (*get_next_argument)(uint32* _cookie, const char* symbol,
219 extern const char *debug_demangle_symbol(const char* symbol, char* buffer,
222 const char* symbol, char* name, size_t nameSize,
/haiku/src/system/boot/loader/
H A Delf.cpp55 static status_t Resolve(ImageType* image, SymType* symbol,
454 ELFLoader<Class>::Resolve(ImageType* image, SymType* symbol, argument
457 switch (symbol->st_shndx) {
461 TRACE(("elf_resolve_symbol: undefined symbol\n"));
464 *symbolAddress = symbol->st_value;
468 TRACE(("elf_resolve_symbol: COMMON symbol, finish me!\n"));
471 // standard symbol
472 *symbolAddress = symbol->st_value + image->text_region.delta;
505 // find symbol table in section headers
517 // read in symbol tabl
755 boot_elf_resolve_symbol(preloaded_elf32_image* image, Elf32_Sym* symbol, Elf32_Addr* symbolAddress) argument
779 boot_elf_resolve_symbol(preloaded_elf64_image* image, Elf64_Sym* symbol, Elf64_Addr* symbolAddress) argument
[all...]
/haiku/src/tools/elfsymbolpatcher/
H A DElfFile.h79 status_t GetSymbol(ElfSymbol* symbol);
/haiku/src/kits/locale/
H A DNumberFormat.cpp362 DecimalFormatSymbols::ENumberFormatSymbol symbol; local
367 symbol = DecimalFormatSymbols::kDecimalSeparatorSymbol;
370 symbol = DecimalFormatSymbols::kGroupingSeparatorSymbol;
384 UnicodeString string = symbols->getSymbol(symbol);
/haiku/src/system/kernel/
H A Dkernel_daemon.cpp147 const char* symbol; local
151 (addr_t)daemon->function, NULL, &symbol, &imageName, &exactMatch);
156 kprintf("\t%s:%s (%p)", imageName, symbol, daemon->function);
H A Dtimer.cpp184 // look up and print the hook function symbol
185 const char* symbol; local
190 (addr_t)event->hook, NULL, &symbol, &imageName, &exactMatch);
195 kprintf(" %s:%s", imageName, symbol);
H A Dlow_resource_manager.cpp303 const char* symbol = NULL; local
305 &symbol, NULL, NULL);
315 handler->data, resources, handler->priority, symbol);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DQuery.cpp233 // set string to a valid start of the equation symbol
241 // search the (in)equation for the actual equation symbol (and for other operators
262 // first character of the equation symbol
264 // test for the right symbol (as this doesn't need any memory)
289 // lets change "start" to point to the first character after the symbol
1063 const char* symbol = "???";
1065 case OP_EQUAL: symbol = "=="; break;
1066 case OP_UNEQUAL: symbol = "!="; break;
1067 case OP_GREATER_THAN: symbol = ">"; break;
1068 case OP_GREATER_THAN_OR_EQUAL: symbol
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Ddevice.c372 char symbol[128]; local
374 snprintf(symbol, sizeof(symbol), "__fbsd_%s_%s", name,
376 if (get_image_symbol(find_own_image(), symbol, B_SYMBOL_TYPE_DATA,
380 device_printf(parent, "couldn't find symbol %s\n", symbol);

Completed in 391 milliseconds

123