Lines Matching refs:pValue
56 attr.pValue = &class; in get_master_attributes_by_object()
64 attr.pValue = &subtype; in get_master_attributes_by_object()
411 attr->attribute.pValue = &attr->generic_ulong; in get_master_attributes_by_type()
414 attr->attribute.pValue = &attr->generic_bbool; in get_master_attributes_by_type()
417 attr->attribute.pValue = attr->generic_data; in get_master_attributes_by_type()
465 dst->attribute.pValue = in get_master_attributes_by_duplication()
468 if (dst->attribute.pValue == NULL) { in get_master_attributes_by_duplication()
477 } else if (src->attribute.pValue == &src->generic_bbool) { in get_master_attributes_by_duplication()
478 dst->attribute.pValue = &dst->generic_bbool; in get_master_attributes_by_duplication()
479 } else if (src->attribute.pValue == &src->generic_ulong) { in get_master_attributes_by_duplication()
480 dst->attribute.pValue = &dst->generic_ulong; in get_master_attributes_by_duplication()
481 } else if (src->attribute.pValue == &src->generic_data) { in get_master_attributes_by_duplication()
482 dst->attribute.pValue = &dst->generic_data; in get_master_attributes_by_duplication()
485 dst->attribute.pValue = NULL; in get_master_attributes_by_duplication()
492 (void) memcpy(dst->attribute.pValue, src->attribute.pValue, in get_master_attributes_by_duplication()
528 bzero(attr->attribute.pValue, attr->attribute.ulValueLen); in dealloc_attributes()
531 free(attr->attribute.pValue); in dealloc_attributes()
552 else if (new_attr->pValue == NULL) { in attribute_set_value()
566 bzero((char *)attr->attribute.pValue + new_attr->ulValueLen, in attribute_set_value()
572 bzero(attr->attribute.pValue, attr->attribute.ulValueLen); in attribute_set_value()
584 free(attr->attribute.pValue); in attribute_set_value()
588 attr->attribute.pValue = attr->generic_data; in attribute_set_value()
597 bzero(attr->attribute.pValue, attr->attribute.ulValueLen); in attribute_set_value()
598 attr->attribute.pValue = newStorage; in attribute_set_value()
602 (void) memcpy(attr->attribute.pValue, new_attr->pValue, in attribute_set_value()
651 CK_ULONG *value = attributes[i].pValue; in get_template_ulong()
678 CK_BBOOL *value = attributes[i].pValue; in get_template_boolean()
715 attributes[i].pValue = value; in set_template_boolean()
717 *((CK_BBOOL *)attributes[i].pValue) = *value; in set_template_boolean()