Home
last modified time | relevance | path

Searched refs:ptrdiff_t (Results 1 – 25 of 94) sorted by relevance

1234

/titanic_50/usr/src/stand/lib/fs/nfs/
H A Dxdr_rec.c193 (((ptrdiff_t)rstrm->in_boundry in xdrrec_getint32()
194 - (ptrdiff_t)bufip) >= sizeof (int32_t))) { in xdrrec_getint32()
265 ptrdiff_t current; in xdrrec_putbytes()
438 ptrdiff_t len; /* fragment length */ in xdrrec_endofrecord()
441 ((ptrdiff_t)rstrm->out_finger + sizeof (uint32_t) in xdrrec_endofrecord()
442 >= (ptrdiff_t)rstrm->out_boundry)) { in xdrrec_endofrecord()
446 len = (ptrdiff_t)rstrm->out_finger - (ptrdiff_t)rstrm->frag_header; in xdrrec_endofrecord()
462 ptrdiff_t len; in flush_out()
464 len = (ptrdiff_t)rstrm->out_finger - (ptrdiff_t)rstrm->frag_header; in flush_out()
504 ptrdiff_t current; in get_input_bytes()
[all …]
/titanic_50/usr/src/lib/libc/port/stdio/
H A Dftell.c55 ptrdiff_t adjust; in ftell()
63 adjust = (ptrdiff_t)-iop->_cnt; in ftell()
70 adjust = (ptrdiff_t)-iop->_cnt; in ftell()
H A Dftello.c63 ptrdiff_t adjust; in ftello64()
71 adjust = (ptrdiff_t)-iop->_cnt; in ftello64()
/titanic_50/usr/src/lib/libc/amd64/unwind/
H A Dunwind_context.h73 ptrdiff_t cie_reloc;
79 ptrdiff_t fde_reloc;
167 uint64_t _Unw_get_val(void **datap, ptrdiff_t reloc,
H A Deh_frame.c73 ptrdiff_t reloc; in _Unw_Decode_FDE()
78 ptrdiff_t creloc; in _Unw_Decode_FDE()
214 int enc, ptrdiff_t reloc, uintptr_t base, in get_table_ent_val()
300 ptrdiff_t reloc, uintptr_t base);
319 ptrdiff_t reloc; in _Unw_EhfhLookup()
356 ptrdiff_t reloc, uintptr_t base) in locate_fde_for_pc()
H A Dcall_frame_inst.c117 ptrdiff_t reloc, uint64_t current_loc, uint64_t pc,
355 static uint64_t get_encoded_val(void **datap, ptrdiff_t reloc, int enc);
362 _Unw_get_val(void **datap, ptrdiff_t reloc, in _Unw_get_val()
472 get_encoded_val(void **datap, ptrdiff_t reloc, int enc) in get_encoded_val()
521 int interpret_op(void **datap, ptrdiff_t reloc,
529 ptrdiff_t reloc, in interpret_ops()
547 interpret_op(void **datap, ptrdiff_t reloc, in interpret_op()
/titanic_50/usr/src/cmd/svr4pkg/libinst/
H A Dpkgobjmap.c238 client_path_os = ((ptrdiff_t)ext->client_path - in seed_pkgobjmap()
239 (ptrdiff_t)ext->cf_ent.path); in seed_pkgobjmap()
240 server_path_os = ((ptrdiff_t)ext->server_path - in seed_pkgobjmap()
241 (ptrdiff_t)ext->cf_ent.path); in seed_pkgobjmap()
242 map_path_os = ((ptrdiff_t)ext->map_path - in seed_pkgobjmap()
243 (ptrdiff_t)ext->cf_ent.path); in seed_pkgobjmap()
244 client_local_os = ((ptrdiff_t)ext->client_local - in seed_pkgobjmap()
245 (ptrdiff_t)ext->cf_ent.ainfo.local); in seed_pkgobjmap()
246 server_local_os = ((ptrdiff_t)ext->server_local - in seed_pkgobjmap()
247 (ptrdiff_t)ext->cf_ent.ainfo.local); in seed_pkgobjmap()
/titanic_50/usr/src/lib/libpkg/common/
H A Dpkglib.h164 (((ptrdiff_t)(VFP)->_vfpHighWater - \
165 (ptrdiff_t)(VFP)->_vfpStart)) : \
166 (((ptrdiff_t)(VFP)->_vfpCurr - \
167 (ptrdiff_t)(VFP)->_vfpStart)))
210 ((((ptrdiff_t)(VFP)->_vfpHighWater)-((ptrdiff_t)(VFP)->_vfpCurr))))
215 ((((ptrdiff_t)(VFP)->_vfpEnd)-((ptrdiff_t)(VFP)->_vfpCurr))))
272 (((ptrdiff_t)(P))-((ptrdiff_t)(VFP)->_vfpCurr))
H A Dvfpops.c655 a_vfp->_vfpCurr = (char *)(((ptrdiff_t)a_vfp->_vfpCurr - in vfpSetSize()
656 (ptrdiff_t)a_vfp->_vfpStart) + np); in vfpSetSize()
659 a_vfp->_vfpHighWater = (char *)(((ptrdiff_t)a_vfp->_vfpHighWater - in vfpSetSize()
660 (ptrdiff_t)a_vfp->_vfpStart) + np); in vfpSetSize()
1231 a_buf = (void *)((ptrdiff_t)a_buf + (ptrdiff_t)r); in vfpSafeWrite()
1279 a_buf = (void *)((ptrdiff_t)a_buf + (ptrdiff_t)r); in vfpSafePwrite()
/titanic_50/usr/src/head/iso/
H A Dstddef_iso.h66 typedef long ptrdiff_t; /* pointer difference */ typedef
68 typedef int ptrdiff_t; /* (historical version) */
/titanic_50/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c178 ptrdiff_t currentp; in read_stream()
184 currentp = (ptrdiff_t)buf; in read_stream()
235 req_num = (uint64_t *)((ptrdiff_t)pr + sizeof (ds_data_handle_t)); in poller_handle_data()
303 (void *)((ptrdiff_t)*resp + sizeof (uint64_t)), in poller_recv_data()
806 R = (void *)((ptrdiff_t)H + sizeof (ds_hdr_t)); in ds_handle_init_req()
834 R = (void *)((ptrdiff_t)H + sizeof (ds_hdr_t)); in ds_handle_init_req()
886 R = (void *)((ptrdiff_t)H + sizeof (ds_hdr_t)); in ds_handle_reg_req()
901 R = (void *)((ptrdiff_t)H + sizeof (ds_hdr_t)); in ds_handle_reg_req()
933 R = (void *)((ptrdiff_t)H + sizeof (ds_hdr_t)); in ds_handle_unreg()
946 R = (void *)((ptrdiff_t)H + sizeof (ds_hdr_t)); in ds_handle_unreg()
[all …]
/titanic_50/usr/src/lib/libc/port/gen/
H A Dfmtmsg.c313 tokend = (char *)tok + (ptrdiff_t)strlen(tok); in exttok()
318 (q != 0) && (q != tok) && (*(q - (ptrdiff_t)1) == '\\'); in exttok()
319 q = strchr(q + (ptrdiff_t)1, (int)*p)) in exttok()
433 current = tokend + (ptrdiff_t)1; in getauxsevs()
442 current = tokend + (ptrdiff_t)1; in getauxsevs()
447 current = tokend + (ptrdiff_t)1; in getauxsevs()
463 (ptrdiff_t)1; in getauxsevs()
563 nexttok = tokend + (ptrdiff_t)1; in msgverbset()
/titanic_50/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm_ckpt.c198 ((ptrdiff_t)il1 + sizeof (etm_ckpt_id_list_t)); in etm_ckpt_il_resize()
200 ((ptrdiff_t)il2 + sizeof (etm_ckpt_id_list_t)); in etm_ckpt_il_resize()
254 s = (etm_ckpt_erpt_id_t *)((ptrdiff_t)etm_id_lst + in etm_ckpt_il_find()
298 s = (etm_ckpt_erpt_id_t *)((ptrdiff_t)etm_id_lst + in etm_ckpt_il_add()
327 s = (etm_ckpt_erpt_id_t *)((ptrdiff_t)etm_id_lst + in etm_ckpt_il_delete()
466 s = (etm_ckpt_erpt_id_t *)((ptrdiff_t)etm_id_lst + in etm_ckpt_recover()
485 buf = (char *)((ptrdiff_t)ep + sizeof (etm_ckpt_erpt_buf_t)); in etm_ckpt_recover()
569 buf = (uint8_t *)((ptrdiff_t)hdr + sizeof (etm_ckpt_erpt_buf_t)); in etm_ckpt_add_entry()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c359 if ((data_end - data) < (ptrdiff_t)(2 * sizeof (uint16_t))) in print_question()
483 if ((data_end - data) < (ptrdiff_t)(sizeof (type))) { in print_answer()
495 ((ptrdiff_t)(sizeof (size) in print_answer()
558 ((ptrdiff_t)(sizeof (cls) in print_answer()
660 if ((data_end - data_next) < (ptrdiff_t)(5 * sizeof (uint32_t))) in print_answer()
827 if ((data_end - data) < (ptrdiff_t)(sizeof (uint8_t))) { in get_domain_name()
858 (ptrdiff_t)(sizeof (uint16_t))) { in get_domain_name()
/titanic_50/usr/src/cmd/banner/
H A Dbanner.c225 while ((c = *s++) != 0 && ((ptrdiff_t)s-(ptrdiff_t)p) <= chpln) { in banner()
/titanic_50/usr/src/uts/common/zmod/
H A Dcrc32.c237 if (sizeof(void *) == sizeof(ptrdiff_t)) {
277 while (len && ((ptrdiff_t)buf & 3)) {
317 while (len && ((ptrdiff_t)buf & 3)) {
/titanic_50/usr/src/head/
H A Dstddef.h43 using std::ptrdiff_t;
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dstdtypes.h59 typedef int ptrdiff_t; /* result of subtracting two pointers */ typedef
/titanic_50/usr/src/lib/libsocket/inet/
H A Dgetnetent_r.c140 ptrdiff_t numlen; in str2netent()
179 if (numlen >= (ptrdiff_t)sizeof (numbuf)) { in str2netent()
/titanic_50/usr/src/lib/libgen/common/
H A Dstrfind.c45 ptrdiff_t offset; in strfind()
/titanic_50/usr/src/lib/libc/port/i18n/
H A Dputws.c51 ptrdiff_t diff; in putws()
/titanic_50/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c1683 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
1704 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
1735 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
1947 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
2011 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
2152 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
2257 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
2281 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
2312 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
2389 (ptrdiff_t)(MBLKL(mp))); in strsock_proto()
[all …]
/titanic_50/usr/src/cmd/mdb/test/typedef/
H A Dtst.deftypes32.mdb.out16 sizeof (ptrdiff_t) = 4
H A Dtst.deftypes64.mdb.out16 sizeof (ptrdiff_t) = 8
H A Dtst.deftypes32.mdb17 ::sizeof ptrdiff_t

1234