Home
last modified time | relevance | path

Searched refs:nbytes (Results 226 – 250 of 355) sorted by relevance

12345678910>>...15

/illumos-gate/usr/src/lib/libdtrace_jni/common/
H A Ddtj_consume.c474 dtj_bytedata(JNIEnv *jenv, uint32_t nbytes, caddr_t addr) in dtj_bytedata() argument
486 if (nbytes == 0) { in dtj_bytedata()
490 for (i = 0; i < nbytes; i++) { in dtj_bytedata()
514 for (j = i + 1; j < nbytes; j++) { in dtj_bytedata()
519 if (j != nbytes) in dtj_bytedata()
529 if (i == nbytes) { in dtj_bytedata()
534 char *s = malloc(nbytes + 1); in dtj_bytedata()
540 (void) strncpy(s, c, nbytes); in dtj_bytedata()
541 s[nbytes] = '\0'; in dtj_bytedata()
548 jobj = (*jenv)->NewByteArray(jenv, nbytes); in dtj_bytedata()
[all …]
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c615 int nbytes; in process_user_input() local
618 nbytes = read(STDIN_FILENO, ibuf, ZLOGIN_RDBUFSIZ); in process_user_input()
619 if (nbytes == -1 && (errno != EINTR || dead)) in process_user_input()
622 if (nbytes == -1) /* The read was interrupted. */ in process_user_input()
626 if (nbytes == 0) in process_user_input()
629 for (char c = *buf; nbytes > 0; c = *buf, --nbytes) { in process_user_input()
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c897 mdb_qname(const queue_t *q, char *buf, size_t nbytes) in mdb_qname() argument
912 if (mdb_readstr(buf, nbytes, (uintptr_t)mi.mi_idname) <= 0) { in mdb_qname()
920 (void) mdb_snprintf(buf, nbytes, "???"); in mdb_qname()
925 mdb_qinfo(const queue_t *q, char *buf, size_t nbytes) in mdb_qinfo() argument
931 qip->qi_ops->q_info(q, buf, nbytes); in mdb_qinfo()
1664 mdb_read_refstr(uintptr_t refstr_addr, char *str, size_t nbytes) in mdb_read_refstr() argument
1668 return (mdb_readstr(str, nbytes, (uintptr_t)r->rs_string)); in mdb_read_refstr()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c571 item->nbytes = header->pktlen; in flowacct_update_flows_tbl()
575 item->nbytes += header->pktlen; in flowacct_update_flows_tbl()
704 tmp_frec->fl_use->fu_nbytes = item->nbytes; in flowacct_create_record()
819 atomic_add_64(&flowacct_data->tbytes, (~item->nbytes + in flowacct_timer()
918 atomic_add_64(&flowacct_data->nbytes, header->pktlen); in flowacct_process()
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c1782 int nbytes; in _wndoprnt()
1784 nbytes = wctomb(tmpbuf, *wp); in _wndoprnt()
1785 if (nbytes < 0) { in _wndoprnt()
1789 if ((prec - (wcount + nbytes)) >= 0) { in _wndoprnt()
1790 wcount += nbytes; in _wndoprnt()
1975 int ncol, nbytes; in _wndoprnt() local
1987 if ((nbytes = mbtowc(&wc, qp, in _wndoprnt()
1990 nbytes = 1; in _wndoprnt()
2000 qp += nbytes; in _wndoprnt()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree.c1453 uint_t nbytes; in smb_tree_enum_private() local
1467 rc = smb_tree_netinfo_encode(tree, pb, svcenum->se_bavail, &nbytes); in smb_tree_enum_private()
1469 svcenum->se_bavail -= nbytes; in smb_tree_enum_private()
1470 svcenum->se_bused += nbytes; in smb_tree_enum_private()
1483 uint32_t *nbytes) in smb_tree_netinfo_encode() argument
1489 rc = smb_netconnectinfo_encode(&info, buf, buflen, nbytes); in smb_tree_netinfo_encode()
H A Dsmb_ofile.c728 uint_t nbytes; in smb_ofile_enum() local
751 &nbytes); in smb_ofile_enum()
753 svcenum->se_bavail -= nbytes; in smb_ofile_enum()
754 svcenum->se_bused += nbytes; in smb_ofile_enum()
1838 uint32_t *nbytes) in smb_ofile_netinfo_encode() argument
1845 rc = smb_netfileinfo_encode(&fi, buf, buflen, nbytes); in smb_ofile_netinfo_encode()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4fp.h109 u32_t nbytes,
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.h74 extern ssize_t recvfrom_flags(int fd, void *ptr, size_t nbytes, int *flagsp,
/illumos-gate/usr/src/cmd/format/
H A Dio.h113 void print_buf(char *buf, int nbytes);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c792 buf, tune->nbytes); in copy_persistent_tuneable()
797 buf, tune->nbytes); in copy_persistent_tuneable()
858 read_buf, tuneablep->nbytes); in env_picl_setup_tuneables()
866 PICL_READ|PICL_WRITE, tuneablep->nbytes, in env_picl_setup_tuneables()
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/
H A Dl2_ftq.h811 u16_t nbytes; member
835 u16_t nbytes; member
855 u16_t nbytes; member
868 u16_t nbytes; member
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAuthBlock.java539 hdr.nbytes += 4; in AuthBlock()
556 hdr.nbytes += abBytes.length; in AuthBlock()
705 hdr.nbytes += 4;
712 hdr.nbytes += abBytes.length;
H A DSSrvTypeMsg.java127 hdr.nbytes += len; in parseNamingAuthorityIn()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c100 z_free(notused, ptr, nbytes) in z_free() argument
103 u_int nbytes;
/illumos-gate/usr/src/uts/common/syscall/
H A Duadmin.c413 size_t nbytes = 0; in uadmin() local
450 BOOTARGS_MAX, &nbytes)) != 0) { in uadmin()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c1137 if (nbytes == 0) in dt_print_bytes()
1146 for (i = 0; i < nbytes; i++) { in dt_print_bytes()
1170 for (j = i + 1; j < nbytes; j++) { in dt_print_bytes()
1175 if (j != nbytes) in dt_print_bytes()
1189 if (i == nbytes) { in dt_print_bytes()
1195 char *s = alloca(nbytes + 1); in dt_print_bytes()
1196 bcopy(c, s, nbytes); in dt_print_bytes()
1197 s[nbytes] = '\0'; in dt_print_bytes()
1213 for (i = 0; i < nbytes; i += 16) { in dt_print_bytes()
1217 for (j = i; j < i + 16 && j < nbytes; j++) { in dt_print_bytes()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvd.c1651 tuneablep->nbytes); in get_tach()
1733 tuneablep->nbytes); in get_monitor_mode()
1790 tuneablep->nbytes); in get_string_val()
1812 tuneables->nbytes); in set_string_val()
1831 tuneablep->nbytes); in get_int_val()
1853 tuneablep->nbytes); in set_int_val()
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_gld.c629 size_t nbytes, off_t offset, size_t *nread) in i40e_transceiver_read() argument
636 if (id != 0 || buf == NULL || nbytes == 0 || nread == NULL || in i40e_transceiver_read()
644 if (nbytes > 256 || offset >= 256 || (offset + nbytes > 256)) { in i40e_transceiver_read()
669 for (i = 0; i < nbytes; i++, offset++) { in i40e_transceiver_read()
685 *nread = nbytes; in i40e_transceiver_read()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb.c1027 size_t nbytes = MIN((size_t)(p - s), MDB_NV_NAMELEN - 1); in mdb_walker_lookup() local
1031 (void) strncpy(mname, s, nbytes); in mdb_walker_lookup()
1032 mname[nbytes] = '\0'; in mdb_walker_lookup()
1058 size_t nbytes = MIN((size_t)(p - s), MDB_NV_NAMELEN - 1); in mdb_dcmd_lookup() local
1062 (void) strncpy(mname, s, nbytes); in mdb_dcmd_lookup()
1063 mname[nbytes] = '\0'; in mdb_dcmd_lookup()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamr_clnt.c817 int nbytes; in samr_query_user_groups() local
833 nbytes = arg.info->n_entry * in samr_query_user_groups()
836 if ((*groups = malloc(nbytes)) == NULL) { in samr_query_user_groups()
841 bcopy(arg.info->groups, *groups, nbytes); in samr_query_user_groups()
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dm_cc.c293 int i, nbytes, width, have_one; in __m_mbs_cc() local
295 for (start = mbs, have_one = i = 0; *mbs != '\0'; mbs += nbytes, ++i) { in __m_mbs_cc()
300 if ((nbytes = mbtowc(&wc, mbs, UINT_MAX)) < 0) in __m_mbs_cc()
304 if (nbytes == 0) in __m_mbs_cc()
/illumos-gate/usr/src/uts/common/sys/
H A Dfct.h389 uint64_t fct_netbuf_to_value(uint8_t *buf, uint8_t nbytes);
390 void fct_value_to_netbuf(uint64_t value, uint8_t *buf, uint8_t nbytes);
/illumos-gate/usr/src/cmd/dlutil/
H A Ddltraninfo.c56 dltran_dump_page(uint8_t *buf, size_t nbytes, uint_t page) in dltran_dump_page() argument
73 for (i = 0; i < nbytes; i++) { in dltran_dump_page()
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_auto.h15 size_t nbytes; member

12345678910>>...15