Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 40) sorted by relevance

12

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_proc_maps.cpp29 ProcMaps::Entry* entry) { in ParseProcMapsLine() argument
75 entry->path = NULL; in ParseProcMapsLine()
76 entry->path_len = 0; in ParseProcMapsLine()
84 entry->vma_start = static_cast<size_t>(strtoumax(tok_start, NULL, 16)); in ParseProcMapsLine()
88 entry->vma_end = static_cast<size_t>(strtoumax(tok_start, NULL, 16)); in ParseProcMapsLine()
102 entry->prot_flags = flags; in ParseProcMapsLine()
106 entry->load_offset = in ParseProcMapsLine()
114 entry->path = tok_start; in ParseProcMapsLine()
115 entry->path_len = tok_end - tok_start; in ParseProcMapsLine()
139 ProcMaps::Entry entry = {0, }; in Open() local
[all …]
Dcrazy_linker_rdebug.h176 void AddEntry(link_map_t* entry) { RunOrDelay(&AddEntryInternal, entry); } in AddEntry() argument
177 void DelEntry(link_map_t* entry) { RunOrDelay(&DelEntryInternal, entry); } in DelEntry() argument
200 void AddEntryImpl(link_map_t* entry);
201 void DelEntryImpl(link_map_t* entry);
202 static void AddEntryInternal(RDebug* rdebug, link_map_t* entry) { in AddEntryInternal() argument
203 rdebug->AddEntryImpl(entry); in AddEntryInternal()
205 static void DelEntryInternal(RDebug* rdebug, link_map_t* entry) { in DelEntryInternal() argument
206 rdebug->DelEntryImpl(entry); in DelEntryInternal()
211 bool PostCallback(rdebug_callback_handler_t handler, link_map_t* entry);
214 void RunOrDelay(rdebug_callback_handler_t handler, link_map_t* entry) { in RunOrDelay() argument
[all …]
Dcrazy_linker_rdebug.cpp127 ProcMaps::Entry entry; in FindElfDynamicSection() local
128 while (self_maps->GetNextEntry(&entry)) { in FindElfDynamicSection()
129 if (!entry.path || entry.path_len != path_len || in FindElfDynamicSection()
130 memcmp(entry.path, path, path_len) != 0) in FindElfDynamicSection()
135 (void*)entry.vma_start, in FindElfDynamicSection()
136 (void*)entry.vma_end, in FindElfDynamicSection()
137 (void*)entry.load_offset); in FindElfDynamicSection()
139 size_t load_bias = entry.vma_start - phdr_load0.p_vaddr; in FindElfDynamicSection()
276 link_map_t* entry) in RDebugRunnable() argument
277 : handler_(handler), rdebug_(rdebug), entry_(entry) { } in RDebugRunnable()
[all …]
Dcrazy_linker_system_mock.cpp43 T* entry = entries_[n]; in Reset() local
44 delete entry; in Reset()
107 void AddFileEntry(MockFileEntry* entry) { files_.PushBack(entry); } in AddFileEntry() argument
109 void AddEnvEntry(MockEnvEntry* entry) { environment_.PushBack(entry); } in AddEnvEntry() argument
113 MockFileEntry* entry = files_[n]; in FindFileEntry() local
114 if (entry->GetPath() && !strcmp(path, entry->GetPath())) in FindFileEntry()
115 return entry; in FindFileEntry()
122 MockEnvEntry* entry = environment_[n]; in FindEnvEntry() local
123 if (!strcmp(entry->GetName().c_str(), var_name)) in FindEnvEntry()
124 return entry; in FindEnvEntry()
[all …]
Dcrazy_linker_elf_view.cpp44 const ELF::Phdr* entry = &phdr[n]; in InitUnmapped() local
45 if (entry->p_type == PT_PHDR) { in InitUnmapped()
46 phdr0 = entry; in InitUnmapped()
56 const ELF::Phdr* entry = &phdr[n]; in InitUnmapped() local
57 if (entry->p_type == PT_LOAD) { in InitUnmapped()
58 if (entry->p_offset == 0) { in InitUnmapped()
59 ELF::Addr elf_addr = load_bias_ + entry->p_vaddr; in InitUnmapped()
Dcrazy_linker_proc_maps_unittest.cpp185 ProcMaps::Entry entry; in TEST() local
194 EXPECT_TRUE(self_maps.GetNextEntry(&entry)); in TEST()
196 EXPECT_EQ(kData[n].vma_start, entry.vma_start); in TEST()
198 EXPECT_EQ(kData[n].vma_end, entry.vma_end); in TEST()
200 EXPECT_EQ(kData[n].prot_flags, entry.prot_flags); in TEST()
202 EXPECT_EQ(kData[n].load_offset, entry.load_offset); in TEST()
206 EXPECT_FALSE(entry.path); in TEST()
209 kData[n].path, strlen(kData[n].path), entry.path, entry.path_len); in TEST()
212 EXPECT_FALSE(self_maps.GetNextEntry(&entry)); in TEST()
Dcrazy_linker_shared_library.cpp96 const ELF::Sym* entry = lib_->LookupSymbolEntry(symbol_name); in Lookup() local
97 if (entry) in Lookup()
98 return reinterpret_cast<void*>(lib_->load_bias() + entry->st_value); in Lookup()
136 entry = dep->LookupSymbolEntry(symbol_name); in Lookup()
137 if (entry) in Lookup()
138 return reinterpret_cast<void*>(dep->load_bias() + entry->st_value); in Lookup()
Dcrazy_linker_proc_maps.h47 bool GetNextEntry(Entry* entry);
Dcrazy_linker_library_list.cpp30 const ELF::Sym* entry = lib->LookupSymbolEntry(symbol); in CheckSymbol() local
31 if (!entry) in CheckSymbol()
34 void* address = reinterpret_cast<void*>(lib->load_bias() + entry->st_value); in CheckSymbol()
37 if (ELF_ST_BIND(entry->st_info) == STB_GLOBAL) { in CheckSymbol()
/ndk/sources/android/libthread_db/gdb-6.6/
Dlibthread_db.c133 struct dirent *entry; in td_ta_new() local
163 while ((entry = readdir(dir)) != NULL) { in td_ta_new()
166 if (entry->d_name[0] == '.') /* skip . and .. */ in td_ta_new()
169 tid = atoi(entry->d_name); in td_ta_new()
327 struct dirent * entry; in td_ta_thr_iter() local
337 while ((entry = readdir(dir)) != NULL) { in td_ta_thr_iter()
338 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { in td_ta_thr_iter()
341 handle.tid = atoi(entry->d_name); in td_ta_thr_iter()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include/mach-o/
Dcompact_unwind_encoding.h468 #define UNWIND_INFO_COMPRESSED_ENTRY_FUNC_OFFSET(entry) (entry & 0x00FFFFFF) argument
469 #define UNWIND_INFO_COMPRESSED_ENTRY_ENCODING_INDEX(entry) ((entry >> 24) & 0xFF) argument
/ndk/build/tools/toolchain-patches/mclinker/
D0006-Fix-mingw-and-darwin-builds.patch33 fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist);
35 - entry->setValue(path);
36 + entry->setValue(sys::fs::Path(path));
46 entry = pIter.m_pParent->m_Cache.insert(path, exist);
48 - entry->setValue(path);
49 + entry->setValue(sys::fs::Path(path));
/ndk/sources/host-tools/make-3.81/w32/include/
Dw32err.h22 #define EXTERN_DECL(entry, args) entry args argument
Dsub_proc.h31 #define EXTERN_DECL(entry, args) extern entry args argument
/ndk/sources/android/libthread_db/gdb-7.3.x/
Dlibthread_db.c130 struct dirent *entry; in td_ta_new() local
160 while ((entry = readdir(dir)) != NULL) { in td_ta_new()
163 if (entry->d_name[0] == '.') /* skip . and .. */ in td_ta_new()
166 tid = atoi(entry->d_name); in td_ta_new()
363 struct dirent * entry; in td_ta_thr_iter() local
373 while ((entry = readdir(dir)) != NULL) { in td_ta_thr_iter()
374 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { in td_ta_thr_iter()
377 handle.tid = atoi(entry->d_name); in td_ta_thr_iter()
/ndk/sources/android/libthread_db/gdb-7.6/
Dlibthread_db.c142 struct dirent *entry; in td_ta_new() local
172 while ((entry = readdir(dir)) != NULL) { in td_ta_new()
175 if (entry->d_name[0] == '.') /* skip . and .. */ in td_ta_new()
178 tid = atoi(entry->d_name); in td_ta_new()
376 struct dirent * entry; in td_ta_thr_iter() local
386 while ((entry = readdir(dir)) != NULL) { in td_ta_thr_iter()
387 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) { in td_ta_thr_iter()
390 handle.tid = atoi(entry->d_name); in td_ta_thr_iter()
/ndk/sources/android/cpufeatures/
Dcpu-features.c540 struct { uint32_t tag; uint32_t value; } entry; in get_elf_hwcap_from_proc_self_auxv() local
544 int ret = TEMP_FAILURE_RETRY(read(fd, (char*)&entry, sizeof entry)); in get_elf_hwcap_from_proc_self_auxv()
550 if (ret == 0 || (entry.tag == 0 && entry.value == 0)) in get_elf_hwcap_from_proc_self_auxv()
552 if (entry.tag == AT_HWCAP) { in get_elf_hwcap_from_proc_self_auxv()
553 result = entry.value; in get_elf_hwcap_from_proc_self_auxv()
873 const struct CpuIdEntry* entry = &cpu_id_entries[i]; in android_cpuInit() local
876 entry->field); in android_cpuInit()
880 D("field=%s value='%s'\n", entry->field, value); in android_cpuInit()
888 } else if (entry->format == 'x') in android_cpuInit()
894 val &= ((1 << entry->bit_length)-1); in android_cpuInit()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DUnwindRegistersSave.S19 # On entry:
60 # On entry:
95 ; On entry:
238 ; On entry:
288 @ On entry:
316 @ On entry:
327 @ On entry:
338 @ On entry:
DUnwindCursor.hpp51 struct entry { struct in libunwind::DwarfFDECache
66 static entry *_buffer;
67 static entry *_bufferUsed;
68 static entry *_bufferEnd;
69 static entry _initialBuffer[64];
73 typename DwarfFDECache<A>::entry *
77 typename DwarfFDECache<A>::entry *
81 typename DwarfFDECache<A>::entry *
85 typename DwarfFDECache<A>::entry DwarfFDECache<A>::_initialBuffer[64];
99 for (entry *p = _buffer; p < _bufferUsed; ++p) { in findFDE()
[all …]
DUnwindRegistersRestore.S19 # On entry:
61 # On entry, thread_state pointer is in rdi
102 ; On entry:
266 ; On entry:
316 @ On entry:
338 @ On entry:
/ndk/tests/abcc/jni/device/
DAbcc_device.cpp117 struct dirent *entry = 0; in getBitcodeFiles() local
118 while ((entry = readdir(dp)) != 0) { in getBitcodeFiles()
119 std::string filename(entry->d_name); in getBitcodeFiles()
/ndk/sources/android/crazy_linker/tests/
Dtest_util.h149 struct dirent* entry; in ~TempDirectory() local
150 while ((entry = readdir(d)) != NULL) { in ~TempDirectory()
151 if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")) in ~TempDirectory()
154 file_path.Format("%s/%s", path_, entry->d_name); in ~TempDirectory()
/ndk/sources/host-tools/make-3.81/po/
Dremove-potcdate.sin1 # Sed script that remove the POT-Creation-Date line in the header entry
Dinsert-header.sin1 # Sed script that inserts the file called HEADER before the header entry.
/ndk/tests/standalone/init-fini-arrays/
DREADME11 section. There is no corresponding entry in the .fini_array for the

12