Lines Matching refs:nelements
112 di_prop_fm_decode_ints(prop_handle_t *ph, void *data, uint_t *nelements)
178 *nelements = cnt;
188 di_prop_fm_decode_strings(prop_handle_t *ph, void *data, uint_t *nelements)
259 *nelements = cnt;
268 di_prop_fm_decode_bytes(prop_handle_t *ph, void *data, uint_t *nelements)
322 *nelements = nbytes;
724 uint_t nelements)
732 ph->ph_size < nelements ||
734 ph->ph_size - nelements)))
740 bcopy((char *)ph->ph_cur_pos, (char *)data, nelements);
745 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
753 ph->ph_size < nelements ||
755 ph->ph_size - nelements)))
761 bcopy((char *)data, (char *)ph->ph_cur_pos, nelements);
767 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
775 ph->ph_size < nelements)
779 ph->ph_size - nelements))
785 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
793 return (nelements);
799 return (nelements);
826 int nelements;
838 nelements = -1;
840 nelements = size / sizeof (int);
845 nelements = -1;
847 nelements = size / sizeof (int64_t);
851 nelements = 0;
871 nelements = -1;
877 nelements++;
884 nelements = size;
887 return (nelements);
918 if ((*prop_decoder)(&ph, data, (uint_t *)&nelements)
928 return (nelements);