Lines Matching refs:nelements

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