Lines Matching defs:data_set
40 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
50 &data_set);
54 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count < 1) {
55 gss_release_buffer_set(minor_status, &data_set);
63 gss_release_buffer_set(minor_status, &data_set);
67 kret = asprintf(&str, "%.*s", (int)data_set->elements[0].length,
68 (char *)data_set->elements[0].value);
69 gss_release_buffer_set(minor_status, &data_set);
268 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
286 &data_set);
290 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
291 gss_release_buffer_set(minor_status, &data_set);
306 sp = krb5_storage_from_mem(data_set->elements[0].value,
307 data_set->elements[0].length);
386 gss_release_buffer_set(minor_status, &data_set);
553 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
565 &data_set);
569 if (data_set == GSS_C_NO_BUFFER_SET) {
570 gss_release_buffer_set(minor_status, &data_set);
575 if (data_set->count != 1) {
576 gss_release_buffer_set(minor_status, &data_set);
581 if (data_set->elements[0].length != 4) {
582 gss_release_buffer_set(minor_status, &data_set);
588 unsigned char *buf = data_set->elements[0].value;
593 gss_release_buffer_set(minor_status, &data_set);
609 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
670 &data_set);
677 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
678 gss_release_buffer_set(minor_status, &data_set);
683 ad_data->value = malloc(data_set->elements[0].length);
685 gss_release_buffer_set(minor_status, &data_set);
690 ad_data->length = data_set->elements[0].length;
691 memcpy(ad_data->value, data_set->elements[0].value, ad_data->length);
692 gss_release_buffer_set(minor_status, &data_set);
709 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
729 &data_set);
733 if (data_set == GSS_C_NO_BUFFER_SET || data_set->count != 1) {
734 gss_release_buffer_set(minor_status, &data_set);
739 sp = krb5_storage_from_mem(data_set->elements[0].value,
740 data_set->elements[0].length);
755 gss_release_buffer_set(minor_status, &data_set);
838 gss_buffer_set_t data_set = GSS_C_NO_BUFFER_SET;
849 &data_set);
853 if (data_set == GSS_C_NO_BUFFER_SET ||
854 data_set->count != 1 ||
855 data_set->elements[0].length < 4) {
856 gss_release_buffer_set(minor_status, &data_set);
862 const u_char *p = data_set->elements[0].value;
866 gss_release_buffer_set(minor_status, &data_set);