/openbsd/usr.bin/tmux/ |
H A D | layout.c | 55 lc = xmalloc(sizeof *lc); in layout_create_cell() 69 return (lc); in layout_create_cell() 92 free(lc); in layout_free_cell() 116 " ", lc, type, lc->parent, lc->wp, lc->xoff, lc->yoff, lc->sx, in layout_print_cell() 117 lc->sy); in layout_print_cell() 306 window_pane_resize(wp, lc->sx, lc->sy - 1); in layout_fix_panes() 308 window_pane_resize(wp, lc->sx, lc->sy); in layout_fix_panes() 468 lc->xoff = 0; lc->yoff = 0; in layout_destroy_cell() 627 lc = TAILQ_PREV(lc, layout_cells, entry); in layout_resize_pane() 849 lc->type, lc->sx, count - idx, available); in layout_resize_child_cells() [all …]
|
H A D | layout-custom.c | 40 return (lc); in layout_find_bottomright() 41 lc = TAILQ_LAST(&lc->cells, layout_cells); in layout_find_bottomright() 87 lc->sx, lc->sy, lc->xoff, lc->yoff, lc->wp->id); in layout_append() 90 lc->sx, lc->sy, lc->xoff, lc->yoff); in layout_append() 224 if (lc->type != LAYOUT_WINDOWPANE && (lc->sx != sx || lc->sy != sy)) { in layout_parse() 227 lc->sx = sx - 1; lc->sy = sy - 1; in layout_parse() 237 window_resize(w, lc->sx, lc->sy, -1, -1); in layout_parse() 322 lc->sx = sx; in layout_construct() 323 lc->sy = sy; in layout_construct() 332 return (lc); in layout_construct() [all …]
|
H A D | layout-set.c | 122 struct layout_cell *lc, *lcnew; in layout_set_even() local 146 layout_set_size(lc, sx, sy, 0, 0); in layout_set_even() 147 layout_make_node(lc, type); in layout_set_even() 151 lcnew = layout_create_cell(lc); in layout_set_even() 159 layout_spread_cell(w, lc); in layout_set_even() 167 window_resize(w, lc->sx, lc->sy, -1, -1); in layout_set_even() 243 lcmain = layout_create_cell(lc); in layout_set_main_h() 277 window_resize(w, lc->sx, lc->sy, -1, -1); in layout_set_main_h() 341 lcmain = layout_create_cell(lc); in layout_set_main_v() 375 window_resize(w, lc->sx, lc->sy, -1, -1); in layout_set_main_v() [all …]
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | ldc.c | 65 ldc_reset(lc); in ldc_rx_ctrl() 97 ldc_reset(lc); in ldc_rx_ctrl_vers() 102 ldc_reset(lc); in ldc_rx_ctrl_vers() 152 lc->lc_start(lc); in ldc_rx_ctrl_rtr() 184 lc->lc_start(lc); in ldc_rx_ctrl_rdx() 224 KASSERT(lc->lc_len <= sizeof(lc->lc_msg)); in ldc_rx_data() 225 memcpy((uint8_t *)lc->lc_msg, lp, lc->lc_len); in ldc_rx_data() 228 if (lc->lc_len + len > sizeof(lc->lc_msg)) { in ldc_rx_data() 238 lc->lc_rx_data(lc, (struct ldc_pkt *)lc->lc_msg); in ldc_rx_data() 489 lc->lc_tx_state = lc->lc_rx_state = LDC_CHANNEL_DOWN; in ldc_reset() [all …]
|
H A D | vldcp.c | 135 struct ldc_conn *lc; in vldcp_attach() local 160 lc = &sc->sc_lc; in vldcp_attach() 162 lc->lc_sc = sc; in vldcp_attach() 233 wakeup(lc->lc_txq); in vldcp_tx_intr() 292 wakeup(lc->lc_rxq); in vldcp_rx_intr() 324 lc = &sc->sc_lc; in vldcpopen() 327 lc->lc_txq->lq_map->dm_segs[0].ds_addr, lc->lc_txq->lq_nentries); in vldcpopen() 332 lc->lc_rxq->lq_map->dm_segs[0].ds_addr, lc->lc_rxq->lq_nentries); in vldcpopen() 376 lc = &sc->sc_lc; in vldcpread() 439 lc = &sc->sc_lc; in vldcpwrite() [all …]
|
H A D | vcctty.c | 103 struct ldc_conn *lc; in vcctty_attach() local 129 lc = &sc->sc_lc; in vcctty_attach() 130 lc->lc_id = ca->ca_id; in vcctty_attach() 131 lc->lc_sc = sc; in vcctty_attach() 134 if (lc->lc_txq == NULL) { in vcctty_attach() 140 if (lc->lc_rxq == NULL) { in vcctty_attach() 145 err = hv_ldc_tx_qconf(lc->lc_id, in vcctty_attach() 146 lc->lc_txq->lq_map->dm_segs[0].ds_addr, lc->lc_txq->lq_nentries); in vcctty_attach() 151 lc->lc_rxq->lq_map->dm_segs[0].ds_addr, lc->lc_rxq->lq_nentries); in vcctty_attach() 191 lc->lc_tx_state = tx_state; in vcctty_tx_intr() [all …]
|
H A D | lom.c | 413 if (lcp == lc) { in lom_dequeue_cmd() 424 struct lom_cmd lc; in lom1_read() local 430 lc.lc_cmd = reg; in lom1_read() 431 lc.lc_data = 0xff; in lom1_read() 453 lc.lc_data = val; in lom1_write() 558 if (lc == NULL) { in lom1_process_queue_locked() 598 wakeup(lc); in lom1_process_queue_locked() 618 lc.lc_cmd = reg; in lom2_read() 673 lc.lc_data = val; in lom2_write() 778 if (lc == NULL) { in lom2_intr() [all …]
|
H A D | vnet.c | 253 struct ldc_conn *lc; in vnet_attach() local 281 lc = &sc->sc_lc; in vnet_attach() 283 lc->lc_sc = sc; in vnet_attach() 384 lc->lc_state = 0; in vnet_rx_intr() 385 lc->lc_reset(lc); in vnet_rx_intr() 402 lc->lc_state = 0; in vnet_rx_intr() 403 lc->lc_reset(lc); in vnet_rx_intr() 435 ldc_reset(lc); in vnet_rx_intr() 480 ldc_reset(lc); in vio_rx_data() 1478 lc->lc_state = 0; in vnet_stop() [all …]
|
H A D | vdsk.c | 236 struct ldc_conn *lc; in vdsk_attach() local 261 lc = &sc->sc_lc; in vdsk_attach() 263 lc->lc_sc = sc; in vdsk_attach() 312 lc->lc_txq->lq_map->dm_segs[0].ds_addr, lc->lc_txq->lq_nentries); in vdsk_attach() 317 lc->lc_rxq->lq_map->dm_segs[0].ds_addr, lc->lc_rxq->lq_nentries); in vdsk_attach() 324 ldc_send_vers(lc); in vdsk_attach() 418 lc->lc_tx_seqid = 0; in vdsk_rx_intr() 419 lc->lc_state = 0; in vdsk_rx_intr() 426 ldc_send_vers(lc); in vdsk_rx_intr() 453 ldc_reset(lc); in vdsk_rx_intr() [all …]
|
H A D | vdsp.c | 332 struct ldc_conn *lc; in vdsp_attach() local 362 lc = &sc->sc_lc; in vdsp_attach() 364 lc->lc_sc = sc; in vdsp_attach() 427 wakeup(lc->lc_txq); in vdsp_tx_intr() 453 lc->lc_state = 0; in vdsp_rx_intr() 454 lc->lc_reset(lc); in vdsp_rx_intr() 462 lc->lc_state = 0; in vdsp_rx_intr() 463 lc->lc_reset(lc); in vdsp_rx_intr() 486 ldc_reset(lc); in vdsp_rx_intr() 520 ldc_reset(lc); in vdsp_rx_data() [all …]
|
/openbsd/usr.sbin/ldomd/ |
H A D | ds.c | 65 ldc_reset(lc); in ldc_rx_ctrl() 103 ldc_reset(lc); in ldc_rx_ctrl_vers() 108 ldc_reset(lc); in ldc_rx_ctrl_vers() 134 ldc_reset(lc); in ldc_rx_ctrl_rts() 167 lc->lc_start(lc); in ldc_rx_ctrl_rtr() 201 lc->lc_start(lc); in ldc_rx_ctrl_rdx() 258 memcpy((uint8_t *)lc->lc_msg, &lp->data, lc->lc_len); in ldc_rx_data() 261 if (lc->lc_len + len > sizeof(lc->lc_msg)) { in ldc_rx_data() 272 lc->lc_rx_data(lc, lc->lc_msg, lc->lc_len); in ldc_rx_data() 402 lc->lc_reset(lc); in ldc_reset() [all …]
|
/openbsd/lib/libc/gen/ |
H A D | login_cap.c | 86 login_cap_t *lc; in login_getclass() local 108 free(lc); in login_getclass() 113 lc->lc_cap = 0; in login_getclass() 117 lc->lc_class); in login_getclass() 124 return (lc); in login_getclass() 134 return (lc); in login_getclass() 148 free(lc); in login_getclass() 151 return (lc); in login_getclass() 451 if (lc) { in login_close() 455 free(lc); in login_close() [all …]
|
H A D | authenticate.c | 226 if (lc == NULL) { in auth_approval() 239 if (lc == NULL) { in auth_approval() 267 login_close(lc); in auth_approval() 314 login_close(lc); in auth_approval() 328 login_cap_t *lc; in auth_usercheck() local 361 login_close(lc); in auth_usercheck() 377 login_close(lc); in auth_usercheck() 398 login_cap_t *lc; in auth_userchallenge() local 433 login_close(lc); in auth_userchallenge() 440 login_close(lc); in auth_userchallenge() [all …]
|
/openbsd/gnu/usr.bin/perl/t/uni/ |
H A D | overload.t | 57 my $lc = lc $u; 58 is (length $lc, 1); 60 $lc = lc $u; 61 is (length $lc, 1); 63 $lc = lc $u; 79 $lc = lcfirst $u; 82 $lc = lcfirst $u; 85 $lc = lcfirst $u; 112 my $lc = lc $u; 115 $lc = lc $u; [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/ |
H A D | xopen-1.c | 18 printf ("%C", lc); in foo() 19 printf ("%3C", lc); in foo() 21 printf ("%hC", lc); /* { dg-warning "length" "bad %hC" } */ in foo() 23 printf ("%lC", lc); /* { dg-warning "length" "bad %lC" } */ in foo() 25 printf ("%jC", lc); /* { dg-warning "length" "bad %jC" } */ in foo() 29 printf ("%-C", lc); in foo() 30 printf ("%+C", lc); /* { dg-warning "flag" "bad %+C" } */ in foo() 31 printf ("% C", lc); /* { dg-warning "flag" "bad % C" } */ in foo() 32 printf ("%#C", lc); /* { dg-warning "flag" "bad %#C" } */ in foo() 33 printf ("%0C", lc); /* { dg-warning "flag" "bad %0C" } */ in foo() [all …]
|
/openbsd/usr.sbin/acme-client/ |
H A D | netproc.c | 363 long lc; in donewacc() local 380 } else if (lc != 200 && lc != 201) in donewacc() 403 long lc; in dochkacc() local 409 else if (lc != 200 && lc != 400) in dochkacc() 437 long lc; in doneworder() local 528 long lc; in dochngresp() local 534 else if (lc != 200 && lc != 201 && lc != 202) in dochngresp() 552 long lc; in docert() local 580 long lc; in dogetcert() local 612 else if (lc != 200 && lc != 201 && lc != 409) in dorevoke() [all …]
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | lc.t | 22 is(lc(undef), "", "lc(undef) is ''"); 58 is(lc($a) , "hello\.\* world", 'lc'); 72 is(lc($b) , "hello\.\* world", 'lc'); 93 is(lc($a) , "\x{101}\x{101}aa", 'lc'); 107 is(lc($b) , "\x{101}\x{101}aa", 'lc'); 172 ($c = $b) =~ s/(\w+)/lc($1)/ge; 213 is(substr(lc($_), 0), lc($_), "[perl #38619] lc"); 239 my $return = lc($_) =~ /\G(.?)/g; 241 my $expect = (lc($_) =~ /(.?)/g)[0]; 268 lc $_; [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_mac.cpp | 252 const char *lc = layout_data->current_load_cmd_addr; in NextSegmentLoad() local 254 if (((const load_command *)lc)->cmd == kLCSegment) { in NextSegmentLoad() 255 const SegmentCommand* sc = (const SegmentCommand *)lc; in NextSegmentLoad() 279 (const char *)lc + sizeof(SegmentCommand); in NextSegmentLoad() 332 return (const load_command *)((const char *)lc + lc->cmdsize); in NextCommand() 336 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in FindUUID() local 337 if (lc->cmd != LC_UUID) continue; in FindUUID() 339 const uuid_command *uuid_lc = (const uuid_command *)lc; in FindUUID() 347 for (const load_command *lc = first_lc; lc->cmd != 0; lc = NextCommand(lc)) { in IsModuleInstrumented() local 348 if (lc->cmd != LC_LOAD_DYLIB) continue; in IsModuleInstrumented() [all …]
|
/openbsd/gnu/llvm/lldb/examples/python/ |
H A D | mach_o.py | 892 lc = Mach.UUIDLoadCommand(lc) 1283 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1307 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1344 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1361 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1395 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1455 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1475 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1494 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) 1511 Mach.LoadCommand.__init__(self, lc.command, lc.length, lc.file_off) [all …]
|
/openbsd/usr.sbin/unbound/sldns/ |
H A D | parse.c | 289 int c, lc; in sldns_bget_token_par() local 310 lc = 0; in sldns_bget_token_par() 324 lc = c; in sldns_bget_token_par() 334 lc = c; in sldns_bget_token_par() 346 if (lc != '\\') { in sldns_bget_token_par() 358 lc = c; in sldns_bget_token_par() 364 lc = c; in sldns_bget_token_par() 379 lc = c; in sldns_bget_token_par() 386 lc = c; in sldns_bget_token_par() 407 lc = 0; in sldns_bget_token_par() [all …]
|
/openbsd/sbin/unwind/libunbound/sldns/ |
H A D | parse.c | 289 int c, lc; in sldns_bget_token_par() local 310 lc = 0; in sldns_bget_token_par() 324 lc = c; in sldns_bget_token_par() 334 lc = c; in sldns_bget_token_par() 346 if (lc != '\\') { in sldns_bget_token_par() 358 lc = c; in sldns_bget_token_par() 364 lc = c; in sldns_bget_token_par() 379 lc = c; in sldns_bget_token_par() 386 lc = c; in sldns_bget_token_par() 407 lc = 0; in sldns_bget_token_par() [all …]
|
/openbsd/gnu/llvm/llvm/utils/lit/lit/ |
H A D | discovery.py | 154 test = Test.Test(ts, path_in_suite, lc) 166 and lc.test_format is not None 167 and not lc.standalone_tests 171 litConfig, lc): 186 lc = getLocalConfig(ts, path_in_suite, litConfig, localConfigCache) 189 if lc.standalone_tests: 190 if lc.suffixes or lc.excludes: 198 if lc.test_format is not None: 199 for res in lc.test_format.getTestsInDirectory(ts, path_in_suite, 200 litConfig, lc): [all …]
|
/openbsd/gnu/usr.bin/texinfo/po/ |
H A D | Makefile.in.in | 169 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ 170 if test -n "$$lc"; then \ 173 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 174 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 186 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ 187 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 218 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ 219 if test -n "$$lc"; then \ 222 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 223 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ [all …]
|
/openbsd/usr.bin/lock/ |
H A D | lock.c | 78 login_cap_t *lc; in main() local 91 lc = login_getclass(pw->pw_class); in main() 92 if (lc != NULL) { in main() 97 tries = login_getcapnum(lc, "login-tries", 10, 10); in main() 98 backoff = login_getcapnum(lc, "login-backoff", 3, 3); in main() 104 if (lc) { in main() 105 style = login_getstyle(lc, optarg, "auth-lock"); in main() 132 if (usemine && lc == NULL) in main() 197 (nstyle = login_getstyle(lc, "skey", "auth-lock"))) in main()
|
/openbsd/gnu/usr.bin/perl/cpan/Encode/ |
H A D | Encode.pm | 102 my $lc = lc($name); 103 define_alias( $lc => $obj ) unless $lc eq $name; 123 my $lc = lc $name; 124 exists $Encoding{$lc} and return $Encoding{$lc}; 128 $lc ne $name and $oc = $class->find_alias($lc); 132 if ( my $mod = $ExtModule{$name} || $ExtModule{$lc} ) {
|