Lines Matching defs:nelements
115 di_prop_fm_decode_ints(prop_handle_t *ph, void *data, uint_t *nelements)
181 *nelements = cnt;
191 di_prop_fm_decode_strings(prop_handle_t *ph, void *data, uint_t *nelements)
262 *nelements = cnt;
271 di_prop_fm_decode_bytes(prop_handle_t *ph, void *data, uint_t *nelements)
325 *nelements = nbytes;
727 uint_t nelements)
735 ph->ph_size < nelements ||
737 ph->ph_size - nelements)))
743 bcopy((char *)ph->ph_cur_pos, (char *)data, nelements);
748 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
756 ph->ph_size < nelements ||
758 ph->ph_size - nelements)))
764 bcopy((char *)data, (char *)ph->ph_cur_pos, nelements);
770 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
778 ph->ph_size < nelements)
782 ph->ph_size - nelements))
788 ph->ph_cur_pos = (char *)ph->ph_cur_pos + nelements;
796 return (nelements);
802 return (nelements);
829 int nelements;
841 nelements = -1;
843 nelements = size / sizeof (int);
848 nelements = -1;
850 nelements = size / sizeof (int64_t);
854 nelements = 0;
874 nelements = -1;
880 nelements++;
887 nelements = size;
890 return (nelements);
921 if ((*prop_decoder)(&ph, data, (uint_t *)&nelements)
931 return (nelements);