Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 57) sorted by relevance

123

/bionic/libc/bionic/
Dsigqueue.cpp37 siginfo_t info; in sigqueue() local
38 memset(&info, 0, sizeof(siginfo_t)); in sigqueue()
39 info.si_signo = signo; in sigqueue()
40 info.si_code = SI_QUEUE; in sigqueue()
41 info.si_pid = getpid(); in sigqueue()
42 info.si_uid = getuid(); in sigqueue()
43 info.si_value = value; in sigqueue()
45 return ___rt_sigqueueinfo(pid, signo, &info); in sigqueue()
Dwait.cpp32 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) { in waitid() argument
44 return __waitid(which, id, info, options, NULL); in waitid()
Dsigwaitinfo.cpp31 int sigwaitinfo(const sigset_t* set, siginfo_t* info) { in sigwaitinfo() argument
32 return sigtimedwait(set, info, NULL); in sigwaitinfo()
Dsigtimedwait.cpp35 int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) { in sigtimedwait() argument
37 return __rt_sigtimedwait(sigset.get(), info, timeout, sizeof(sigset)); in sigtimedwait()
/bionic/libc/dns/net/
Dsethostent.c94 struct getnamaddr *info = rv; in _hf_gethtbyname() local
108 hp = _hf_gethtbyname2(name, AF_INET6, info); in _hf_gethtbyname()
112 hp = _hf_gethtbyname2(name, AF_INET, info); in _hf_gethtbyname()
116 hp = _hf_gethtbyname2(name, af, info); in _hf_gethtbyname()
119 if (*info->he == NETDB_INTERNAL && errno == ENOSPC) { in _hf_gethtbyname()
128 _hf_gethtbyname2(const char *name, int af, struct getnamaddr *info) in _hf_gethtbyname2() argument
143 *info->he = NETDB_INTERNAL; in _hf_gethtbyname2()
147 if ((ptr = buf = malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2()
149 *info->he = NETDB_INTERNAL; in _hf_gethtbyname2()
159 info->hp->h_addrtype = af; in _hf_gethtbyname2()
[all …]
Dgethnamaddr.c702 struct getnamaddr info; in gethostbyname_internal_real() local
778 info.hp = hp; in gethostbyname_internal_real()
779 info.buf = buf; in gethostbyname_internal_real()
780 info.buflen = buflen; in gethostbyname_internal_real()
781 info.he = he; in gethostbyname_internal_real()
782 if (nsdispatch(&info, dtab, NSDB_HOSTS, "gethostbyname", in gethostbyname_internal_real()
868 struct getnamaddr info; in android_gethostbyaddrfornet_real() local
910 info.hp = hp; in android_gethostbyaddrfornet_real()
911 info.buf = buf; in android_gethostbyaddrfornet_real()
912 info.buflen = buflen; in android_gethostbyaddrfornet_real()
[all …]
/bionic/tools/relocation_packer/src/
Delf_traits.h39 static inline Word elf_r_type(Word info) { return ELF32_R_TYPE(info); } in elf_r_type()
40 static inline int elf_st_type(uint8_t info) { return ELF32_ST_TYPE(info); } in elf_st_type()
41 static inline Word elf_r_sym(Word info) { return ELF32_R_SYM(info); } in elf_r_sym()
63 static inline Xword elf_r_type(Xword info) { return ELF64_R_TYPE(info); } in elf_r_type()
64 static inline int elf_st_type(uint8_t info) { return ELF64_ST_TYPE(info); } in elf_st_type()
65 static inline Word elf_r_sym(Xword info) { return ELF64_R_SYM(info); } in elf_r_sym()
Ddebug_unittest.cc14 std::ostringstream info; in TEST() local
16 Logger::SetStreams(&info, &error); in TEST()
22 EXPECT_EQ("INFO: INFO log message\n", info.str()); in TEST()
30 std::ostringstream info; in TEST() local
32 Logger::SetStreams(&info, &error); in TEST()
42 EXPECT_EQ("INFO: INFO log message\n", info.str()); in TEST()
50 std::ostringstream info; in TEST() local
52 Logger::SetStreams(&info, &error); in TEST()
58 EXPECT_EQ("", info.str()); in TEST()
68 "INFO: VLOG 1 INFO log message\n", info.str()); in TEST()
[all …]
/bionic/linker/
Dlinker.h63 #define ELF64_R_SYM(info) (((info) >> 0) & 0xffffffff) argument
64 #define ELF64_R_SSYM(info) (((info) >> 32) & 0xff) argument
65 #define ELF64_R_TYPE3(info) (((info) >> 40) & 0xff) argument
66 #define ELF64_R_TYPE2(info) (((info) >> 48) & 0xff) argument
67 #define ELF64_R_TYPE(info) (((info) >> 56) & 0xff) argument
117 int do_dl_iterate_phdr(int (*cb)(dl_phdr_info* info, size_t size, void* data), void* data);
128 int do_dladdr(const void* addr, Dl_info* info);
Dlinker_allocator.cpp211 page_info* info = reinterpret_cast<page_info*>(map_ptr); in alloc_page() local
212 memcpy(info->signature, kSignature, sizeof(kSignature)); in alloc_page()
213 info->type = type_; in alloc_page()
214 info->allocator_addr = this; in alloc_page()
220 small_object_block_record* first_block = reinterpret_cast<small_object_block_record*>(info + 1); in alloc_page()
256 page_info* info = reinterpret_cast<page_info*>(map_ptr); in alloc_mmap() local
257 memcpy(info->signature, kSignature, sizeof(kSignature)); in alloc_mmap()
258 info->type = kLargeObject; in alloc_mmap()
259 info->allocated_size = allocated_size; in alloc_mmap()
261 return info + 1; in alloc_mmap()
[all …]
/bionic/tests/
Dstack_unwinding_test.cpp46 Dl_info info; in FrameCounter() local
47 memset(&info, 0, sizeof(info)); in FrameCounter()
48 if (dladdr(ip, &info) != 0) { in FrameCounter()
49 symbol = info.dli_sname; in FrameCounter()
50 if (info.dli_saddr != nullptr) { in FrameCounter()
51 … offset = static_cast<int>(reinterpret_cast<char*>(ip) - reinterpret_cast<char*>(info.dli_saddr)); in FrameCounter()
55 …fprintf(stderr, " #%02d %p %s%+d (%s)\n", *count_ptr, ip, symbol, offset, info.dli_fname ? info.dl… in FrameCounter()
Ddlfcn_symlink_support.cpp35 static int dl_callback(struct dl_phdr_info *info, size_t /* size */, void *data) { in dl_callback() argument
42 if (info->dlpi_name == nullptr) { in dl_callback()
47 if (android::base::EndsWith(info->dlpi_name, suffix.c_str())) { in dl_callback()
49 *path = info->dlpi_name; in dl_callback()
Dsignal_test.cpp285 static void SigqueueSignalHandler(int signum, siginfo_t* info, void*) { in SigqueueSignalHandler() argument
287 ASSERT_EQ(SIGALRM, info->si_signo); in SigqueueSignalHandler()
288 ASSERT_EQ(SI_QUEUE, info->si_code); in SigqueueSignalHandler()
289 ASSERT_EQ(1, info->si_value.sival_int); in SigqueueSignalHandler()
317 siginfo_t info; in TEST() local
319 ASSERT_EQ(SIGALRM, sigwaitinfo(&just_SIGALRM, &info)); in TEST()
321 ASSERT_EQ(SIGALRM, info.si_signo); in TEST()
322 ASSERT_EQ(1, info.si_value.sival_int); in TEST()
341 siginfo_t info; in TEST() local
346 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
[all …]
/bionic/tools/bionicbb/
Dpresubmit.py48 def should_skip_build(info): argument
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'],
Dtasks.py30 info = {}
33 info[match.group(1)] = match.group(2).strip()
34 return info
/bionic/libc/malloc_debug/
Dbacktrace.cpp141 Dl_info info; in backtrace_string() local
142 if (dladdr(reinterpret_cast<void*>(frames[frame_num]), &info) != 0) { in backtrace_string()
143 offset = reinterpret_cast<uintptr_t>(info.dli_saddr); in backtrace_string()
144 symbol = info.dli_sname; in backtrace_string()
146 info.dli_fname = nullptr; in backtrace_string()
152 const char* soname = (entry != nullptr) ? entry->name.c_str() : info.dli_fname; in backtrace_string()
DREADME_api.md10 `extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overall_size, size_t* info_size, size…
12 *info* is set to a buffer allocated by the call that contains all of
15 *info\_size*
25 `extern "C" void free_malloc_leak_info(uint8_t* info);`
27 ### Format of info Buffer
53 The total number of these structures returned in *info* is
54 *overall\_size* divided by *info\_size*.
DTrackData.cpp106 void TrackData::GetInfo(uint8_t** info, size_t* overall_size, size_t* info_size, in GetInfo() argument
116 *info = reinterpret_cast<uint8_t*>(g_dispatch->calloc(*info_size, total_backtrace_allocs_)); in GetInfo()
117 if (*info == nullptr) { in GetInfo()
125 uint8_t* data = *info; in GetInfo()
/bionic/libdl/
Dlibdl.c42 int __loader_dladdr(const void* addr, Dl_info* info);
53 int __loader_dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data),
120 int dladdr(const void* addr, Dl_info* info) { in dladdr() argument
121 return __loader_dladdr(addr, info); in dladdr()
134 int dl_iterate_phdr(int (*cb)(struct dl_phdr_info* info, size_t size, void* data), void* data) { in dl_iterate_phdr() argument
/bionic/libc/tools/
Dgensyscalls.py563 logging.info("generating " + glibc_syscalls_h_path)
608 logging.info(">>> generating " + filename)
616 logging.info("scanning for existing architecture-specific stub files...")
620 logging.info("scanning " + os.path.join(bionic_libc_root, arch_dir))
626 logging.info("found %d stub files" % len(self.old_stubs))
629 logging.info("creating %s..." % bionic_temp)
632 logging.info("re-generating stubs and support files...")
637 logging.info("comparing files...")
646 logging.info("new file: " + stub)
651 logging.info("changed file: " + stub)
[all …]
/bionic/libc/include/sys/
Dsysinfo.h36 int sysinfo(struct sysinfo* info);
/bionic/libc/dns/resolv/
Dres_cache.c1919 struct resolv_cache_info* info = _find_cache_info_locked(netid); in _find_named_cache_locked() local
1921 if (info != NULL) return info->cache; in _find_named_cache_locked()
2118 struct resolv_cache_info* info = _find_cache_info_locked(statp->netid); in _resolv_populate_res_for_net() local
2119 if (info != NULL) { in _resolv_populate_res_for_net()
2124 ai = info->nsaddrinfo[nserv]; in _resolv_populate_res_for_net()
2150 memcpy(statp->defdname, info->defdname, sizeof(statp->defdname)); in _resolv_populate_res_for_net()
2152 register int *p = info->dnsrch_offset; in _resolv_populate_res_for_net()
2194 struct resolv_cache_info* info = _find_cache_info_locked(netid); in android_net_res_stats_get_info_for_net() local
2195 if (info) { in android_net_res_stats_get_info_for_net()
2196 if (info->nscount > MAXNS) { in android_net_res_stats_get_info_for_net()
[all …]
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp957 uint8_t* info; in TEST_F() local
969 debug_get_malloc_leak_info(&info, nullptr, &info_size, &total_memory, &backtrace_size); in TEST_F()
973 debug_get_malloc_leak_info(&info, &overall_size, nullptr, &total_memory, &backtrace_size); in TEST_F()
977 debug_get_malloc_leak_info(&info, &overall_size, &info_size, nullptr, &backtrace_size); in TEST_F()
981 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, nullptr); in TEST_F()
988 uint8_t* info; in TEST_F() local
995 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F()
1011 uint8_t* info; in TEST_F() local
1017 debug_get_malloc_leak_info(&info, &overall_size, &info_size, &total_memory, &backtrace_size); in TEST_F()
1018 ASSERT_TRUE(info == nullptr); in TEST_F()
[all …]
/bionic/libc/kernel/uapi/linux/
Datm_zatm.h39 struct zatm_pool_info info; member
Dcycx_cfm.h64 struct cycx_fw_info info; member

123