Lines Matching refs:cursor
445 krb5_kt_cursor *cursor,
457 pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
459 ret = krb5_ret_int32(cursor->sp, &len);
463 pos = krb5_storage_seek(cursor->sp, -len, SEEK_CUR);
466 ret = krb5_kt_ret_principal (context, d, cursor->sp, &entry->principal);
469 ret = krb5_ret_uint32(cursor->sp, &utmp32);
473 ret = krb5_ret_int8(cursor->sp, &tmp8);
477 ret = krb5_kt_ret_keyblock (context, d, cursor->sp, &entry->keyblock);
483 curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
485 ret = krb5_ret_int32(cursor->sp, &tmp32);
491 ret = krb5_ret_uint32(cursor->sp, &utmp32);
502 krb5_storage_seek(cursor->sp, pos + 4 + len, SEEK_SET);
510 krb5_kt_cursor *cursor)
512 return fkt_next_entry_int(context, id, entry, cursor, NULL, NULL);
518 krb5_kt_cursor *cursor)
520 krb5_storage_free(cursor->sp);
521 _krb5_xunlock(context, cursor->fd);
522 close(cursor->fd);
732 krb5_kt_cursor cursor;
737 ret = fkt_start_seq_get_int(context, id, O_RDWR | O_BINARY | O_CLOEXEC, 1, &cursor);
740 while(fkt_next_entry_int(context, id, &e, &cursor,
747 krb5_storage_seek(cursor.sp, pos_start, SEEK_SET);
749 krb5_store_int32(cursor.sp, -len);
752 krb5_storage_write(cursor.sp, buf,
759 krb5_kt_end_seq_get(context, id, &cursor);