Lines Matching refs:inp

903 	cdf_property_info_t *inp;  in cdf_grow_info()  local
911 inp = CAST(cdf_property_info_t *, in cdf_grow_info()
912 CDF_REALLOC(*info, newcount * sizeof(*inp))); in cdf_grow_info()
913 if (inp == NULL) in cdf_grow_info()
916 *info = inp; in cdf_grow_info()
918 return inp; in cdf_grow_info()
927 cdf_copy_info(cdf_property_info_t *inp, const void *p, const void *e, in cdf_copy_info() argument
930 if (inp->pi_type & CDF_VECTOR) in cdf_copy_info()
936 (void)memcpy(&inp->pi_val, p, len); in cdf_copy_info()
940 inp->pi_u16 = CDF_TOLE2(inp->pi_u16); in cdf_copy_info()
943 inp->pi_u32 = CDF_TOLE4(inp->pi_u32); in cdf_copy_info()
946 inp->pi_u64 = CDF_TOLE8(inp->pi_u64); in cdf_copy_info()
962 cdf_property_info_t *inp; in cdf_read_property_info() local
986 inp = cdf_grow_info(info, maxcount, sh.sh_properties); in cdf_read_property_info()
987 if (inp == NULL) in cdf_read_property_info()
989 inp += *count; in cdf_read_property_info()
999 inp[i].pi_id = CDF_GETUINT32(p, i << 1); in cdf_read_property_info()
1005 inp[i].pi_type = CDF_GETUINT32(q, 0); in cdf_read_property_info()
1007 i, inp[i].pi_id, inp[i].pi_type, q - p, offs)); in cdf_read_property_info()
1008 if (inp[i].pi_type & CDF_VECTOR) { in cdf_read_property_info()
1025 if (inp[i].pi_type & (CDF_ARRAY|CDF_BYREF|CDF_RESERVED)) in cdf_read_property_info()
1027 switch (inp[i].pi_type & CDF_TYPEMASK) { in cdf_read_property_info()
1032 if (!cdf_copy_info(&inp[i], &q[o4], e, sizeof(int16_t))) in cdf_read_property_info()
1039 if (!cdf_copy_info(&inp[i], &q[o4], e, sizeof(int32_t))) in cdf_read_property_info()
1046 if (!cdf_copy_info(&inp[i], &q[o4], e, sizeof(int64_t))) in cdf_read_property_info()
1052 size_t nelem = inp - *info; in cdf_read_property_info()
1053 inp = cdf_grow_info(info, maxcount, nelements); in cdf_read_property_info()
1054 if (inp == NULL) in cdf_read_property_info()
1056 inp += nelem; in cdf_read_property_info()
1071 inp[i].pi_str.s_len = l; in cdf_read_property_info()
1072 inp[i].pi_str.s_buf = CAST(const char *, in cdf_read_property_info()
1078 left, inp[i].pi_str.s_buf)); in cdf_read_property_info()
1089 if (inp[i].pi_type & CDF_VECTOR) in cdf_read_property_info()
1094 memset(&inp[i].pi_val, 0, sizeof(inp[i].pi_val)); in cdf_read_property_info()
1096 inp[i].pi_type)); in cdf_read_property_info()