/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_frame.c | 470 int nbytes = 0; in dwarf_fde_cfa_offset_a() local 498 memcpy(ptr, buff1, nbytes); in dwarf_fde_cfa_offset_a() 501 curinst->dfp_nbytes = nbytes; in dwarf_fde_cfa_offset_a() 551 int nbytes = 0; in dwarf_add_fde_inst_a() local 591 nbytes = 1; in dwarf_add_fde_inst_a() 608 nbytes = SIZEOFT16; in dwarf_add_fde_inst_a() 623 nbytes = SIZEOFT32; in dwarf_add_fde_inst_a() 641 nbytes = SIZEOFT64; in dwarf_add_fde_inst_a() 721 nbytes = nbytes1 + nbytes2; in dwarf_add_fde_inst_a() 747 memcpy(ptr, buff1, nbytes); in dwarf_add_fde_inst_a() [all …]
|
H A D | pro_encode_nm.c | 48 _dwarf_pro_encode_leb128_nm(Dwarf_Unsigned val, int *nbytes, in _dwarf_pro_encode_leb128_nm() argument 69 *nbytes = (int)(a - space); in _dwarf_pro_encode_leb128_nm() 80 _dwarf_pro_encode_signed_leb128_nm(Dwarf_Signed value, int *nbytes, in _dwarf_pro_encode_signed_leb128_nm() argument 108 *nbytes = (int)(str - space); in _dwarf_pro_encode_signed_leb128_nm()
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_split.c | 667 nbytes = n; 723 nbytes = RINTERNAL_PSIZE; 823 for (nbytes = 0, off = 0; off < top && nbytes < half; ++off) 827 nbytes += 834 nbytes += 841 nbytes += 847 nbytes += RINTERNAL_SIZE; 935 db_indx_t nbytes, off; local 945 nbytes = 963 nbytes = [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 311 OM_uint32 nbytes; local 340 nbytes = 0; 362 nbytes++; 368 nbytes++; 386 (*oid)->length = nbytes; 405 nbytes = 0; 409 nbytes++; 413 op += nbytes; 447 size_t nbytes; in generic_gss_oid_compose() local 461 nbytes = 0; in generic_gss_oid_compose() [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPHeaderV2.java | 165 nbytes += 2; in parseHeader() 271 if (nbytes > length) { in parseMsg() 696 nbytes += out.length; in parsePreviousRespondersOut() 719 nbytes += 1; in parseServiceURLIn() 741 nbytes += 1; in parseServiceURLIn() 800 int mbytes = nbytes; in parseServiceURLOut() 810 nbytes += 1; in parseServiceURLOut() 845 nbytes += bytes.length; in parseServiceURLOut() 851 nbytes += 1; in parseServiceURLOut() 999 nbytes += 1; in parseAttributeVectorOut() [all …]
|
H A D | SLPHeaderV1.java | 116 nbytes++; in parseHeader() 135 nbytes++; in parseHeader() 151 nbytes += 2; in parseHeader() 225 if (nbytes > length) { in parseMsg() 289 nbytes++; in externalize() 291 nbytes++; in externalize() 318 nbytes++; in externalize() 320 nbytes++; in externalize() 326 nbytes += 2; in externalize() 469 hdr.nbytes = 0; in makeReplyHeader() [all …]
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_xdr.c | 190 if (nbytes != NULL) in smb_netuserinfo_encode() 191 *nbytes = xdr_getpos(&xdrs); in smb_netuserinfo_encode() 212 if (nbytes != NULL) in smb_netuserinfo_decode() 213 *nbytes = xdr_getpos(&xdrs); in smb_netuserinfo_decode() 286 if (nbytes != NULL) in smb_netconnectinfo_encode() 287 *nbytes = xdr_getpos(&xdrs); in smb_netconnectinfo_encode() 308 if (nbytes != NULL) in smb_netconnectinfo_decode() 309 *nbytes = xdr_getpos(&xdrs); in smb_netconnectinfo_decode() 356 if (nbytes != NULL) in smb_netfileinfo_encode() 357 *nbytes = xdr_getpos(&xdrs); in smb_netfileinfo_encode() [all …]
|
H A D | smb_oem.c | 188 ucstooem(char *oem, const smb_wchar_t *ucs, size_t nbytes, uint32_t cpid) in ucstooem() argument 200 while (nbytes != 0 && (oemchar = ucspage->value[*ucs]) != 0) { in ucstooem() 201 if (oemchar & 0xff00 && nbytes >= MTS_MB_CHAR_MAX) { in ucstooem() 204 nbytes -= 2; in ucstooem() 205 } else if (nbytes > 1) { in ucstooem() 207 nbytes--; in ucstooem()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 557 size_t nbytes; in i_ipadm_get_hostmodel() local 585 *bufsize = nbytes + 1; in i_ipadm_get_hostmodel() 778 uint_t i, nbytes = 0; in i_ipadm_get_ecnsack() local 784 nbytes += snprintf(buf + nbytes, in i_ipadm_get_ecnsack() 787 nbytes += snprintf(buf + nbytes, in i_ipadm_get_ecnsack() 823 *bufsize = nbytes + 1; in i_ipadm_get_ecnsack() 876 size_t nbytes; in i_ipadm_get_mtu() local 915 size_t nbytes; in i_ipadm_get_metric() local 957 size_t nbytes; in i_ipadm_get_usesrc() local 1001 size_t nbytes; in i_ipadm_get_ifprop_flags() local [all …]
|
H A D | ipadm_persist.c | 185 int nbytes; in i_ipadm_ip4_nvp2dbline() local 194 if (nbytes != 0) in i_ipadm_ip4_nvp2dbline() 195 return (nbytes); in i_ipadm_ip4_nvp2dbline() 211 int nbytes; in i_ipadm_ip6_nvp2dbline() local 220 if (nbytes != 0) in i_ipadm_ip6_nvp2dbline() 221 return (nbytes); in i_ipadm_ip6_nvp2dbline() 325 nbytes += snprintf(buf + nbytes, buflen - nbytes, "%s", in ipadm_nvlist2str() 327 buflen -= nbytes; in ipadm_nvlist2str() 328 buf += nbytes; in ipadm_nvlist2str() 329 tbytes += nbytes; in ipadm_nvlist2str() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | bio.c | 49 size_t nbytes; in buf_walk_init() local 68 nbytes = sizeof (struct hbuf) * v.v_hbuf; in buf_walk_init() 69 hbufs = mdb_alloc(nbytes, UM_SLEEP); in buf_walk_init() 71 if (mdb_vread(hbufs, nbytes, hbuf_addr) != nbytes) { in buf_walk_init() 73 mdb_free(hbufs, nbytes); in buf_walk_init()
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_snd.c | 51 _tx_snd(int fd, char *buf, unsigned nbytes, int flags, int api_semantics) in _tx_snd() argument 104 (nbytes > (uint32_t)tsdu_limit)) { in _tx_snd() 136 if (nbytes == 0 && !(tiptr->ti_prov_flag & (SENDZERO|OLD_SENDZERO))) { in _tx_snd() 162 bytes_remaining = nbytes; in _tx_snd() 209 if (nbytes == bytes_remaining) { in _tx_snd() 237 return (nbytes - bytes_remaining); in _tx_snd()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_delete.c | 161 u_int32_t nbytes; local 178 nbytes = NRLEAF(rl); 185 memmove(from + nbytes, from, (char *)to - from); 186 h->upper += nbytes; 191 ip[0] += nbytes; 193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
/illumos-gate/usr/src/ucbcmd/sum/ |
H A D | sum.c | 28 long long nbytes; in main() local 43 nbytes = 0; in main() 45 nbytes++; in main() 61 (nbytes + BUFSIZ - 1) / BUFSIZ); in main()
|
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_wchar.c | 117 ndr__wcstombs(char *mbs, const uint16_t *wcs, size_t nbytes) in ndr__wcstombs() argument 124 if (mbs != NULL && nbytes > 0) in ndr__wcstombs() 134 if (nbytes > sizeof (junk_mbs)) in ndr__wcstombs() 140 mbslen = nbytes; in ndr__wcstombs() 146 if (mbslen < nbytes) in ndr__wcstombs()
|
H A D | mlrpc_clh.c | 503 int err, more, nbytes; in ndr_xa_exchange() local 505 nbytes = recv_nds->pdu_max_size; in ndr_xa_exchange() 508 &nbytes, (char *)recv_nds->pdu_base_offset, &more); in ndr_xa_exchange() 514 recv_nds->pdu_size = nbytes; in ndr_xa_exchange() 533 int nbytes; in ndr_xa_read() local 538 nbytes = smb_fh_read(clnt->xa_fd, 0, len, in ndr_xa_read() 541 if (nbytes < 0) in ndr_xa_read() 544 nds->pdu_size += nbytes; in ndr_xa_read() 551 return (nbytes); in ndr_xa_read()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 76 ptms_pr_qinfo(char *buf, size_t nbytes, struct pt_ttys *pt, char *peername, in ptms_pr_qinfo() argument 79 (void) mdb_snprintf(buf, nbytes, in ptms_pr_qinfo() 177 ptms_qinfo(const queue_t *q, char *buf, size_t nbytes, int ismaster) in ptms_qinfo() argument 194 ptms_pr_qinfo(buf, nbytes, &pt, "slave", pt.pts_rdq, c); in ptms_qinfo() 196 ptms_pr_qinfo(buf, nbytes, &pt, "master", pt.ptm_rdq, c); in ptms_qinfo() 200 ptm_qinfo(const queue_t *q, char *buf, size_t nbytes) in ptm_qinfo() argument 202 ptms_qinfo(q, buf, nbytes, 1); in ptm_qinfo() 206 pts_qinfo(const queue_t *q, char *buf, size_t nbytes) in pts_qinfo() argument 208 ptms_qinfo(q, buf, nbytes, 0); in pts_qinfo()
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_kdi.c | 207 kdi_prw(caddr_t buf, size_t nbytes, uint64_t pa, size_t *ncopiedp, int doread) in kdi_prw() argument 223 while (nbytes > 0) { in kdi_prw() 228 sz = MIN(nbytes, MMU_PAGESIZE - pgoff); in kdi_prw() 278 nbytes -= sz; in kdi_prw() 290 kdi_pread(caddr_t buf, size_t nbytes, uint64_t addr, size_t *ncopiedp) in kdi_pread() argument 292 return (kdi_prw(buf, nbytes, addr, ncopiedp, 1)); in kdi_pread() 296 kdi_pwrite(caddr_t buf, size_t nbytes, uint64_t addr, size_t *ncopiedp) in kdi_pwrite() argument 298 return (kdi_prw(buf, nbytes, addr, ncopiedp, 0)); in kdi_pwrite()
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fru_access.h | 92 ssize_t fru_read_segment(segment_hdl_t segment, void *buffer, size_t nbytes, 94 int fru_write_segment(segment_hdl_t segment, const void *data, size_t nbytes, 100 size_t nbytes, door_cred_t *cred); 101 int fru_update_payload(packet_hdl_t packet, const void *data, size_t nbytes, 104 const void *payload, size_t nbytes, segment_hdl_t *newsegment,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.h | 92 ssize_t fru_read_segment(segment_hdl_t segment, void *buffer, size_t nbytes, 94 int fru_write_segment(segment_hdl_t segment, const void *data, size_t nbytes, 100 size_t nbytes, door_cred_t *cred); 101 int fru_update_payload(packet_hdl_t packet, const void *data, size_t nbytes, 104 const void *payload, size_t nbytes, segment_hdl_t *newsegment,
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioTypeG72X.cc | 103 size_t nbytes; in Convert() local 148 nbytes = (size_t)inhdr.Time_to_Bytes(length); in Convert() 149 if (nbytes == 0) in Convert() 163 err = g721_encode((void*)inptr, nbytes, &chdr, in Convert() 173 err = g723_encode((void*)inptr, nbytes, &chdr, in Convert() 191 err = g721_decode(inptr, nbytes, &chdr, in Convert() 209 err = g723_decode(inptr, nbytes, &chdr, in Convert()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 341 sm_bfread(fp, buf, nbytes) in sm_bfread() argument 344 size_t nbytes; 356 count = nbytes; 398 while (count < nbytes) 402 nbytes - count); 486 sm_bfwrite(fp, buf, nbytes) in sm_bfwrite() argument 489 size_t nbytes; 516 count = write(bfp->bf_disk_fd, buf, nbytes); 528 count = nbytes; 602 while (count < nbytes) [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4rx.c | 40 u32_t nbytes 112 u32_t nbytes = 0; in _lm_tcp_isle_remove() local 174 return nbytes; in _lm_tcp_isle_remove() 233 u32_t nbytes, in lm_tcp_rx_post_sws() argument 246 nbytes = 0; in lm_tcp_rx_post_sws() 259 nbytes = 0; in lm_tcp_rx_post_sws() 807 if (nbytes) { in lm_tcp_rx_gen_peninsula_process() 902 if (nbytes) { in lm_tcp_rx_gen_isle_right_process() 949 if (nbytes) { in lm_tcp_rx_gen_isle_left_process() 1187 u32_t nbytes; in lm_tcp_rx_process_cqe() local [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_tunables.c | 109 size_t nbytes = 0; in ip_get_forwarding() local 148 nbytes = snprintf(pval, pr_size, "%d", value); in ip_get_forwarding() 150 if (nbytes >= pr_size) in ip_get_forwarding() 189 size_t nbytes; in ip_get_debug() local 193 nbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW); in ip_get_debug() 195 nbytes = snprintf(pval, psize, "%u-%u", in ip_get_debug() 200 nbytes = snprintf(pval, psize, "%u", ip_debug); in ip_get_debug() 201 if (nbytes >= psize) in ip_get_debug() 278 size_t nbytes = 0; in ip_get_mtu() local 305 nbytes = snprintf(pval, psize, "%u", def_mtu); in ip_get_mtu() [all …]
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | utf8.c | 356 size_t nbytes; in _UTF8_wcsnrtombs() local 367 nbytes = 0; in _UTF8_wcsnrtombs() 379 return (nbytes + nb - 1); in _UTF8_wcsnrtombs() 381 nbytes += nb; in _UTF8_wcsnrtombs() 383 return (nbytes); in _UTF8_wcsnrtombs() 412 return (nbytes + nb - 1); in _UTF8_wcsnrtombs() 417 nbytes += nb; in _UTF8_wcsnrtombs() 420 return (nbytes); in _UTF8_wcsnrtombs()
|