| /openbsd/src/sys/dev/pci/drm/amd/display/modules/hdcp/ |
| D | hdcp2_execution.c | 46 enum mod_hdcp_status status; in check_hdcp2_capable() local 49 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable() 54 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable() 57 return status; in check_hdcp2_capable() 86 enum mod_hdcp_status status; in check_ake_cert_available() local 90 status = MOD_HDCP_STATUS_SUCCESS; in check_ake_cert_available() 92 status = mod_hdcp_read_rxstatus(hdcp); in check_ake_cert_available() 93 if (status == MOD_HDCP_STATUS_SUCCESS) { in check_ake_cert_available() 96 status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_cert)) ? in check_ake_cert_available() 101 return status; in check_ake_cert_available() [all …]
|
| D | hdcp1_execution.c | 65 enum mod_hdcp_status status; in check_r0p_available_dp() local 68 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp() 73 status = MOD_HDCP_STATUS_INVALID_OPERATION; in check_r0p_available_dp() 75 return status; in check_r0p_available_dp() 97 enum mod_hdcp_status status; in check_no_max_cascade() local 100 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade() 104 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8) in check_no_max_cascade() 107 return status; in check_no_max_cascade() 112 enum mod_hdcp_status status; in check_no_max_devs() local 115 status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp) ? in check_no_max_devs() [all …]
|
| D | hdcp.c | 29 enum mod_hdcp_status status) in push_error_status() argument 34 trace->errors[trace->error_count].status = status; in push_error_status() 37 HDCP_ERROR_TRACE(hdcp, status); in push_error_status() 95 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in execution() local 110 status = mod_hdcp_hdcp1_execution(hdcp, event_ctx, &input->hdcp1); in execution() 112 status = mod_hdcp_hdcp1_dp_execution(hdcp, in execution() 115 status = mod_hdcp_hdcp2_execution(hdcp, event_ctx, &input->hdcp2); in execution() 117 status = mod_hdcp_hdcp2_dp_execution(hdcp, in execution() 124 return status; in execution() 132 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in transition() local [all …]
|
| D | hdcp_ddc.c | 205 enum mod_hdcp_status status = MOD_HDCP_STATUS_DDC_FAILURE; in read_repeatedly() local 211 status = read(hdcp, msg_id, buf + data_offset, cur_size); in read_repeatedly() 213 if (status != MOD_HDCP_STATUS_SUCCESS) in read_repeatedly() 220 return status; in read_repeatedly() 288 enum mod_hdcp_status status; in mod_hdcp_read_bstatus() local 291 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BSTATUS, in mod_hdcp_read_bstatus() 295 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BSTATUS, in mod_hdcp_read_bstatus() 298 return status; in mod_hdcp_read_bstatus() 311 enum mod_hdcp_status status; in mod_hdcp_read_ksvlist() local 314 status = read_repeatedly(hdcp, MOD_HDCP_MESSAGE_ID_READ_KSV_FIFO, in mod_hdcp_read_ksvlist() [all …]
|
| D | hdcp1_transition.c | 33 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_hdcp1_transition() local 52 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 60 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 70 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 79 fail_and_restart_in_ms(1000, &status, output); in mod_hdcp_hdcp1_transition() 82 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 99 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 112 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 135 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp1_transition() 143 status = MOD_HDCP_STATUS_INVALID_STATE; in mod_hdcp_hdcp1_transition() [all …]
|
| D | hdcp2_transition.c | 33 enum mod_hdcp_status status = MOD_HDCP_STATUS_SUCCESS; in mod_hdcp_hdcp2_transition() local 54 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 57 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 74 fail_and_restart_in_ms(1000, &status, output); in mod_hdcp_hdcp2_transition() 87 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 101 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 116 fail_and_restart_in_ms(1000, &status, output); in mod_hdcp_hdcp2_transition() 124 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 138 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() 148 fail_and_restart_in_ms(0, &status, output); in mod_hdcp_hdcp2_transition() [all …]
|
| /openbsd/src/usr.sbin/ypserv/ypxfr/ |
| D | ypxfr.c | 56 ypxfr_foreach(u_long status, char *keystr, int keylen, char *valstr, int vallen, in ypxfr_foreach() argument 61 if (status == YP_NOMORE) in ypxfr_foreach() 84 int status; in get_local_ordernum() local 89 status = YPPUSH_SUCC; in get_local_ordernum() 95 status = YPPUSH_NODOM; in get_local_ordernum() 102 status = YPPUSH_NOMAP; in get_local_ordernum() 110 status = YPPUSH_DBM; in get_local_ordernum() 128 if (status == YPPUSH_NOMAP || status == YPPUSH_DBM) { in get_local_ordernum() 130 status = YPPUSH_SUCC; in get_local_ordernum() 132 return (status); in get_local_ordernum() [all …]
|
| /openbsd/src/gnu/llvm/clang/www/ |
| D | make_cxx_dr_status | 11 def __init__(self, section, issue, url, status, title): argument 12 self.section, self.issue, self.url, self.status, self.title = \ 13 section, issue, url, status, title 15 return '%s (%s): %s' % (self.issue, self.status, self.title) 19 section, issue_link, status, liaison, title = [ 30 return DR(section, issue, url, status, title) 127 status = status_map.get(issue, 'unknown') 130 if status.endswith(' open'): 131 status = status[:-5] 133 elif status.endswith(' drafting'): [all …]
|
| /openbsd/src/sys/dev/pci/ |
| D | ixgbe_x550.c | 213 int32_t status = IXGBE_NOT_IMPLEMENTED; in ixgbe_read_pe() local 216 status = hw->phy.ops.read_i2c_byte_unlocked(hw, reg, IXGBE_PE, in ixgbe_read_pe() 218 if (status != IXGBE_SUCCESS) in ixgbe_read_pe() 220 "port expander access failed with %d\n", status); in ixgbe_read_pe() 221 return status; in ixgbe_read_pe() 234 int32_t status = IXGBE_NOT_IMPLEMENTED; in ixgbe_write_pe() local 237 status = hw->phy.ops.write_i2c_byte_unlocked(hw, reg, IXGBE_PE, in ixgbe_write_pe() 239 if (status != IXGBE_SUCCESS) in ixgbe_write_pe() 241 "port expander access failed with %d\n", status); in ixgbe_write_pe() 242 return status; in ixgbe_write_pe() [all …]
|
| /openbsd/src/regress/sys/kern/ptrace2/ |
| D | ptrace_test.c | 90 int status; in attach_child() local 94 wpid = waitpid(pid, &status, 0); in attach_child() 96 ATF_REQUIRE(WIFSTOPPED(status)); in attach_child() 97 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in attach_child() 141 int status; in ATF_TC_BODY() local 154 wpid = waitpid(child, &status, 0); in ATF_TC_BODY() 157 ATF_REQUIRE(WIFSTOPPED(status)); in ATF_TC_BODY() 158 ATF_REQUIRE(WSTOPSIG(status) == SIGSTOP); in ATF_TC_BODY() 164 wpid = waitpid(child, &status, 0); in ATF_TC_BODY() 167 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Compress/Adapter/ |
| D | Bzip2.pm | 24 my ($def, $status) = Compress::Raw::Bzip2->new(1, $BlockSize100K, 27 return (undef, "Could not create Deflate object: $status", $status) 28 if $status != BZ_OK ; 42 my $status = $def->bzdeflate($_[0], $_[1]) ; 43 $self->{ErrorNo} = $status; 45 if ($status != BZ_RUN_OK) 47 $self->{Error} = "Deflate Error: $status"; 60 my $status = $def->bzflush($_[0]); 61 $self->{ErrorNo} = $status; 63 if ($status != BZ_RUN_OK) [all …]
|
| D | Deflate.pm | 27 my ($def, $status) = Compress::Raw::Zlib::Deflate->new( 35 return (undef, "Cannot create Deflate object: $status", $status) 36 if $status != Z_OK; 50 my ($def, $status) = Compress::Raw::Zlib::Deflate->new( 58 return (undef, "Cannot create Deflate object: $status", $status) 59 if $status != Z_OK; 72 my $status = $def->deflate($_[0], $_[1]) ; 73 $self->{ErrorNo} = $status; 75 if ($status != Z_OK) 77 $self->{Error} = "Deflate Error: $status"; [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/opcodes/ |
| D | m68hc11-dis.c | 51 int status; in read_memory() local 55 status = (*info->read_memory_func) (memaddr, buffer, size, info); in read_memory() 56 if (status != 0) in read_memory() 58 (*info->memory_error_func) (status, memaddr, info); in read_memory() 74 int status; in print_indexed_operand() local 81 status = read_memory (memaddr, &buffer[0], 1, info); in print_indexed_operand() 82 if (status != 0) in print_indexed_operand() 84 return status; in print_indexed_operand() 142 status = read_memory (memaddr + pos, &buffer[0], 2, info); in print_indexed_operand() 143 if (status != 0) in print_indexed_operand() [all …]
|
| D | m10300-dis.c | 38 int status; local 44 status = (*info->read_memory_func) (memaddr, buffer, 1, info); 45 if (status != 0) 47 (*info->memory_error_func) (status, memaddr, info); 103 status = (*info->read_memory_func) (memaddr, buffer, 2, info); 104 if (status != 0) 106 (*info->memory_error_func) (status, memaddr, info); 130 status = (*info->read_memory_func) (memaddr, buffer, 2, info); 131 if (status != 0) 133 (*info->memory_error_func) (status, memaddr, info); [all …]
|
| D | m10200-dis.c | 35 int status; local 42 status = (*info->read_memory_func) (memaddr, buffer, 1, info); 43 if (status != 0) 45 (*info->memory_error_func) (status, memaddr, info); 89 status = (*info->read_memory_func) (memaddr, buffer, 2, info); 90 if (status != 0) 92 (*info->memory_error_func) (status, memaddr, info); 111 status = (*info->read_memory_func) (memaddr + 1, buffer, 2, info); 112 if (status != 0) 114 (*info->memory_error_func) (status, memaddr, info); [all …]
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/ |
| D | m68hc11-dis.c | 51 int status; in read_memory() local 55 status = (*info->read_memory_func) (memaddr, buffer, size, info); in read_memory() 56 if (status != 0) in read_memory() 58 (*info->memory_error_func) (status, memaddr, info); in read_memory() 74 int status; in print_indexed_operand() local 81 status = read_memory (memaddr, &buffer[0], 1, info); in print_indexed_operand() 82 if (status != 0) in print_indexed_operand() 84 return status; in print_indexed_operand() 142 status = read_memory (memaddr + pos, &buffer[0], 2, info); in print_indexed_operand() 143 if (status != 0) in print_indexed_operand() [all …]
|
| D | m10300-dis.c | 41 int status, match = 0; in disassemble() local 115 status = (*info->read_memory_func) (memaddr + 1, buffer, 2, info); in disassemble() 116 if (status != 0) in disassemble() 118 (*info->memory_error_func) (status, memaddr, info); in disassemble() 139 status = (*info->read_memory_func) (memaddr + 2, buffer, 2, info); in disassemble() 140 if (status != 0) in disassemble() 142 (*info->memory_error_func) (status, memaddr, info); in disassemble() 153 status = (*info->read_memory_func) (memaddr + 1, buffer, 4, info); in disassemble() 154 if (status != 0) in disassemble() 156 (*info->memory_error_func) (status, memaddr, info); in disassemble() [all …]
|
| D | m10200-dis.c | 162 int status; in print_insn_mn10200() local 169 status = (*info->read_memory_func) (memaddr, buffer, 1, info); in print_insn_mn10200() 170 if (status != 0) in print_insn_mn10200() 172 (*info->memory_error_func) (status, memaddr, info); in print_insn_mn10200() 216 status = (*info->read_memory_func) (memaddr, buffer, 2, info); in print_insn_mn10200() 217 if (status != 0) in print_insn_mn10200() 219 (*info->memory_error_func) (status, memaddr, info); in print_insn_mn10200() 238 status = (*info->read_memory_func) (memaddr + 1, buffer, 2, info); in print_insn_mn10200() 239 if (status != 0) in print_insn_mn10200() 241 (*info->memory_error_func) (status, memaddr, info); in print_insn_mn10200() [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | remote-vx.c | 120 enum clnt_stat status; in net_load() local 138 status = clnt_call (pClient, VX_LOAD, xdr_wrapstring, &filename, xdr_ldfile, in net_load() 141 if (status == RPC_SUCCESS) in net_load() 159 enum clnt_stat status; in net_break() local 170 status = net_clnt_call (procnum, xdr_rptrace, &ptrace_in, xdr_int, in net_break() 173 if (status != RPC_SUCCESS) in net_break() 207 enum clnt_stat status; in vx_create_inferior() local 221 status = net_clnt_call (PROCESS_START, xdr_arg_array, &passArgs, in vx_create_inferior() 224 if ((status != RPC_SUCCESS) || (taskStart.status == -1)) in vx_create_inferior() 339 enum clnt_stat status; in net_wait() local [all …]
|
| D | linux-nat.c | 162 int child_pid, ret, status; in linux_test_for_tracefork() local 172 ret = waitpid (child_pid, &status, 0); in linux_test_for_tracefork() 177 if (! WIFSTOPPED (status)) in linux_test_for_tracefork() 178 error ("linux_test_for_tracefork: waitpid: unexpected status %d.", status); in linux_test_for_tracefork() 186 waitpid (child_pid, &status, 0); in linux_test_for_tracefork() 196 ret = waitpid (child_pid, &status, 0); in linux_test_for_tracefork() 197 if (ret == child_pid && WIFSTOPPED (status) in linux_test_for_tracefork() 198 && status >> 16 == PTRACE_EVENT_FORK) in linux_test_for_tracefork() 212 if (WIFSTOPPED (status)) in linux_test_for_tracefork() 215 waitpid (child_pid, &status, 0); in linux_test_for_tracefork() [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_fuchsia.cpp | 35 zx_status_t status = _zx_thread_legacy_yield(0u); in internal_sched_yield() local 36 CHECK_EQ(status, ZX_OK); in internal_sched_yield() 41 zx_status_t status = _zx_nanosleep(_zx_deadline_after(ZX_USEC(useconds))); in internal_usleep() local 42 CHECK_EQ(status, ZX_OK); in internal_usleep() 49 zx_status_t status = _zx_clock_read(utc_clock, &time); in NanoTime() local 50 CHECK_EQ(status, ZX_OK); in NanoTime() 58 zx_status_t status = in internal_getpid() local 61 CHECK_EQ(status, ZX_OK); in internal_getpid() 104 zx_status_t status = _zx_futex_wait(reinterpret_cast<zx_futex_t *>(p), cmp, in FutexWait() local 106 if (status != ZX_ERR_BAD_STATE) // Normal race. in FutexWait() [all …]
|
| /openbsd/src/sys/dev/pci/drm/i915/gvt/ |
| D | execlist.c | 94 struct execlist_status_format status; in emulate_execlist_status() local 98 status.ldw = vgpu_vreg(vgpu, status_reg); in emulate_execlist_status() 99 status.udw = vgpu_vreg(vgpu, status_reg + 4); in emulate_execlist_status() 102 status.current_execlist_pointer = !!running->index; in emulate_execlist_status() 103 status.execlist_write_pointer = !!!running->index; in emulate_execlist_status() 104 status.execlist_0_active = status.execlist_0_valid = in emulate_execlist_status() 106 status.execlist_1_active = status.execlist_1_valid = in emulate_execlist_status() 109 status.context_id = 0; in emulate_execlist_status() 110 status.execlist_0_active = status.execlist_0_valid = 0; in emulate_execlist_status() 111 status.execlist_1_active = status.execlist_1_valid = 0; in emulate_execlist_status() [all …]
|
| /openbsd/src/regress/lib/libc/sys/ |
| D | t_fork.c | 140 int rv, status; in raise_raw() local 181 wpid = waitpid(watcher, &status, 0); in raise_raw() 185 ATF_REQUIRE(WIFEXITED(status)); in raise_raw() 186 ATF_REQUIRE(!WIFCONTINUED(status)); in raise_raw() 187 ATF_REQUIRE(!WIFSIGNALED(status)); in raise_raw() 188 ATF_REQUIRE(!WIFSTOPPED(status)); in raise_raw() 189 ATF_REQUIRE_EQ(WEXITSTATUS(status), 0); in raise_raw() 199 wpid = waitpid(child, &status, 0); in raise_raw() 207 ATF_REQUIRE(!WIFEXITED(status)); in raise_raw() 208 ATF_REQUIRE(!WIFCONTINUED(status)); in raise_raw() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Uncompress/Adapter/ |
| D | Bunzip2.pm | 19 my ($inflate, $status) = Compress::Raw::Bunzip2->new(1, 1, $small, $verbosity, 1); 21 return (undef, "Could not create Inflation object: $status", $status) 22 if $status != BZ_OK ; 42 my $status = $inf->bzinflate($from, $to); 43 $self->{ErrorNo} = $status; 45 if ($status != BZ_OK && $status != BZ_STREAM_END ) 47 $self->{Error} = "Inflation Error: $status"; 52 return STATUS_OK if $status == BZ_OK ; 53 return STATUS_ENDSTREAM if $status == BZ_STREAM_END ; 62 my ($inf, $status) = Compress::Raw::Bunzip2->new(); [all …]
|
| /openbsd/src/gnu/gcc/libdecnumber/ |
| D | decContext.c | 61 context->status = 0; /* cleared */ in decContextDefault() 123 Int status = context->status; in decContextStatusToString() local 124 if (status == DEC_Conversion_syntax) in decContextStatusToString() 126 if (status == DEC_Division_by_zero) in decContextStatusToString() 128 if (status == DEC_Division_impossible) in decContextStatusToString() 130 if (status == DEC_Division_undefined) in decContextStatusToString() 132 if (status == DEC_Inexact) in decContextStatusToString() 134 if (status == DEC_Insufficient_storage) in decContextStatusToString() 136 if (status == DEC_Invalid_context) in decContextStatusToString() 138 if (status == DEC_Invalid_operation) in decContextStatusToString() [all …]
|