/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | secure.c | 208 secure_write(int fd, const void *inbuf, size_t nbyte) in secure_write() argument 215 return (write(fd, buf, nbyte)); in secure_write() 216 for (i = 0; nbyte > 0; nbyte--) in secure_write() 228 static int secure_putbuf(int fd, uchar_t *buf, uint_t nbyte) in secure_putbuf() argument 243 in_buf.length = nbyte; in secure_putbuf() 365 secure_read(int fd, void *inbuf, size_t nbyte) in secure_read() argument 371 return (read(fd, buf, nbyte)); in secure_read() 375 for (i = 0; nbyte > 0; nbyte--) in secure_read()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _filbuf.c | 54 size_t nbyte; in _filbuf() local 115 nbyte = 1; in _filbuf() 117 nbyte = endbuf - iop->_base; in _filbuf() 118 if ((res = _xread(iop, (char *)iop->_base, nbyte)) > 0) { in _filbuf()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbaddch.c | 147 int n, x, y, nc, m, len, nbyte, ty; in _mbaddch() local 188 nbyte = win->_nbyte; in _mbaddch() 194 if (len > win->_maxx || 2*len < nbyte) in _mbaddch() 221 for (m = nbyte/2; m > 0; m -= 1, wch += 2) in _mbaddch() 226 if ((nbyte%2) != 0) in _mbaddch() 230 for (m = (nbyte / 2) + (nbyte % 2); m < len; ++m) in _mbaddch()
|
H A D | wgetstr.c | 59 int nbyte = 0; in wgetnstr() local 95 while (nbyte < n) { in wgetnstr() 114 nbyte = 0; in wgetnstr() 181 nbyte++; in wgetnstr()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | inject.c | 37 extern ssize_t _read(int fildes, void *buf, size_t nbyte); 40 read(int fildes, void *buf, size_t nbyte) in read() argument 52 return (_read(fildes, buf, nbyte)); in read()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | dosfs.c | 336 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) in dos_read() argument 352 nb = nbyte; in dos_read() 394 *resid = nbyte - nb + cnt; in dos_read() 849 uint_t val_in, val_out, offset, blknum, nbyte; in fatget() local 860 nbyte = fs->fatsz != 32 ? 2 : 4; in fatget() 861 if (offset + nbyte > secbyt(fs, fs->spf)) in fatget() 865 if (offset + nbyte > FATBLKSZ) in fatget() 910 ioread(DOS_FS *fs, uint64_t offset, void *buf, size_t nbyte) in ioread() argument 921 if ((n = secsiz - off) > nbyte) in ioread() 922 n = nbyte; in ioread() [all …]
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | btxld.c | 459 copy(int fdi, int fdo, size_t nbyte, off_t offset) in copy() argument 464 while (nbyte) { in copy() 465 if ((n = sizeof(buf)) > nbyte) in copy() 466 n = nbyte; in copy() 470 nbyte -= n; in copy() 479 readx(int fd, void *buf, size_t nbyte, off_t offset) in readx() argument 485 if ((n = read(fd, buf, nbyte)) == -1) in readx() 494 writex(int fd, const void *buf, size_t nbyte) in writex() argument 498 if ((n = write(fd, buf, nbyte)) == -1) in writex() 500 if ((size_t)n != nbyte) in writex()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | checkpw.c | 471 static int retry_read(int fd, void *buf0, unsigned nbyte) in retry_read() argument 477 if (nbyte == 0) return 0; in retry_read() 480 n = read(fd, buf, nbyte); in retry_read() 488 if (nread >= (int) nbyte) return nread; in retry_read() 491 nbyte -= n; in retry_read()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 912 pread(int fildes, void *buf, size_t nbyte, off_t offset) in pread() argument 917 PERFORM(__pread(fildes, buf, nbyte, offset)) in pread() 922 pread64(int fildes, void *buf, size_t nbyte, off64_t offset) in pread64() argument 927 PERFORM(__pread64(fildes, buf, nbyte, offset)) in pread64() 952 pwrite(int fildes, const void *buf, size_t nbyte, off_t offset) in pwrite() argument 957 PERFORM(__pwrite(fildes, buf, nbyte, offset)) in pwrite() 962 pwrite64(int fildes, const void *buf, size_t nbyte, off64_t offset) in pwrite64() argument 967 PERFORM(__pwrite64(fildes, buf, nbyte, offset)) in pwrite64()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 789 s10_getdents_common(sysret_t *rval, int fd, char *buf, size_t nbyte, in s10_getdents_common() argument 809 nbyte)); in s10_getdents_common() 818 if (nbyte > MAXGETDENTS_SIZE) in s10_getdents_common() 819 nbyte = MAXGETDENTS_SIZE; in s10_getdents_common() 820 local_buf = (char *)malloc(nbyte); in s10_getdents_common() 830 buf, nbyte); in s10_getdents_common() 844 nbyte)) != 0) { in s10_getdents_common() 926 s10_getdents(sysret_t *rval, int fd, struct dirent *buf, size_t nbyte) in s10_getdents() argument 928 return (s10_getdents_common(rval, fd, (char *)buf, nbyte, SYS_getdents, in s10_getdents() 940 s10_getdents64(sysret_t *rval, int fd, struct dirent64 *buf, size_t nbyte) in s10_getdents64() argument [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/ |
H A D | Makefile.com | 66 E2NB = ko_KR-euc%ko_KR-nbyte.so 67 NB2E = ko_KR-nbyte%ko_KR-euc.so 274 $(SYMLINK) -f ko_KR-euc%ko_KR-nbyte.so $(ICONV_DIR)/ko_KR.euc%ko_KR.nbyte.so 281 $(SYMLINK) -f ko_KR-nbyte%ko_KR-euc.so $(ICONV_DIR)/ko_KR.nbyte%ko_KR.euc.so
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library-iconv-extra.p5m | 88 file path=usr/lib/iconv/$(ARCH64)/ko_KR-euc%ko_KR-nbyte.so 92 file path=usr/lib/iconv/$(ARCH64)/ko_KR-nbyte%ko_KR-euc.so 99 link path=usr/lib/iconv/$(ARCH64)/ko_KR.euc%ko_KR.nbyte.so \ 100 target=./ko_KR-euc%ko_KR-nbyte.so 107 link path=usr/lib/iconv/$(ARCH64)/ko_KR.nbyte%ko_KR.euc.so \ 108 target=./ko_KR-nbyte%ko_KR-euc.so 263 file path=usr/lib/iconv/ko_KR-euc%ko_KR-nbyte.so 267 file path=usr/lib/iconv/ko_KR-nbyte%ko_KR-euc.so 274 link path=usr/lib/iconv/ko_KR.euc%ko_KR.nbyte.so \ 275 target=./ko_KR-euc%ko_KR-nbyte.so [all …]
|
/illumos-gate/usr/src/boot/i386/isoboot/ |
H A D | isoboot.c | 120 xfsread(uint64_t inode, void *buf, size_t nbyte) in xfsread() argument 123 if ((size_t)cd9660_fsread(inode, buf, nbyte) != nbyte) { in xfsread()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/nic/ |
H A D | topo_nic.c | 318 uint_t nbyte; in nic_create_transceiver() local 324 LIBSFF_KEY_OUI, &oui, &nbyte) == 0 && nbyte == 3) { in nic_create_transceiver()
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_traverse.c | 222 fs_getdents(int fildes, struct dirent *buf, size_t *nbyte, in fs_getdents() argument 234 if (*nbyte == 0) { in fs_getdents() 236 *nbyte = rv = getdents(fildes, buf, darg->da_size); in fs_getdents() 244 len = *nbyte; in fs_getdents() 277 *nbyte = len; in fs_getdents()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 537 xlate_data(FSTATE *fstate, void *buf, size_t nbyte, Elf_Type xlate_type) in xlate_data() argument 542 data.d_size = nbyte; in xlate_data() 580 read_data(FSTATE *fstate, Off offset, void *buf, size_t nbyte, in read_data() argument 583 if (pread(fstate->fd, buf, nbyte, offset) != nbyte) { in read_data() 592 return (xlate_data(fstate, buf, nbyte, xlate_type)); in read_data()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | edit.c | 935 static int putstack(Edit_t *ep,char string[], register int nbyte, int type) 940 int size, offset = ep->e_lookahead + nbyte; 941 *(endp = &p[nbyte]) = 0; 942 endp = &p[nbyte]; 999 for(size=offset;size < nbyte;size++) 1002 ep->e_lookahead += nbyte-offset; 1004 while (nbyte > 0) 1006 c = string[--nbyte] & STRIP;
|
/illumos-gate/usr/src/cmd/dd/ |
H A D | dd.c | 505 iread(int fd, char *buf, size_t nbyte) in iread() argument 510 while (nbyte != 0) { in iread() 511 ssize_t nr = read(fd, buf, nbyte); in iread() 520 nbyte -= nr; in iread()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 1089 mdb_dump_aux_ptr(void *buf, size_t nbyte, uint64_t offset, void *arg) in mdb_dump_aux_ptr() argument 1093 return (dat->func(buf, nbyte, offset, dat->arg)); in mdb_dump_aux_ptr() 1106 mdb_dump_aux_partial(void *buf, size_t nbyte, uint64_t offset, void *arg) in mdb_dump_aux_partial() argument 1112 result = dat->func(buf, nbyte, offset, dat->arg); in mdb_dump_aux_partial() 1120 } while (count < nbyte && result == 1); in mdb_dump_aux_partial()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2244 size_t nbyte, /* number of bytes to read */ in Pread() argument 2247 return (P->ops.pop_pread(P, buf, nbyte, address, P->data)); in Pread() 2259 int nbyte; in Pread_string() local 2271 for (nbyte = STRSZ; nbyte == STRSZ && leng < size; addr += STRSZ) { in Pread_string() 2272 if ((nbyte = P->ops.pop_pread(P, string, STRSZ, addr, in Pread_string() 2277 if ((nbyte = strlen(string)) > 0) { in Pread_string() 2278 if (leng + nbyte > size) in Pread_string() 2279 nbyte = size - leng; in Pread_string() 2280 (void) strncpy(buf + leng, string, nbyte); in Pread_string() 2281 leng += nbyte; in Pread_string() [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | print.c | 100 void grow(private_t *, int nbyte); 610 ssize_t nbyte = ISWRITE(syscall)? pri->sys_args[2] : in prt_iob() local 617 if (Lsp->pr_why == PR_SYSEXIT && nbyte > IOBSIZE) { in prt_iob() 624 if (nbyte <= 0 || elsewhere) in prt_iob() 627 int nb = nbyte > IOBSIZE? IOBSIZE : (int)nbyte; in prt_iob() 635 (nb == nbyte)? in prt_iob() 1407 grow(private_t *pri, int nbyte) /* reallocate format buffer if necessary */ in grow() argument 1409 while (pri->sys_leng + nbyte >= pri->sys_ssize) in grow()
|
H A D | main.c | 2286 int nbyte; in fetchstring() local 2296 for (nbyte = 40; nbyte == 40 && leng < maxleng; addr += 40) { in fetchstring() 2297 if ((nbyte = Pread(Proc, string, 40, addr)) <= 0) in fetchstring() 2299 if (nbyte > 0 && in fetchstring() 2300 (nbyte = strlen(string)) > 0) { in fetchstring() 2301 while (leng + nbyte >= pri->str_bsize) in fetchstring() 2306 leng += nbyte; in fetchstring()
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 515 socket_read(int s, void *buf, size_t nbyte, int read_timeout) in socket_read() argument 526 n = recvfrom(s, buf, nbyte, MSG_DONTWAIT, NULL, NULL); in socket_read() 545 socket_write(int s, const void *buf, size_t nbyte, struct sockaddr_in *addr) in socket_write() argument 547 return (sendto(s, buf, nbyte, 0, (struct sockaddr *)addr, in socket_write()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge.c | 5312 size_t nbyte, total_len; in ql_send_common() local 5339 nbyte = MBLKL(tp); in ql_send_common() 5340 total_len += nbyte; in ql_send_common() 5341 max_seg_len = max(nbyte, max_seg_len); in ql_send_common() 5343 "total length: %d\n", frags, nbyte)); in ql_send_common() 5453 nbyte = (uint16_t)MBLKL(tp); in ql_send_common() 5454 if (nbyte == 0) in ql_send_common() 5459 (caddr_t)tp->b_rptr, nbyte, in ql_send_common() 5465 j, nbyte, ncookies)); in ql_send_common() 5560 nbyte = 0; in ql_send_common() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/utf-8/ |
H A D | alias | 142 ko_KR.nbyte ko_KR-nbyte
|