/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/mi/ |
H A D | mi-parse.c | 108 char *chp = args; local 118 while (isspace (*chp)) 119 chp++; 121 switch (*chp) 131 char *start = chp + 1; 134 chp = start; 136 while (*chp != '\0' && *chp != '"') 138 if (*chp == '\\') 140 chp 237 char *chp; local 359 error (_("Problem parsing arguments: %s %s"), parse->command, chp); local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/stand/boot/ |
H A D | pciide.c | 39 pciide_init(struct wdc_channel *chp, u_int *unit) argument 63 chp->c_cmdbase = (uint8_t *)cmdreg; 64 chp->c_data = (uint16_t *)(cmdreg + wd_data); 66 chp->c_cmdreg[i] = chp->c_cmdbase + i; 68 chp->c_cmdreg[wd_status] = chp->c_cmdreg[wd_command]; 69 chp->c_cmdreg[wd_features] = chp->c_cmdreg[wd_precomp]; 71 chp [all...] |
H A D | wdc.c | 46 static int wdcprobe(struct wdc_channel *chp); 47 static int wdc_wait_for_ready(struct wdc_channel *chp); 49 static int __wdcwait_reset(struct wdc_channel *chp, int drv_mask); 55 __wdcwait_reset(struct wdc_channel *chp, int drv_mask) argument 62 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM); /* master */ 64 st0 = WDC_READ_REG(chp, wd_status); 65 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM | 0x10); /* slave */ 67 st1 = WDC_READ_REG(chp, wd_status); 113 wdcprobe(struct wdc_channel *chp) argument 123 WDC_WRITE_REG(chp, wd_sd 187 wdc_wait_for_ready(struct wdc_channel *chp) argument 206 struct wdc_channel *chp = &sc->sc_channel; local 224 struct wdc_channel *chp = &sc->sc_channel; local 260 struct wdc_channel *chp = &wd->sc_channel; local [all...] |
H A D | wdvar.h | 60 #define WDC_READ_REG(chp, reg) *(chp)->c_cmdreg[(reg)] 61 #define WDC_WRITE_REG(chp, reg, val) *(chp)->c_cmdreg[(reg)] = (val) 62 #define WDC_READ_CTLREG(chp, reg) (chp)->c_ctlbase[(reg)] 63 #define WDC_WRITE_CTLREG(chp, reg, val) (chp)->c_ctlbase[(reg)] = (val) 64 #define WDC_READ_DATA(chp) *(chp) [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mmeye/stand/boot/ |
H A D | wdvar.h | 60 #define WDC_READ_REG(chp, reg) *(chp)->c_cmdreg[(reg)] 61 #define WDC_WRITE_REG(chp, reg, val) *(chp)->c_cmdreg[(reg)] = (val) 62 #define WDC_READ_CTLREG(chp, reg) (chp)->c_ctlbase[(reg)] 63 #define WDC_WRITE_CTLREG(chp, reg, val) (chp)->c_ctlbase[(reg)] = (val) 64 #define WDC_READ_DATA(chp) *(chp) [all...] |
H A D | wdc.c | 55 static int wdcprobe(struct wdc_channel *chp); 56 static int wdc_wait_for_ready(struct wdc_channel *chp); 58 static int __wdcwait_reset(struct wdc_channel *chp, int drv_mask); 64 __wdcwait_reset(struct wdc_channel *chp, int drv_mask) argument 71 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM); /* master */ 73 st0 = WDC_READ_REG(chp, wd_status); 74 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM | 0x10); /* slave */ 76 st1 = WDC_READ_REG(chp, wd_status); 122 wdcprobe(struct wdc_channel *chp) argument 131 WDC_WRITE_REG(chp, wd_sd 182 struct wdc_channel *chp = &sc->sc_channel; local 217 wdc_wait_for_ready(struct wdc_channel *chp) argument 237 struct wdc_channel *chp = &sc->sc_channel; local 259 struct wdc_channel *chp = &sc->sc_channel; local 295 struct wdc_channel *chp = &wd->sc_channel; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ata/ |
H A D | sata_subr.c | 81 sata_reset_interface(struct ata_channel *chp, bus_space_tag_t sata_t, argument 96 tsleep(chp, PRIBIO, "sataup", mstohz(50)); 100 tsleep(chp, PRIBIO, "sataup", mstohz(50)); 106 tsleep(chp, PRIBIO, "sataup", mstohz(10)); 117 device_xname(chp->ch_atac->atac_dev), chp->ch_channel); 122 device_xname(chp->ch_atac->atac_dev), chp->ch_channel); 127 device_xname(chp->ch_atac->atac_dev), chp [all...] |
H A D | ata.c | 171 ata_channel_attach(struct ata_channel *chp) argument 174 if (chp->ch_flags & ATACH_DISABLED) 178 callout_init(&chp->ch_callout, 0); 180 TAILQ_INIT(&chp->ch_queue->queue_xfer); 181 chp->ch_queue->queue_freeze = 0; 182 chp->ch_queue->queue_flags = 0; 183 chp->ch_queue->active_xfer = NULL; 185 chp->atabus = config_found_ia(chp->ch_atac->atac_dev, "ata", chp, 192 struct ata_channel *chp = atabus_sc->sc_chan; local 265 struct ata_channel *chp = atabus_sc->sc_chan; local 369 struct ata_channel *chp = sc->sc_chan; local 437 struct ata_channel *chp = aux; local 458 struct ata_channel *chp = aux; local 497 struct ata_channel *chp = sc->sc_chan; local 560 struct ata_channel *chp = sc->sc_chan; local 606 struct ata_channel *chp = drvp->chnl_softc; local 706 struct ata_channel *chp = drvp->chnl_softc; local 775 ata_exec_xfer(struct ata_channel *chp, struct ata_xfer *xfer) argument 814 atastart(struct ata_channel *chp) argument 900 ata_free_xfer(struct ata_channel *chp, struct ata_xfer *xfer) argument 938 struct ata_channel *chp = drvp->chnl_softc; local 972 ata_reset_channel(struct ata_channel *chp, int flags) argument 1028 ata_addref(struct ata_channel *chp) argument 1046 ata_delref(struct ata_channel *chp) argument 1060 ata_print_modes(struct ata_channel *chp) argument 1117 struct ata_channel *chp = drvp->chnl_softc; local 1172 struct ata_channel *chp = drvp->chnl_softc; local 1463 struct ata_channel *chp = sc->sc_chan; local 1537 struct ata_channel *chp = sc->sc_chan; local 1548 struct ata_channel *chp = sc->sc_chan; local 1573 struct ata_channel *chp = sc->sc_chan; local [all...] |
H A D | ata_wdc.c | 141 struct ata_channel *chp = drvp->chnl_softc; local 142 struct atac_softc *atac = chp->ch_atac; 170 ata_exec_xfer(chp, xfer); 175 wdc_ata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 177 struct atac_softc *atac = chp->ch_atac; 178 struct wdc_softc *wdc = CHAN_TO_WDC(chp); 179 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 181 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]; 191 device_xname(atac->atac_dev), chp->ch_channel, xfer->c_drive), 203 (chp 323 _wdc_ata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 607 wdc_ata_bio_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq) argument 761 wdc_ata_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 788 wdc_ata_bio_done(struct ata_channel *chp, struct ata_xfer *xfer) argument 823 struct ata_channel *chp = drvp->chnl_softc; local 852 struct ata_channel *chp = drvp->chnl_softc; local 860 struct ata_channel *chp = drvp->chnl_softc; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/bebox/stand/boot/ |
H A D | wdvar.h | 53 #define WDC_READ_REG(chp, reg) inb((chp)->c_cmdreg[(reg)]) 54 #define WDC_WRITE_REG(chp, reg, val) outb((chp)->c_cmdreg[(reg)], (val)) 55 #define WDC_READ_CTLREG(chp, reg) inb((chp)->c_ctlbase) 56 #define WDC_WRITE_CTLREG(chp, reg, val) outb((chp)->c_ctlbase, (val)) 57 #define WDC_READ_DATA_STREAM(chp) inw((chp) [all...] |
H A D | wdc.c | 61 __wdcwait_reset(struct wdc_channel *chp, int drv_mask) argument 68 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM); /* master */ 70 st0 = WDC_READ_REG(chp, wd_status); 71 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM | 0x10); /* slave */ 73 st1 = WDC_READ_REG(chp, wd_status); 148 wdcprobe(struct wdc_channel *chp) argument 158 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM); 160 st0 = WDC_READ_REG(chp, wd_status); 161 WDC_WRITE_REG(chp, wd_sdh, WDSD_IBM | 0x10); 163 st1 = WDC_READ_REG(chp, wd_statu 236 wdc_wait_for_ready(struct wdc_channel *chp) argument 252 wdc_read_block(struct wdc_channel *chp, struct wdc_command *wd_c) argument 274 wdccommand(struct wdc_channel *chp, struct wdc_command *wd_c) argument 309 wdccommandext(struct wdc_channel *chp, struct wdc_command *wd_c) argument 352 _wdc_exec_identify(struct wdc_channel *chp, int drive, void *data) argument 404 struct wdc_channel *chp; local 422 struct wdc_channel *chp; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/frv/ |
H A D | options.c | 79 parse_size (char *chp, address_word *nr_bytes) argument 82 *nr_bytes = strtoul (chp, &chp, 0); 83 return chp; 106 char *chp = arg; local 108 chp = parse_size (chp, &ways); 110 if (*chp == ',') 112 chp = parse_size (chp 181 char *chp = arg; local 211 char *chp = arg; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/igen/ |
H A D | table.c | 194 skip_spaces (char *chp) argument 198 if (*chp == '\0' || *chp == '\n' || !isspace (*chp)) 199 return chp; 200 chp++; 206 back_spaces (char *start, char *chp) argument 210 if (chp <= start || !isspace (chp[-1])) 211 return chp; 217 skip_digits(char *chp) argument 228 skip_to_separator(char *chp, char *separators) argument 246 skip_to_null(char *chp) argument 253 skip_to_nl(char *chp) argument 295 char *chp; local 330 char *chp = file->pos; local 373 char *chp = skip_spaces (file->pos + 1); local 439 char *chp = file->pos; local 500 char *chp = entry->field[field_nr]; local [all...] |
H A D | table.h | 133 extern char *skip_digits (char *chp); 135 extern char *skip_spaces (char *chp); 137 extern char *skip_to_separator (char *chp, char *separators); 139 extern char *back_spaces (char *start, char *chp);
|
/netbsd-6-1-5-RELEASE/sys/dev/scsipi/ |
H A D | atapi_wdc.c | 110 struct ata_channel *chp = ata_sc->sc_chan; local 111 struct atac_softc *atac = chp->ch_atac; 113 struct scsipi_channel *chan = &chp->ch_atapi_channel; 132 chan->chan_channel = chp->ch_channel; 139 chp->atapibus = config_found_ia(ata_sc->sc_dev, "atapi", chan, 162 struct ata_channel *chp = local 165 ata_kill_pending(&chp->ch_drive[periph->periph_target]); 169 wdc_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 186 ata_free_xfer(chp, xfer); 197 struct ata_channel *chp local 251 struct ata_channel *chp = atac->atac_channels[chan->chan_channel]; local 448 wdc_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 684 wdc_atapi_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq) argument 988 struct ata_channel *chp = xfer->c_chp; local 1073 wdc_atapi_done(struct ata_channel *chp, struct ata_xfer *xfer) argument 1101 wdc_atapi_reset(struct ata_channel *chp, struct ata_xfer *xfer) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | siisata.c | 141 static int siisata_dma_setup(struct ata_channel *chp, int slot, 217 struct ata_channel *chp; local 220 chp = (struct ata_channel *)schp; 223 PRWRITE(sc, PRX(chp->ch_channel, PRO_PCC), 226 siisata_reinit_port(chp); 228 PRWRITE(sc, PRX(chp->ch_channel, PRO_PIS), 0xffffffff); 230 PRWRITE(sc, PRX(chp->ch_channel, PRO_PIES), 233 GRWRITE(sc, GR_GC, GRREAD(sc, GR_GC) | GR_GC_PXIE(chp->ch_channel)); 244 struct ata_channel *chp; local 247 chp 365 struct ata_channel *chp; local 435 struct ata_channel *chp; local 500 struct ata_channel *chp = drvp->chnl_softc; local 559 siisata_reset_channel(struct ata_channel *chp, int flags) argument 605 siisata_probe_drive(struct ata_channel *chp) argument 692 siisata_setup_channel(struct ata_channel *chp) argument 700 struct ata_channel *chp = drvp->chnl_softc; local 755 siisata_cmd_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 825 siisata_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 846 siisata_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int slot) argument 881 siisata_cmd_done(struct ata_channel *chp, struct ata_xfer *xfer, int slot) argument 936 struct ata_channel *chp = drvp->chnl_softc; local 961 siisata_bio_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 1025 siisata_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 1057 siisata_bio_complete(struct ata_channel *chp, struct ata_xfer *xfer, int slot) argument 1117 struct ata_channel *chp = (struct ata_channel *)v; local 1130 siisata_dma_setup(struct ata_channel *chp, int slot, void *data, size_t count, int op) argument 1218 siisata_reinit_port(struct ata_channel *chp) argument 1228 siisata_device_reset(struct ata_channel *chp) argument 1242 struct ata_channel *chp = ata_sc->sc_chan; local 1292 struct ata_channel *chp = local 1299 siisata_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 1330 struct ata_channel *chp = atac->atac_channels[chan->chan_channel]; local 1499 siisata_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 1578 siisata_atapi_complete(struct ata_channel *chp, struct ata_xfer *xfer, int slot) argument [all...] |
H A D | ahcisata_core.c | 164 struct ata_channel *chp; local 176 chp = &achp->ata_channel; 178 ahci_probe_drive(chp); 211 struct ata_channel *chp; local 314 chp = &achp->ata_channel; 315 sc->sc_chanarray[i] = chp; 316 chp->ch_channel = i; 317 chp->ch_atac = &sc->sc_atac; 318 chp->ch_queue = malloc(sizeof(struct ata_queue), 320 if (chp 427 struct ata_channel *chp; local 512 struct ata_channel *chp = &achp->ata_channel; local 567 struct ata_channel *chp = drvp->chnl_softc; local 573 ahci_reset_channel(struct ata_channel *chp, int flags) argument 632 ahci_probe_drive(struct ata_channel *chp) argument 704 ahci_setup_channel(struct ata_channel *chp) argument 712 struct ata_channel *chp = drvp->chnl_softc; local 761 ahci_cmd_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 845 ahci_cmd_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 866 ahci_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int is) argument 907 ahci_cmd_done(struct ata_channel *chp, struct ata_xfer *xfer, int slot) argument 957 struct ata_channel *chp = drvp->chnl_softc; local 982 ahci_bio_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 1064 ahci_bio_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 1092 ahci_bio_complete(struct ata_channel *chp, struct ata_xfer *xfer, int is) argument 1154 ahci_channel_stop(struct ahci_softc *sc, struct ata_channel *chp, int flags) argument 1178 ahci_channel_start(struct ahci_softc *sc, struct ata_channel *chp) argument 1193 struct ata_channel *chp = (struct ata_channel *)v; local 1205 ahci_dma_setup(struct ata_channel *chp, int slot, void *data, size_t count, int op) argument 1250 struct ata_channel *chp = ata_sc->sc_chan; local 1297 struct ata_channel *chp = local 1361 ahci_atapi_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 1443 ahci_atapi_complete(struct ata_channel *chp, struct ata_xfer *xfer, int irq) argument 1502 ahci_atapi_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 1536 struct ata_channel *chp = atac->atac_channels[chan->chan_channel]; local [all...] |
H A D | wdc.c | 179 wdc_init_shadow_regs(struct ata_channel *chp) argument 181 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp); 205 wdc_sataprobe(struct ata_channel *chp) argument 207 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp); 212 for (i = 0; i < chp->ch_ndrive; i++) { 213 chp->ch_drive[i].chnl_softc = chp; 214 chp->ch_drive[i].drive = i; 218 switch (sata_reset_interface(chp, wdr->sata_iot, wdr->sata_control, 230 tsleep(&chp, PRIBI 288 wdc_drvprobe(struct ata_channel *chp) argument 477 wdcprobe(struct ata_channel *chp) argument 488 wdcprobe1(struct ata_channel *chp, int poll) argument 776 wdcattach(struct ata_channel *chp) argument 809 struct ata_channel *chp; local 825 struct ata_channel *chp; local 848 struct ata_channel *chp = v; local 866 struct ata_channel *chp = arg; local 921 struct ata_channel *chp = drvp->chnl_softc; local 931 wdc_reset_channel(struct ata_channel *chp, int flags) argument 1028 wdcreset(struct ata_channel *chp, int poll) argument 1058 wdc_do_reset(struct ata_channel *chp, int poll) argument 1088 __wdcwait_reset(struct ata_channel *chp, int drv_mask, int poll) argument 1197 __wdcwait(struct ata_channel *chp, int mask, int bits, int timeout) argument 1257 wdcwait(struct ata_channel *chp, int mask, int bits, int timeout, int flags) argument 1305 wdc_dmawait(struct ata_channel *chp, struct ata_xfer *xfer, int timeout) argument 1328 struct ata_channel *chp = (struct ata_channel *)arg; local 1374 struct ata_channel *chp = drvp->chnl_softc; local 1427 __wdccommand_start(struct ata_channel *chp, struct ata_xfer *xfer) argument 1489 __wdccommand_intr(struct ata_channel *chp, struct ata_xfer *xfer, int irq) argument 1599 __wdccommand_done(struct ata_channel *chp, struct ata_xfer *xfer) argument 1680 __wdccommand_done_end(struct ata_channel *chp, struct ata_xfer *xfer) argument 1695 __wdccommand_kill_xfer(struct ata_channel *chp, struct ata_xfer *xfer, int reason) argument 1720 wdccommand(struct ata_channel *chp, u_int8_t drive, u_int8_t command, u_int16_t cylin, u_int8_t head, u_int8_t sector, u_int8_t count, u_int8_t features) argument 1757 wdccommandext(struct ata_channel *chp, u_int8_t drive, u_int8_t command, u_int64_t blkno, u_int16_t count, u_int16_t features) argument 1822 wdccommandshort(struct ata_channel *chp, int drive, int command) argument 1842 __wdcerror(struct ata_channel *chp, const char *msg) argument 1859 wdcbit_bucket(struct ata_channel *chp, int size) argument 1870 wdc_datain_pio(struct ata_channel *chp, int flags, void *bf, size_t len) argument 1955 wdc_dataout_pio(struct ata_channel *chp, int flags, void *bf, size_t len) argument [all...] |
H A D | wdcvar.h | 129 #define CHAN_TO_WDC(chp) ((struct wdc_softc *)(chp)->ch_atac) 132 #define CHAN_TO_WDC_REGS(chp) (&CHAN_TO_WDC(chp)->regs[(chp)->ch_channel]) 177 #define wdc_wait_for_drq(chp, timeout, flags) \ 178 wdcwait((chp), WDCS_DRQ, WDCS_DRQ, (timeout), (flags)) 179 #define wdc_wait_for_unbusy(chp, timeout, flags) \ 180 wdcwait((chp), 0, 0, (timeout), (flags)) 181 #define wdc_wait_for_ready(chp, timeou [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/ppc/ |
H A D | tree.c | 82 char *chp = NULL; local 120 chp = spec->buf; 121 while (*chp != '\0' && isspace(*chp)) 122 chp++; 123 if (*chp == '\0') 127 spec->path = chp; 128 while (*chp != '\0' && !isspace(*chp)) 129 chp 189 char *chp = strrchr(spec->path, '/'); local 213 char *chp; local 424 skip_token(const char *chp) argument 443 const char *chp = property_value; local 462 parse_address(device *current, device *bus, const char *chp, device_unit *address) argument 478 parse_size(device *current, device *bus, const char *chp, device_unit *size) argument 526 const char *chp; local 565 const char *chp; local 639 const char *chp; local 683 const char *chp; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/ |
H A D | debug.c | 29 frchainS *chp; local 33 for (chp = seg_info (s)->frchainP; chp; chp = chp->frch_next) 47 printf ("\nSEGMENT %s %d\n", p, chp->frch_subseg); 48 dmp_frag (chp->frch_root, "\t");
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/common/ |
H A D | hw-tree.c | 81 char *chp = NULL; local 124 chp = spec->buf; 125 while (*chp != '\0' && isspace(*chp)) 126 chp++; 127 if (*chp == '\0') 131 spec->path = chp; 132 while (*chp != '\0' && !isspace(*chp)) 133 chp 200 char *chp = strrchr (spec->path, '/'); local 225 char *chp; local 445 skip_token(const char *chp) argument 463 const char *chp = property_value; local 483 parse_address(struct hw *current, struct hw *bus, const char *chp, hw_unit *address) argument 497 parse_size(struct hw *current, struct hw *bus, const char *chp, hw_unit *size) argument 545 const char *chp; local 581 const char *chp; local 657 const char *chp; local [all...] |
H A D | sim-memopt.c | 304 parse_size (char *chp, argument 309 *nr_bytes = strtoul (chp, &chp, 0); 310 switch (*chp) 313 *modulo = strtoul (chp + 1, &chp, 0); 324 ++ chp; 325 if (* chp == 'b' || * chp == 'B') 326 ++ chp; 335 parse_ulong_value(char *chp, unsigned long *value) argument 343 parse_addr(char *chp, int *level, int *space, address_word *addr) argument 391 char *chp = arg; local 421 char *chp = arg; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/cli/ |
H A D | cli-utils.c | 217 skip_spaces (char *chp) argument 219 if (chp == NULL) 221 while (*chp && isspace (*chp)) 222 chp++; 223 return chp; 229 skip_to_space (char *chp) argument 231 if (chp == NULL) 233 while (*chp && !isspace (*chp)) [all...] |
/netbsd-6-1-5-RELEASE/lib/libcurses/ |
H A D | addchnstr.c | 132 const chtype *chp; local 143 for (chp = chstr, len = 0; n-- && *chp++; ++len); 145 for (chp = chstr, len = 0; *chp++; ++len); 149 chp = chstr; 153 attr = (*chp) & __ATTRIBUTES; 155 *cp = (*chp) & __CHARTEXT; 157 chp++; 160 if (((*chp) [all...] |