/netbsd-current/sys/lib/libsa/ |
H A D | gets.c | 48 char *lp; local 50 for (lp = buf;;) { 51 if ((size_t)(lp - buf) == size) { 52 lp--; 53 *lp = '\0'; 59 *lp = '\0'; 64 if (lp > buf) { 65 lp--; 73 if (lp > buf) 74 --lp; [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/tic54x/ |
H A D | lp.s | 1 .version 545lp
|
/netbsd-current/sys/arch/sun68k/stand/libsa/ |
H A D | gets.c | 51 char *lp; local 54 lp = buf; 57 if (lp - buf == size) { 58 lp--; 59 *lp = '\0'; 71 *lp++ = c; 82 if (lp > buf) 83 lp--; 95 for (p = buf; p < lp; ++p) 111 *lp [all...] |
/netbsd-current/external/mit/isl/dist/ |
H A D | basis_reduction_tab.c | 91 static void set_lp_obj(struct tab_lp *lp, isl_int *row, int dim); 92 static int solve_lp(struct tab_lp *lp); 93 static void get_obj_val(struct tab_lp* lp, GBR_type *F); 94 static void delete_lp(struct tab_lp *lp); 95 static int add_lp_row(struct tab_lp *lp, isl_int *row, int dim); 96 static void get_alpha(struct tab_lp* lp, int row, GBR_type *alpha); 97 static int del_lp_row(struct tab_lp *lp) WARN_UNUSED; 98 static int cut_lp_to_hyperplane(struct tab_lp *lp, isl_int *row); 102 #define GBR_lp_set_obj(lp, obj, dim) set_lp_obj(lp, ob 137 struct tab_lp *lp = NULL; local 174 set_lp_obj(struct tab_lp *lp, isl_int *row, int dim) argument 179 solve_lp(struct tab_lp *lp) argument 220 cut_lp_to_hyperplane(struct tab_lp *lp, isl_int *row) argument 246 get_obj_val(struct tab_lp* lp, GBR_type *F) argument 252 delete_lp(struct tab_lp *lp) argument 268 add_lp_row(struct tab_lp *lp, isl_int *row, int dim) argument 282 get_alpha(struct tab_lp* lp, int row, GBR_type *alpha) argument 289 del_lp_row(struct tab_lp *lp) argument [all...] |
/netbsd-current/sys/net/agr/ |
H A D | ieee8023ad_lacp_sm_rx.c | 78 lacp_sm_rx(struct lacp_port *lp, const struct lacpdu *du) argument 86 if (!(lp->lp_state & LACP_STATE_AGGREGATION)) { 95 &lp->lp_actor.lip_systemid)) { 103 lacp_sm_rx_update_selected(lp, du); 104 lacp_sm_rx_update_ntt(lp, du); 105 lacp_sm_rx_record_pdu(lp, du); 107 timeout = (lp->lp_state & LACP_STATE_TIMEOUT) ? 109 LACP_TIMER_ARM(lp, LACP_TIMER_CURRENT_WHILE, timeout); 111 lp->lp_state &= ~LACP_STATE_EXPIRED; 117 lacp_sm_tx(lp); 121 lacp_sm_rx_set_expired(struct lacp_port *lp) argument 131 lacp_sm_rx_timer(struct lacp_port *lp) argument 148 lacp_sm_rx_record_pdu(struct lacp_port *lp, const struct lacpdu *du) argument 186 lacp_sm_rx_update_ntt(struct lacp_port *lp, const struct lacpdu *du) argument 200 lacp_sm_rx_record_default(struct lacp_port *lp) argument 213 lacp_sm_rx_update_selected_from_peerinfo(struct lacp_port *lp, const struct lacp_peerinfo *info) argument 228 lacp_sm_rx_update_selected(struct lacp_port *lp, const struct lacpdu *du) argument 237 lacp_sm_rx_update_default_selected(struct lacp_port *lp) argument [all...] |
H A D | ieee8023ad_lacp_sm_ptx.c | 50 lacp_sm_ptx_update_timeout(struct lacp_port *lp, uint8_t oldpstate) argument 53 if (LACP_STATE_EQ(oldpstate, lp->lp_partner.lip_state, 58 LACP_DPRINTF((lp, "partner timeout changed\n")); 68 LACP_TIMER_DISARM(lp, LACP_TIMER_PERIODIC); 74 if ((lp->lp_partner.lip_state & LACP_STATE_TIMEOUT)) { 75 lacp_sm_assert_ntt(lp); 80 lacp_sm_ptx_tx_schedule(struct lacp_port *lp) argument 84 if (!(lp->lp_state & LACP_STATE_ACTIVITY) && 85 !(lp->lp_partner.lip_state & LACP_STATE_ACTIVITY)) { 91 LACP_TIMER_DISARM(lp, LACP_TIMER_PERIODI 106 lacp_sm_ptx_timer(struct lacp_port *lp) argument [all...] |
/netbsd-current/external/gpl2/lvm2/dist/tools/ |
H A D | lvcreate.c | 30 static int _lvcreate_name_params(struct lvcreate_params *lp, argument 38 lp->lv_name = arg_str_value(cmd, name_ARG, NULL); 40 if (lp->snapshot && !arg_count(cmd, virtualsize_ARG)) { 47 lp->origin = argv[0]; 49 if (!(lp->vg_name = extract_vgname(cmd, lp->origin))) { 56 if ((ptr = strrchr(lp->origin, (int) '/'))) 57 lp->origin = ptr + 1; 65 if (!(lp->vg_name = extract_vgname(cmd, lp 130 _update_extents_params(struct volume_group *vg, struct lvcreate_params *lp, struct lvcreate_cmdline_params *lcp) argument 182 _read_size_params(struct lvcreate_params *lp, struct lvcreate_cmdline_params *lcp, struct cmd_context *cmd) argument 231 _validate_stripe_params(struct cmd_context *cmd, struct lvcreate_params *lp) argument 268 _read_stripe_params(struct lvcreate_params *lp, struct cmd_context *cmd) argument 296 _validate_mirror_params(const struct cmd_context *cmd __attribute((unused)), const struct lvcreate_params *lp) argument 322 _read_mirror_params(struct lvcreate_params *lp, struct cmd_context *cmd) argument 376 _lvcreate_params(struct lvcreate_params *lp, struct lvcreate_cmdline_params *lcp, struct cmd_context *cmd, int argc, char **argv) argument 570 struct lvcreate_params lp; local [all...] |
H A D | lvresize.c | 53 struct lvresize_params *lp) 74 lp->stripe_size = vg->extent_size; 76 lp->stripe_size = arg_uint_value(cmd, stripesize_ARG, 0); 78 if (lp->mirrors) { 82 if (lp->stripe_size & (lp->stripe_size - 1)) { 93 const struct lvresize_params *lp) 104 if (lp->resizefs) { 107 "before resizing filesystem", lp->lv_name); 118 display_size(cmd, (uint64_t) lp 51 _validate_stripesize(struct cmd_context *cmd, const struct volume_group *vg, struct lvresize_params *lp) argument 90 _request_confirmation(struct cmd_context *cmd, const struct volume_group *vg, const struct logical_volume *lv, const struct lvresize_params *lp) argument 143 _fsadm_cmd(struct cmd_context *cmd, const struct volume_group *vg, const struct lvresize_params *lp, enum fsadm_cmd_e fcmd) argument 189 _lvresize_params(struct cmd_context *cmd, int argc, char **argv, struct lvresize_params *lp) argument 278 _lvresize(struct cmd_context *cmd, struct volume_group *vg, struct lvresize_params *lp) argument 669 struct lvresize_params lp; local [all...] |
/netbsd-current/lib/libc/gen/ |
H A D | telldir.c | 78 struct dirpos *lp; local 80 for (lp = dirp->dd_internal; lp; lp = lp->dp_next) 81 if (lp->dp_seek == dirp->dd_seek && 82 lp->dp_loc == dirp->dd_loc) 83 return (intptr_t)lp; 85 if ((lp = malloc(sizeof(*lp))) 103 struct dirpos *lp; local [all...] |
/netbsd-current/sys/arch/hp300/stand/common/ |
H A D | tgets.c | 45 char *lp = buf; local 48 if (lp - buf == size) { 49 lp--; 50 *lp = '\0'; 59 *lp = '\0'; 64 if (lp > buf) { 65 lp--; 72 if (lp > buf) 73 --lp; 79 for (p = buf; p < lp; [all...] |
/netbsd-current/lib/libutil/ |
H A D | disklabel_scan.c | 49 disklabel_scan(struct disklabel *lp, char *buf, size_t buflen) argument 55 for (i=0; i <= buflen - sizeof(*lp); i += SCAN_INCR) { 56 memcpy(lp, buf + i, sizeof(*lp)); 57 if (lp->d_magic == DISKMAGIC && lp->d_magic2 == DISKMAGIC) 65 if (lp->d_npartitions > MAXPARTITIONS || disklabel_dkcksum(lp))
|
/netbsd-current/usr.sbin/lpr/lp/ |
H A D | Makefile | 4 FILES= lp 7 MAN= lp.1
|
/netbsd-current/sys/arch/cobalt/stand/boot/ |
H A D | tgets.c | 43 char *lp; local 60 for (lp = buf;; c = getchar()) { 64 *lp = '\0'; 69 if (lp > buf) { 70 lp--; 80 for (p = buf; p < lp; ++p) 86 lp = buf; 90 *lp++ = c;
|
/netbsd-current/sys/arch/bebox/stand/boot/ |
H A D | tgets.c | 41 register char *lp; local 58 for (lp = buf;; c = getchar()) { 62 *lp = '\0'; 67 if (lp > buf) { 68 lp--; 78 for (p = buf; p < lp; ++p) 84 lp = buf; 88 *lp++ = c;
|
/netbsd-current/sys/arch/rs6000/stand/boot/ |
H A D | tgets.c | 41 register char *lp; local 58 for (lp = buf;; c = getchar()) { 62 *lp = '\0'; 67 if (lp > buf) { 68 lp--; 78 for (p = buf; p < lp; ++p) 84 lp = buf; 88 *lp++ = c;
|
/netbsd-current/sys/arch/prep/stand/boot/ |
H A D | tgets.c | 41 register char *lp; local 58 for (lp = buf;; c = getchar()) { 62 *lp = '\0'; 67 if (lp > buf) { 68 lp--; 78 for (p = buf; p < lp; ++p) 84 lp = buf; 88 *lp++ = c;
|
/netbsd-current/sys/arch/mmeye/stand/boot/ |
H A D | tgets.c | 43 char *lp; local 60 for (lp = buf;; c = getchar()) { 64 *lp = '\0'; 69 if (lp > buf) { 70 lp--; 80 for (p = buf; p < lp; ++p) 86 lp = buf; 90 *lp++ = c;
|
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/ |
H A D | strongfibo.c | 78 The starting point is given in L_{count+1} = {lp, mn}. 88 mpn_llriter (mp_ptr lp, mp_srcptr mp, mp_size_t mn, mp_bitcnt_t count, mp_ptr sp) argument 92 mpn_sqr (sp, lp, mn); 93 mpn_tdiv_qr (sp + 2 * mn, lp, 0, sp, 2 * mn, mp, mn); 94 if (lp[0] < 5) 97 if (mn == 1 || mpn_zero_p (lp + 1, mn - 1)) 98 return (lp[0] == 2) ? count : 0; 100 MPN_DECR_U (lp, mn, 2); 103 lp[0] -= 2; 108 /* Store the Lucas' number L[n] at lp (mayb 118 mpn_lucm(mp_ptr lp, mp_srcptr np, mp_size_t nn, mp_srcptr mp, mp_size_t mn, mp_ptr scratch) argument 172 mp_ptr lp, sp; local [all...] |
/netbsd-current/external/cddl/osnet/dist/lib/libuutil/common/ |
H A D | uu_list.c | 35 #define ELEM_TO_NODE(lp, e) \ 36 ((uu_list_node_impl_t *)((uintptr_t)(e) + (lp)->ul_offset)) 38 #define NODE_TO_ELEM(lp, n) \ 39 ((void *)((uintptr_t)(n) - (lp)->ul_offset)) 182 uu_list_t *lp, *next, *prev; local 198 lp = uu_zalloc(sizeof (*lp)); 199 if (lp == NULL) { 204 lp->ul_pool = pp; 205 lp 231 uu_list_destroy(uu_list_t *lp) argument 263 list_insert(uu_list_t *lp, uu_list_node_impl_t *np, uu_list_node_impl_t *prev, uu_list_node_impl_t *next) argument 292 uu_list_insert(uu_list_t *lp, void *elem, uu_list_index_t idx) argument 315 uu_list_find(uu_list_t *lp, void *elem, void *private, uu_list_index_t *out) argument 348 uu_list_nearest_next(uu_list_t *lp, uu_list_index_t idx) argument 373 uu_list_nearest_prev(uu_list_t *lp, uu_list_index_t idx) argument 397 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) argument 427 list_walk_advance(uu_list_walk_t *wp, uu_list_t *lp) argument 456 uu_list_walk_start(uu_list_t *lp, uint32_t flags) argument 478 uu_list_t *lp = wp->ulw_list; local 495 uu_list_walk(uu_list_t *lp, uu_walk_fn_t *func, void *private, uint32_t flags) argument 540 uu_list_remove(uu_list_t *lp, void *elem) argument 580 uu_list_teardown(uu_list_t *lp, void **cookie) argument 598 uu_list_insert_before(uu_list_t *lp, void *target, void *elem) argument 624 uu_list_insert_after(uu_list_t *lp, void *target, void *elem) argument 650 uu_list_numnodes(uu_list_t *lp) argument 656 uu_list_first(uu_list_t *lp) argument 665 uu_list_last(uu_list_t *lp) argument 674 uu_list_next(uu_list_t *lp, void *elem) argument 685 uu_list_prev(uu_list_t *lp, void *elem) argument [all...] |
/netbsd-current/lib/libukfs/ |
H A D | ukfs_disklabel.c | 53 ukfs__disklabel_scan(struct ukfs__disklabel *lp, int *isswapped, argument 62 for (i=0; i <= buflen - sizeof(*lp); i += SCAN_INCR) { 63 memcpy(lp, buf + i, sizeof(*lp)); 64 if (lp->d_magic == UKFS_DISKMAGIC && 65 lp->d_magic2 == UKFS_DISKMAGIC) { 69 if (lp->d_magic == bswap32(UKFS_DISKMAGIC) && 70 lp->d_magic2 == bswap32(UKFS_DISKMAGIC)) { 80 npart = bswap16(lp->d_npartitions); 82 npart = lp 128 ukfs__disklabel_dkcksum(struct ukfs__disklabel *lp, int imswapped) argument [all...] |
/netbsd-current/sys/arch/next68k/next68k/ |
H A D | disksubr.c | 75 parse_nextstep_label(struct next68k_disklabel *ondisk, struct disklabel *lp, argument 92 lp->d_magic = lp->d_magic2 = DISKMAGIC; 93 lp->d_type = DKTYPE_SCSI; 94 lp->d_subtype = 0; 95 if (sizeof(lp->d_typename) > sizeof(ondisk->cd_name)) 96 lp->d_typename[sizeof (ondisk->cd_name)] = '\0'; 97 memcpy(lp->d_typename, ondisk->cd_name, 98 uimin(sizeof (lp->d_typename), sizeof(ondisk->cd_name))); 99 if (sizeof(lp 168 build_nextstep_label(struct next68k_disklabel *ondisk, struct disklabel *lp) argument 313 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument 404 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *osdep) argument [all...] |
/netbsd-current/sys/arch/luna68k/luna68k/ |
H A D | disksubr.c | 177 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp) argument 186 if (lp->d_secperunit == 0) 187 lp->d_secperunit = 0x1fffffff; 188 if (lp->d_npartitions < RAW_PART + 1) 189 lp->d_npartitions = RAW_PART + 1; 191 lp->d_partitions[i].p_size = 0; 192 lp->d_partitions[i].p_offset = 0; 194 if (lp->d_partitions[RAW_PART].p_size == 0) 195 lp->d_partitions[RAW_PART].p_size = lp 244 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, struct cpu_disklabel *clp) argument 302 disklabel_om_to_bsd(char *cp, struct disklabel *lp) argument 399 disklabel_bsd_to_om(struct disklabel *lp, char *cp) argument [all...] |
/netbsd-current/sys/arch/mvme68k/mvme68k/ |
H A D | disksubr.c | 51 static void bsdtocpulabel(struct disklabel *lp, struct cpu_disklabel *clp); 52 static void cputobsdlabel(struct disklabel *lp, struct cpu_disklabel *clp); 55 static void printlp(struct disklabel *lp, const char *str); 69 readdisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, argument 76 bp = geteblk((int)lp->d_secsize); 81 bp->b_bcount = lp->d_secsize; 98 cputobsdlabel(lp, clp); 101 printlp(lp, "readdisklabel: bsd label"); 112 writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp, argument 120 printlp(lp, "writedisklabe 182 bsdtocpulabel(struct disklabel *lp, struct cpu_disklabel *clp) argument 257 cputobsdlabel(struct disklabel *lp, struct cpu_disklabel *clp) argument 330 printlp(struct disklabel *lp, const char *str) argument [all...] |
/netbsd-current/sys/arch/hppa/stand/boot/ |
H A D | tgets.c | 44 char *p, *lp = buf; local 55 *lp = '\0'; 61 if (lp > buf) { 62 lp--; 70 if (lp > buf) 71 --lp; 76 for (p = buf; p < lp; ++p) 83 lp = buf; 88 *lp++ = c;
|
/netbsd-current/sys/arch/ia64/stand/common/ |
H A D | gets.c | 51 char *lp; local 53 for (lp = buf;;) 57 *lp = '\0'; 62 if (lp > buf) { 63 lp--; 73 for (p = buf; p < lp; ++p) 79 lp = buf; 83 if ((n < 1) || ((lp - buf) < n)) { 84 *lp++ = c;
|