Searched refs:symbol (Results 1 - 22 of 22) sorted by relevance

/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DELFObjectLoaderImpl.cpp42 // Retrive the pointer to the symbol table.
46 ALOGW("Object doesn't contain any symbol table.");
107 const ELFSymbol<32> *symbol = mSymTab->getByName(pName); local
108 if (symbol == NULL) {
109 ALOGV("Request symbol '%s' is not found in the object!", pName);
113 return symbol->getAddress(mObject->getHeader()->getMachine(),
122 const ELFSymbol<32> *symbol = mSymTab->getByName(pName); local
124 if (symbol == NULL) {
125 ALOGV("Request symbol '%s' is not found in the object!", pName);
129 return static_cast<size_t>(symbol
156 ELFSymbol<32> *symbol = (*mSymTab)[i]; local
[all...]
H A DSymbolResolvers.cpp35 void* dlsym(void* handle, const char* symbol) { argument
60 // Make the symbol within the given library to be local such that it won't
61 // be available for symbol resolution of subsequently loaded libraries.
/frameworks/av/media/libmediaplayerservice/
H A DSharedLibrary.cpp43 void *SharedLibrary::lookup(const char *symbol) const {
47 return dlsym(mLibHandle, symbol);
H A DSharedLibrary.h31 void *lookup(const char *symbol) const;
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionSymTab.hxx56 ELFSymbolTy *symbol = table[i]; local
57 if ( symbol ) {
58 name_map[symbol->getName()] = symbol;
66 typename llvm::StringMap<ELFSymbolTy *>::const_iterator symbol = local
68 if (symbol == name_map.end()) {
71 return symbol->getValue();
97 // Seek to the start of symbol table
100 // Read all symbol table entry
/frameworks/rs/cpu_ref/linkloader/android/
H A Dlibrsloader.cpp115 ELFSymbol<32> *symbol = symtab->getByName(name); local
117 if (!symbol) {
124 return symbol->getAddress(machine, false);
137 ELFSymbol<32> *symbol = symtab->getByName(name); local
139 if (!symbol) {
144 return (size_t)symbol->getSize();
/frameworks/compile/mclinker/include/mcld/Target/
H A DSymbolEntryMap.h32 const ResolveInfo* symbol; member in struct:mcld::SymbolEntryMap::Mapping
69 if (mapping->symbol == &pSymbol) {
83 if (mapping->symbol == &pSymbol) {
96 mapping.symbol = &pSymbol;
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentLinker.cpp59 Module::sym_iterator symbol, symEnd = m_Module.sym_end(); local
60 for (symbol = m_Module.sym_begin(); symbol != symEnd; ++symbol) {
62 if ((*symbol)->resolveInfo()->isAbsolute() ||
63 (*symbol)->resolveInfo()->type() == ResolveInfo::File) {
66 (*symbol)->setValue(0x0);
70 if ((*symbol)->resolveInfo()->type() == ResolveInfo::ThreadLocal) {
71 m_Backend.finalizeTLSSymbol(**symbol);
75 if ((*symbol)
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DDefSymParser.cpp124 // the integer conversion failed means the token is a symbol
125 // or its invalid if the NamePool has no such symbol;
126 const LDSymbol* symbol = local
129 if (!symbol)
133 result = symbol->value();
/frameworks/compile/mclinker/include/mcld/LD/
H A DBranchIsland.h119 const LDSymbol* symbol() const { return m_pSymbol; } function in class:mcld::BranchIsland::Key
127 llvm::StringRef sym_name(KEY.symbol()->name());
140 (KEY1.symbol() == KEY2.symbol()) &&
/frameworks/compile/libbcc/tools/build/
H A Dgen-sha1-stamp.py46 """For each path like /xxx/libfoo.so, generate a symbol named libfoo_so_SHA1"""
109 for (symbol, y) in zip(symbols, x):
110 print_asm_symbol_data(symbol, y[1])
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp211 // name can be presented as C symbol
381 // symbol section index for _DYNAMIC. Now it will be ABS.
670 // ignore if symbol has no fragRef
674 // the value of a TLS symbol is the offset to the TLS segment
728 // number of entries in symbol tables starts from 1 to hold the special entry
741 // number of local symbol in the .symtab and .dynsym
746 Module::const_sym_iterator symbol, symEnd; local
750 for (symbol = symbols.begin(); symbol != symEnd; ++symbol) {
995 Module::const_sym_iterator symbol, symEnd; local
1074 Module::const_sym_iterator symbol, symEnd = symbols.dynamicEnd(); local
1162 Module::const_sym_iterator symbol, symEnd = pSymtab.dynamicEnd(); local
1198 Module::const_sym_iterator symbol, symEnd = pSymtab.dynamicEnd(); local
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.h319 * All information we know about a particular symbol.
384 if (!check_valid_symbol_name(name, pos, "symbol")) {
395 if (!check_valid_symbol_name(name, pos, "symbol")) {
405 if (!check_valid_symbol_name(name, pos, "symbol")) {
414 if (!check_valid_symbol_name(name, pos, "symbol")) {
449 if (!check_valid_symbol_name(name, pos, "nested symbol")) {
475 bool check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) { argument
476 if (valid_symbol_name(symbol)) {
479 pos.error("invalid %s: '%s'\n", label, symbol.string());
482 AaptSymbolEntry& edit_symbol(const String8& symbol, cons argument
[all...]
H A DResource.cpp1463 "%s:%d: Permission name <%s> is not a valid Java symbol\n",
1597 static String8 flattenSymbol(const String8& symbol) { argument
1598 String8 result(symbol);
1600 if ((first = symbol.find(":", 0)) >= 0
1601 || (first = symbol.find(".", 0)) >= 0) {
1602 size_t size = symbol.size();
1614 static String8 getSymbolPackage(const String8& symbol, const sp<AaptAssets>& assets, bool pub) { argument
1615 ssize_t colon = symbol.find(":", 0);
1617 return String8(symbol.string(), colon);
1622 static String8 getSymbolName(const String8& symbol) { argument
[all...]
H A DAaptAssets.cpp1949 entry.sourcePos.error("Symbol '%s' declared with <java-symbol> not defined\n", name.string());
1953 //printf("**** setting symbol #%d/%d %s to isJavaSymbol=%d\n",
1965 pos.error("Java symbol dir %s not defined\n", name.string());
2606 pos.error("Java symbol dir %s not defined\n", name.string());
2703 valid_symbol_name(const String8& symbol) argument
2718 const char*const s = symbol.string();
/frameworks/compile/mclinker/lib/LD/
H A DStubFactory.cpp67 // build a name for stub symbol
76 LDSymbol* symbol = local
86 stub->setSymInfo(symbol->resolveInfo());
H A DELFReader.cpp84 // skip the first NULL symbol
139 // Section symbol's st_name is the section index.
175 // 2. easy to know if a symbol is from .so
178 // sort symbols by symbol value and then weak before strong
181 // for each weak symbol, find out all its aliases, and
238 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); local
239 if (NULL == symbol) {
243 IRBuilder::AddRelocation(pSection, r_type, *symbol, r_offset, r_addend);
273 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); local
274 if (NULL == symbol) {
794 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); local
829 LDSymbol* symbol = pInput.context()->getSymbol(r_sym); local
[all...]
/frameworks/compile/slang/
H A DSlangData.mk23 # slangdata_output_var_name -- name of the symbol that needs to be defined
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp341 // if the symbol does not exist, we can set type to NOTYPE
432 // into output symbol table
480 /// finalizeSymbolValue - finalize the resolved symbol value.
482 /// symbol.
497 LDSymbol* symbol = m_pModule->getNamePool().findSymbol(symName); local
498 assert(NULL != symbol && "--defsym symbol should be in the name pool");
502 symbol->setValue(symVal);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp119 // Define the symbol _GLOBAL_OFFSET_TABLE_ if there is a symbol with the
286 // define symbol _GLOBAL_OFFSET_TABLE_ when .got create
392 /// finalizeSymbol - finalize the symbol value
543 // calculate the possible symbol value
545 LDSymbol* symbol = relocation->symInfo()->outSymbol(); local
546 if (symbol->hasFragRef()) {
547 uint64_t value = symbol->fragRef()->getOutputOffset();
549 symbol->fragRef()->frag()->getParent()->getSection().addr();
560 sym_value, // symbol valu
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp344 // define symbol _GLOBAL_OFFSET_TABLE_
500 // Define the symbol _GLOBAL_OFFSET_TABLE_ if there is a symbol with the
590 LDSymbol* symbol = relocation->symInfo()->outSymbol(); local
591 if (symbol->hasFragRef()) {
592 uint64_t value = symbol->fragRef()->getOutputOffset();
594 symbol->fragRef()->frag()->getParent()->getSection().addr();
598 sym_value, //symbol value
653 /// finalizeSymbol - finalize the symbol value
781 // We have to reset the description of the symbol her
[all...]
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp1032 char16_t symbol = 0; local
1041 symbol = ch;
1045 key->number = digit ? digit : symbol;

Completed in 392 milliseconds