/fuchsia/zircon/system/dev/misc/pty/ |
H A D | pty-core.c | 52 pty_client_t* pc = ctx; local 53 pty_server_t* ps = pc->srv; 56 bool was_full = pty_fifo_is_full(&pc->fifo); 57 size_t length = pty_fifo_read(&pc->fifo, buf, count); 58 if (pty_fifo_is_empty(&pc->fifo)) { 59 device_state_clr(pc->zxdev, DEV_STATE_READABLE); 70 return (pc->flags & PTY_CLI_PEER_CLOSED) ? ZX_ERR_PEER_CLOSED : ZX_ERR_SHOULD_WAIT; 76 pty_client_t* pc = ctx; local 77 pty_server_t* ps = pc->srv; 82 if (pc 101 pty_make_active_locked(pty_server_t* ps, pty_client_t* pc) argument 119 pty_adjust_signals_locked(pty_client_t* pc) argument 139 pty_client_t* pc = ctx; local 216 pty_client_t* pc = ctx; local 256 pty_client_t* pc = ctx; local 283 pty_client_t* pc; local 365 pty_client_t* pc = ps->active; local 429 pty_client_t* pc; local [all...] |
/fuchsia/zircon/kernel/syscalls/ |
H A D | syscalls.cpp | 26 int sys_invalid_syscall(uint64_t num, uint64_t pc, argument 29 num, pc, vdso_code_address); 39 inline syscall_result do_syscall(uint64_t syscall_num, uint64_t pc, argument 50 LTRACEF_LEVEL(2, "t %p syscall num %" PRIu64 " ip/pc %#" PRIx64 "\n", 51 get_current_thread(), syscall_num, pc); 57 if (unlikely(!valid_pc(pc - vdso_code_address))) { 58 ret = sys_invalid_syscall(syscall_num, pc, vdso_code_address); 75 syscall_result unknown_syscall(uint64_t syscall_num, uint64_t pc) { argument 76 return do_syscall(syscall_num, pc,
|
/fuchsia/zircon/third_party/ulib/backtrace/ |
H A D | simple.c | 65 uintptr_t pc; local 69 pc = _Unwind_GetIPInfo (context, &ip_before_insn); 71 pc = _Unwind_GetIP (context); 81 --pc; 83 bdata->ret = bdata->callback (bdata->data, pc);
|
H A D | unknown.c | 44 uintptr_t pc, backtrace_full_callback callback, 49 return callback (data, pc, NULL, 0, NULL); 43 unknown_fileline(struct backtrace_state *state ATTRIBUTE_UNUSED, uintptr_t pc, backtrace_full_callback callback, backtrace_error_callback error_callback ATTRIBUTE_UNUSED, void *data) argument
|
H A D | backtrace.c | 70 uintptr_t pc; local 74 pc = _Unwind_GetIPInfo (context, &ip_before_insn); 76 pc = _Unwind_GetIP (context); 86 --pc; 89 bdata->ret = bdata->callback (bdata->data, pc, NULL, 0, NULL); 91 bdata->ret = backtrace_pcinfo (bdata->state, pc, bdata->callback,
|
H A D | print.c | 53 print_callback (void *data, uintptr_t pc, const char *filename, int lineno, argument 59 (unsigned long) pc,
|
H A D | fileline.c | 170 backtrace_pcinfo (struct backtrace_state *state, uintptr_t pc, argument 180 return state->fileline_fn (state, pc, callback, error_callback, data); 191 backtrace_syminfo (struct backtrace_state *state, uintptr_t pc, argument 201 state->syminfo_fn (state, pc, callback, error_callback, data);
|
H A D | dwarf.c | 293 uintptr_t pc; member in struct:line 922 uintptr_t pc; local 924 pc = *key; 925 if (pc < entry->low) 927 else if (pc >= entry->high) 1021 uintptr_t pc; local 1023 pc = *key; 1024 if (pc < entry->low) 1026 else if (pc >= entry->high) 1043 if (ln1->pc < ln 1065 uintptr_t pc; local 1616 add_line(struct backtrace_state *state, struct dwarf_data *ddata, uintptr_t pc, const char *filename, int lineno, backtrace_error_callback error_callback, void *data, struct line_vector *vec) argument 2671 report_inlined_functions(uintptr_t pc, struct function *function, backtrace_full_callback callback, void *data, const char **filename, int *lineno) argument 2727 dwarf_lookup_pc(struct backtrace_state *state, struct dwarf_data *ddata, uintptr_t pc, backtrace_full_callback callback, backtrace_error_callback error_callback, void *data, int *found) argument 2949 dwarf_fileline(struct backtrace_state *state, uintptr_t pc, backtrace_full_callback callback, backtrace_error_callback error_callback, void *data) argument [all...] |
/fuchsia/zircon/system/utest/pty/ |
H A D | pty-test.c | 74 int pc = openat(ps, "0", O_RDWR | O_NONBLOCK); local 75 ASSERT_GE(pc, 0, ""); 80 ASSERT_EQ(fd_signals(pc), POLLOUT, ""); 85 ASSERT_EQ(read(pc, tmp, 32), -1, ""); 90 ASSERT_EQ(fd_signals(pc), POLLIN | POLLOUT, ""); 93 ASSERT_EQ(read(pc, tmp, 5), 5, ""); 95 ASSERT_EQ(fd_signals(pc), POLLOUT, ""); 98 ASSERT_EQ(write(pc, "xyzzy", 5), 5, ""); 109 ASSERT_EQ(read_all(pc), 4096, ""); 113 ASSERT_EQ(write_full(pc), 409 [all...] |
/fuchsia/zircon/system/ulib/inspector/ |
H A D | backtrace.cpp | 47 // file,line#,function_name for each pc. Therefore we don't need it to 66 zx_status_t GetDebugInfo(uintptr_t pc, inspector_dsoinfo_t** out_dso, 110 // Returns ZX_ERR_NOT_FOUND if |pc| is not in any DSO. 117 zx_status_t DebugInfoCache::GetDebugInfo(uintptr_t pc, argument 120 inspector_dsoinfo_t* dso = inspector_dso_lookup(dso_list_, pc); 122 debugf(1, "No DSO found for pc %p\n", (void*) pc); 144 debugf(1, "using cached debug info entry for pc %p\n", (void*) pc); 210 btprint_callback(void* vdata, uintptr_t pc, cons argument 221 btprint(FILE* f, DebugInfoCache* di_cache, int n, uintptr_t pc, uintptr_t sp, bool use_new_format) argument 271 dso_lookup_for_unw(void* context, unw_word_t pc, unw_word_t* base, const char** name) argument 283 inspector_print_backtrace_impl(FILE* f, zx_handle_t process, zx_handle_t thread, inspector_dsoinfo_t* dso_list, uintptr_t pc, uintptr_t sp, uintptr_t fp, bool use_libunwind, bool use_new_format) argument 383 inspector_print_backtrace_markup(FILE* f, zx_handle_t process, zx_handle_t thread, inspector_dsoinfo_t* dso_list, uintptr_t pc, uintptr_t sp, uintptr_t fp, bool use_libunwind) argument 393 inspector_print_backtrace(FILE* f, zx_handle_t process, zx_handle_t thread, inspector_dsoinfo_t* dso_list, uintptr_t pc, uintptr_t sp, uintptr_t fp, bool use_libunwind) argument [all...] |
/fuchsia/zircon/kernel/platform/pc/include/platform/ |
H A D | pc.h | 12 #include <platform/pc/iomap.h>
|
/fuchsia/zircon/third_party/ulib/backtrace/include/backtrace/ |
H A D | backtrace.h | 126 typedef int (*backtrace_full_callback) (void *data, uintptr_t pc, 149 typedef int (*backtrace_simple_callback) (void *data, uintptr_t pc); 180 extern int backtrace_pcinfo (struct backtrace_state *state, uintptr_t pc, 191 typedef void (*backtrace_syminfo_callback) (void *data, uintptr_t pc,
|
/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/ |
H A D | fuchsia.h | 35 typedef int (unw_dso_lookup_func_t) (void* context, unw_word_t pc,
|
/fuchsia/zircon/kernel/lib/libc/ |
H A D | qsort.c | 86 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local 115 pc = pd = (char *)a + (n - 1) * es; 117 while (pb <= pc && (r = cmp(pb, a)) <= 0) { 125 while (pb <= pc && (r = cmp(pc, a)) >= 0) { 128 swap(pc, pd); 131 pc -= es; 133 if (pb > pc) 135 swap(pb, pc); 138 pc [all...] |
/fuchsia/zircon/system/ulib/inspector/include/inspector/ |
H A D | inspector.h | 43 uintptr_t pc, uintptr_t sp, 53 uintptr_t pc, uintptr_t sp, uintptr_t fp, 63 // Return the DSO that contains |pc|. 66 zx_vaddr_t pc);
|
/fuchsia/zircon/third_party/ulib/lz4/ |
H A D | Makefile.lz4 | 78 @rm -f core *.o *.a *.$(SHARED_EXT) *.$(SHARED_EXT).* liblz4.pc 86 liblz4.pc: liblz4.pc.in Makefile 94 install: liblz4 liblz4.pc 99 @cp -a liblz4.pc $(DESTDIR)$(LIBDIR)/pkgconfig/ 109 @rm -f $(DESTDIR)$(LIBDIR)/pkgconfig/liblz4.pc
|
/fuchsia/zircon/kernel/platform/pc/include/platform/pc/ |
H A D | hpet.h | 9 #include <platform/pc/acpi.h>
|
/fuchsia/zircon/scripts/ |
H A D | zircon.elf-gdb.py | 543 def __init__(self, sp, pc): 545 self.pc = pc 577 # We need to know when the pc is at the point where it has called 582 def is_in_icommon(self, pc): 583 """Return True if pc is in the interrupt_common function.""" 585 # If the pc is here then we've called into x86_exception_handler. 586 if self.at_iframe_setup is not None and pc == self.at_iframe_setup: 592 return pc >= self.interrupt_common_begin_addr and pc < end_add [all...] |
/fuchsia/zircon/kernel/target/pc/ |
H A D | rules.mk | 12 PLATFORM := pc
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | pic.cpp | 12 #include <platform/pc.h>
|
/fuchsia/zircon/system/utest/core/threads/ |
H A D | register-set.h | 17 #define REG_PC pc
|
/fuchsia/zircon/kernel/project/ |
H A D | x64.mk | 12 TARGET := pc
|
/fuchsia/zircon/system/uapp/psutils/ |
H A D | threads.cpp | 80 zx_vaddr_t pc = 0, sp = 0, fp = 0; local 88 pc = regs.rip; 92 pc = regs.pc; 115 inspector_print_backtrace(stdout, process, thread, dso_list, pc, sp, fp, true);
|
/fuchsia/zircon/third_party/ulib/jemalloc/test/integration/ |
H A D | xallocx.c | 297 const uint8_t *pc = (const uint8_t *)p; local 303 c0 = pc[0]; 305 if (pc[i] != c0) { 308 c0 = pc[i]; 317 const uint8_t *pc = (const uint8_t *)p; local 322 if (pc[i] != c)
|
/fuchsia/zircon/system/core/crashanalyzer/ |
H A D | crashanalyzer.cpp | 178 // On x86, the pc is left at one past the s/w break insn, 183 regs.pc += 4; 249 zx_vaddr_t pc = 0, sp = 0, fp = 0; local 260 pc = regs->rip; 265 pc = regs->pc; 297 printf("<== %s, PC at 0x%" PRIxPTR "\n", excp_type_to_str(report.header.type), pc); 323 pc, sp, fp, use_libunwind); 325 pc, sp, fp, use_libunwind);
|