| /openbsd-src/usr.sbin/config/ |
| H A D | ukcutil.c | 49 return((struct cfdata *)(adjust((caddr_t)nl[P_CFDATA].n_value) + in get_cfdata() 56 return((short *)(adjust((caddr_t)nl[S_LOCNAMP].n_value) + in get_locnamp() 63 return((caddr_t *)(adjust((caddr_t)nl[P_LOCNAMES].n_value) + in get_locnames() 73 extralocp = (long *)adjust((caddr_t)nl[IA_EXTRALOC].n_value); in get_extraloc() 74 rextralocp = (int *)adjust((caddr_t)nl[I_REXTRALOC].n_value); in get_extraloc() 75 textralocp = (int *)adjust((caddr_t)nl[I_TEXTRALOC].n_value); in get_extraloc() 89 p = (caddr_t *)adjust((caddr_t)nl[P_PDEVNAMES].n_value + in get_pdevnames() 91 return(char *)adjust((caddr_t)*p); in get_pdevnames() 98 return((struct pdevinit *)(adjust((caddr_t)nl[S_PDEVINIT].n_value) + in get_pdevinit() 152 cdrv = (struct cfdriver *)adjust((caddr_t)cd->cf_driver); in pdevnam() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRAsmBackend.cpp | 33 namespace adjust { namespace 263 adjust::fixup_7_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue() 266 adjust::fixup_13_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue() 269 adjust::fixup_call(Size, Fixup, Value, Ctx); in adjustFixupValue() 272 adjust::ldi::fixup(Size, Fixup, Value, Ctx); in adjustFixupValue() 275 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue() 279 adjust::pm(Value); in adjustFixupValue() 280 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue() 283 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue() 287 adjust::pm(Value); in adjustFixupValue() [all …]
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | cmd-resize-window.c | 56 u_int adjust, sx, sy, xpixel = 0, ypixel = 0; in cmd_resize_window_exec() local 59 adjust = 1; in cmd_resize_window_exec() 61 adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr); in cmd_resize_window_exec() 91 if (sx >= adjust) in cmd_resize_window_exec() 92 sx -= adjust; in cmd_resize_window_exec() 94 sx += adjust; in cmd_resize_window_exec() 96 if (sy >= adjust) in cmd_resize_window_exec() 97 sy -= adjust; in cmd_resize_window_exec() 99 sy += adjust; in cmd_resize_window_exec()
|
| H A D | cmd-resize-pane.c | 62 u_int adjust; in cmd_resize_pane_exec() local 69 adjust = screen_size_y(&wp->base) - 1 - wp->base.cy; in cmd_resize_pane_exec() 70 if (adjust > gd->hsize) in cmd_resize_pane_exec() 71 adjust = gd->hsize; in cmd_resize_pane_exec() 72 grid_remove_history(gd, adjust); in cmd_resize_pane_exec() 73 wp->base.cy += adjust; in cmd_resize_pane_exec() 99 adjust = 1; in cmd_resize_pane_exec() 101 adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr); in cmd_resize_pane_exec() 139 layout_resize_pane(wp, LAYOUT_LEFTRIGHT, -adjust, 1); in cmd_resize_pane_exec() 141 layout_resize_pane(wp, LAYOUT_LEFTRIGHT, adjust, 1); in cmd_resize_pane_exec() [all …]
|
| H A D | cmd-refresh-client.c | 233 u_int adjust; in cmd_refresh_client_exec() local 243 adjust = 1; in cmd_refresh_client_exec() 245 adjust = strtonum(args_string(args, 0), 1, INT_MAX, in cmd_refresh_client_exec() 263 if (tc->pan_ox > adjust) in cmd_refresh_client_exec() 264 tc->pan_ox -= adjust; in cmd_refresh_client_exec() 268 tc->pan_ox += adjust; in cmd_refresh_client_exec() 272 if (tc->pan_oy > adjust) in cmd_refresh_client_exec() 273 tc->pan_oy -= adjust; in cmd_refresh_client_exec() 277 tc->pan_oy += adjust; in cmd_refresh_client_exec()
|
| /openbsd-src/sys/dev/pci/drm/amd/display/modules/freesync/ |
| H A D | freesync.c | 191 in_out_vrr->adjust.v_total_max); in update_v_total_for_static_ramp() 252 in_out_vrr->adjust.v_total_min = v_total; in update_v_total_for_static_ramp() 253 in_out_vrr->adjust.v_total_max = v_total; in update_v_total_for_static_ramp() 293 in_out_vrr->adjust.v_total_min = in apply_below_the_range() 296 in_out_vrr->adjust.v_total_max = in apply_below_the_range() 458 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh() 461 in_out_vrr->adjust.v_total_max = in apply_fixed_refresh() 462 in_out_vrr->adjust.v_total_min; in apply_fixed_refresh() 464 in_out_vrr->adjust.v_total_min = in apply_fixed_refresh() 467 in_out_vrr->adjust in apply_fixed_refresh() [all...] |
| /openbsd-src/sys/dev/pci/drm/amd/display/modules/hdcp/ |
| H A D | hdcp.c | 43 hdcp->connection.link.adjust.hdcp1.disable = 1; in push_error_status() 47 hdcp->connection.link.adjust.hdcp2.disable = 1; in push_error_status() 60 hdcp->displays[i].adjust.disable != MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION) { in is_cp_desired_hdcp1() 67 !hdcp->connection.link.adjust.hdcp1.disable && in is_cp_desired_hdcp1() 80 hdcp->displays[i].adjust.disable != MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION) { in is_cp_desired_hdcp2() 87 !hdcp->connection.link.adjust.hdcp2.disable && in is_cp_desired_hdcp2() 262 display->adjust.disable == true && in update_display_adjustments() 264 display->adjust.disable = false; in update_display_adjustments() 271 display->adjust.disable = true; in update_display_adjustments() 275 memcmp(adj, &display->adjust, in update_display_adjustments() [all …]
|
| H A D | hdcp1_transition.c | 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_transition() local 51 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_transition() 111 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_transition() 158 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_dp_transition() local 167 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_dp_transition() 177 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_dp_transition() 233 } else if (conn->hdcp1_retry_count < conn->link.adjust.hdcp1.min_auth_retries_wa) { in mod_hdcp_hdcp1_dp_transition() 263 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_dp_transition() 287 adjust->hdcp1.postpone_encryption = 1; in mod_hdcp_hdcp1_dp_transition()
|
| H A D | hdcp2_transition.c | 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_transition() local 41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition() 53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition() 91 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_transition() 104 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_transition() 180 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_transition() 376 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_dp_transition() local 382 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition() 394 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition() 416 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_dp_transition() [all …]
|
| /openbsd-src/usr.sbin/rdate/ |
| H A D | rdate.c | 64 struct timeval adjust; member 154 &pdata.adjust, corrleaps); in main() 157 &pdata.adjust, corrleaps); in main() 189 if (adjtime(&pdata.adjust, NULL) == -1) in main() 207 adjsec = pdata.adjust.tv_sec + pdata.adjust.tv_usec / 1.0e6; in main() 217 __progname, (long long)pdata.adjust.tv_sec); in main()
|
| H A D | rfc868time.c | 57 struct timeval *adjust, int leapflag); 62 struct timeval *adjust, int leapflag) in rfc868time_client() argument 114 adjust->tv_sec = tim - TAI64_TO_SEC(td); in rfc868time_client() 115 adjust->tv_usec = 0; in rfc868time_client() 117 new->tv_sec = old.tv_sec + adjust->tv_sec; in rfc868time_client()
|
| H A D | ntp.c | 139 struct timeval *adjust, int leapflag) in ntp_client() argument 189 create_timeval(offset, new, adjust); in ntp_client() 472 create_timeval(double difference, struct timeval *new, struct timeval *adjust) in create_timeval() argument 481 adjust->tv_sec = n; in create_timeval() 482 adjust->tv_usec = (long) (MILLION_D * (difference-n)); in create_timeval() 486 new->tv_sec = old.tv_sec + adjust->tv_sec; in create_timeval() 487 new->tv_usec = (n = (long) old.tv_usec + (long) adjust->tv_usec); in create_timeval()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| H A D | 20000726-1.c | 11 static struct adjust_template adjust = {0, 0, 1, 1}; variable 30 *x = adjust.kx_x * *x + adjust.kx_y * *y + adjust.kx;
|
| /openbsd-src/sys/netinet/ |
| H A D | ipsec_output.c | 564 ssize_t adjust; in ipsec_hdrsz() 568 adjust = 0; in ipsec_hdrsz() 576 adjust = 2 * sizeof(u_int32_t) + tdbp->tdb_ivlen; in ipsec_hdrsz() 578 adjust += sizeof(struct udphdr); in ipsec_hdrsz() 581 adjust += tdbp->tdb_authalgxform->authsize; in ipsec_hdrsz() 583 adjust += MAX(4, tdbp->tdb_encalgxform->blocksize); in ipsec_hdrsz() 590 adjust = AH_FLENGTH + sizeof(u_int32_t); in ipsec_hdrsz() 591 adjust += tdbp->tdb_authalgxform->authsize; in ipsec_hdrsz() 600 return (adjust); in ipsec_hdrsz() 604 adjust in ipsec_hdrsz() 563 ssize_t adjust; ipsec_hdrsz() local 621 ssize_t adjust; ipsec_adjust_mtu() local [all...] |
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | mcore-tdep.c | 453 int adjust = 0; in mcore_analyze_prologue() local 460 adjust = in mcore_analyze_prologue() 464 adjust = (insn >> 4) & 0x7f; in mcore_analyze_prologue() 466 adjust = 1 << ((insn >> 4) & 0x1f); in mcore_analyze_prologue() 468 adjust = (1 << (adjust >> 4) & 0x1f) - 1; in mcore_analyze_prologue() 470 mcore_insn_debug (("MCORE: base framesize=0x%x\n", adjust)); in mcore_analyze_prologue() 484 adjust += (imm + 1); in mcore_analyze_prologue() 489 adjust -= (imm + 1); in mcore_analyze_prologue() 494 adjust = imm - adjust; in mcore_analyze_prologue() 499 adjust = ~adjust; in mcore_analyze_prologue() [all …]
|
| H A D | h8300-tdep.c | 201 int adjust = 0; in h8300_skip_prologue() local 211 adjust = 2; in h8300_skip_prologue() 216 start_pc += 2 + adjust; in h8300_skip_prologue() 220 adjust = 0; in h8300_skip_prologue() 229 adjust += 2; in h8300_skip_prologue() 234 start_pc += 2 + adjust; in h8300_skip_prologue() 249 start_pc += 2 + adjust; in h8300_skip_prologue() 256 start_pc += 2 + adjust; in h8300_skip_prologue() 262 start_pc += 6 + adjust; in h8300_skip_prologue() 347 int adjust = 0; in h8300_examine_prologue() local [all …]
|
| H A D | i386-linux-tdep.c | 139 int adjust; in i386_linux_sigtramp_start() local 144 adjust = LINUX_SIGTRAMP_OFFSET1; in i386_linux_sigtramp_start() 147 adjust = LINUX_SIGTRAMP_OFFSET2; in i386_linux_sigtramp_start() 153 pc -= adjust; in i386_linux_sigtramp_start()
|
| /openbsd-src/usr.bin/col/ |
| H A D | col.c | 113 int adjust, opt, warned; in main() local 149 adjust = extra_lines = warned = 0; in main() 218 if (cur_line + adjust != this_line) { in main() 222 adjust = !fine && (cur_line & 1); in main() 224 if (cur_line + adjust < this_line) { in main() 225 while (cur_line + adjust < this_line && in main() 230 if (cur_line + adjust < this_line) { in main() 237 while (cur_line + adjust in main() 249 cur_line = this_line - adjust; in main() 254 while (cur_line + adjust > this_line) { in main()
|
| /openbsd-src/sbin/unwind/libunbound/util/data/ |
| H A D | packed_rrset.c | 280 time_t adjust = 0; in packed_rr_to_string() local 291 adjust = SERVE_ORIGINAL_TTL ? d->ttl_add : now; in packed_rr_to_string() 292 if (d->rr_ttl[i] < adjust) adjust = d->rr_ttl[i]; /* Prevent negative TTL overflow */ in packed_rr_to_string() 294 (uint32_t)(d->rr_ttl[i]-adjust)); in packed_rr_to_string() 342 time_t adjust = 0; in packed_rrset_copy_region() local 361 adjust = SERVE_ORIGINAL_TTL ? data->ttl_add : now; in packed_rrset_copy_region() 363 if(d->rr_ttl[i] < adjust) in packed_rrset_copy_region() 365 else d->rr_ttl[i] -= adjust; in packed_rrset_copy_region() 367 if(d->ttl < adjust) in packed_rrset_copy_region() 369 else d->ttl -= adjust; in packed_rrset_copy_region()
|
| /openbsd-src/usr.sbin/unbound/util/data/ |
| H A D | packed_rrset.c | 280 time_t adjust = 0; in packed_rr_to_string() local 291 adjust = SERVE_ORIGINAL_TTL ? d->ttl_add : now; in packed_rr_to_string() 292 if (d->rr_ttl[i] < adjust) adjust = d->rr_ttl[i]; /* Prevent negative TTL overflow */ in packed_rr_to_string() 294 (uint32_t)(d->rr_ttl[i]-adjust)); in packed_rr_to_string() 342 time_t adjust = 0; in packed_rrset_copy_region() local 361 adjust = SERVE_ORIGINAL_TTL ? data->ttl_add : now; in packed_rrset_copy_region() 363 if(d->rr_ttl[i] < adjust) in packed_rrset_copy_region() 365 else d->rr_ttl[i] -= adjust; in packed_rrset_copy_region() 367 if(d->ttl < adjust) in packed_rrset_copy_region() 369 else d->ttl -= adjust; in packed_rrset_copy_region()
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | coff-mips.c | 72 size_t adjust, bfd_vma relocation, bfd_boolean pcrel)); 1144 mips_relocate_hi (refhi, reflo, input_bfd, input_section, contents, adjust, in mips_relocate_hi() argument 1151 size_t adjust; 1163 contents + adjust + refhi->r_vaddr - input_section->vma); 1168 contents + adjust + reflo->r_vaddr - input_section->vma) 1185 + (reflo->r_vaddr - input_section->vma + adjust)); 1192 contents + adjust + refhi->r_vaddr - input_section->vma); 1211 size_t adjust; local 1273 adjust = 0; 1358 + adjust [all …]
|
| H A D | ecofflink.c | 805 if (input_debug->adjust != (struct ecoff_value_adjust *) NULL) 807 struct ecoff_value_adjust *adjust; local 809 for (adjust = input_debug->adjust; 810 adjust != (struct ecoff_value_adjust *) NULL; 811 adjust = adjust->next) 812 if (fdr_adr >= adjust->start 813 && fdr_adr < adjust->end) 814 fdr.adr += adjust->adjust; 859 if (input_debug->adjust != (struct ecoff_value_adjust *) NULL) 862 struct ecoff_value_adjust *adjust; local [all …]
|
| /openbsd-src/lib/libc/gdtoa/ |
| H A D | hdtoa.c | 73 int adjust = 0; /* do we need to adjust the exponent? */ in dorounding() local 82 adjust = roundup(s0, ndigits); in dorounding() 86 adjust = roundup(s0, ndigits); in dorounding() 90 adjust = roundup(s0, ndigits); in dorounding() 94 if (adjust) in dorounding()
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dce60/ |
| H A D | dce60_hw_sequencer.c | 275 struct xfm_grph_csc_adjustment adjust; in dce60_program_front_end_for_pipe() local 283 memset(&adjust, 0, sizeof(adjust)); in dce60_program_front_end_for_pipe() 284 adjust.gamut_adjust_type = GRAPHICS_GAMUT_ADJUST_TYPE_BYPASS; in dce60_program_front_end_for_pipe() 303 adjust.gamut_adjust_type = GRAPHICS_GAMUT_ADJUST_TYPE_SW; in dce60_program_front_end_for_pipe() 306 adjust.temperature_matrix[i] = in dce60_program_front_end_for_pipe() 310 pipe_ctx->plane_res.xfm->funcs->transform_set_gamut_remap(pipe_ctx->plane_res.xfm, &adjust); in dce60_program_front_end_for_pipe()
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingWriter.cpp | 114 Counter adjust(Counter C) const { in adjust() function in __anonc0152fd10111::CounterExpressionsMinimizer 182 writeCounter(MinExpressions, Minimizer.adjust(E.LHS), OS); in write() 183 writeCounter(MinExpressions, Minimizer.adjust(E.RHS), OS); in write() 205 Counter Count = Minimizer.adjust(I->Count); in write() 206 Counter FalseCount = Minimizer.adjust(I->FalseCount); in write()
|