Lines Matching refs:attributes
34 find_attribute(CK_ATTRIBUTE_TYPE attrtype, generic_attr_t *attributes,
46 slot_object_t *slot_object, generic_attr_t **attributes, in get_master_attributes_by_object() argument
93 attributes, num_attributes); in get_master_attributes_by_object()
109 generic_attr_t **attributes, size_t *num_attributes) in get_master_attributes_by_template() argument
149 attributes, num_attributes)); in get_master_attributes_by_template()
161 generic_attr_t **attributes, size_t *num_attributes) in get_master_template_by_type() argument
366 *attributes = master_template; in get_master_template_by_type()
382 generic_attr_t **attributes, size_t *num_attributes) in get_master_attributes_by_type() argument
429 *attributes = new_attributes; in get_master_attributes_by_type()
514 dealloc_attributes(generic_attr_t *attributes, size_t num_attributes) in dealloc_attributes() argument
520 attr = attributes + i; in dealloc_attributes()
534 free(attributes); in dealloc_attributes()
546 generic_attr_t *attributes, size_t num_attributes) in attribute_set_value() argument
556 find_attribute(new_attr->type, attributes, num_attributes, &attr); in attribute_set_value()
617 find_attribute(CK_ATTRIBUTE_TYPE attrtype, generic_attr_t *attributes, in find_attribute() argument
625 for (i = 0, attr = attributes; i < num_attributes; i++, attr++) { in find_attribute()
643 get_template_ulong(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes, in get_template_ulong() argument
650 if (attributes[i].type == type) { in get_template_ulong()
651 CK_ULONG *value = attributes[i].pValue; in get_template_ulong()
670 get_template_boolean(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes, in get_template_boolean() argument
677 if (attributes[i].type == type) { in get_template_boolean()
678 CK_BBOOL *value = attributes[i].pValue; in get_template_boolean()
707 set_template_boolean(CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE *attributes, in set_template_boolean() argument
713 if (attributes[i].type == type) { in set_template_boolean()
715 attributes[i].pValue = value; in set_template_boolean()
717 *((CK_BBOOL *)attributes[i].pValue) = *value; in set_template_boolean()