Home
last modified time | relevance | path

Searched refs:si (Results 1 – 12 of 12) sorted by relevance

/system/core/debuggerd/test/
Ddump_maps_test.cpp78 siginfo_t si; in SetUp() local
79 si.si_signo = SIGPIPE; in SetUp()
80 ptrace_set_fake_getsiginfo(si); in SetUp()
284 siginfo_t si; in TEST_F() local
285 si.si_signo = SIGBUS; in TEST_F()
286 si.si_addr = reinterpret_cast<void*>(0x1000); in TEST_F()
287 ptrace_set_fake_getsiginfo(si); in TEST_F()
338 siginfo_t si; in TEST_F() local
339 si.si_signo = SIGBUS; in TEST_F()
340 si.si_addr = reinterpret_cast<void*>(0xa533000); in TEST_F()
[all …]
Dptrace_fake.cpp28 void ptrace_set_fake_getsiginfo(const siginfo_t& si) { in ptrace_set_fake_getsiginfo() argument
29 g_fake_si = si; in ptrace_set_fake_getsiginfo()
47 siginfo_t* si = va_arg(ap, siginfo*); local
49 *si = g_fake_si;
/system/core/init/
Dsignal_handler.cpp86 for (socketinfo* si = svc->sockets; si; si = si->next) { in wait_for_one_process() local
88 snprintf(tmp, sizeof(tmp), ANDROID_SOCKET_DIR"/%s", si->name); in wait_for_one_process()
Dinit_parser.cpp90 for (socketinfo* si = svc->sockets; si; si = si->next) { in dump_parser_state() local
91 INFO(" socket %s %s 0%o\n", si->name, si->type, si->perm); in dump_parser_state()
898 socketinfo* si = (socketinfo*) calloc(1, sizeof(*si)); in parse_line_service() local
899 if (!si) { in parse_line_service()
903 si->name = args[1]; in parse_line_service()
904 si->type = args[2]; in parse_line_service()
905 si->perm = strtoul(args[3], 0, 8); in parse_line_service()
907 si->uid = decode_uid(args[4]); in parse_line_service()
909 si->gid = decode_uid(args[5]); in parse_line_service()
911 si->socketcon = args[6]; in parse_line_service()
[all …]
Dinit.cpp264 struct socketinfo *si; in service_start() local
279 for (si = svc->sockets; si; si = si->next) { in service_start()
281 !strcmp(si->type, "stream") ? SOCK_STREAM : in service_start()
282 (!strcmp(si->type, "dgram") ? SOCK_DGRAM : SOCK_SEQPACKET)); in service_start()
283 int s = create_socket(si->name, socket_type, in service_start()
284 si->perm, si->uid, si->gid, si->socketcon ?: scon); in service_start()
286 publish_socket(si->name, s); in service_start()
/system/bt/bta/jv/
Dbta_jv_api.c903 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommClose() local
907 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si] && in BTA_JvRfcommClose()
913 p_msg->p_pcb = &bta_jv_cb.port_cb[p_msg->p_cb->rfc_hdl[si] - 1]; in BTA_JvRfcommClose()
1013 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommRead() local
1017 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si] && in BTA_JvRfcommRead()
1026 p_msg->p_pcb = &bta_jv_cb.port_cb[p_msg->p_cb->rfc_hdl[si] - 1]; in BTA_JvRfcommRead()
1047 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommGetPortHdl() local
1050 si < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommGetPortHdl()
1051 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; in BTA_JvRfcommGetPortHdl()
1073 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(handle); in BTA_JvRfcommReady() local
[all …]
Dbta_jv_act.c369 int si = BTA_JV_RFC_HDL_TO_SIDX(p_pcb->handle); in bta_jv_free_rfc_cb() local
370 if (0 <= si && si < BTA_JV_MAX_RFC_SR_SESSION) in bta_jv_free_rfc_cb()
371 p_cb->rfc_hdl[si] = 0; in bta_jv_free_rfc_cb()
489 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(jv_handle); in bta_jv_free_set_pm_profile_cb() local
490 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && si in bta_jv_free_set_pm_profile_cb()
491 < BTA_JV_MAX_RFC_SR_SESSION && bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in bta_jv_free_set_pm_profile_cb()
493 tBTA_JV_PCB *p_pcb = bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); in bta_jv_free_set_pm_profile_cb()
550 UINT32 si = BTA_JV_RFC_HDL_TO_SIDX(jv_handle); in bta_jv_alloc_set_pm_profile_cb() local
1867 UINT32 si = 0; in bta_jv_add_rfc_port() local
1898 else if (si == 0) in bta_jv_add_rfc_port()
[all …]
/system/core/debuggerd/
Dtombstone.cpp180 siginfo_t si; in dump_signal_info() local
181 memset(&si, 0, sizeof(si)); in dump_signal_info()
182 if (ptrace(PTRACE_GETSIGINFO, tid, 0, &si) == -1) { in dump_signal_info()
188 si.si_code = si_code; in dump_signal_info()
192 snprintf(addr_desc, sizeof(addr_desc), "%p", si.si_addr); in dump_signal_info()
198 signal, get_signame(signal), si.si_code, get_sigcode(signal, si.si_code), addr_desc); in dump_signal_info()
335 siginfo_t si; in dump_all_maps() local
336 memset(&si, 0, sizeof(si)); in dump_all_maps()
337 if (ptrace(PTRACE_GETSIGINFO, tid, 0, &si) != -1) { in dump_all_maps()
338 print_fault_address_marker = signal_has_si_addr(si.si_signo); in dump_all_maps()
[all …]
/system/core/libutils/
DFileMap.cpp93 SYSTEM_INFO si; in create() local
95 GetSystemInfo( &si ); in create()
96 mPageSize = si.dwAllocationGranularity; in create()
/system/core/libbacktrace/
Dbacktrace_test.cpp109 siginfo_t si; in WaitForStop() local
110 while (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) < 0 && (errno == EINTR || errno == ESRCH)) { in WaitForStop()
/system/core/libcutils/arch-x86_64/
Dandroid_memset16.S69 movzwl %si, %ecx
/system/core/libpixelflinger/
Dscanline.cpp1466 horz_iterator32 si(c); in scanline_t32cb16_dither() local
1471 uint32_t s = si.get_pixel32(); in scanline_t32cb16_dither()