Home
last modified time | relevance | path

Searched refs:nbytes (Results 51 – 75 of 355) sorted by relevance

12345678910>>...15

/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_frame.c470 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 Dpro_encode_nm.c48 _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 Dbt_split.c667 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 Doid_ops.c311 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 DSLPHeaderV2.java165 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 DSLPHeaderV1.java116 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 Dsmb_xdr.c190 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 Dsmb_oem.c188 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 Dipadm_prop.c557 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 Dipadm_persist.c185 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 Dbio.c49 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 Dt_snd.c51 _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 Drec_delete.c161 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 Dsum.c28 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 Dndr_wchar.c117 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 Dmlrpc_clh.c503 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 Dptm.c76 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 Dhat_kdi.c207 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 Dfru_access.h92 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 Dfru_access.h92 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 DAudioTypeG72X.cc103 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 Dbf.c341 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 Dlm_l4rx.c40 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 Dip_tunables.c109 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 Dutf8.c356 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()

12345678910>>...15