Home
last modified time | relevance | path

Searched refs:srcp (Results 1 – 12 of 12) sorted by relevance

/mirbsd/src/usr.bin/iconv/
Diconv.c62 char *fn, *srcp, *dstp; in main() local
148 srcp = ibuf; in main()
153 if (__iconv(cd, (const char **)&srcp, &ilen, &dstp, &olen, in main()
163 if (srcp == ibuf) { in main()
177 __progname, (u_char)*srcp, fn, in main()
178 (uint64_t)iofs + (srcp - ibuf)); in main()
181 ++srcp; in main()
189 srcp - ibuf, ilen); in main()
191 iofs += srcp - ibuf; in main()
193 memmove(ibuf, srcp, ilen); in main()
/mirbsd/src/lib/libncurses/src/ncurses/tinfo/
Dcomp_expand.c54 (const char *srcp, bool tic_format, int numbers) in _nc_tic_expand() argument
60 const char *str = VALID_STRING(srcp) ? srcp : ""; in _nc_tic_expand()
134 } else if (ch == '\\' && tic_format && (str == srcp || str[-1] != '^')) { in _nc_tic_expand()
137 } else if (ch == ' ' && tic_format && (str == srcp || in _nc_tic_expand()
162 else if (ch == '\r' && (islong || (strlen(srcp) > 2 && str[1] == '\0'))) { in _nc_tic_expand()
Dread_termcap.c715 get_tc_token(char **srcp, int *endp) in get_tc_token() argument
723 for (s = base = *srcp; *s != '\0';) { in get_tc_token()
738 *srcp = s; in get_tc_token()
/mirbsd/src/lib/libc/db/hash/
Dhash.c898 swap_header_copy(HASHHDR *srcp, HASHHDR *destp) in swap_header_copy() argument
902 P_32_COPY(srcp->magic, destp->magic); in swap_header_copy()
903 P_32_COPY(srcp->version, destp->version); in swap_header_copy()
904 P_32_COPY(srcp->lorder, destp->lorder); in swap_header_copy()
905 P_32_COPY(srcp->bsize, destp->bsize); in swap_header_copy()
906 P_32_COPY(srcp->bshift, destp->bshift); in swap_header_copy()
907 P_32_COPY(srcp->dsize, destp->dsize); in swap_header_copy()
908 P_32_COPY(srcp->ssize, destp->ssize); in swap_header_copy()
909 P_32_COPY(srcp->sshift, destp->sshift); in swap_header_copy()
910 P_32_COPY(srcp->ovfl_point, destp->ovfl_point); in swap_header_copy()
[all …]
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dirix5-nat.c244 char *srcp = core_reg_sect; in fetch_core_registers() local
251 regcache_raw_write (current_regcache, regno, srcp); in fetch_core_registers()
252 srcp += register_size (current_gdbarch, regno); in fetch_core_registers()
264 regcache_raw_write (current_regcache, regno, srcp); in fetch_core_registers()
268 regcache_raw_write (current_regcache, regno, srcp + 4); in fetch_core_registers()
270 srcp += 8; in fetch_core_registers()
Dremote.c1438 unsigned char *srcp, *destp; in threadmatch()
1440 srcp = (char *) src; in threadmatch()
1445 result &= (*srcp++ == *destp++) ? 1 : 0; in threadmatch()
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Dversados.c358 unsigned char *srcp = otr->data; in process_otr() local
370 for (shift = ((unsigned long) 1 << 31); shift && srcp < endp; shift >>= 1) in process_otr()
374 int flag = *srcp++; in process_otr()
383 dst_idx += get_offset (offsetlen, srcp); in process_otr()
384 srcp += offsetlen; in process_otr()
388 int val = get_offset (offsetlen, srcp + esdids); in process_otr()
401 int esdid = *srcp++; in process_otr()
424 srcp += offsetlen; in process_otr()
435 contents[dst_idx] = srcp[0]; in process_otr()
436 contents[dst_idx + 1] = srcp[1]; in process_otr()
[all …]
Dtekhex.c268 getvalue (char **srcp) in getvalue() argument
270 char *src = *srcp; in getvalue()
279 *srcp = src; in getvalue()
284 getsym (char *dstp, char **srcp) in getsym() argument
286 char *src = *srcp; in getsym()
295 *srcp = src + i; in getsym()
/mirbsd/src/sys/kern/
Dkgdb_stub.c200 hex2i(srcp) in hex2i() argument
201 u_char **srcp; in hex2i()
203 char *src = *srcp;
212 *srcp = src;
/mirbsd/src/sys/dev/wscons/
Dwskbd.c997 #define SETBELL(dstp, srcp, dfltp) \ in wskbd_displayioctl() argument
999 (dstp)->pitch = ((srcp)->which & WSKBD_BELL_DOPITCH) ? \ in wskbd_displayioctl()
1000 (srcp)->pitch : (dfltp)->pitch; \ in wskbd_displayioctl()
1001 (dstp)->period = ((srcp)->which & WSKBD_BELL_DOPERIOD) ? \ in wskbd_displayioctl()
1002 (srcp)->period : (dfltp)->period; \ in wskbd_displayioctl()
1003 (dstp)->volume = ((srcp)->which & WSKBD_BELL_DOVOLUME) ? \ in wskbd_displayioctl()
1004 (srcp)->volume : (dfltp)->volume; \ in wskbd_displayioctl()
1045 #define SETKEYREPEAT(dstp, srcp, dfltp) \ in wskbd_displayioctl() argument
1047 (dstp)->del1 = ((srcp)->which & WSKBD_KEYREPEAT_DODEL1) ? \ in wskbd_displayioctl()
1048 (srcp)->del1 : (dfltp)->del1; \ in wskbd_displayioctl()
[all …]
/mirbsd/src/usr.bin/less/
Dos.c238 char *srcp = (char *) src; local
242 dstp[i] = srcp[i];
/mirbsd/src/sys/dev/pci/
Dhifn7751.c924 hifn_alloc_slot(struct hifn_softc *sc, int *cmdp, int *srcp, in hifn_alloc_slot() argument
946 *srcp = dma->srci++; in hifn_alloc_slot()