Lines Matching defs:type

109 /* verify that the IPP type and size are compatible */
111 validate_length(int8_t type, int8_t size)
116 if (type_info[i].ipp_type == type)
121 /* convert tyep IPP type to a type that is marginally compatible */
148 /* verify that the IPP type is correct for the named attribute */
150 validate_type(char *name, int8_t type)
156 else if (t == type) /* The supplied type matched the RFC type */
158 else { /* The supplied type doesn't match the RFC */
159 if (base_type(t) == base_type(type))
168 validate_value(papi_attribute_t ***message, char *name, int8_t type, ...)
173 int min = min_val_len(type, name),
174 max = max_val_len(type, name);
177 va_start(ap, type);
178 switch (type) {
188 _ipp_tag_string(type), i, min, max);
199 _ipp_tag_string(type), v);
212 _ipp_tag_string(type), lower, upper, min, max);
230 _ipp_tag_string(type), v, max);
239 _ipp_tag_string(type), v, max);
243 _ipp_tag_string(type), v);
262 * read the character that determines the type of the next group, this function
264 * the next group. Thus type is used both as an input parameter (the type of
265 * attribute group to read in) and an output parameter (the type of the next
270 ipp_read_attribute_group(ipp_reader_t iread, void *fd, int8_t *type,
284 if (*type > DTAG_MAX) {
285 /* Scream bloody murder, or assign a new type? */
288 *type, _ipp_tag_string(*type));
342 "Bad value length (%d) for type %s",
576 (void) ipp_tag_string(*type, name, sizeof (name));
581 *type = value_tag;
589 char type)
621 if (type == IPP_TYPE_REQUEST)
654 char type)
661 result = ipp_read_header(iread, fd, message, type);