Home
last modified time | relevance | path

Searched refs:sym (Results 1 – 24 of 24) sorted by relevance

/frameworks/compile/mclinker/unittests/
DStaticResolverTest.cpp264 ResolveInfo* sym = ResolveInfo::Create("abc"); in TEST_F() local
266 sym->setIsSymbol(true); in TEST_F()
269 ASSERT_TRUE(sym->isSymbol()); in TEST_F()
270 ASSERT_TRUE(sym->isGlobal()); in TEST_F()
271 ASSERT_FALSE(sym->isWeak()); in TEST_F()
272 ASSERT_FALSE(sym->isLocal()); in TEST_F()
273 ASSERT_FALSE(sym->isDefine()); in TEST_F()
274 ASSERT_TRUE(sym->isUndef()); in TEST_F()
275 ASSERT_FALSE(sym->isDyn()); in TEST_F()
276 ASSERT_FALSE(sym->isCommon()); in TEST_F()
[all …]
DSymbolCategoryTest.cpp67 SymbolCategory::iterator sym = m_pTestee->begin(); in TEST_F() local
68 ASSERT_STREQ("a", (*sym)->name()); in TEST_F()
69 ++sym; in TEST_F()
70 ASSERT_STREQ("b", (*sym)->name()); in TEST_F()
71 ++sym; in TEST_F()
72 ASSERT_STREQ("c", (*sym)->name()); in TEST_F()
73 ++sym; in TEST_F()
74 ASSERT_STREQ("d", (*sym)->name()); in TEST_F()
75 ++sym; in TEST_F()
76 ASSERT_STREQ("e", (*sym)->name()); in TEST_F()
[all …]
DNamePoolTest.cpp153 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F() local
156 EXPECT_STREQ(name, sym->name()); in TEST_F()
157 EXPECT_EQ(result1, sym->name()); in TEST_F()
193 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F() local
195 ASSERT_EQ(sym, syms[i][j]); in TEST_F()
202 LDSymbol* sym = m_pTestee->insertSymbol( in TEST_F() local
204 ASSERT_EQ(sym, syms[i][j]); in TEST_F()
/frameworks/base/cmds/interrupter/
Dinterrupter.h21 #define INTERRUPTER(sym) \ argument
22 if (real_##sym == NULL) \
23 __init_##sym(); \
29 #define CALL_FUNCTION_1(sym, ret, type1) \ argument
30 ret (*real_##sym)(type1) = NULL; \
31 ret sym(type1 arg1) { \
32 INTERRUPTER(sym) \
33 return real_##sym(arg1); \
36 #define CALL_FUNCTION_2(sym, ret, type1, type2) \ argument
37 ret (*real_##sym)(type1, type2) = NULL; \
[all …]
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp80 size_t sym = 1; in getSymbol() local
82 for (; sym < size; ++sym) in getSymbol()
83 if (m_SymTab[sym]->name() == pName) in getSymbol()
84 return m_SymTab[sym]; in getSymbol()
89 size_t sym = 1; in getSymbol() local
91 for (; sym < size; ++sym) in getSymbol()
92 if (m_SymTab[sym]->name() == pName) in getSymbol()
93 return m_SymTab[sym]; in getSymbol()
DIdenticalCodeFolding.cpp102 LDContext::sym_iterator sym, symEnd = (*fobj)->context()->symTabEnd(); in foldIdenticalCode() local
103 for (sym = (*fobj)->context()->symTabBegin(); sym != symEnd; ++sym) { in foldIdenticalCode()
104 if ((*sym)->hasFragRef() && ((*sym)->type() == ResolveInfo::Function)) { in foldIdenticalCode()
105 LDSymbol* out_sym = (*sym)->resolveInfo()->outSymbol(); in foldIdenticalCode()
143 LDSymbol* sym = rel->symInfo()->outSymbol(); in findCandidates() local
144 if (sym->hasFragRef() && (sym->type() == ResolveInfo::Function)) { in findCandidates()
146 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates()
249 LDSymbol* sym = rel.symInfo()->outSymbol(); in initConstantContent() local
250 if ((sym->type() == ResolveInfo::Function) && sym->hasFragRef()) { in initConstantContent()
251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent()
[all …]
DRelocator.cpp81 LDSymbol& sym = **i; in issueUndefRef() local
82 if (sym.resolveInfo()->type() == ResolveInfo::File) in issueUndefRef()
83 caller_file_name = sym.resolveInfo()->name(); in issueUndefRef()
85 if (sym.resolveInfo()->type() == ResolveInfo::Function && in issueUndefRef()
86 sym.value() <= undef_sym_pos && in issueUndefRef()
87 sym.value() + sym.size() > undef_sym_pos) { in issueUndefRef()
88 caller_func_name = sym.name(); in issueUndefRef()
DSectionSymbolSet.cpp48 LDSymbol* sym = LDSymbol::Create(*sym_info); in add() local
49 sym_info->setSymPtr(sym); in add()
56 entry->setValue(sym); in add()
67 LDSymbol* sym = get(pOutSect); in finalize() local
68 assert(sym != NULL); in finalize()
89 sym->setFragmentRef(frag_ref); in finalize()
91 pSymTab.add(*sym); in finalize()
DGarbageCollection.cpp152 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSections() local
155 if (sym == NULL) in setUpReachedSections()
157 if (!sym->isDefine() || !sym->outSymbol()->hasFragRef()) in setUpReachedSections()
163 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSections()
214 LDSymbol* sym = info->outSymbol(); in getEntrySections() local
215 if (sym == NULL || !sym->hasFragRef()) in getEntrySections()
221 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
252 LDSymbol* sym = info->outSymbol(); in getEntrySections() local
253 if (sym == NULL || !sym->hasFragRef()) in getEntrySections()
259 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
[all …]
/frameworks/base/tools/aapt/
DAaptAssets.h374 AaptSymbolEntry& sym = edit_symbol(name, &pos); in addSymbol() local
375 sym.typeCode = AaptSymbolEntry::TYPE_INT32; in addSymbol()
376 sym.int32Val = value; in addSymbol()
385 AaptSymbolEntry& sym = edit_symbol(name, &pos); in addStringSymbol() local
386 sym.typeCode = AaptSymbolEntry::TYPE_STRING; in addStringSymbol()
387 sym.stringVal = value; in addStringSymbol()
395 AaptSymbolEntry& sym = edit_symbol(name, &pos); in makeSymbolPublic() local
396 sym.isPublic = true; in makeSymbolPublic()
404 AaptSymbolEntry& sym = edit_symbol(name, &pos); in makeSymbolJavaSymbol() local
405 sym.isJavaSymbol = true; in makeSymbolJavaSymbol()
[all …]
DResource.cpp2296 const AaptSymbolEntry& sym = symbols->getSymbols().valueAt(i); in writeResourceLoadedCallback() local
2297 if (sym.typeCode != AaptSymbolEntry::TYPE_INT32) { in writeResourceLoadedCallback()
2300 if (!assets->isJavaSymbol(sym, includePrivate)) { in writeResourceLoadedCallback()
2303 String8 flat_name(flattenSymbol(sym.name)); in writeResourceLoadedCallback()
2360 const AaptSymbolEntry& sym(nsymbols->getSymbols().valueAt(a)); in writeLayoutClasses() local
2361 int32_t code = sym.typeCode == AaptSymbolEntry::TYPE_INT32 in writeLayoutClasses()
2362 ? sym.int32Val : 0; in writeLayoutClasses()
2365 String16 name16(sym.name); in writeLayoutClasses()
2373 nclassName.string(), sym.name.string()); in writeLayoutClasses()
2413 const AaptSymbolEntry& sym = nsymbols->getSymbols().valueAt(a); in writeLayoutClasses() local
[all …]
DAaptAssets.cpp1473 sp<AaptSymbols> sym = mSymbols.valueFor(name); in getSymbolsFor() local
1474 if (sym == NULL) { in getSymbolsFor()
1475 sym = new AaptSymbols(); in getSymbolsFor()
1476 mSymbols.add(name, sym); in getSymbolsFor()
1478 return sym; in getSymbolsFor()
1483 sp<AaptSymbols> sym = mJavaSymbols.valueFor(name); in getJavaSymbolsFor() local
1484 if (sym == NULL) { in getJavaSymbolsFor()
1485 sym = new AaptSymbols(); in getJavaSymbolsFor()
1486 mJavaSymbols.add(name, sym); in getJavaSymbolsFor()
1488 return sym; in getJavaSymbolsFor()
[all …]
/frameworks/base/tools/aapt2/test/
DContext.h188 std::unique_ptr<SymbolTable::Symbol> CloneSymbol(SymbolTable::Symbol* sym) { in CloneSymbol() argument
190 clone->id = sym->id; in CloneSymbol()
191 if (sym->attribute) { in CloneSymbol()
192 clone->attribute = std::unique_ptr<Attribute>(sym->attribute->Clone(nullptr)); in CloneSymbol()
194 clone->is_public = sym->is_public; in CloneSymbol()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/commonjs/
Drewrite_tests_for_commonjs.js83 var sym = tryStripPrefix(fullSym, pkg);
84 console.log("googleProtobuf.exportSymbol('" + fullSym + "', " + module + sym + ', global);');
/frameworks/native/opengl/tools/glgen2/
Dglgen.py86 def overrideSymbolName(sym, apiname): argument
103 if sym in wrapped_get_syms.get(apiname):
104 return '__' + sym
106 return sym
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp584 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSectionsForGC() local
587 if (sym == NULL) in setUpReachedSectionsForGC()
589 if (!sym->isDefine() || !sym->outSymbol()->hasFragRef()) in setUpReachedSectionsForGC()
595 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSectionsForGC()
/frameworks/rs/cpu_ref/
DrsCpuScript.h100 const RsdCpuReference::CpuSymbol * lookupSymbolMath(const char *sym);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dmessage.c509 VALUE enum_resolve(VALUE self, VALUE sym) { in enum_resolve() argument
510 const char* name = rb_id2name(SYM2ID(sym)); in enum_resolve()
Dupb.h6461 const Def* Resolve(const char* base, const char* sym) const;
6465 const Def* Lookup(const char *sym) const;
6466 const MessageDef* LookupMessage(const char *sym) const;
6467 const EnumDef* LookupEnum(const char *sym) const;
6531 const char *sym);
6532 const upb_def *upb_symtab_lookup(const upb_symtab *s, const char *sym);
6533 const upb_msgdef *upb_symtab_lookupmsg(const upb_symtab *s, const char *sym);
6534 const upb_enumdef *upb_symtab_lookupenum(const upb_symtab *s, const char *sym);
6569 const char *sym) const {
6570 return upb_symtab_resolve(this, base, sym);
[all …]
Dprotobuf.h509 VALUE enum_resolve(VALUE self, VALUE sym);
Dupb.c3781 const upb_def *upb_symtab_lookup(const upb_symtab *s, const char *sym) { in upb_symtab_lookup() argument
3783 upb_def *ret = upb_strtable_lookup(&s->symtab, sym, &v) ? in upb_symtab_lookup()
3788 const upb_msgdef *upb_symtab_lookupmsg(const upb_symtab *s, const char *sym) { in upb_symtab_lookupmsg() argument
3790 upb_def *def = upb_strtable_lookup(&s->symtab, sym, &v) ? in upb_symtab_lookupmsg()
3795 const upb_enumdef *upb_symtab_lookupenum(const upb_symtab *s, const char *sym) { in upb_symtab_lookupenum() argument
3797 upb_def *def = upb_strtable_lookup(&s->symtab, sym, &v) ? in upb_symtab_lookupenum()
3805 const char *base, const char *sym) { in upb_resolvename() argument
3806 if(strlen(sym) == 0) return NULL; in upb_resolvename()
3807 if(sym[0] == '.') { in upb_resolvename()
3811 return upb_strtable_lookup(t, sym + 1, &v) ? upb_value_getptr(v) : NULL; in upb_resolvename()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h6026 const Def* Resolve(const char* base, const char* sym) const;
6030 const Def* Lookup(const char *sym) const;
6031 const MessageDef* LookupMessage(const char *sym) const;
6032 const EnumDef* LookupEnum(const char *sym) const;
6091 const char *sym);
6092 const upb_def *upb_symtab_lookup(const upb_symtab *s, const char *sym);
6093 const upb_msgdef *upb_symtab_lookupmsg(const upb_symtab *s, const char *sym);
6094 const upb_enumdef *upb_symtab_lookupenum(const upb_symtab *s, const char *sym);
6128 const char *sym) const {
6129 return upb_symtab_resolve(this, base, sym);
[all …]
Dupb.c3621 const upb_def *upb_symtab_lookup(const upb_symtab *s, const char *sym) { in upb_symtab_lookup() argument
3623 upb_def *ret = upb_strtable_lookup(&s->symtab, sym, &v) ? in upb_symtab_lookup()
3628 const upb_msgdef *upb_symtab_lookupmsg(const upb_symtab *s, const char *sym) { in upb_symtab_lookupmsg() argument
3630 upb_def *def = upb_strtable_lookup(&s->symtab, sym, &v) ? in upb_symtab_lookupmsg()
3635 const upb_enumdef *upb_symtab_lookupenum(const upb_symtab *s, const char *sym) { in upb_symtab_lookupenum() argument
3637 upb_def *def = upb_strtable_lookup(&s->symtab, sym, &v) ? in upb_symtab_lookupenum()
3645 const char *base, const char *sym) { in upb_resolvename() argument
3646 if(strlen(sym) == 0) return NULL; in upb_resolvename()
3647 if(sym[0] == '.') { in upb_resolvename()
3651 return upb_strtable_lookup(t, sym + 1, &v) ? upb_value_getptr(v) : NULL; in upb_resolvename()
[all …]
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...