/bionic/tests/ |
H A D | elf_test.cpp | 23 uint8_t info; local 26 info = ELF32_ST_INFO(STB_LOCAL, STT_HIPROC); 27 ASSERT_EQ(STB_LOCAL, ELF32_ST_BIND(info)); 28 ASSERT_EQ(STT_HIPROC, ELF32_ST_TYPE(info)); 31 info = ELF64_ST_INFO(STB_LOCAL, STT_HIPROC); 32 ASSERT_EQ(STB_LOCAL, ELF64_ST_BIND(info)); 33 ASSERT_EQ(STT_HIPROC, ELF64_ST_TYPE(info)); 36 info = ELF32_ST_INFO(STB_LOCAL, STT_HIPROC); 37 ASSERT_EQ(STB_LOCAL, ELF32_ST_BIND(info)); 38 ASSERT_EQ(STT_HIPROC, ELF32_ST_TYPE(info)); [all...] |
H A D | stack_unwinding_test.cpp | 46 Dl_info info; local 47 memset(&info, 0, sizeof(info)); 48 if (dladdr(ip, &info) != 0) { 49 symbol = info.dli_sname; 50 if (info.dli_saddr != nullptr) { 51 offset = static_cast<int>(reinterpret_cast<char*>(ip) - reinterpret_cast<char*>(info.dli_saddr)); 55 fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dli_fname : "??");
|
H A D | link_test.cpp | 46 void DoChecks(dl_phdr_info* info, size_t s) { argument 49 ASSERT_TRUE(info->dlpi_name != nullptr); 52 for (ElfW(Half) i = 0; i < info->dlpi_phnum; ++i) { 53 const ElfW(Phdr)* phdr = reinterpret_cast<const ElfW(Phdr)*>(&info->dlpi_phdr[i]); 55 const ElfW(Ehdr)* ehdr = reinterpret_cast<const ElfW(Ehdr)*>(info->dlpi_addr + 60 ASSERT_EQ(info->dlpi_phnum, ehdr->e_phnum);
|
H A D | dlfcn_symlink_support.cpp | 35 static int dl_callback(struct dl_phdr_info *info, size_t /* size */, void *data) { argument 42 if (info->dlpi_name == nullptr) { 47 if (android::base::EndsWith(info->dlpi_name, suffix)) { 49 *path = info->dlpi_name;
|
/bionic/tools/relocation_packer/src/ |
H A D | elf_traits.h | 39 static inline Word elf_r_type(Word info) { return ELF32_R_TYPE(info); } argument 40 static inline int elf_st_type(uint8_t info) { return ELF32_ST_TYPE(info); } argument 41 static inline Word elf_r_sym(Word info) { return ELF32_R_SYM(info); } argument 63 static inline Xword elf_r_type(Xword info) { return ELF64_R_TYPE(info); } argument 64 static inline int elf_st_type(uint8_t info) { return ELF64_ST_TYPE(info); } argument 65 elf_r_sym(Xword info) argument [all...] |
H A D | debug_unittest.cc | 14 std::ostringstream info; local 16 Logger::SetStreams(&info, &error); 22 EXPECT_EQ("INFO: INFO log message\n", info.str()); 30 std::ostringstream info; local 32 Logger::SetStreams(&info, &error); 42 EXPECT_EQ("INFO: INFO log message\n", info.str()); 50 std::ostringstream info; local 52 Logger::SetStreams(&info, &error); 58 EXPECT_EQ("", info.str()); 68 "INFO: VLOG 1 INFO log message\n", info 75 std::ostringstream info; local [all...] |
/bionic/libc/dns/net/ |
H A D | sethostent.c | 107 struct getnamaddr *info = rv; local 121 hp = _hf_gethtbyname2(name, AF_INET6, info); 125 hp = _hf_gethtbyname2(name, AF_INET, info); 129 hp = _hf_gethtbyname2(name, af, info); 132 if (*info->he == NETDB_INTERNAL && errno == ENOSPC) { 135 *info->he = HOST_NOT_FOUND; 142 _hf_gethtbyname2(const char *name, int af, struct getnamaddr *info) argument 157 *info->he = NETDB_INTERNAL; 161 if ((ptr = buf = malloc(len = info->buflen)) == NULL) { 162 *info 258 struct getnamaddr *info = rv; local [all...] |
/bionic/libc/bionic/ |
H A D | wait.cpp | 32 extern "C" int __waitid(idtype_t which, id_t id, siginfo_t* info, int options, struct rusage* ru); 42 int waitid(idtype_t which, id_t id, siginfo_t* info, int options) { argument 44 return __waitid(which, id, info, options, NULL);
|
H A D | signal.cpp | 212 siginfo_t info; local 213 memset(&info, 0, sizeof(siginfo_t)); 214 info.si_signo = sig; 215 info.si_code = SI_QUEUE; 216 info.si_pid = getpid(); 217 info.si_uid = getuid(); 218 info.si_value = value; 219 return ___rt_sigqueueinfo(pid, sig, &info); 272 int sigtimedwait(const sigset_t* bionic_set, siginfo_t* info, const timespec* timeout) { argument 275 return sigtimedwait64(&set.sigset64, info, timeou 278 sigtimedwait64(const sigset64_t* set, siginfo_t* info, const timespec* timeout) argument 307 sigwaitinfo(const sigset_t* set, siginfo_t* info) argument 311 sigwaitinfo64(const sigset64_t* set, siginfo_t* info) argument [all...] |
/bionic/linker/ |
H A D | linker.h | 61 #define ELF64_R_SYM(info) (((info) >> 0) & 0xffffffff) 62 #define ELF64_R_SSYM(info) (((info) >> 32) & 0xff) 63 #define ELF64_R_TYPE3(info) (((info) >> 40) & 0xff) 64 #define ELF64_R_TYPE2(info) (((info) >> 48) & 0xff) 65 #define ELF64_R_TYPE(info) (((info) >> 5 [all...] |
H A D | linker_allocator.cpp | 211 page_info* info = reinterpret_cast<page_info*>(map_ptr); local 212 memcpy(info->signature, kSignature, sizeof(kSignature)); 213 info->type = type_; 214 info->allocator_addr = this; 220 small_object_block_record* first_block = reinterpret_cast<small_object_block_record*>(info + 1); 256 page_info* info = reinterpret_cast<page_info*>(map_ptr); local 257 memcpy(info->signature, kSignature, sizeof(kSignature)); 258 info->type = kLargeObject; 259 info->allocated_size = allocated_size; 261 return info 284 page_info* info = reinterpret_cast<page_info*>(PAGE_START(reinterpret_cast<size_t>(ptr))); local 302 page_info* info = get_page_info(ptr); local 332 page_info* info = get_page_info(ptr); local [all...] |
/bionic/tools/bionicbb/ |
H A D | presubmit.py | 48 def should_skip_build(info): 49 if info['MessageType'] not in ('newchange', 'newpatchset', 'comment'): 53 change_id = info['Change-Id'] 54 patch_set = info['PatchSet'] 82 logging.info('Cleaning: %s %s', build, url) 132 logging.info('Building: %s => %s %s %s', project, build, url, 158 logging.info('Dropped rejection: %s', gerrit_info['Change-Id']) 203 logging.info('Skipping %s: %s', gerrit_info['MessageType'],
|
/bionic/libc/kernel/uapi/linux/ |
H A D | atm_zatm.h | 35 struct zatm_pool_info info; member in struct:zatm_pool_req
|
H A D | cycx_cfm.h | 55 struct cycx_fw_info info; member in struct:cycx_firmware
|
H A D | tls.h | 41 struct tls_crypto_info info; member in struct:tls12_crypto_info_aes_gcm_128
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | atm_zatm.h | 35 struct zatm_pool_info info; member in struct:zatm_pool_req
|
H A D | cycx_cfm.h | 55 struct cycx_fw_info info; member in struct:cycx_firmware
|
H A D | tls.h | 41 struct tls_crypto_info info; member in struct:tls12_crypto_info_aes_gcm_128
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | atm_zatm.h | 35 struct zatm_pool_info info; member in struct:zatm_pool_req
|
H A D | cycx_cfm.h | 55 struct cycx_fw_info info; member in struct:cycx_firmware
|
H A D | tls.h | 41 struct tls_crypto_info info; member in struct:tls12_crypto_info_aes_gcm_128
|
/bionic/libc/malloc_debug/ |
H A D | PointerData.cpp | 233 void PointerData::LogFreeError(const FreePointerInfoType& info, size_t usable_size) { argument 235 uint8_t* memory = reinterpret_cast<uint8_t*>(info.pointer); 244 if (info.hash_index > kBacktraceEmptyIndex) { 246 auto frame_entry = frames_.find(info.hash_index); 257 void PointerData::VerifyFreedPointer(const FreePointerInfoType& info) { argument 261 Header* header = g_debug->GetHeader(reinterpret_cast<const void*>(info.pointer)); 265 info.pointer, header->tag); 274 usable_size = g_dispatch->malloc_usable_size(reinterpret_cast<const void*>(info.pointer)); 280 const uint8_t* memory = reinterpret_cast<const uint8_t*>(info.pointer); 284 LogFreeError(info, usable_siz 451 GetInfo(uint8_t** info, size_t* overall_size, size_t* info_size, size_t* total_memory, size_t* backtrace_size) argument [all...] |
H A D | backtrace.cpp | 142 Dl_info info; local 143 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { 144 offset = reinterpret_cast<uintptr_t>(info.dli_saddr); 145 symbol = info.dli_sname; 147 info.dli_fname = nullptr; 153 const char* soname = (entry != nullptr) ? entry->name.c_str() : info.dli_fname;
|
/bionic/libdl/ |
H A D | libdl_static.c | 41 int dladdr(const void* addr __unused, Dl_info* info __unused) {
|
/bionic/libc/malloc_debug/tests/ |
H A D | malloc_debug_unit_tests.cpp | 995 uint8_t* info; local 1007 debug_get_malloc_leak_info(&info, nullptr, &info_size, &total_memory, &backtrace_size); 1011 debug_get_malloc_leak_info(&info, &overall_size, nullptr, &total_memory, &backtrace_size); 1015 debug_get_malloc_leak_info(&info, &overall_size, &info_size, nullptr, &backtrace_size); 1019 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, nullptr); 1026 uint8_t* info; local 1033 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); 1049 uint8_t* info; local 1055 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); 1056 ASSERT_TRUE(info 1090 uint8_t* info; local 1171 uint8_t* info; local 1207 uint8_t* info; local 1498 uint8_t* info; local 1587 uint8_t* info; local 1649 uint8_t* info; local 1712 uint8_t* info; local 1774 uint8_t* info; local 1864 uint8_t* info; local [all...] |