Lines Matching refs:final

294 	int i, j, k, cnt, final, nattrs, tmpint, nprincs;
313 final = -1;
365 ULOG_ENTRY_TYPE(upd, ++final).av_type =
367 ULOG_ENTRY(upd, final).av_attrflags =
374 ULOG_ENTRY_TYPE(upd, ++final).av_type =
376 ULOG_ENTRY(upd, final).av_max_life =
383 ULOG_ENTRY_TYPE(upd, ++final).av_type =
386 final).av_max_renew_life =
393 ULOG_ENTRY_TYPE(upd, ++final).av_type =
395 ULOG_ENTRY(upd, final).av_exp =
402 ULOG_ENTRY_TYPE(upd, ++final).av_type =
404 ULOG_ENTRY(upd, final).av_pw_exp =
411 ULOG_ENTRY_TYPE(upd, ++final).av_type =
414 final).av_last_success =
421 ULOG_ENTRY_TYPE(upd, ++final).av_type =
424 final).av_last_failed =
431 ULOG_ENTRY_TYPE(upd, ++final).av_type =
434 final).av_fail_auth_count =
441 ULOG_ENTRY_TYPE(upd, ++final).av_type =
444 upd, final, REG_PRINC))) {
454 ULOG_ENTRY_TYPE(upd, ++final).av_type =
456 ULOG_ENTRY(upd, final).av_keydata.av_keydata_len = ent->n_key_data;
458 ULOG_ENTRY(upd, final).av_keydata.av_keydata_val = malloc(ent->n_key_data * sizeof (kdbe_key_t));
459 if (ULOG_ENTRY(upd, final).av_keydata.av_keydata_val == NULL) {
465 ULOG_ENTRY_KEYVAL(upd, final, j).k_ver = ent->key_data[j].key_data_ver;
466 ULOG_ENTRY_KEYVAL(upd, final, j).k_kvno = ent->key_data[j].key_data_kvno;
467 ULOG_ENTRY_KEYVAL(upd, final, j).k_enctype.k_enctype_len = ent->key_data[j].key_data_ver;
468 ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_len = ent->key_data[j].key_data_ver;
470 ULOG_ENTRY_KEYVAL(upd, final, j).k_enctype.k_enctype_val = malloc(ent->key_data[j].key_data_ver * sizeof(int32_t));
471 if (ULOG_ENTRY_KEYVAL(upd, final, j).k_enctype.k_enctype_val == NULL) {
476 ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val = malloc(ent->key_data[j].key_data_ver * sizeof(utf8str_t));
477 if (ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val == NULL) {
483 ULOG_ENTRY_KEYVAL(upd, final, j).k_enctype.k_enctype_val[cnt] = ent->key_data[j].key_data_type[cnt];
484 ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val[cnt].utf8str_t_len = ent->key_data[j].key_data_length[cnt];
485 ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val[cnt].utf8str_t_val = malloc(ent->key_data[j].key_data_length[cnt] * sizeof (char));
486 if (ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val[cnt].utf8str_t_val == NULL) {
490 (void) memcpy(ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val[cnt].utf8str_t_val, ent->key_data[j].key_data_contents[cnt], ent->key_data[j].key_data_length[cnt]);
500 ULOG_ENTRY_TYPE(upd, ++final).av_type =
502 ULOG_ENTRY(upd, final).av_pw_last_change = tmpint;
509 ULOG_ENTRY_TYPE(upd, ++final).av_type =
513 upd, final, MOD_PRINC);
519 ULOG_ENTRY_TYPE(upd, ++final).av_type =
521 ULOG_ENTRY(upd, final).av_mod_time =
535 ULOG_ENTRY_TYPE(upd, ++final).av_type = AT_TL_DATA;
536 ULOG_ENTRY(upd, final).av_tldata.av_tldata_len = 0;
537 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val = malloc(ent->n_tl_data * sizeof(kdbe_tl_t));
539 if (ULOG_ENTRY(upd, final).av_tldata.av_tldata_val == NULL) {
546 tmpint = ULOG_ENTRY(upd, final).av_tldata.av_tldata_len;
547 ULOG_ENTRY(upd, final).av_tldata.av_tldata_len++;
548 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_type = newtl->tl_data_type;
549 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_len = newtl->tl_data_length;
550 ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val = malloc(newtl->tl_data_length * sizeof (char));
551 if (ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val == NULL) {
555 (void) memcpy(ULOG_ENTRY(upd, final).av_tldata.av_tldata_val[tmpint].tl_data.tl_data_val, newtl->tl_data_contents, newtl->tl_data_length);
564 ULOG_ENTRY_TYPE(upd, ++final).av_type =
566 ULOG_ENTRY(upd, final).av_len =
582 upd->kdb_update.kdbe_t_len = ++final;