Lines Matching refs:inp

887 	cdf_property_info_t *inp;  in cdf_grow_info()  local
895 inp = CAST(cdf_property_info_t *, in cdf_grow_info()
896 CDF_REALLOC(*info, newcount * sizeof(*inp))); in cdf_grow_info()
897 if (inp == NULL) in cdf_grow_info()
900 *info = inp; in cdf_grow_info()
902 return inp; in cdf_grow_info()
911 cdf_copy_info(cdf_property_info_t *inp, const void *p, const void *e, in cdf_copy_info() argument
914 if (inp->pi_type & CDF_VECTOR) in cdf_copy_info()
920 (void)memcpy(&inp->pi_val, p, len); in cdf_copy_info()
924 inp->pi_u16 = CDF_TOLE2(inp->pi_u16); in cdf_copy_info()
927 inp->pi_u32 = CDF_TOLE4(inp->pi_u32); in cdf_copy_info()
930 inp->pi_u64 = CDF_TOLE8(inp->pi_u64); in cdf_copy_info()
946 cdf_property_info_t *inp; in cdf_read_property_info() local
970 inp = cdf_grow_info(info, maxcount, sh.sh_properties); in cdf_read_property_info()
971 if (inp == NULL) in cdf_read_property_info()
973 inp += *count; in cdf_read_property_info()
983 inp[i].pi_id = CDF_GETUINT32(p, i << 1); in cdf_read_property_info()
989 inp[i].pi_type = CDF_GETUINT32(q, 0); in cdf_read_property_info()
991 i, inp[i].pi_id, inp[i].pi_type, q - p, offs)); in cdf_read_property_info()
992 if (inp[i].pi_type & CDF_VECTOR) { in cdf_read_property_info()
1009 if (inp[i].pi_type & (CDF_ARRAY|CDF_BYREF|CDF_RESERVED)) in cdf_read_property_info()
1011 switch (inp[i].pi_type & CDF_TYPEMASK) { in cdf_read_property_info()
1016 if (!cdf_copy_info(&inp[i], &q[o4], e, sizeof(int16_t))) in cdf_read_property_info()
1023 if (!cdf_copy_info(&inp[i], &q[o4], e, sizeof(int32_t))) in cdf_read_property_info()
1030 if (!cdf_copy_info(&inp[i], &q[o4], e, sizeof(int64_t))) in cdf_read_property_info()
1036 size_t nelem = inp - *info; in cdf_read_property_info()
1037 inp = cdf_grow_info(info, maxcount, nelements); in cdf_read_property_info()
1038 if (inp == NULL) in cdf_read_property_info()
1040 inp += nelem; in cdf_read_property_info()
1055 inp[i].pi_str.s_len = l; in cdf_read_property_info()
1056 inp[i].pi_str.s_buf = CAST(const char *, in cdf_read_property_info()
1062 left, inp[i].pi_str.s_buf)); in cdf_read_property_info()
1073 if (inp[i].pi_type & CDF_VECTOR) in cdf_read_property_info()
1078 memset(&inp[i].pi_val, 0, sizeof(inp[i].pi_val)); in cdf_read_property_info()
1080 inp[i].pi_type)); in cdf_read_property_info()