/bionic/libc/bionic/ |
H A D | sigqueue.cpp | 37 siginfo_t info; local 38 memset(&info, 0, sizeof(siginfo_t)); 39 info.si_signo = signo; 40 info.si_code = SI_QUEUE; 41 info.si_pid = getpid(); 42 info.si_uid = getuid(); 43 info.si_value = value; 45 return ___rt_sigqueueinfo(pid, signo, &info);
|
H A D | sigwaitinfo.cpp | 31 int sigwaitinfo(const sigset_t* set, siginfo_t* info) { argument 32 return sigtimedwait(set, info, NULL);
|
H A D | sigtimedwait.cpp | 35 int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) { argument 37 return __rt_sigtimedwait(sigset.get(), info, timeout, sizeof(sigset));
|
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);
|
/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 | 94 struct getnamaddr *info = rv; local 108 hp = _hf_gethtbyname2(name, AF_INET6, info); 112 hp = _hf_gethtbyname2(name, AF_INET, info); 116 hp = _hf_gethtbyname2(name, af, info); 119 if (*info->he == NETDB_INTERNAL && errno == ENOSPC) { 128 _hf_gethtbyname2(const char *name, int af, struct getnamaddr *info) argument 143 *info->he = NETDB_INTERNAL; 147 if ((ptr = buf = malloc(len = info->buflen)) == NULL) { 149 *info->he = NETDB_INTERNAL; 159 info 246 struct getnamaddr *info = rv; local [all...] |
H A D | gethnamaddr.c | 703 struct getnamaddr info; local 779 info.hp = hp; 780 info.buf = buf; 781 info.buflen = buflen; 782 info.he = he; 783 if (nsdispatch(&info, dtab, NSDB_HOSTS, "gethostbyname", 869 struct getnamaddr info; local 911 info.hp = hp; 912 info.buf = buf; 913 info 1175 struct getnamaddr *info = rv; local 1241 struct getnamaddr *info = rv; local 1343 _yp_hostent(char *line, int af, struct getnamaddr *info) argument 1478 struct getnamaddr *info = rv; local 1529 struct getnamaddr *info = rv; local [all...] |
/bionic/tests/ |
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 | signal_test.cpp | 285 static void SigqueueSignalHandler(int signum, siginfo_t* info, void*) { argument 287 ASSERT_EQ(SIGALRM, info->si_signo); 288 ASSERT_EQ(SI_QUEUE, info->si_code); 289 ASSERT_EQ(1, info->si_value.sival_int); 317 siginfo_t info; local 319 ASSERT_EQ(SIGALRM, sigwaitinfo(&just_SIGALRM, &info)); 321 ASSERT_EQ(SIGALRM, info.si_signo); 322 ASSERT_EQ(1, info.si_value.sival_int); 341 siginfo_t info; local 346 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, 369 siginfo_t info; local [all...] |
/bionic/libc/include/sys/ |
H A D | sysinfo.h | 36 int sysinfo(struct sysinfo* info);
|
H A D | wait.h | 62 extern int waitid(idtype_t which, id_t id, siginfo_t *info, int options);
|
/bionic/linker/ |
H A D | linker_allocator.cpp | 203 page_info* info = reinterpret_cast<page_info*>(map_ptr); local 204 memcpy(info->signature, kSignature, sizeof(kSignature)); 205 info->type = type_; 206 info->allocator_addr = this; 212 small_object_block_record* first_block = reinterpret_cast<small_object_block_record*>(info + 1); 241 page_info* info = reinterpret_cast<page_info*>(map_ptr); local 242 memcpy(info->signature, kSignature, sizeof(kSignature)); 243 info->type = kLargeObject; 244 info->allocated_size = allocated_size; 246 return info 269 page_info* info = reinterpret_cast<page_info*>(PAGE_START(reinterpret_cast<size_t>(ptr))); local 287 page_info* info = get_page_info(ptr); local 317 page_info* info = get_page_info(ptr); local [all...] |
H A D | debugger.cpp | 123 static void log_signal_summary(int signum, const siginfo_t* info) { argument 165 // "info" will be null if the siginfo_t information was not available. 170 if (info != nullptr) { 173 __libc_format_buffer(code_desc, sizeof(code_desc), ", code %d", info->si_code); 175 __libc_format_buffer(addr_desc, sizeof(addr_desc), ", fault addr %p", info->si_addr); 208 static void send_debuggerd_packet(siginfo_t* info) { argument 241 msg.original_si_code = (info != nullptr) ? info->si_code : 0; 262 static void debuggerd_signal_handler(int signal_number, siginfo_t* info, void*) { argument 264 // our "info" ar [all...] |
H A D | linker.h | 75 #define ELF64_R_SYM(info) (((info) >> 0) & 0xffffffff) 76 #define ELF64_R_SSYM(info) (((info) >> 32) & 0xff) 77 #define ELF64_R_TYPE3(info) (((info) >> 40) & 0xff) 78 #define ELF64_R_TYPE2(info) (((info) >> 48) & 0xff) 79 #define ELF64_R_TYPE(info) (((info) >> 5 [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'],
|
H A D | tasks.py | 30 info = {} 33 info[match.group(1)] = match.group(2).strip() 34 return info 42 logging.fatal('No Gerrit info found: %s', msg.subject)
|
/bionic/libc/kernel/uapi/linux/ |
H A D | atm_zatm.h | 39 struct zatm_pool_info info; member in struct:zatm_pool_req
|
H A D | cycx_cfm.h | 64 struct cycx_fw_info info; member in struct:cycx_firmware
|
H A D | bsg.h | 62 __u32 info; member in struct:sg_io_v4
|
/bionic/libc/include/ |
H A D | dlfcn.h | 51 extern int dladdr(const void* addr, Dl_info *info);
|
/bionic/libc/malloc_debug/ |
H A D | TrackData.cpp | 113 void TrackData::GetInfo(DebugData& debug, uint8_t** info, size_t* overall_size, argument 123 *info = reinterpret_cast<uint8_t*>(g_dispatch->calloc(*info_size, total_backtrace_allocs_)); 124 if (*info == nullptr) { 132 uint8_t* data = *info;
|
H A D | backtrace.cpp | 141 Dl_info info; local 142 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { 143 offset = reinterpret_cast<uintptr_t>(info.dli_saddr); 144 symbol = info.dli_sname; 150 const char* soname = (entry != nullptr) ? entry->name.c_str() : info.dli_fname;
|
/bionic/libdl/ |
H A D | libdl.c | 36 int dladdr(const void* addr __unused, Dl_info* info __unused) { return 0; } 44 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data) __unused, argument
|
/bionic/libc/tools/ |
H A D | gensyscalls.py | 574 logging.info("generating " + glibc_syscalls_h_path) 603 logging.info(">>> generating " + filename) 611 logging.info("scanning for existing architecture-specific stub files...") 615 logging.info("scanning " + os.path.join(bionic_libc_root, arch_dir)) 621 logging.info("found %d stub files" % len(self.old_stubs)) 624 logging.info("creating %s..." % bionic_temp) 627 logging.info("re-generating stubs and support files...") 632 logging.info("comparing files...") 641 logging.info("new file: " + stub) 646 logging.info("change [all...] |