Lines Matching defs:data_set
45 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
55 &data_set);
59 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
60 gss_release_buffer_set(minor_status, &data_set);
68 gss_release_buffer_set(minor_status, &data_set);
72 kret = asprintf(&str, "%.*s", (int)data_set->elements[0].length,
73 (char *)data_set->elements[0].value);
74 gss_release_buffer_set(minor_status, &data_set);
254 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
272 &data_set);
276 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
277 gss_release_buffer_set(minor_status, &data_set);
292 sp = krb5_storage_from_mem(data_set->elements[0].value,
293 data_set->elements[0].length);
372 gss_release_buffer_set(minor_status, &data_set);
525 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
537 &data_set);
541 if (data_set == GSS_C_NO_BUFFER_SET) {
542 gss_release_buffer_set(minor_status, &data_set);
547 if (data_set->count != 1) {
548 gss_release_buffer_set(minor_status, &data_set);
553 if (data_set->elements[0].length != 4) {
554 gss_release_buffer_set(minor_status, &data_set);
560 unsigned char *buf = data_set->elements[0].value;
565 gss_release_buffer_set(minor_status, &data_set);
581 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
642 &data_set);
649 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
650 gss_release_buffer_set(minor_status, &data_set);
655 ad_data->value = malloc(data_set->elements[0].length);
657 gss_release_buffer_set(minor_status, &data_set);
662 ad_data->length = data_set->elements[0].length;
663 memcpy(ad_data->value, data_set->elements[0].value, ad_data->length);
664 gss_release_buffer_set(minor_status, &data_set);
681 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
701 &data_set);
705 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
706 gss_release_buffer_set(minor_status, &data_set);
711 sp = krb5_storage_from_mem(data_set->elements[0].value,
712 data_set->elements[0].length);
727 gss_release_buffer_set(minor_status, &data_set);
803 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
814 &data_set);
818 if (data_set == GSS_C_NO_BUFFER_SET ||
819 data_set->count != 1 ||
820 data_set->elements[0].length < 4) {
821 gss_release_buffer_set(minor_status, &data_set);
827 const u_char *p = data_set->elements[0].value;
831 gss_release_buffer_set(minor_status, &data_set);