crypto/heimdal/admin/change.c
138
krb5_kt_cursor cursor;
crypto/heimdal/admin/change.c
151
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/change.c
157
while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0) {
crypto/heimdal/admin/change.c
217
krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/copy.c
137
krb5_kt_end_seq_get (context, src_keytab, &cursor);
crypto/heimdal/admin/copy.c
54
krb5_kt_cursor cursor;
crypto/heimdal/admin/copy.c
72
ret = krb5_kt_start_seq_get (context, src_keytab, &cursor);
crypto/heimdal/admin/copy.c
82
&entry, &cursor)) == 0) {
crypto/heimdal/admin/list.c
144
ret = krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/list.c
45
krb5_kt_cursor cursor;
crypto/heimdal/admin/list.c
71
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/list.c
91
while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0){
crypto/heimdal/admin/purge.c
106
krb5_kt_cursor cursor;
crypto/heimdal/admin/purge.c
122
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/purge.c
128
while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0) {
crypto/heimdal/admin/purge.c
132
krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/purge.c
136
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/purge.c
142
while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0) {
crypto/heimdal/admin/purge.c
165
ret = krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/rename.c
106
krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/rename.c
44
krb5_kt_cursor cursor;
crypto/heimdal/admin/rename.c
66
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/heimdal/admin/rename.c
74
ret = krb5_kt_next_entry(context, keytab, &entry, &cursor);
crypto/heimdal/appl/ftp/ftpd/klist.c
101
&cursor,
crypto/heimdal/appl/ftp/ftpd/klist.c
111
ret = krb5_cc_end_seq_get (context, ccache, &cursor);
crypto/heimdal/appl/ftp/ftpd/klist.c
74
krb5_cc_cursor cursor;
crypto/heimdal/appl/ftp/ftpd/klist.c
91
ret = krb5_cc_start_seq_get (context, ccache, &cursor);
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
173
krb5_kt_cursor cursor;
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
179
ret = krb5_kt_start_seq_get (context, kt, &cursor);
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
184
krb5_kt_end_seq_get (context, kt, &cursor);
crypto/heimdal/kcm/glue.c
174
krb5_cc_cursor *cursor)
crypto/heimdal/kcm/glue.c
180
*cursor = c->creds;
crypto/heimdal/kcm/glue.c
182
return (*cursor == NULL) ? KRB5_CC_END : 0;
crypto/heimdal/kcm/glue.c
188
krb5_cc_cursor *cursor,
crypto/heimdal/kcm/glue.c
197
&((struct kcm_creds *)cursor)->cred,
crypto/heimdal/kcm/glue.c
202
*cursor = ((struct kcm_creds *)cursor)->next;
crypto/heimdal/kcm/glue.c
203
if (*cursor == 0)
crypto/heimdal/kcm/glue.c
212
krb5_cc_cursor *cursor)
crypto/heimdal/kcm/glue.c
214
*cursor = NULL;
crypto/heimdal/kuser/kdestroy.c
105
krb5_cccol_cursor cursor;
crypto/heimdal/kuser/kdestroy.c
107
ret = krb5_cccol_cursor_new (context, &cursor);
crypto/heimdal/kuser/kdestroy.c
111
while (krb5_cccol_cursor_next (context, cursor, &ccache) == 0 && ccache != NULL) {
crypto/heimdal/kuser/kdestroy.c
119
krb5_cccol_cursor_free(context, &cursor);
crypto/heimdal/kuser/klist.c
236
krb5_cc_cursor cursor;
crypto/heimdal/kuser/klist.c
289
ret = krb5_cc_start_seq_get (context, ccache, &cursor);
crypto/heimdal/kuser/klist.c
304
&cursor,
crypto/heimdal/kuser/klist.c
317
ret = krb5_cc_end_seq_get (context, ccache, &cursor);
crypto/heimdal/kuser/klist.c
490
krb5_cc_cache_cursor cursor;
crypto/heimdal/kuser/klist.c
502
ret = krb5_cc_cache_get_first (context, NULL, &cursor);
crypto/heimdal/kuser/klist.c
516
while (krb5_cc_cache_next (context, cursor, &id) == 0) {
crypto/heimdal/kuser/klist.c
558
krb5_cc_cache_end_seq_get(context, cursor);
crypto/heimdal/kuser/klist.c
594
krb5_cc_cache_cursor cursor;
crypto/heimdal/kuser/klist.c
596
ret = krb5_cc_cache_get_first(kcc_context, NULL, &cursor);
crypto/heimdal/kuser/klist.c
601
while (krb5_cc_cache_next(kcc_context, cursor, &id) == 0) {
crypto/heimdal/kuser/klist.c
607
krb5_cc_cache_end_seq_get(kcc_context, cursor);
crypto/heimdal/kuser/kswitch.c
110
krb5_cc_cache_end_seq_get(kcc_context, cursor);
crypto/heimdal/kuser/kswitch.c
70
krb5_cc_cache_cursor cursor;
crypto/heimdal/kuser/kswitch.c
84
ret = krb5_cc_cache_get_first(kcc_context, NULL, &cursor);
crypto/heimdal/kuser/kswitch.c
88
while (krb5_cc_cache_next(kcc_context, cursor, &id) == 0) {
crypto/heimdal/lib/hdb/db3.c
304
ret = (*d->cursor)(d, NULL, &dbc, 0);
crypto/heimdal/lib/hdb/keytab.c
263
krb5_kt_cursor *cursor)
crypto/heimdal/lib/hdb/keytab.c
296
cursor->data = c = malloc (sizeof(*c));
crypto/heimdal/lib/hdb/keytab.c
309
cursor->data = c;
crypto/heimdal/lib/hdb/keytab.c
317
krb5_kt_cursor *cursor)
crypto/heimdal/lib/hdb/keytab.c
319
struct hdb_cursor *c = cursor->data;
crypto/heimdal/lib/hdb/keytab.c
398
krb5_kt_cursor *cursor)
crypto/heimdal/lib/hdb/keytab.c
400
struct hdb_cursor *c = cursor->data;
crypto/heimdal/lib/hdb/mkey.c
119
krb5_kt_cursor cursor;
crypto/heimdal/lib/hdb/mkey.c
127
ret = krb5_kt_start_seq_get(context, id, &cursor);
crypto/heimdal/lib/hdb/mkey.c
131
while(krb5_kt_next_entry(context, id, &entry, &cursor) == 0) {
crypto/heimdal/lib/hdb/mkey.c
134
krb5_kt_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/hdb/mkey.c
143
krb5_kt_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/hx509/collector.c
206
hx509_cursor cursor;
crypto/heimdal/lib/hx509/collector.c
216
ret = hx509_certs_start_seq(context, certs, &cursor);
crypto/heimdal/lib/hx509/collector.c
222
ret = hx509_certs_next_cert(context, certs, cursor, &c);
crypto/heimdal/lib/hx509/collector.c
242
hx509_certs_end_seq(context, certs, cursor);
crypto/heimdal/lib/hx509/keyset.c
256
hx509_cursor *cursor)
crypto/heimdal/lib/hx509/keyset.c
267
ret = (*certs->ops->iter_start)(context, certs, certs->ops_data, cursor);
crypto/heimdal/lib/hx509/keyset.c
292
hx509_cursor cursor,
crypto/heimdal/lib/hx509/keyset.c
296
return (*certs->ops->iter)(context, certs, certs->ops_data, cursor, cert);
crypto/heimdal/lib/hx509/keyset.c
314
hx509_cursor cursor)
crypto/heimdal/lib/hx509/keyset.c
316
(*certs->ops->iter_end)(context, certs, certs->ops_data, cursor);
crypto/heimdal/lib/hx509/keyset.c
342
hx509_cursor cursor;
crypto/heimdal/lib/hx509/keyset.c
346
ret = hx509_certs_start_seq(context, certs, &cursor);
crypto/heimdal/lib/hx509/keyset.c
351
ret = hx509_certs_next_cert(context, certs, cursor, &c);
crypto/heimdal/lib/hx509/keyset.c
364
hx509_certs_end_seq(context, certs, cursor);
crypto/heimdal/lib/hx509/keyset.c
501
hx509_cursor cursor;
crypto/heimdal/lib/hx509/keyset.c
512
ret = hx509_certs_start_seq(context, certs, &cursor);
crypto/heimdal/lib/hx509/keyset.c
518
ret = hx509_certs_next_cert(context, certs, cursor, &c);
crypto/heimdal/lib/hx509/keyset.c
530
hx509_certs_end_seq(context, certs, cursor);
crypto/heimdal/lib/hx509/keyset.c
565
hx509_cursor cursor;
crypto/heimdal/lib/hx509/keyset.c
576
ret = hx509_certs_start_seq(context, certs, &cursor);
crypto/heimdal/lib/hx509/keyset.c
584
ret = hx509_certs_next_cert(context, certs, cursor, &c);
crypto/heimdal/lib/hx509/keyset.c
596
hx509_certs_end_seq(context, certs, cursor);
crypto/heimdal/lib/hx509/keyset.c
690
hx509_cursor cursor;
crypto/heimdal/lib/hx509/keyset.c
695
ret = hx509_certs_start_seq(context, certs, &cursor);
crypto/heimdal/lib/hx509/keyset.c
699
ret = hx509_certs_next_cert(context, certs, cursor, c);
crypto/heimdal/lib/hx509/keyset.c
703
hx509_certs_end_seq(context, certs, cursor);
crypto/heimdal/lib/hx509/ks_dir.c
102
*cursor = NULL;
crypto/heimdal/lib/hx509/ks_dir.c
120
*cursor = d;
crypto/heimdal/lib/hx509/ks_dir.c
189
void *cursor)
crypto/heimdal/lib/hx509/ks_dir.c
191
struct dircursor *d = cursor;
crypto/heimdal/lib/hx509/ks_dir.c
98
hx509_certs certs, void *data, void **cursor)
crypto/heimdal/lib/hx509/ks_file.c
598
hx509_certs certs, void *data, void **cursor)
crypto/heimdal/lib/hx509/ks_file.c
601
return hx509_certs_start_seq(context, ksf->certs, cursor);
crypto/heimdal/lib/hx509/ks_file.c
616
void *cursor)
crypto/heimdal/lib/hx509/ks_file.c
619
return hx509_certs_end_seq(context, ksf->certs, cursor);
crypto/heimdal/lib/hx509/ks_keychain.c
377
void *cursor;
crypto/heimdal/lib/hx509/ks_keychain.c
383
hx509_certs certs, void *data, void **cursor)
crypto/heimdal/lib/hx509/ks_keychain.c
435
ret = hx509_certs_start_seq(context, iter->certs, &iter->cursor);
crypto/heimdal/lib/hx509/ks_keychain.c
456
*cursor = iter;
crypto/heimdal/lib/hx509/ks_keychain.c
466
hx509_certs certs, void *data, void *cursor, hx509_cert *cert)
crypto/heimdal/lib/hx509/ks_keychain.c
473
struct iter *iter = cursor;
crypto/heimdal/lib/hx509/ks_keychain.c
479
return hx509_certs_next_cert(context, iter->certs, iter->cursor, cert);
crypto/heimdal/lib/hx509/ks_keychain.c
559
void *cursor)
crypto/heimdal/lib/hx509/ks_keychain.c
561
struct iter *iter = cursor;
crypto/heimdal/lib/hx509/ks_keychain.c
564
hx509_certs_end_seq(context, iter->certs, iter->cursor);
crypto/heimdal/lib/hx509/ks_mem.c
111
void **cursor)
crypto/heimdal/lib/hx509/ks_mem.c
119
*cursor = iter;
crypto/heimdal/lib/hx509/ks_mem.c
128
void *cursor,
crypto/heimdal/lib/hx509/ks_mem.c
131
unsigned long *iter = cursor;
crypto/heimdal/lib/hx509/ks_mem.c
148
void *cursor)
crypto/heimdal/lib/hx509/ks_mem.c
150
free(cursor);
crypto/heimdal/lib/hx509/ks_null.c
55
hx509_certs certs, void *data, void **cursor)
crypto/heimdal/lib/hx509/ks_null.c
57
*cursor = NULL;
crypto/heimdal/lib/hx509/ks_null.c
73
void *cursor)
crypto/heimdal/lib/hx509/ks_null.c
75
assert(cursor == NULL);
crypto/heimdal/lib/hx509/ks_p11.c
1035
void *cursor;
crypto/heimdal/lib/hx509/ks_p11.c
1040
hx509_certs certs, void *data, void **cursor)
crypto/heimdal/lib/hx509/ks_p11.c
1069
ret = hx509_certs_start_seq(context, c->certs, &c->cursor);
crypto/heimdal/lib/hx509/ks_p11.c
1075
*cursor = c;
crypto/heimdal/lib/hx509/ks_p11.c
1082
hx509_certs certs, void *data, void *cursor, hx509_cert *cert)
crypto/heimdal/lib/hx509/ks_p11.c
1084
struct p11_cursor *c = cursor;
crypto/heimdal/lib/hx509/ks_p11.c
1085
return hx509_certs_next_cert(context, c->certs, c->cursor, cert);
crypto/heimdal/lib/hx509/ks_p11.c
1090
hx509_certs certs, void *data, void *cursor)
crypto/heimdal/lib/hx509/ks_p11.c
1092
struct p11_cursor *c = cursor;
crypto/heimdal/lib/hx509/ks_p11.c
1094
ret = hx509_certs_end_seq(context, c->certs, c->cursor);
crypto/heimdal/lib/hx509/ks_p12.c
663
void **cursor)
crypto/heimdal/lib/hx509/ks_p12.c
666
return hx509_certs_start_seq(context, p12->certs, cursor);
crypto/heimdal/lib/hx509/ks_p12.c
673
void *cursor,
crypto/heimdal/lib/hx509/ks_p12.c
677
return hx509_certs_next_cert(context, p12->certs, cursor, cert);
crypto/heimdal/lib/hx509/ks_p12.c
684
void *cursor)
crypto/heimdal/lib/hx509/ks_p12.c
687
return hx509_certs_end_seq(context, p12->certs, cursor);
crypto/heimdal/lib/krb5/acache.c
741
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/acache.c
758
*cursor = iter;
crypto/heimdal/lib/krb5/acache.c
766
krb5_cc_cursor *cursor,
crypto/heimdal/lib/krb5/acache.c
769
cc_credentials_iterator_t iter = *cursor;
crypto/heimdal/lib/krb5/acache.c
793
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/acache.c
795
cc_credentials_iterator_t iter = *cursor;
crypto/heimdal/lib/krb5/acache.c
897
acc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/acache.c
926
*cursor = iter;
crypto/heimdal/lib/krb5/acache.c
931
acc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
crypto/heimdal/lib/krb5/acache.c
933
struct cache_iter *iter = cursor;
crypto/heimdal/lib/krb5/acache.c
969
acc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
crypto/heimdal/lib/krb5/acache.c
971
struct cache_iter *iter = cursor;
crypto/heimdal/lib/krb5/cache.c
1011
krb5_cc_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
1031
krb5_cc_cache_cursor *cursor)
crypto/heimdal/lib/krb5/cache.c
1055
*cursor = calloc(1, sizeof(**cursor));
crypto/heimdal/lib/krb5/cache.c
1056
if (*cursor == NULL) {
crypto/heimdal/lib/krb5/cache.c
1061
(*cursor)->ops = ops;
crypto/heimdal/lib/krb5/cache.c
1063
ret = ops->get_cache_first(context, &(*cursor)->cursor);
crypto/heimdal/lib/krb5/cache.c
1065
free(*cursor);
crypto/heimdal/lib/krb5/cache.c
1066
*cursor = NULL;
crypto/heimdal/lib/krb5/cache.c
1088
krb5_cc_cache_cursor cursor,
crypto/heimdal/lib/krb5/cache.c
1091
return cursor->ops->get_cache_next(context, cursor->cursor, id);
crypto/heimdal/lib/krb5/cache.c
1105
krb5_cc_cache_cursor cursor)
crypto/heimdal/lib/krb5/cache.c
1108
ret = cursor->ops->end_cache_get(context, cursor->cursor);
crypto/heimdal/lib/krb5/cache.c
1109
cursor->ops = NULL;
crypto/heimdal/lib/krb5/cache.c
1110
free(cursor);
crypto/heimdal/lib/krb5/cache.c
1134
krb5_cccol_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
1140
ret = krb5_cccol_cursor_new (context, &cursor);
crypto/heimdal/lib/krb5/cache.c
1144
while (krb5_cccol_cursor_next (context, cursor, &cache) == 0 && cache != NULL) {
crypto/heimdal/lib/krb5/cache.c
1161
krb5_cccol_cursor_free(context, &cursor);
crypto/heimdal/lib/krb5/cache.c
1372
krb5_cc_cache_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
1388
krb5_cccol_cursor_new(krb5_context context, krb5_cccol_cursor *cursor)
crypto/heimdal/lib/krb5/cache.c
1390
*cursor = calloc(1, sizeof(**cursor));
crypto/heimdal/lib/krb5/cache.c
1391
if (*cursor == NULL) {
crypto/heimdal/lib/krb5/cache.c
1395
(*cursor)->idx = 0;
crypto/heimdal/lib/krb5/cache.c
1396
(*cursor)->cursor = NULL;
crypto/heimdal/lib/krb5/cache.c
1420
krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor,
crypto/heimdal/lib/krb5/cache.c
1427
while (cursor->idx < context->num_cc_ops) {
crypto/heimdal/lib/krb5/cache.c
1429
if (cursor->cursor == NULL) {
crypto/heimdal/lib/krb5/cache.c
1431
context->cc_ops[cursor->idx]->prefix,
crypto/heimdal/lib/krb5/cache.c
1432
&cursor->cursor);
crypto/heimdal/lib/krb5/cache.c
1434
cursor->idx++;
crypto/heimdal/lib/krb5/cache.c
1438
ret = krb5_cc_cache_next(context, cursor->cursor, cache);
crypto/heimdal/lib/krb5/cache.c
1442
krb5_cc_cache_end_seq_get(context, cursor->cursor);
crypto/heimdal/lib/krb5/cache.c
1443
cursor->cursor = NULL;
crypto/heimdal/lib/krb5/cache.c
1447
cursor->idx++;
crypto/heimdal/lib/krb5/cache.c
1449
if (cursor->idx >= context->num_cc_ops) {
crypto/heimdal/lib/krb5/cache.c
1471
krb5_cccol_cursor_free(krb5_context context, krb5_cccol_cursor *cursor)
crypto/heimdal/lib/krb5/cache.c
1473
krb5_cccol_cursor c = *cursor;
crypto/heimdal/lib/krb5/cache.c
1475
*cursor = NULL;
crypto/heimdal/lib/krb5/cache.c
1477
if (c->cursor)
crypto/heimdal/lib/krb5/cache.c
1478
krb5_cc_cache_end_seq_get(context, c->cursor);
crypto/heimdal/lib/krb5/cache.c
1525
krb5_cccol_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
1532
ret = krb5_cccol_cursor_new (context, &cursor);
crypto/heimdal/lib/krb5/cache.c
1536
while (krb5_cccol_cursor_next(context, cursor, &id) == 0 && id != NULL) {
crypto/heimdal/lib/krb5/cache.c
1549
krb5_cccol_cursor_free(context, &cursor);
crypto/heimdal/lib/krb5/cache.c
1629
krb5_cc_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
1637
ret = krb5_cc_start_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/cache.c
1641
while ((ret = krb5_cc_next_cred(context, id, &cursor, &cred)) == 0) {
crypto/heimdal/lib/krb5/cache.c
1651
krb5_cc_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/cache.c
716
krb5_cc_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
723
ret = krb5_cc_start_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/cache.c
726
while((ret = krb5_cc_next_cred(context, id, &cursor, creds)) == 0){
crypto/heimdal/lib/krb5/cache.c
733
krb5_cc_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/cache.c
767
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/cache.c
769
return (*id->ops->get_first)(context, id, cursor);
crypto/heimdal/lib/krb5/cache.c
785
krb5_cc_cursor *cursor,
crypto/heimdal/lib/krb5/cache.c
788
return (*id->ops->get_next)(context, id, cursor, creds);
crypto/heimdal/lib/krb5/cache.c
801
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/cache.c
803
return (*id->ops->end_get)(context, id, cursor);
crypto/heimdal/lib/krb5/cache.c
884
krb5_cc_cursor cursor;
crypto/heimdal/lib/krb5/cache.c
899
ret = krb5_cc_start_seq_get(context, from, &cursor);
crypto/heimdal/lib/krb5/cache.c
905
while ((ret = krb5_cc_next_cred(context, from, &cursor, &cred)) == 0) {
crypto/heimdal/lib/krb5/cache.c
915
krb5_cc_end_seq_get(context, from, &cursor);
crypto/heimdal/lib/krb5/fcache.c
711
krb5_cc_cursor *cursor);
crypto/heimdal/lib/krb5/fcache.c
716
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/fcache.c
724
*cursor = malloc(sizeof(struct fcc_cursor));
crypto/heimdal/lib/krb5/fcache.c
725
if (*cursor == NULL) {
crypto/heimdal/lib/krb5/fcache.c
729
memset(*cursor, 0, sizeof(struct fcc_cursor));
crypto/heimdal/lib/krb5/fcache.c
731
ret = init_fcc (context, id, &FCC_CURSOR(*cursor)->sp,
crypto/heimdal/lib/krb5/fcache.c
732
&FCC_CURSOR(*cursor)->fd, NULL);
crypto/heimdal/lib/krb5/fcache.c
734
free(*cursor);
crypto/heimdal/lib/krb5/fcache.c
735
*cursor = NULL;
crypto/heimdal/lib/krb5/fcache.c
738
ret = krb5_ret_principal (FCC_CURSOR(*cursor)->sp, &principal);
crypto/heimdal/lib/krb5/fcache.c
741
fcc_end_get(context, id, cursor);
crypto/heimdal/lib/krb5/fcache.c
745
fcc_unlock(context, FCC_CURSOR(*cursor)->fd);
crypto/heimdal/lib/krb5/fcache.c
752
krb5_cc_cursor *cursor,
crypto/heimdal/lib/krb5/fcache.c
760
if (FCC_CURSOR(*cursor) == NULL)
crypto/heimdal/lib/krb5/fcache.c
763
if((ret = fcc_lock(context, id, FCC_CURSOR(*cursor)->fd, FALSE)) != 0)
crypto/heimdal/lib/krb5/fcache.c
766
ret = krb5_ret_creds(FCC_CURSOR(*cursor)->sp, creds);
crypto/heimdal/lib/krb5/fcache.c
770
fcc_unlock(context, FCC_CURSOR(*cursor)->fd);
crypto/heimdal/lib/krb5/fcache.c
777
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/fcache.c
783
if (FCC_CURSOR(*cursor) == NULL)
crypto/heimdal/lib/krb5/fcache.c
786
krb5_storage_free(FCC_CURSOR(*cursor)->sp);
crypto/heimdal/lib/krb5/fcache.c
787
close (FCC_CURSOR(*cursor)->fd);
crypto/heimdal/lib/krb5/fcache.c
788
free(*cursor);
crypto/heimdal/lib/krb5/fcache.c
789
*cursor = NULL;
crypto/heimdal/lib/krb5/fcache.c
888
fcc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/fcache.c
898
*cursor = iter;
crypto/heimdal/lib/krb5/fcache.c
903
fcc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
crypto/heimdal/lib/krb5/fcache.c
905
struct fcache_iter *iter = cursor;
crypto/heimdal/lib/krb5/fcache.c
946
fcc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
crypto/heimdal/lib/krb5/fcache.c
948
struct fcache_iter *iter = cursor;
crypto/heimdal/lib/krb5/init_creds_pw.c
1523
krb5_kt_cursor cursor;
crypto/heimdal/lib/krb5/init_creds_pw.c
1550
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/heimdal/lib/krb5/init_creds_pw.c
1554
while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0){
crypto/heimdal/lib/krb5/init_creds_pw.c
1587
krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/heimdal/lib/krb5/kcm.c
531
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/kcm.c
599
*cursor = c;
crypto/heimdal/lib/krb5/kcm.c
615
krb5_cc_cursor *cursor,
crypto/heimdal/lib/krb5/kcm.c
620
krb5_kcm_cursor c = KCMCURSOR(*cursor);
crypto/heimdal/lib/krb5/kcm.c
677
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/kcm.c
679
krb5_kcm_cursor c = KCMCURSOR(*cursor);
crypto/heimdal/lib/krb5/kcm.c
684
*cursor = NULL;
crypto/heimdal/lib/krb5/kcm.c
780
kcm_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/kcm.c
787
*cursor = NULL;
crypto/heimdal/lib/krb5/kcm.c
841
*cursor = c;
crypto/heimdal/lib/krb5/kcm.c
852
kcm_get_cache_next(krb5_context context, krb5_cc_cursor cursor, const krb5_cc_ops *ops, krb5_ccache *id)
crypto/heimdal/lib/krb5/kcm.c
855
krb5_kcm_cursor c = KCMCURSOR(cursor);
crypto/heimdal/lib/krb5/kcm.c
902
kcm_get_cache_next_kcm(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
crypto/heimdal/lib/krb5/kcm.c
905
return kcm_get_cache_next(context, cursor, &krb5_kcm_ops, id);
crypto/heimdal/lib/krb5/kcm.c
912
kcm_get_cache_next_api(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
crypto/heimdal/lib/krb5/kcm.c
914
return kcm_get_cache_next(context, cursor, &krb5_akcm_ops, id);
crypto/heimdal/lib/krb5/kcm.c
919
kcm_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
crypto/heimdal/lib/krb5/kcm.c
921
krb5_kcm_cursor c = KCMCURSOR(cursor);
crypto/heimdal/lib/krb5/keytab.c
621
krb5_kt_cursor cursor;
crypto/heimdal/lib/krb5/keytab.c
627
ret = krb5_kt_start_seq_get (context, id, &cursor);
crypto/heimdal/lib/krb5/keytab.c
636
while (krb5_kt_next_entry(context, id, &tmp, &cursor) == 0) {
crypto/heimdal/lib/krb5/keytab.c
644
krb5_kt_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/keytab.c
654
krb5_kt_end_seq_get (context, id, &cursor);
crypto/heimdal/lib/krb5/keytab.c
734
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab.c
743
return (*id->start_seq_get)(context, id, cursor);
crypto/heimdal/lib/krb5/keytab.c
764
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab.c
773
return (*id->next_entry)(context, id, entry, cursor);
crypto/heimdal/lib/krb5/keytab.c
791
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab.c
799
return (*id->end_seq_get)(context, id, cursor);
crypto/heimdal/lib/krb5/keytab.c
872
krb5_kt_cursor cursor;
crypto/heimdal/lib/krb5/keytab.c
877
ret = krb5_kt_start_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/keytab.c
881
ret = krb5_kt_next_entry(context, id, &entry, &cursor);
crypto/heimdal/lib/krb5/keytab.c
882
krb5_kt_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/keytab_any.c
121
krb5_kt_cursor cursor;
crypto/heimdal/lib/krb5/keytab_any.c
140
ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
crypto/heimdal/lib/krb5/keytab_any.c
157
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab_any.c
162
ed = (struct any_cursor_extra_data *)cursor->data;
crypto/heimdal/lib/krb5/keytab_any.c
164
ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor);
crypto/heimdal/lib/krb5/keytab_any.c
170
ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor);
crypto/heimdal/lib/krb5/keytab_any.c
174
ret2 = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
crypto/heimdal/lib/krb5/keytab_any.c
188
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab_any.c
193
ed = (struct any_cursor_extra_data *)cursor->data;
crypto/heimdal/lib/krb5/keytab_any.c
195
ret = krb5_kt_end_seq_get(context, ed->a->kt, &ed->cursor);
crypto/heimdal/lib/krb5/keytab_any.c
197
cursor->data = NULL;
crypto/heimdal/lib/krb5/keytab_file.c
445
krb5_kt_cursor *cursor,
crypto/heimdal/lib/krb5/keytab_file.c
457
pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
crypto/heimdal/lib/krb5/keytab_file.c
459
ret = krb5_ret_int32(cursor->sp, &len);
crypto/heimdal/lib/krb5/keytab_file.c
463
pos = krb5_storage_seek(cursor->sp, -len, SEEK_CUR);
crypto/heimdal/lib/krb5/keytab_file.c
466
ret = krb5_kt_ret_principal (context, d, cursor->sp, &entry->principal);
crypto/heimdal/lib/krb5/keytab_file.c
469
ret = krb5_ret_uint32(cursor->sp, &utmp32);
crypto/heimdal/lib/krb5/keytab_file.c
473
ret = krb5_ret_int8(cursor->sp, &tmp8);
crypto/heimdal/lib/krb5/keytab_file.c
477
ret = krb5_kt_ret_keyblock (context, d, cursor->sp, &entry->keyblock);
crypto/heimdal/lib/krb5/keytab_file.c
483
curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
crypto/heimdal/lib/krb5/keytab_file.c
485
ret = krb5_ret_int32(cursor->sp, &tmp32);
crypto/heimdal/lib/krb5/keytab_file.c
491
ret = krb5_ret_uint32(cursor->sp, &utmp32);
crypto/heimdal/lib/krb5/keytab_file.c
502
krb5_storage_seek(cursor->sp, pos + 4 + len, SEEK_SET);
crypto/heimdal/lib/krb5/keytab_file.c
510
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab_file.c
512
return fkt_next_entry_int(context, id, entry, cursor, NULL, NULL);
crypto/heimdal/lib/krb5/keytab_file.c
518
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab_file.c
520
krb5_storage_free(cursor->sp);
crypto/heimdal/lib/krb5/keytab_file.c
521
_krb5_xunlock(context, cursor->fd);
crypto/heimdal/lib/krb5/keytab_file.c
522
close(cursor->fd);
crypto/heimdal/lib/krb5/keytab_file.c
732
krb5_kt_cursor cursor;
crypto/heimdal/lib/krb5/keytab_file.c
737
ret = fkt_start_seq_get_int(context, id, O_RDWR | O_BINARY | O_CLOEXEC, 1, &cursor);
crypto/heimdal/lib/krb5/keytab_file.c
740
while(fkt_next_entry_int(context, id, &e, &cursor,
crypto/heimdal/lib/krb5/keytab_file.c
747
krb5_storage_seek(cursor.sp, pos_start, SEEK_SET);
crypto/heimdal/lib/krb5/keytab_file.c
749
krb5_store_int32(cursor.sp, -len);
crypto/heimdal/lib/krb5/keytab_file.c
752
krb5_storage_write(cursor.sp, buf,
crypto/heimdal/lib/krb5/keytab_file.c
759
krb5_kt_end_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/keytab_keyfile.c
241
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab_keyfile.c
248
pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
crypto/heimdal/lib/krb5/keytab_keyfile.c
258
ret = krb5_ret_int32(cursor->sp, &kvno);
crypto/heimdal/lib/krb5/keytab_keyfile.c
266
if (cursor->data)
crypto/heimdal/lib/krb5/keytab_keyfile.c
280
ret = krb5_storage_read(cursor->sp, entry->keyblock.keyvalue.data, 8);
crypto/heimdal/lib/krb5/keytab_keyfile.c
291
if (cursor->data) {
crypto/heimdal/lib/krb5/keytab_keyfile.c
292
krb5_storage_seek(cursor->sp, pos + 4 + 8, SEEK_SET);
crypto/heimdal/lib/krb5/keytab_keyfile.c
293
cursor->data = NULL;
crypto/heimdal/lib/krb5/keytab_keyfile.c
295
cursor->data = cursor;
crypto/heimdal/lib/krb5/keytab_keyfile.c
302
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/keytab_keyfile.c
304
krb5_storage_free(cursor->sp);
crypto/heimdal/lib/krb5/keytab_keyfile.c
305
close(cursor->fd);
crypto/heimdal/lib/krb5/keytab_keyfile.c
306
cursor->data = NULL;
crypto/heimdal/lib/krb5/keytab_memory.c
165
krb5_kt_cursor *cursor)
crypto/heimdal/lib/krb5/mcache.c
282
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/mcache.c
289
*cursor = m->creds;
crypto/heimdal/lib/krb5/mcache.c
296
krb5_cc_cursor *cursor,
crypto/heimdal/lib/krb5/mcache.c
305
l = *cursor;
crypto/heimdal/lib/krb5/mcache.c
307
*cursor = l->next;
crypto/heimdal/lib/krb5/mcache.c
318
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/mcache.c
356
mcc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/mcache.c
373
*cursor = iter;
crypto/heimdal/lib/krb5/mcache.c
378
mcc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
crypto/heimdal/lib/krb5/mcache.c
380
struct mcache_iter *iter = cursor;
crypto/heimdal/lib/krb5/mcache.c
405
mcc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
crypto/heimdal/lib/krb5/mcache.c
407
struct mcache_iter *iter = cursor;
crypto/heimdal/lib/krb5/rd_req.c
1032
krb5_kt_end_seq_get (context, id, &cursor);
crypto/heimdal/lib/krb5/rd_req.c
963
krb5_kt_cursor cursor;
crypto/heimdal/lib/krb5/rd_req.c
966
memset(&cursor, 0, sizeof(cursor));
crypto/heimdal/lib/krb5/rd_req.c
971
ret = krb5_kt_start_seq_get(context, id, &cursor);
crypto/heimdal/lib/krb5/rd_req.c
979
ret = krb5_kt_next_entry(context, id, &entry, &cursor);
crypto/heimdal/lib/krb5/scache.c
1034
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/scache.c
1036
struct cred_ctx *ctx = *cursor;
crypto/heimdal/lib/krb5/scache.c
1155
scc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/scache.c
1161
*cursor = NULL;
crypto/heimdal/lib/krb5/scache.c
1240
*cursor = ctx;
crypto/heimdal/lib/krb5/scache.c
1247
krb5_cc_cursor cursor,
crypto/heimdal/lib/krb5/scache.c
1250
struct cache_iter *ctx = cursor;
crypto/heimdal/lib/krb5/scache.c
1281
scc_end_cache_get(krb5_context context, krb5_cc_cursor cursor)
crypto/heimdal/lib/krb5/scache.c
1283
struct cache_iter *ctx = cursor;
crypto/heimdal/lib/krb5/scache.c
875
krb5_cc_cursor *cursor)
crypto/heimdal/lib/krb5/scache.c
882
*cursor = NULL;
crypto/heimdal/lib/krb5/scache.c
973
*cursor = ctx;
crypto/heimdal/lib/krb5/scache.c
981
krb5_cc_cursor *cursor,
crypto/heimdal/lib/krb5/scache.c
984
struct cred_ctx *ctx = *cursor;
crypto/heimdal/lib/krb5/test_cc.c
377
krb5_cc_cache_cursor cursor;
crypto/heimdal/lib/krb5/test_cc.c
381
ret = krb5_cc_cache_get_first (context, type, &cursor);
crypto/heimdal/lib/krb5/test_cc.c
388
while ((ret = krb5_cc_cache_next (context, cursor, &id)) == 0) {
crypto/heimdal/lib/krb5/test_cc.c
410
krb5_cc_cache_end_seq_get(context, cursor);
crypto/heimdal/lib/krb5/test_cc.c
416
krb5_cccol_cursor cursor;
crypto/heimdal/lib/krb5/test_cc.c
420
ret = krb5_cccol_cursor_new (context, &cursor);
crypto/heimdal/lib/krb5/test_cc.c
425
while ((ret = krb5_cccol_cursor_next (context, cursor, &id)) == 0 && id != NULL) {
crypto/heimdal/lib/krb5/test_cc.c
444
krb5_cccol_cursor_free(context, &cursor);
crypto/heimdal/lib/roken/ndbm_wrap.c
116
if(cursor == NULL)
crypto/heimdal/lib/roken/ndbm_wrap.c
117
db->cursor(db, NULL, &cursor, 0);
crypto/heimdal/lib/roken/ndbm_wrap.c
118
if(cursor->c_get(cursor, &key, &value, flags) != 0) {
crypto/heimdal/lib/roken/ndbm_wrap.c
62
static DBC *cursor;
crypto/heimdal/lib/roken/ndbm_wrap.c
72
cursor = NULL;
crypto/krb5/src/clients/kdestroy/kdestroy.c
163
code = krb5_cccol_cursor_new(context, &cursor);
crypto/krb5/src/clients/kdestroy/kdestroy.c
168
while (krb5_cccol_cursor_next(context, cursor, &cache) == 0 &&
crypto/krb5/src/clients/kdestroy/kdestroy.c
182
krb5_cccol_cursor_free(context, &cursor);
crypto/krb5/src/clients/kdestroy/kdestroy.c
67
krb5_cccol_cursor cursor;
crypto/krb5/src/clients/kdestroy/kdestroy.c
69
ret = krb5_cccol_cursor_new(context, &cursor);
crypto/krb5/src/clients/kdestroy/kdestroy.c
75
ret = krb5_cccol_cursor_next(context, cursor, &cache);
crypto/krb5/src/clients/kdestroy/kdestroy.c
82
krb5_cccol_cursor_free(context, &cursor);
crypto/krb5/src/clients/kdestroy/kdestroy.c
91
krb5_cccol_cursor cursor;
crypto/krb5/src/clients/klist/klist.c
269
krb5_kt_cursor cursor;
crypto/krb5/src/clients/klist/klist.c
302
ret = krb5_kt_start_seq_get(context, kt, &cursor);
crypto/krb5/src/clients/klist/klist.c
324
while ((ret = krb5_kt_next_entry(context, kt, &entry, &cursor)) == 0) {
crypto/krb5/src/clients/klist/klist.c
352
ret = krb5_kt_end_seq_get(context, kt, &cursor);
crypto/krb5/src/clients/klist/klist.c
365
krb5_cccol_cursor cursor;
crypto/krb5/src/clients/klist/klist.c
368
ret = krb5_cccol_cursor_new(context, &cursor);
crypto/krb5/src/clients/klist/klist.c
379
while ((ret = krb5_cccol_cursor_next(context, cursor, &cache)) == 0 &&
crypto/krb5/src/clients/klist/klist.c
384
krb5_cccol_cursor_free(context, &cursor);
crypto/krb5/src/clients/klist/klist.c
427
krb5_cccol_cursor cursor;
crypto/krb5/src/clients/klist/klist.c
431
ret = krb5_cccol_cursor_new(context, &cursor);
crypto/krb5/src/clients/klist/klist.c
439
while ((ret = krb5_cccol_cursor_next(context, cursor, &cache)) == 0 &&
crypto/krb5/src/clients/klist/klist.c
448
krb5_cccol_cursor_free(context, &cursor);
crypto/krb5/src/kadmin/cli/keytab.c
366
krb5_kt_cursor cursor = NULL;
crypto/krb5/src/kadmin/cli/keytab.c
420
code = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/kadmin/cli/keytab.c
428
&cursor)) == 0) {
crypto/krb5/src/kadmin/cli/keytab.c
440
code = krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/kadmin/cli/keytab.c
446
cursor = NULL;
crypto/krb5/src/kadmin/cli/keytab.c
452
code = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/kadmin/cli/keytab.c
470
code = krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/kadmin/cli/keytab.c
475
cursor = NULL;
crypto/krb5/src/kadmin/cli/keytab.c
488
if (cursor != NULL)
crypto/krb5/src/kadmin/cli/keytab.c
489
(void)krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/kadmin/ktutil/ktutil_funcs.c
269
krb5_kt_cursor cursor;
crypto/krb5/src/kadmin/ktutil/ktutil_funcs.c
280
retval = krb5_kt_start_seq_get(context, kt, &cursor);
crypto/krb5/src/kadmin/ktutil/ktutil_funcs.c
290
retval = krb5_kt_next_entry(context, kt, entry, &cursor);
crypto/krb5/src/kadmin/ktutil/ktutil_funcs.c
327
krb5_kt_end_seq_get(context, kt, &cursor);
crypto/krb5/src/lib/crypto/builtin/cmac.c
135
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/cmac.c
171
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, TRUE);
crypto/krb5/src/lib/crypto/builtin/cmac.c
173
k5_iov_cursor_get(&cursor, input);
crypto/krb5/src/lib/crypto/builtin/cmac.c
181
k5_iov_cursor_get(&cursor, input);
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
107
k5_iov_cursor_init(&cursor, data, num_data, MIT_DES_BLOCK_LENGTH, FALSE);
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
108
while (k5_iov_cursor_get(&cursor, block)) {
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
128
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
41
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
54
k5_iov_cursor_init(&cursor, data, num_data, MIT_DES_BLOCK_LENGTH, FALSE);
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
55
while (k5_iov_cursor_get(&cursor, block)) {
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
67
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/des/d3_aead.c
88
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
100
while (k5_iov_cursor_get(&cursor, block)) {
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
118
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
135
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
146
k5_iov_cursor_init(&cursor, data, num_data, MIT_DES_BLOCK_LENGTH, TRUE);
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
147
while (k5_iov_cursor_get(&cursor, block)) {
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
41
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
52
k5_iov_cursor_init(&cursor, data, num_data, MIT_DES_BLOCK_LENGTH, FALSE);
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
53
while (k5_iov_cursor_get(&cursor, block)) {
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
63
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
82
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/des/f_aead.c
99
k5_iov_cursor_init(&cursor, data, num_data, MIT_DES_BLOCK_LENGTH, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
245
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
251
k5_iov_cursor_init(&cursor, data, num_data, AES_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
256
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
259
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
269
ncontig = iov_cursor_contig_blocks(&cursor);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
274
cbc_enc(key, iov_cursor_ptr(&cursor), ncontig, iv);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
275
iov_cursor_advance(&cursor, ncontig);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
278
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
280
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
287
k5_iov_cursor_get(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
288
k5_iov_cursor_get(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
291
k5_iov_cursor_put(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
292
k5_iov_cursor_put(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
308
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
314
k5_iov_cursor_init(&cursor, data, num_data, AES_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
320
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
323
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
333
ncontig = iov_cursor_contig_blocks(&cursor);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
338
cbc_dec(key, iov_cursor_ptr(&cursor), ncontig, iv);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
339
iov_cursor_advance(&cursor, ncontig);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
342
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
344
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
350
k5_iov_cursor_get(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
351
k5_iov_cursor_get(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
366
k5_iov_cursor_put(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
367
k5_iov_cursor_put(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
123
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
129
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
134
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
137
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
147
ncontig = iov_cursor_contig_blocks(&cursor);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
152
cbc_enc(key, iov_cursor_ptr(&cursor), ncontig, iv);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
153
iov_cursor_advance(&cursor, ncontig);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
156
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
158
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
165
k5_iov_cursor_get(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
166
k5_iov_cursor_get(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
169
k5_iov_cursor_put(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
170
k5_iov_cursor_put(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
185
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
191
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
197
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
200
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
210
ncontig = iov_cursor_contig_blocks(&cursor);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
215
cbc_dec(key, iov_cursor_ptr(&cursor), ncontig, iv);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
216
iov_cursor_advance(&cursor, ncontig);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
219
k5_iov_cursor_get(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
221
k5_iov_cursor_put(&cursor, block);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
227
k5_iov_cursor_get(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
228
k5_iov_cursor_get(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
243
k5_iov_cursor_put(&cursor, blockN1);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
244
k5_iov_cursor_put(&cursor, blockN2);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
255
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
269
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/camellia.c
270
while (k5_iov_cursor_get(&cursor, block))
crypto/krb5/src/lib/crypto/krb/aead.c
142
next_iov_to_process(struct iov_cursor *cursor, size_t ind)
crypto/krb5/src/lib/crypto/krb/aead.c
146
for (; ind < cursor->iov_count; ind++) {
crypto/krb5/src/lib/crypto/krb/aead.c
147
iov = &cursor->iov[ind];
crypto/krb5/src/lib/crypto/krb/aead.c
148
if (cursor->signing ? SIGN_IOV(iov) : ENCRYPT_IOV(iov))
crypto/krb5/src/lib/crypto/krb/aead.c
155
k5_iov_cursor_init(struct iov_cursor *cursor, const krb5_crypto_iov *iov,
crypto/krb5/src/lib/crypto/krb/aead.c
158
cursor->iov = iov;
crypto/krb5/src/lib/crypto/krb/aead.c
159
cursor->iov_count = count;
crypto/krb5/src/lib/crypto/krb/aead.c
160
cursor->block_size = block_size;
crypto/krb5/src/lib/crypto/krb/aead.c
161
cursor->signing = signing;
crypto/krb5/src/lib/crypto/krb/aead.c
162
cursor->in_iov = next_iov_to_process(cursor, 0);
crypto/krb5/src/lib/crypto/krb/aead.c
163
cursor->out_iov = cursor->in_iov;
crypto/krb5/src/lib/crypto/krb/aead.c
164
cursor->in_pos = cursor->out_pos = 0;
crypto/krb5/src/lib/crypto/krb/aead.c
169
k5_iov_cursor_get(struct iov_cursor *cursor, unsigned char *block)
crypto/krb5/src/lib/crypto/krb/aead.c
171
size_t nbytes, bsz = cursor->block_size, remain = cursor->block_size;
crypto/krb5/src/lib/crypto/krb/aead.c
174
remain = cursor->block_size;
crypto/krb5/src/lib/crypto/krb/aead.c
175
while (remain > 0 && cursor->in_iov < cursor->iov_count) {
crypto/krb5/src/lib/crypto/krb/aead.c
176
iov = &cursor->iov[cursor->in_iov];
crypto/krb5/src/lib/crypto/krb/aead.c
178
nbytes = iov->data.length - cursor->in_pos;
crypto/krb5/src/lib/crypto/krb/aead.c
182
memcpy(block + bsz - remain, iov->data.data + cursor->in_pos, nbytes);
crypto/krb5/src/lib/crypto/krb/aead.c
183
cursor->in_pos += nbytes;
crypto/krb5/src/lib/crypto/krb/aead.c
186
if (cursor->in_pos == iov->data.length) {
crypto/krb5/src/lib/crypto/krb/aead.c
187
cursor->in_iov = next_iov_to_process(cursor, cursor->in_iov + 1);
crypto/krb5/src/lib/crypto/krb/aead.c
188
cursor->in_pos = 0;
crypto/krb5/src/lib/crypto/krb/aead.c
201
k5_iov_cursor_put(struct iov_cursor *cursor, unsigned char *block)
crypto/krb5/src/lib/crypto/krb/aead.c
203
size_t nbytes, bsz = cursor->block_size, remain = cursor->block_size;
crypto/krb5/src/lib/crypto/krb/aead.c
206
remain = cursor->block_size;
crypto/krb5/src/lib/crypto/krb/aead.c
207
while (remain > 0 && cursor->out_iov < cursor->iov_count) {
crypto/krb5/src/lib/crypto/krb/aead.c
208
iov = &cursor->iov[cursor->out_iov];
crypto/krb5/src/lib/crypto/krb/aead.c
210
nbytes = iov->data.length - cursor->out_pos;
crypto/krb5/src/lib/crypto/krb/aead.c
214
memcpy(iov->data.data + cursor->out_pos, block + bsz - remain, nbytes);
crypto/krb5/src/lib/crypto/krb/aead.c
215
cursor->out_pos += nbytes;
crypto/krb5/src/lib/crypto/krb/aead.c
218
if (cursor->out_pos == iov->data.length) {
crypto/krb5/src/lib/crypto/krb/aead.c
219
cursor->out_iov = next_iov_to_process(cursor, cursor->out_iov + 1);
crypto/krb5/src/lib/crypto/krb/aead.c
220
cursor->out_pos = 0;
crypto/krb5/src/lib/crypto/krb/crypto_int.h
458
void k5_iov_cursor_init(struct iov_cursor *cursor, const krb5_crypto_iov *iov,
crypto/krb5/src/lib/crypto/krb/crypto_int.h
461
krb5_boolean k5_iov_cursor_get(struct iov_cursor *cursor,
crypto/krb5/src/lib/crypto/krb/crypto_int.h
464
void k5_iov_cursor_put(struct iov_cursor *cursor, unsigned char *block);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
110
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
123
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
124
k5_iov_cursor_get(&cursor, iblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
128
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
146
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
173
k5_iov_cursor_init(&cursor, data, num_data, dlen, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
174
k5_iov_cursor_get(&cursor, dbuf);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
193
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
228
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
248
k5_iov_cursor_init(&cursor, data, num_data, dlen, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
249
k5_iov_cursor_get(&cursor, dbuf);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
259
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
281
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
303
k5_iov_cursor_init(&cursor, data, num_data, dlen, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
304
k5_iov_cursor_get(&cursor, dbuf);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
312
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
76
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
89
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
90
k5_iov_cursor_get(&cursor, iblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/aes.c
94
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
109
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
122
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
123
k5_iov_cursor_get(&cursor, iblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
127
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
145
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
172
k5_iov_cursor_init(&cursor, data, num_data, dlen, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
173
k5_iov_cursor_get(&cursor, dbuf);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
192
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
227
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
247
k5_iov_cursor_init(&cursor, data, num_data, dlen, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
248
k5_iov_cursor_get(&cursor, dbuf);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
258
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
280
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
302
k5_iov_cursor_init(&cursor, data, num_data, dlen, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
303
k5_iov_cursor_get(&cursor, dbuf);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
311
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
388
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
401
k5_iov_cursor_init(&cursor, data, num_data, CAMELLIA_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
402
while (k5_iov_cursor_get(&cursor, blockB)) {
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
75
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
88
k5_iov_cursor_init(&cursor, data, num_data, BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
89
k5_iov_cursor_get(&cursor, iblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/camellia.c
93
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
107
k5_iov_cursor_init(&cursor, data, num_data, DES3_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
108
while (k5_iov_cursor_get(&cursor, iblock)) {
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
112
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
134
struct iov_cursor cursor;
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
156
k5_iov_cursor_init(&cursor, data, num_data, DES3_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
157
while (k5_iov_cursor_get(&cursor, iblock)) {
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
162
k5_iov_cursor_put(&cursor, oblock);
crypto/krb5/src/lib/crypto/openssl/enc_provider/des3.c
85
struct iov_cursor cursor;
crypto/krb5/src/lib/gssapi/krb5/acquire_cred.c
358
krb5_cc_cursor cursor;
crypto/krb5/src/lib/gssapi/krb5/acquire_cred.c
407
code = krb5_cc_start_seq_get(context, ccache, &cursor);
crypto/krb5/src/lib/gssapi/krb5/acquire_cred.c
412
while (!(code = krb5_cc_next_cred(context, ccache, &cursor, &creds))) {
crypto/krb5/src/lib/gssapi/krb5/acquire_cred.c
428
krb5_cc_end_seq_get(context, ccache, &cursor);
crypto/krb5/src/lib/gssapi/krb5/export_cred.c
303
krb5_cc_cursor cursor;
crypto/krb5/src/lib/gssapi/krb5/export_cred.c
327
ret = krb5_cc_start_seq_get(context, ccache, &cursor);
crypto/krb5/src/lib/gssapi/krb5/export_cred.c
330
while ((ret = krb5_cc_next_cred(context, ccache, &cursor, &creds)) == 0) {
crypto/krb5/src/lib/gssapi/krb5/export_cred.c
340
krb5_cc_end_seq_get(context, ccache, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc-int.h
65
krb5int_cc_typecursor_new(krb5_context context, krb5_cc_typecursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc-int.h
70
krb5_cc_typecursor cursor,
crypto/krb5/src/lib/krb5/ccache/cc-int.h
76
krb5_cc_typecursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
396
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
410
*cursor = (krb5_cc_cursor)iter;
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
416
krb5_cc_cursor *cursor, krb5_creds *creds)
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
421
cc_credentials_iterator_t iter = (cc_credentials_iterator_t) *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
440
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
442
cc_credentials_iterator_t iter = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
445
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
493
dcc_get_first(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
497
return krb5_fcc_ops.get_first(context, data->fcc, cursor);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
501
dcc_get_next(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
506
return krb5_fcc_ops.get_next(context, data->fcc, cursor, creds);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
510
dcc_end_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
514
return krb5_fcc_ops.end_get(context, data->fcc, cursor);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
555
krb5_cc_ptcursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
563
cursor = malloc(sizeof(*cursor));
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
564
if (cursor == NULL) {
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
573
cursor->ops = &krb5_dcc_ops;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
574
cursor->data = data;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
575
*cursor_out = cursor;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
635
dcc_ptcursor_next(krb5_context context, krb5_cc_ptcursor cursor,
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
638
struct dcc_ptcursor_data *data = cursor->data;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
680
dcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
682
struct dcc_ptcursor_data *data = (*cursor)->data;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
689
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
690
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1034
delete_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1038
krb5_fcc_cursor *fcursor = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1143
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1146
ret = krb5_cc_start_seq_get(context, cache, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1151
ret = krb5_cc_next_cred(context, cache, &cursor, &cur);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1156
ret = delete_cred(context, cache, &cursor, &cur);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1162
krb5_cc_end_seq_get(context, cache, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1181
fcc_ptcursor_new(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1186
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1199
*cursor = n;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1206
fcc_ptcursor_next(krb5_context context, krb5_cc_ptcursor cursor,
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1210
struct krb5_fcc_ptcursor_data *cdata = cursor->data;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1245
fcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1247
if (*cursor == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1249
free((*cursor)->data);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1250
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1251
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
702
fcc_start_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
737
*cursor = (krb5_cc_cursor)fcursor;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
761
fcc_next_cred(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_file.c
765
krb5_fcc_cursor *fcursor = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
815
fcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
817
krb5_fcc_cursor *fcursor = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_file.c
821
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1031
kcm_next_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1034
struct kcm_cursor *c = (struct kcm_cursor *)*cursor;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1054
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1056
struct kcm_cursor *c = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1063
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1102
krb5_cc_ptcursor cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1113
cursor = malloc(sizeof(*cursor));
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1114
if (cursor == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1124
cursor->ops = &krb5_kcm_ops;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1125
cursor->data = data;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1126
*cursor_out = cursor;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1134
free(cursor);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1211
kcm_ptcursor_next(krb5_context context, krb5_cc_ptcursor cursor,
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1216
struct kcm_ptcursor *data = cursor->data;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1266
kcm_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1268
struct kcm_ptcursor *data = (*cursor)->data;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1274
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
1275
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
964
struct kcm_cursor *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
991
cursor = k5alloc(sizeof(*cursor), &ret);
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
992
if (cursor == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
994
cursor->uuids = uuids;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
996
cursor->creds = creds;
crypto/krb5/src/lib/krb5/ccache/cc_kcm.c
998
*cursor_out = (krb5_cc_cursor)cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1015
*cursor = krcursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1021
krcc_next_cred(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1032
krcursor = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1073
krcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1075
krcc_cursor krcursor = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1081
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1256
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1262
ret = krcc_start_seq_get(context, cache, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1267
ret = krcc_next_cred(context, cache, &cursor, &c);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1273
krcursor = cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1282
krcc_end_seq_get(context, cache, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1508
krb5_cc_ptcursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1515
cursor = k5alloc(sizeof(*cursor), &ret);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1516
if (cursor == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1521
cursor->ops = &krb5_krcc_ops;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1522
cursor->data = ptd;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1532
*cursor_out = cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1557
*cursor_out = cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1561
krcc_ptcursor_free(context, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1566
krcc_ptcursor_next(krb5_context context, krb5_cc_ptcursor cursor,
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1570
struct krcc_ptcursor_data *ptd = cursor->data;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1642
krcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1644
struct krcc_ptcursor_data *ptd = (*cursor)->data;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1654
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
1655
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
245
krcc_start_seq_get(krb5_context, krb5_ccache id, krb5_cc_cursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
248
krcc_next_cred(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
252
krcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
255
krcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
733
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
746
if (krcc_start_seq_get(context, id, &cursor) != 0)
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
749
if (krcc_next_cred(context, id, &cursor, &creds) != 0)
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
755
(void)krcc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
980
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
373
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
386
*cursor = mcursor;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
39
(krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
412
krb5_cc_cursor *cursor, krb5_creds *creds)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
419
mcursor = *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
467
krb5_mcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
469
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
470
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
56
krb5_cc_cursor *cursor ,
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
70
(krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
710
krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
715
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
728
*cursor = n;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
735
krb5_cc_ptcursor cursor,
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
742
cdata = cursor->data;
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
757
krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
759
if (*cursor == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
761
if ((*cursor)->data != NULL)
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
762
free((*cursor)->data);
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
763
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_memory.c
764
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1442
(krb5_context, krb5_ccache id, krb5_cc_cursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1457
(krb5_context, krb5_ccache id, krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1468
(krb5_context, krb5_ccache id, krb5_cc_cursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1604
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1608
code = krb5_cc_start_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1615
while ( !(code = krb5_cc_next_cred(context, id, &cursor, &cred)) )
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1625
krb5_cc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1693
krb5_lcc_start_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1700
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1709
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1718
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1726
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1730
*cursor = (krb5_cc_cursor) lcursor;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1753
krb5_lcc_next_cred(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1755
krb5_lcc_cursor *lcursor = (krb5_lcc_cursor *) *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1770
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1771
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1798
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1799
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1848
krb5_lcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1850
krb5_lcc_cursor *lcursor = (krb5_lcc_cursor *) *cursor;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1858
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
1860
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2144
krb5_lcc_ptcursor_new(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2151
*cursor = new_cursor;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2157
krb5_lcc_ptcursor_next(krb5_context context, krb5_cc_ptcursor cursor, krb5_ccache *ccache)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2161
if (cursor->data == NULL)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2164
cursor->data = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2176
krb5_lcc_ptcursor_free(krb5_context context, krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2178
if (*cursor) {
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2179
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
2180
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_retr.c
203
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/cc_retr.c
213
kret = krb5_cc_start_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_retr.c
217
while (krb5_cc_next_cred(context, id, &cursor, &fetchcreds) == KRB5_OK) {
crypto/krb5/src/lib/krb5/ccache/cc_retr.c
234
krb5_cc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/cc_retr.c
245
krb5_cc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
491
krb5_cc_cursor *cursor )
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
507
*cursor = iterator;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
522
krb5_cc_cursor *cursor,
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
528
cc_credentials_iterator_t iterator = *cursor;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
548
*cursor = 0;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
579
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
583
cc_credentials_iterator_t iterator = *cursor;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
822
krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
853
*cursor = ptcursor;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
861
krb5_cc_ptcursor cursor,
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
873
if (!cursor || !cursor->data) {
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
890
iterator = cursor->data;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
935
krb5_cc_ptcursor *cursor)
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
937
if (*cursor != NULL) {
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
938
if ((*cursor)->data != NULL) {
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
939
cc_ccache_iterator_release((cc_ccache_iterator_t)((*cursor)->data));
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
941
free(*cursor);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.c
942
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.h
37
(krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.h
54
krb5_cc_cursor *cursor ,
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.h
68
(krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.h
83
(krb5_context context, krb5_cc_ptcursor *cursor);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.h
86
(krb5_context context, krb5_cc_ptcursor cursor, krb5_ccache *ccache);
crypto/krb5/src/lib/krb5/ccache/ccapi/stdcc.h
89
(krb5_context context, krb5_cc_ptcursor *cursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
106
ret = cursor->ops->ptcursor_free(context, &cursor->ptcursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
112
ret = krb5int_cc_typecursor_next(context, cursor->typecursor,
crypto/krb5/src/lib/krb5/ccache/cccursor.c
113
&cursor->ops);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
116
if (cursor->ops == NULL)
crypto/krb5/src/lib/krb5/ccache/cccursor.c
118
} while (cursor->ops->ptcursor_new == NULL);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
120
ret = cursor->ops->ptcursor_new(context, &cursor->ptcursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
128
krb5_cccol_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cccursor.c
130
krb5_cccol_cursor c = *cursor;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
141
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
150
krb5_cccol_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
157
ret = krb5_cccol_cursor_new(context, &cursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
161
while ((ret = krb5_cccol_cursor_next(context, cursor, &cache)) == 0 &&
crypto/krb5/src/lib/krb5/ccache/cccursor.c
172
krb5_cccol_cursor_free(context, &cursor);
crypto/krb5/src/lib/krb5/ccache/cccursor.c
46
krb5_cccol_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/cccursor.c
51
*cursor = NULL;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
79
*cursor = n;
crypto/krb5/src/lib/krb5/ccache/cccursor.c
85
krb5_cccol_cursor cursor,
crypto/krb5/src/lib/krb5/ccache/cccursor.c
94
if (cursor->ops == NULL)
crypto/krb5/src/lib/krb5/ccache/cccursor.c
98
ret = cursor->ops->ptcursor_next(context, cursor->ptcursor, &ccache);
crypto/krb5/src/lib/krb5/ccache/ccfns.c
123
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/ccfns.c
125
return cache->ops->get_first(context, cache, cursor);
crypto/krb5/src/lib/krb5/ccache/ccfns.c
130
krb5_cc_cursor *cursor, krb5_creds *creds)
crypto/krb5/src/lib/krb5/ccache/ccfns.c
132
return cache->ops->get_next(context, cache, cursor, creds);
crypto/krb5/src/lib/krb5/ccache/ccfns.c
137
krb5_cc_cursor *cursor)
crypto/krb5/src/lib/krb5/ccache/ccfns.c
139
return cache->ops->end_get(context, cache, cursor);
crypto/krb5/src/lib/krb5/ccache/ccselect_realm.c
46
krb5_cccol_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/ccselect_realm.c
58
ret = krb5_cccol_cursor_new(context, &cursor);
crypto/krb5/src/lib/krb5/ccache/ccselect_realm.c
61
while ((ret = krb5_cccol_cursor_next(context, cursor, &cache)) == 0 &&
crypto/krb5/src/lib/krb5/ccache/ccselect_realm.c
71
krb5_cccol_cursor_free(context, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
212
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
216
ret = krb5_cc_start_seq_get(context, cache, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
224
ret = krb5_cc_next_cred(context, cache, &cursor, &creds);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
231
krb5_cc_end_seq_get(context, cache, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
251
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
293
kret = krb5_cc_start_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
298
kret = krb5_cc_next_cred(context, id, &cursor, &creds);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
308
kret = krb5_cc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
415
kret = krb5_cc_start_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
424
kret = krb5_cc_next_cred(context, id, &cursor, &creds);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
434
kret = krb5_cc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
525
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
549
kret = krb5_cc_start_seq_get(context, id1, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
553
kret = krb5_cc_next_cred(context, id1, &cursor, &creds);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
555
kret = krb5_cc_end_seq_get(context, id1, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
570
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
585
kret = krb5_cc_start_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
587
kret = krb5_cc_next_cred(context, id, &cursor, &creds);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
594
kret = krb5_cc_next_cred(context, id, &cursor, &creds);
crypto/krb5/src/lib/krb5/ccache/t_cc.c
601
krb5_cc_end_seq_get(context, id, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
59
krb5_cccol_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
65
check(krb5_cccol_cursor_new(ctx, &cursor));
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
67
check(krb5_cccol_cursor_next(ctx, cursor, &cache));
crypto/krb5/src/lib/krb5/ccache/t_cccol.c
76
krb5_cccol_cursor_free(ctx, &cursor);
crypto/krb5/src/lib/krb5/ccache/t_cccursor.c
43
krb5_cccol_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_cccursor.c
64
assert(krb5_cccol_cursor_new(ctx, &cursor) == 0);
crypto/krb5/src/lib/krb5/ccache/t_cccursor.c
66
assert(krb5_cccol_cursor_next(ctx, cursor, &cache) == 0);
crypto/krb5/src/lib/krb5/ccache/t_cccursor.c
74
assert(krb5_cccol_cursor_free(ctx, &cursor) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
272
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
397
if (krb5_cc_start_seq_get(context, cache, &cursor) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
399
if (krb5_cc_next_cred(context, cache, &cursor, &cred1) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
403
if (krb5_cc_next_cred(context, cache, &cursor, &cred2) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
407
if (krb5_cc_next_cred(context, cache, &cursor, &cred2) != KRB5_CC_END)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
409
if (krb5_cc_end_seq_get(context, cache, &cursor) != 0)
crypto/krb5/src/lib/krb5/keytab/kt_file.c
479
krb5_ktfile_get_next(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/kt_file.c
481
long *fileoff = (long *)*cursor;
crypto/krb5/src/lib/krb5/keytab/kt_file.c
509
krb5_ktfile_end_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/kt_file.c
513
free(*cursor);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
146
krb5_mkt_cursor cursor, next_cursor;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
157
for (cursor = KTLINK(node->keytab); cursor; cursor = next_cursor) {
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
158
next_cursor = cursor->next;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
162
krb5_kt_free_entry(NULL, cursor->entry);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
163
free(cursor->entry);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
164
free(cursor);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
330
krb5_mkt_cursor cursor, next_cursor;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
339
for (cursor = KTLINK(node->keytab); cursor; cursor = next_cursor) {
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
340
next_cursor = cursor->next;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
342
krb5_kt_free_entry(context, cursor->entry);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
343
free(cursor->entry);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
344
free(cursor);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
376
krb5_mkt_cursor cursor;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
384
for (cursor = KTLINK(id); cursor && cursor->entry; cursor = cursor->next) {
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
385
entry = cursor->entry;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
484
krb5_mkt_get_next(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
486
krb5_mkt_cursor mkt_cursor = (krb5_mkt_cursor)*cursor;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
506
*cursor = (krb5_kt_cursor *)mkt_cursor->next;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
516
krb5_mkt_end_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
518
*cursor = NULL;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
531
krb5_mkt_cursor cursor;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
535
cursor = (krb5_mkt_cursor)malloc(sizeof(krb5_mkt_link));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
536
if (cursor == NULL) {
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
540
cursor->entry = (krb5_keytab_entry *)malloc(sizeof(krb5_keytab_entry));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
541
if (cursor->entry == NULL) {
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
542
free(cursor);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
546
cursor->entry->magic = entry->magic;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
547
cursor->entry->timestamp = entry->timestamp;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
548
cursor->entry->vno = entry->vno;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
550
&(cursor->entry->key));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
552
free(cursor->entry);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
553
free(cursor);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
557
err = krb5_copy_principal(context, entry->principal, &(cursor->entry->principal));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
559
krb5_free_keyblock_contents(context, &(cursor->entry->key));
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
560
free(cursor->entry);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
561
free(cursor);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
566
cursor->next = NULL;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
567
KTLINK(id) = cursor;
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
569
cursor->next = KTLINK(id);
crypto/krb5/src/lib/krb5/keytab/kt_memory.c
570
KTLINK(id) = cursor;
crypto/krb5/src/lib/krb5/keytab/ktfns.c
100
return krb5_x((keytab)->ops->end_get,(context, keytab, cursor));
crypto/krb5/src/lib/krb5/keytab/ktfns.c
107
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/keytab/ktfns.c
116
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
119
ret = krb5_kt_next_entry(context, keytab, &entry, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
120
krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
140
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/keytab/ktfns.c
144
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
147
while ((ret = krb5_kt_next_entry(context, keytab, &ent, &cursor)) == 0) {
crypto/krb5/src/lib/krb5/keytab/ktfns.c
153
(void)krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
197
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/keytab/ktfns.c
203
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
206
ret = krb5_kt_next_entry(context, keytab, &kte, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
207
(void)krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/keytab/ktfns.c
84
krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/ktfns.c
86
return krb5_x((keytab)->ops->start_seq_get,(context, keytab, cursor));
crypto/krb5/src/lib/krb5/keytab/ktfns.c
91
krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/ktfns.c
93
return krb5_x((keytab)->ops->get_next,(context, keytab, entry, cursor));
crypto/krb5/src/lib/krb5/keytab/ktfns.c
98
krb5_kt_cursor *cursor)
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
180
kret = krb5_kt_start_seq_get(context, kt, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
186
while((kret = krb5_kt_next_entry(context, kt, &kent, &cursor)) == 0) {
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
210
kret = krb5_kt_end_seq_get(context, kt, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
303
kret = krb5_kt_start_seq_get(context, kt, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
307
kret = krb5_kt_next_entry(context, kt, &kent, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
310
kret = krb5_kt_next_entry(context, kt, &kent, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
326
kret = krb5_kt_next_entry(context, kt, &kent, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
332
kret = krb5_kt_end_seq_get(context, kt, &cursor);
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
97
krb5_kt_cursor cursor, cursor2;
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
100
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
104
while (!(ret = krb5_kt_next_entry(context, keytab, &entry, &cursor))) {
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
141
krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/gic_keytab.c
88
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/krb/rd_req_dec.c
361
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/krb/rd_req_dec.c
390
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/rd_req_dec.c
395
while ((ret = krb5_kt_next_entry(context, keytab, &ent, &cursor)) == 0) {
crypto/krb5/src/lib/krb5/krb/rd_req_dec.c
434
(void)krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/srv_dec_tkt.c
101
&ktent, &cursor)) == 0) {
crypto/krb5/src/lib/krb5/krb/srv_dec_tkt.c
122
code = krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/srv_dec_tkt.c
93
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/krb/srv_dec_tkt.c
95
retval = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/t_cc_config.c
67
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/krb/t_cc_config.c
86
krb5_cc_start_seq_get(context, tmp1, &cursor));
crypto/krb5/src/lib/krb5/krb/t_cc_config.c
87
while (krb5_cc_next_cred(context, tmp1, &cursor, &creds) == 0) {
crypto/krb5/src/lib/krb5/krb/t_cc_config.c
98
krb5_cc_end_seq_get(context, tmp1, &cursor));
crypto/krb5/src/lib/krb5/krb/t_vfy_increds.c
51
krb5_cc_cursor cursor;
crypto/krb5/src/lib/krb5/krb/t_vfy_increds.c
69
check(krb5_cc_start_seq_get(context, ccache, &cursor));
crypto/krb5/src/lib/krb5/krb/t_vfy_increds.c
71
check(krb5_cc_next_cred(context, ccache, &cursor, &creds));
crypto/krb5/src/lib/krb5/krb/t_vfy_increds.c
76
check(krb5_cc_end_seq_get(context, ccache, &cursor));
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
227
krb5_kt_cursor cursor;
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
233
ret = krb5_kt_start_seq_get(context, keytab, &cursor);
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
237
while ((ret = krb5_kt_next_entry(context, keytab, &kte, &cursor)) == 0) {
crypto/krb5/src/lib/krb5/krb/vfy_increds.c
245
(void)krb5_kt_end_seq_get(context, keytab, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
649
CURSOR cursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
675
cursor.pagep = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
676
__get_item_reset(hashp, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
678
cursor.bucket = bucket;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
680
__get_item_next(hashp, &cursor, &page_key, &page_val, &item_info);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
691
if (__find_bigpair(hashp, &cursor, (int8_t *)key->data,
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
701
__get_item_done(hashp, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
727
found: __get_item_done(hashp, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
744
if (__delpair(hashp, &cursor, &item_info) ||
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
747
__get_item_done(hashp, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
752
if (__delpair(hashp, &cursor, &item_info))
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
863
cursor_delete(const DB *dbp, CURSOR *cursor, u_int32_t flags)
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
869
free(cursor->internal);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
870
free(cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
104
__get_item_done(hashp, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
66
CURSOR cursor;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
72
cursor.pagep = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
76
__get_item_reset(hashp, &cursor);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
78
cursor.bucket = bucket;
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
80
__get_item_next(hashp, &cursor, &key, &val, &item_info);
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_debug.c
88
if (__big_keydata(hashp, cursor.pagep, &key, &val,
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
140
"c", 1, 1, cursor, "cursor word", "move cursor to word",
crypto/krb5/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
97
void cursor __P((DB *, char **));
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
849
MDB_cursor *cursor = NULL;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
860
err = mdb_cursor_open(txn, dbc->princ_db, &cursor);
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
864
err = mdb_cursor_get(cursor, &key, &val, op);
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
885
mdb_cursor_close(cursor);
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
956
MDB_cursor *cursor = NULL;
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
966
err = mdb_cursor_open(txn, dbc->policy_db, &cursor);
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
970
err = mdb_cursor_get(cursor, &key, &val, MDB_NEXT);
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
988
mdb_cursor_close(cursor);
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1625
(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1632
(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor,
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1640
(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1707
(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1715
krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1722
(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1773
(krb5_context, krb5_cccol_cursor cursor, krb5_ccache *)
crypto/krb5/src/windows/include/loadfuncs-krb5.h
1780
(krb5_context, krb5_cccol_cursor *cursor)
crypto/krb5/src/windows/leash/KrbListTickets.cpp
298
krb5_cccol_cursor cursor;
crypto/krb5/src/windows/leash/KrbListTickets.cpp
302
code = pkrb5_cccol_cursor_new(ctx, &cursor);
crypto/krb5/src/windows/leash/KrbListTickets.cpp
308
while (!(code = pkrb5_cccol_cursor_next(ctx, cursor, &cache)) &&
crypto/krb5/src/windows/leash/KrbListTickets.cpp
319
pkrb5_cccol_cursor_free(ctx, &cursor);
crypto/krb5/src/windows/leashdll/lshfunc.c
2565
krb5_cccol_cursor cursor;
crypto/krb5/src/windows/leashdll/lshfunc.c
2569
code = pkrb5_cccol_cursor_new(ctx, &cursor);
crypto/krb5/src/windows/leashdll/lshfunc.c
2574
!(code = pkrb5_cccol_cursor_next(ctx, cursor, &cache)) &&
crypto/krb5/src/windows/leashdll/lshfunc.c
2585
pkrb5_cccol_cursor_free(ctx, &cursor);
crypto/krb5/src/windows/ms2mit/mit2ms.c
105
krb5_cc_end_seq_get(kcontext, ccache, &cursor);
crypto/krb5/src/windows/ms2mit/mit2ms.c
50
krb5_cc_cursor cursor;
crypto/krb5/src/windows/ms2mit/mit2ms.c
89
if ((code = krb5_cc_start_seq_get(kcontext, ccache, &cursor))) {
crypto/krb5/src/windows/ms2mit/mit2ms.c
96
while (!(code = krb5_cc_next_cred(kcontext, ccache, &cursor, &creds)))
crypto/krb5/src/windows/ms2mit/ms2mit.c
128
if ((code = krb5_cc_start_seq_get(kcontext, mslsa_ccache, &cursor))) {
crypto/krb5/src/windows/ms2mit/ms2mit.c
134
code = krb5_cc_next_cred(kcontext, mslsa_ccache, &cursor, &creds);
crypto/krb5/src/windows/ms2mit/ms2mit.c
144
krb5_cc_end_seq_get(kcontext, mslsa_ccache, &cursor);
crypto/krb5/src/windows/ms2mit/ms2mit.c
57
krb5_cc_cursor cursor;
crypto/krb5/src/windows/ms2mit/ms2mit.c
67
code = krb5_cc_start_seq_get(kcontext, ccache, &cursor);
crypto/krb5/src/windows/ms2mit/ms2mit.c
72
code = krb5_cc_next_cred(kcontext, ccache, &cursor, &creds);
crypto/krb5/src/windows/ms2mit/ms2mit.c
82
krb5_cc_end_seq_get(kcontext, ccache, &cursor);
crypto/krb5/src/windows/ms2mit/ms2mit.c
94
krb5_cc_cursor cursor;
crypto/openssh/sftp.c
1962
if (lastarg || *(lf->cursor) != ' ')
crypto/openssh/sftp.c
2112
if (*(lf->cursor - 1) != '/' &&
crypto/openssh/sftp.c
2113
(lastarg || *(lf->cursor) != ' '))
crypto/openssh/sftp.c
2132
u_int cursor, len, terminated, ret = CC_ERROR;
crypto/openssh/sftp.c
2141
cursor = lf->cursor - lf->buffer;
crypto/openssh/sftp.c
2142
line = xmalloc(cursor + 1);
crypto/openssh/sftp.c
2143
memcpy(line, lf->buffer, cursor);
crypto/openssh/sftp.c
2144
line[cursor] = '\0';
crypto/openssh/sftp.c
2156
if (line[cursor] != ' ' && line[cursor] != '\0' &&
crypto/openssh/sftp.c
2157
line[cursor] != '\n') {
crypto/openssh/sftp.c
2166
} else if (carg == 1 && cursor > 0 && line[cursor - 1] != ' ') {
crypto/openssh/sftp.c
2177
if (carg > 1 && line[cursor-1] != ' ')
crypto/openssh/sftp.c
2190
if (line[cursor - 1] == ' ')
crypto/openssl/ssl/ssl_lib.c
6961
char *cursor = NULL;
crypto/openssl/ssl/ssl_lib.c
6983
if ((out = cursor = OPENSSL_malloc(out_len)) == NULL)
crypto/openssl/ssl/ssl_lib.c
6986
memcpy(cursor, prefix, prefix_len);
crypto/openssl/ssl/ssl_lib.c
6987
cursor += prefix_len;
crypto/openssl/ssl/ssl_lib.c
6988
*cursor++ = ' ';
crypto/openssl/ssl/ssl_lib.c
6991
cursor += ossl_to_lowerhex(cursor, parameter_1[i]);
crypto/openssl/ssl/ssl_lib.c
6992
*cursor++ = ' ';
crypto/openssl/ssl/ssl_lib.c
6995
cursor += ossl_to_lowerhex(cursor, parameter_2[i]);
crypto/openssl/ssl/ssl_lib.c
6996
*cursor = '\0';
lib/libc/db/test/btree.tests/main.c
58
void cursor(DB *, char **);
lib/libc/db/test/btree.tests/main.c
85
"c", 1, 1, cursor, "cursor word", "move cursor to word",
lib/libpam/modules/pam_krb5/pam_krb5.c
415
krb5_cc_cursor cursor;
lib/libpam/modules/pam_krb5/pam_krb5.c
568
krbret = krb5_cc_start_seq_get(krbctx, ccache_temp, &cursor);
lib/libpam/modules/pam_krb5/pam_krb5.c
580
while (krb5_cc_next_cred(krbctx, ccache_temp, &cursor, &creds) == 0) {
lib/libpam/modules/pam_krb5/pam_krb5.c
593
krb5_cc_end_seq_get(krbctx, ccache_temp, &cursor);
sbin/dhclient/options.c
217
unsigned char *domain_search, *cursor;
sbin/dhclient/options.c
245
cursor = domain_search;
sbin/dhclient/options.c
247
expand_search_domain_name(option, &offset, &cursor);
sbin/dhclient/options.c
248
cursor[0] = ' ';
sbin/dhclient/options.c
249
cursor++;
sbin/dhclient/options.c
334
unsigned char *cursor;
sbin/dhclient/options.c
342
cursor = *domain_search;
sbin/dhclient/options.c
351
*domain_search = cursor;
sbin/dhclient/options.c
358
expand_search_domain_name(option, &pointer, &cursor);
sbin/dhclient/options.c
361
*domain_search = cursor;
sbin/dhclient/options.c
366
memcpy(cursor, option->data + i + 1, label_len);
sbin/dhclient/options.c
367
cursor[label_len] = '.';
sbin/dhclient/options.c
371
cursor += label_len + 1;
stand/common/gfx_fb.c
960
const teken_attr_t *a, uint32_t alpha, bool cursor)
stand/common/gfx_fb.c
984
if (cursor)
stand/efi/libefi/efihttp.c
759
static char *dirbuf = NULL, *db2, *cursor;
stand/efi/libefi/efihttp.c
779
cursor = dirbuf;
stand/efi/libefi/efihttp.c
782
cursor = strstr(cursor, "<a href=\"");
stand/efi/libefi/efihttp.c
783
if (cursor == NULL)
stand/efi/libefi/efihttp.c
785
cursor += 9;
stand/efi/libefi/efihttp.c
786
end = strchr(cursor, '"');
stand/efi/libefi/efihttp.c
792
memcpy(d->d_name, cursor, end - cursor);
stand/efi/libefi/efihttp.c
793
d->d_name[end - cursor] = '\0';
sys/dev/atkbdc/psm.c
4150
int cursor, peer, window;
sys/dev/atkbdc/psm.c
4232
cursor = smoother->queue_cursor;
sys/dev/atkbdc/psm.c
4233
dx = x0 - smoother->queue[cursor].x;
sys/dev/atkbdc/psm.c
4234
dy = y0 - smoother->queue[cursor].y;
sys/dev/atkbdc/psm.c
4241
cursor = SYNAPTICS_QUEUE_CURSOR(smoother->queue_cursor - 1);
sys/dev/atkbdc/psm.c
4242
smoother->queue[cursor].x = x0;
sys/dev/atkbdc/psm.c
4243
smoother->queue[cursor].y = y0;
sys/dev/atkbdc/psm.c
4244
smoother->queue_cursor = cursor;
sys/dev/atkbdc/psm.c
4249
smoother_id, cursor, x0, y0, dx, dy));
sys/dev/atkbdc/psm.c
4287
peer = SYNAPTICS_QUEUE_CURSOR(cursor + window - 1);
sys/dev/cxgbe/cudbg/cudbg_lib.c
3100
entry_idx = log->cursor + k;
sys/dev/sfxge/common/ef10_image.c
100
uint32_t nbytes = cursor->buffer[1] & 0x7F;
sys/dev/sfxge/common/ef10_image.c
108
if (2 + nbytes > cursor->length) {
sys/dev/sfxge/common/ef10_image.c
118
cursor->hdr_size = 2 + nbytes;
sys/dev/sfxge/common/ef10_image.c
119
cursor->val_size = 0;
sys/dev/sfxge/common/ef10_image.c
120
for (offset = 2; offset < cursor->hdr_size; offset++) {
sys/dev/sfxge/common/ef10_image.c
121
cursor->val_size =
sys/dev/sfxge/common/ef10_image.c
122
(cursor->val_size << 8) | cursor->buffer[offset];
sys/dev/sfxge/common/ef10_image.c
126
if ((cursor->hdr_size + cursor->val_size) > cursor->length) {
sys/dev/sfxge/common/ef10_image.c
155
__inout efx_asn1_cursor_t *cursor,
sys/dev/sfxge/common/ef10_image.c
160
if (cursor == NULL) {
sys/dev/sfxge/common/ef10_image.c
170
rc = efx_asn1_parse_header_match_tag(cursor, tag);
sys/dev/sfxge/common/ef10_image.c
177
cursor->buffer += cursor->hdr_size;
sys/dev/sfxge/common/ef10_image.c
178
cursor->length = cursor->val_size;
sys/dev/sfxge/common/ef10_image.c
198
__inout efx_asn1_cursor_t *cursor,
sys/dev/sfxge/common/ef10_image.c
205
if (cursor == NULL) {
sys/dev/sfxge/common/ef10_image.c
209
rc = efx_asn1_parse_header_match_tag(cursor, tag);
sys/dev/sfxge/common/ef10_image.c
214
if (cursor->val_size != val_size) {
sys/dev/sfxge/common/ef10_image.c
219
if (memcmp(cursor->buffer + cursor->hdr_size, valp, val_size) != 0) {
sys/dev/sfxge/common/ef10_image.c
224
cursor->buffer += cursor->hdr_size + cursor->val_size;
sys/dev/sfxge/common/ef10_image.c
225
cursor->length -= cursor->hdr_size + cursor->val_size;
sys/dev/sfxge/common/ef10_image.c
244
__inout efx_asn1_cursor_t *cursor,
sys/dev/sfxge/common/ef10_image.c
249
if (cursor == NULL) {
sys/dev/sfxge/common/ef10_image.c
254
rc = efx_asn1_parse_header_match_tag(cursor, tag);
sys/dev/sfxge/common/ef10_image.c
259
cursor->buffer += cursor->hdr_size + cursor->val_size;
sys/dev/sfxge/common/ef10_image.c
260
cursor->length -= cursor->hdr_size + cursor->val_size;
sys/dev/sfxge/common/ef10_image.c
275
__inout efx_asn1_cursor_t *cursor,
sys/dev/sfxge/common/ef10_image.c
282
if (cursor == NULL || valp == NULL || val_sizep == NULL) {
sys/dev/sfxge/common/ef10_image.c
287
rc = efx_asn1_parse_header_match_tag(cursor, tag);
sys/dev/sfxge/common/ef10_image.c
292
*valp = cursor->buffer + cursor->hdr_size;
sys/dev/sfxge/common/ef10_image.c
293
*val_sizep = cursor->val_size;
sys/dev/sfxge/common/ef10_image.c
334
efx_asn1_cursor_t cursor;
sys/dev/sfxge/common/ef10_image.c
343
cursor.buffer = (uint8_t *)bufferp;
sys/dev/sfxge/common/ef10_image.c
344
cursor.length = buffer_size;
sys/dev/sfxge/common/ef10_image.c
347
rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_SEQUENCE);
sys/dev/sfxge/common/ef10_image.c
352
rc = efx_asn1_match_tag_value(&cursor, ASN1_TAG_OBJ_ID,
sys/dev/sfxge/common/ef10_image.c
358
rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_CONS_CONTEXT(0));
sys/dev/sfxge/common/ef10_image.c
363
rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_SEQUENCE);
sys/dev/sfxge/common/ef10_image.c
368
rc = efx_asn1_match_tag_value(&cursor, ASN1_TAG_INTEGER,
sys/dev/sfxge/common/ef10_image.c
374
rc = efx_asn1_skip_tag(&cursor, ASN1_TAG_SET);
sys/dev/sfxge/common/ef10_image.c
379
rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_SEQUENCE);
sys/dev/sfxge/common/ef10_image.c
384
rc = efx_asn1_match_tag_value(&cursor, ASN1_TAG_OBJ_ID,
sys/dev/sfxge/common/ef10_image.c
390
rc = efx_asn1_enter_tag(&cursor, ASN1_TAG_CONS_CONTEXT(0));
sys/dev/sfxge/common/ef10_image.c
400
rc = efx_asn1_get_tag_value(&cursor, ASN1_TAG_OCTET_STRING,
sys/dev/sfxge/common/ef10_image.c
71
__inout efx_asn1_cursor_t *cursor,
sys/dev/sfxge/common/ef10_image.c
76
if (cursor == NULL || cursor->buffer == NULL || cursor->length < 2) {
sys/dev/sfxge/common/ef10_image.c
81
cursor->tag = cursor->buffer[0];
sys/dev/sfxge/common/ef10_image.c
82
if (cursor->tag != tag) {
sys/dev/sfxge/common/ef10_image.c
88
if ((cursor->tag & 0x1F) == 0x1F) {
sys/dev/sfxge/common/ef10_image.c
94
if ((cursor->buffer[1] & 0x80) == 0) {
sys/dev/sfxge/common/ef10_image.c
96
cursor->hdr_size = 2;
sys/dev/sfxge/common/ef10_image.c
97
cursor->val_size = cursor->buffer[1];
sys/dev/sfxge/common/ef10_nvram.c
1010
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1013
if ((rc = tlv_init_cursor_at_offset(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
1018
tag = tlv_tag(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1028
*lengthp = byte_offset(tlv_next_item_ptr(&cursor),
sys/dev/sfxge/common/ef10_nvram.c
1029
cursor.current);
sys/dev/sfxge/common/ef10_nvram.c
1030
*value_offsetp = byte_offset((uint32_t *)tlv_value(&cursor),
sys/dev/sfxge/common/ef10_nvram.c
1031
cursor.current);
sys/dev/sfxge/common/ef10_nvram.c
104
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
1055
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
106
if (tlv_tag(cursor) == TLV_TAG_END)
sys/dev/sfxge/common/ef10_nvram.c
1063
if ((rc = tlv_init_cursor_at_offset(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
1068
value_length = tlv_length(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1073
memcpy(valuep, tlv_value(&cursor), value_length);
sys/dev/sfxge/common/ef10_nvram.c
1075
*tagp = tlv_tag(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
109
return ((uint8_t *)(&cursor->current[2]));
sys/dev/sfxge/common/ef10_nvram.c
1102
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1104
if ((rc = tlv_init_cursor_at_offset(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
1109
rc = tlv_insert(&cursor, tag, (uint8_t *)valuep, length);
sys/dev/sfxge/common/ef10_nvram.c
1114
*lengthp = byte_offset(tlv_next_item_ptr(&cursor),
sys/dev/sfxge/common/ef10_nvram.c
1115
cursor.current);
sys/dev/sfxge/common/ef10_nvram.c
1139
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
114
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
1141
if ((rc = tlv_init_cursor_at_offset(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
1146
rc = tlv_modify(&cursor, tag, (uint8_t *)valuep, length);
sys/dev/sfxge/common/ef10_nvram.c
1152
*lengthp = byte_offset(tlv_next_item_ptr(&cursor),
sys/dev/sfxge/common/ef10_nvram.c
1153
cursor.current);
sys/dev/sfxge/common/ef10_nvram.c
116
if (tlv_tag(cursor) == TLV_TAG_END)
sys/dev/sfxge/common/ef10_nvram.c
1175
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1179
if ((rc = tlv_init_cursor_at_offset(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
1184
if ((rc = tlv_delete(&cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
119
return ((uint8_t *)cursor->current);
sys/dev/sfxge/common/ef10_nvram.c
1204
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1206
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
1212
if ((rc = tlv_require_end(&cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
1215
if ((rc = tlv_update_partition_len_and_cks(&cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
1244
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1267
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)seg_data,
sys/dev/sfxge/common/ef10_nvram.c
1272
if (tlv_tag(&cursor) != TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
1276
header = (struct tlv_partition_header *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1296
if ((rc = tlv_find(&cursor, TLV_TAG_PARTITION_TRAILER)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
1300
trailer = (struct tlv_partition_trailer *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1302
if ((rc = tlv_advance(&cursor)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
1306
if (tlv_tag(&cursor) != TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
131
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
135
length = tlv_length(cursor);
sys/dev/sfxge/common/ef10_nvram.c
137
return (cursor->current + TLV_DWORD_COUNT(length));
sys/dev/sfxge/common/ef10_nvram.c
1374
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1388
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)seg_data,
sys/dev/sfxge/common/ef10_nvram.c
1393
if ((rc = tlv_find(&cursor, tag)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
1397
value = (caddr_t)tlv_value(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1398
length = tlv_length(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
142
__inout tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
146
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
149
if (cursor->current == cursor->end) {
sys/dev/sfxge/common/ef10_nvram.c
151
cursor->current = NULL;
sys/dev/sfxge/common/ef10_nvram.c
1518
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1526
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)seg_data,
sys/dev/sfxge/common/ef10_nvram.c
1531
if (tlv_tag(&cursor) != TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
1535
header = (struct tlv_partition_header *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1545
if ((rc = tlv_find(&cursor, TLV_TAG_PARTITION_TRAILER)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
1550
if ((rc = tlv_advance(&cursor)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
1554
if (tlv_tag(&cursor) != TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
1558
end_tag_position = cursor.current;
sys/dev/sfxge/common/ef10_nvram.c
157
cursor->current = tlv_next_item_ptr(cursor);
sys/dev/sfxge/common/ef10_nvram.c
1574
segment_length = tlv_block_length_used(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1587
rc = tlv_rewind(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1588
rc = tlv_advance(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
159
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
1591
if (tlv_tag(&cursor) == TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
1593
if (cursor.current != end_tag_position)
sys/dev/sfxge/common/ef10_nvram.c
1598
if (tlv_tag(&cursor) == TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
1603
rc = tlv_advance(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1651
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
1660
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)seg_data,
sys/dev/sfxge/common/ef10_nvram.c
1665
if (tlv_tag(&cursor) != TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
1669
header = (struct tlv_partition_header *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1672
if ((rc = tlv_find(&cursor, tag)) == 0) {
sys/dev/sfxge/common/ef10_nvram.c
1674
if ((rc = tlv_modify(&cursor, tag,
sys/dev/sfxge/common/ef10_nvram.c
1679
rc = tlv_find(&cursor, TLV_TAG_PARTITION_TRAILER);
sys/dev/sfxge/common/ef10_nvram.c
1684
if ((rc = tlv_insert(&cursor, tag,
sys/dev/sfxge/common/ef10_nvram.c
1692
if ((rc = tlv_find(&cursor, TLV_TAG_PARTITION_TRAILER)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
1696
trailer = (struct tlv_partition_trailer *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
1699
*total_lengthp = tlv_block_length_used(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
176
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
180
cursor->current = cursor->block;
sys/dev/sfxge/common/ef10_nvram.c
182
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
195
__inout tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
200
rc = tlv_rewind(cursor);
sys/dev/sfxge/common/ef10_nvram.c
202
if (tlv_tag(cursor) == tag)
sys/dev/sfxge/common/ef10_nvram.c
205
rc = tlv_advance(cursor);
sys/dev/sfxge/common/ef10_nvram.c
212
__inout tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
217
if (cursor->current < cursor->block) {
sys/dev/sfxge/common/ef10_nvram.c
221
if (cursor->current > cursor->limit) {
sys/dev/sfxge/common/ef10_nvram.c
226
if (tlv_tag(cursor) != TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
228
if (cursor->current > (cursor->limit - 1)) {
sys/dev/sfxge/common/ef10_nvram.c
229
cursor->current = NULL;
sys/dev/sfxge/common/ef10_nvram.c
235
if (tlv_next_item_ptr(cursor) > cursor->limit) {
sys/dev/sfxge/common/ef10_nvram.c
236
cursor->current = NULL;
sys/dev/sfxge/common/ef10_nvram.c
258
__out tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
263
cursor->block = block;
sys/dev/sfxge/common/ef10_nvram.c
264
cursor->limit = limit;
sys/dev/sfxge/common/ef10_nvram.c
266
cursor->current = current;
sys/dev/sfxge/common/ef10_nvram.c
267
cursor->end = NULL;
sys/dev/sfxge/common/ef10_nvram.c
269
return (tlv_validate_state(cursor));
sys/dev/sfxge/common/ef10_nvram.c
274
__out tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
281
return (tlv_init_cursor(cursor, (uint32_t *)block,
sys/dev/sfxge/common/ef10_nvram.c
287
__out tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
297
return (tlv_init_cursor(cursor, (uint32_t *)block, limit, current));
sys/dev/sfxge/common/ef10_nvram.c
302
__inout tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
307
if (cursor->end == NULL) {
sys/dev/sfxge/common/ef10_nvram.c
308
pos = cursor->current;
sys/dev/sfxge/common/ef10_nvram.c
309
if ((rc = tlv_find(cursor, TLV_TAG_END)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
312
cursor->end = cursor->current;
sys/dev/sfxge/common/ef10_nvram.c
313
cursor->current = pos;
sys/dev/sfxge/common/ef10_nvram.c
326
__inout tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
330
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
333
if ((rc = tlv_require_end(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
337
return (cursor->end + 1 - cursor->block) * sizeof (uint32_t);
sys/dev/sfxge/common/ef10_nvram.c
349
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
352
uint32_t *last_segment_end = cursor->block;
sys/dev/sfxge/common/ef10_nvram.c
353
uint32_t *segment_start = cursor->block;
sys/dev/sfxge/common/ef10_nvram.c
362
cursor->limit, segment_start) != 0)
sys/dev/sfxge/common/ef10_nvram.c
375
__in tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
383
ptr = cursor->current;
sys/dev/sfxge/common/ef10_nvram.c
400
__inout tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
410
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
413
if ((rc = tlv_require_end(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
421
last_segment_end = tlv_last_segment_end(cursor);
sys/dev/sfxge/common/ef10_nvram.c
424
if (last_segment_end + 1 + delta > cursor->limit) {
sys/dev/sfxge/common/ef10_nvram.c
430
memmove(cursor->current + delta, cursor->current,
sys/dev/sfxge/common/ef10_nvram.c
431
(last_segment_end + 1 - cursor->current) * sizeof (uint32_t));
sys/dev/sfxge/common/ef10_nvram.c
434
cursor->end += delta;
sys/dev/sfxge/common/ef10_nvram.c
437
tlv_write(cursor, tag, data, size);
sys/dev/sfxge/common/ef10_nvram.c
455
__inout tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
461
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
464
if (tlv_tag(cursor) == TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
469
delta = TLV_DWORD_COUNT(tlv_length(cursor));
sys/dev/sfxge/common/ef10_nvram.c
471
if ((rc = tlv_require_end(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
474
last_segment_end = tlv_last_segment_end(cursor);
sys/dev/sfxge/common/ef10_nvram.c
477
memmove(cursor->current, cursor->current + delta,
sys/dev/sfxge/common/ef10_nvram.c
478
(last_segment_end + 1 - cursor->current) * sizeof (uint32_t));
sys/dev/sfxge/common/ef10_nvram.c
482
cursor->end -= delta;
sys/dev/sfxge/common/ef10_nvram.c
498
__inout tlv_cursor_t *cursor,
sys/dev/sfxge/common/ef10_nvram.c
511
if ((rc = tlv_validate_state(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
514
if (tlv_tag(cursor) == TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
518
if (tlv_tag(cursor) != tag) {
sys/dev/sfxge/common/ef10_nvram.c
523
old_ndwords = TLV_DWORD_COUNT(tlv_length(cursor));
sys/dev/sfxge/common/ef10_nvram.c
526
if ((rc = tlv_require_end(cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
529
last_segment_end = tlv_last_segment_end(cursor);
sys/dev/sfxge/common/ef10_nvram.c
534
pos = cursor->current + old_ndwords;
sys/dev/sfxge/common/ef10_nvram.c
536
if (last_segment_end + 1 + delta > cursor->limit) {
sys/dev/sfxge/common/ef10_nvram.c
546
cursor->end += delta;
sys/dev/sfxge/common/ef10_nvram.c
551
pos = cursor->current + new_ndwords;
sys/dev/sfxge/common/ef10_nvram.c
562
cursor->end -= delta;
sys/dev/sfxge/common/ef10_nvram.c
566
tlv_write(cursor, tag, data, size);
sys/dev/sfxge/common/ef10_nvram.c
587
tlv_cursor_t *cursor;
sys/dev/sfxge/common/ef10_nvram.c
593
cursor = &partition->tlv_cursor;
sys/dev/sfxge/common/ef10_nvram.c
594
len = tlv_block_length_used(cursor);
sys/dev/sfxge/common/ef10_nvram.c
609
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
622
partition.data = cursor->block;
sys/dev/sfxge/common/ef10_nvram.c
623
memcpy(&partition.tlv_cursor, cursor, sizeof (*cursor));
sys/dev/sfxge/common/ef10_nvram.c
66
__inout tlv_cursor_t *cursor);
sys/dev/sfxge/common/ef10_nvram.c
664
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
680
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)partn_data,
sys/dev/sfxge/common/ef10_nvram.c
685
if (tlv_tag(&cursor) != TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
689
header = (struct tlv_partition_header *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
705
if ((rc = tlv_find(&cursor, TLV_TAG_PARTITION_TRAILER)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
709
trailer = (struct tlv_partition_trailer *)tlv_item(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
711
if ((rc = tlv_advance(&cursor)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
715
if (tlv_tag(&cursor) != TLV_TAG_END) {
sys/dev/sfxge/common/ef10_nvram.c
77
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
784
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
797
if ((rc = tlv_init_cursor(&cursor, buf,
sys/dev/sfxge/common/ef10_nvram.c
81
dword = cursor->current[0];
sys/dev/sfxge/common/ef10_nvram.c
810
&cursor, TLV_TAG_PARTITION_HEADER,
sys/dev/sfxge/common/ef10_nvram.c
813
if ((rc = tlv_advance(&cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
820
if ((rc = tlv_insert(&cursor, TLV_TAG_PARTITION_TRAILER,
sys/dev/sfxge/common/ef10_nvram.c
824
if ((rc = tlv_update_partition_len_and_cks(&cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
868
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
872
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
877
if (tlv_tag(&cursor) != TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
882
if ((rc = tlv_advance(&cursor)) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
886
*startp = byte_offset(cursor.current, cursor.block);
sys/dev/sfxge/common/ef10_nvram.c
888
if ((rc = tlv_require_end(&cursor)) != 0)
sys/dev/sfxge/common/ef10_nvram.c
89
__in tlv_cursor_t *cursor)
sys/dev/sfxge/common/ef10_nvram.c
914
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
920
if ((rc = tlv_init_cursor_from_size(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
926
segment_used = cursor.block;
sys/dev/sfxge/common/ef10_nvram.c
93
if (tlv_tag(cursor) == TLV_TAG_END)
sys/dev/sfxge/common/ef10_nvram.c
933
while (tlv_tag(&cursor) == TLV_TAG_PARTITION_HEADER) {
sys/dev/sfxge/common/ef10_nvram.c
934
if (tlv_require_end(&cursor) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
935
if (segment_used == cursor.block) {
sys/dev/sfxge/common/ef10_nvram.c
945
segment_used = cursor.end + 1;
sys/dev/sfxge/common/ef10_nvram.c
947
cursor.current = segment_used;
sys/dev/sfxge/common/ef10_nvram.c
950
*endp = (segment_used - cursor.block) * sizeof (uint32_t);
sys/dev/sfxge/common/ef10_nvram.c
96
dword = cursor->current[1];
sys/dev/sfxge/common/ef10_nvram.c
972
tlv_cursor_t cursor;
sys/dev/sfxge/common/ef10_nvram.c
976
if (tlv_init_cursor_at_offset(&cursor, (uint8_t *)bufferp,
sys/dev/sfxge/common/ef10_nvram.c
981
while ((key = tlv_item(&cursor)) != NULL) {
sys/dev/sfxge/common/ef10_nvram.c
982
tag = tlv_tag(&cursor);
sys/dev/sfxge/common/ef10_nvram.c
985
if (tlv_advance(&cursor) != 0) {
sys/dev/sfxge/common/ef10_nvram.c
990
*startp = byte_offset(cursor.current, cursor.block);
sys/dev/sfxge/common/ef10_nvram.c
991
*lengthp = byte_offset(tlv_next_item_ptr(&cursor),
sys/dev/sfxge/common/ef10_nvram.c
992
cursor.current);
sys/dev/syscons/scterm-teken.c
531
int cursor, attr;
sys/dev/syscons/scterm-teken.c
548
cursor = tp->tp_row * scp->xsize + tp->tp_col;
sys/dev/syscons/scterm-teken.c
549
p = sc_vtb_pointer(&scp->vtb, cursor);
sys/dev/syscons/scterm-teken.c
552
mark_for_update(scp, cursor);
sys/dev/syscons/scterm-teken.c
557
mark_for_update(scp, imin(cursor + 1, scp->xsize * scp->ysize - 1));
sys/dev/syscons/scvgarndr.c
605
u_short cursor[32];
sys/dev/syscons/scvgarndr.c
627
cursor[i] = font_buf[i]<<8 | font_buf[i+32];
sys/dev/syscons/scvgarndr.c
628
cursor[i + scp->font_size] = font_buf[i+64]<<8 | font_buf[i+96];
sys/dev/syscons/scvgarndr.c
650
cursor[i + yoffset] = (cursor[i + yoffset] & ~border) |
sys/dev/syscons/scvgarndr.c
654
font_buf[i] = (cursor[i] & 0xff00) >> 8;
sys/dev/syscons/scvgarndr.c
655
font_buf[i + 32] = cursor[i] & 0xff;
sys/dev/syscons/scvgarndr.c
656
font_buf[i + 64] = (cursor[i + scp->font_size] & 0xff00) >> 8;
sys/dev/syscons/scvgarndr.c
657
font_buf[i + 96] = cursor[i + scp->font_size] & 0xff;
sys/dev/thunderbolt/router.c
118
if (hop > cursor->max_adap) {
sys/dev/thunderbolt/router.c
124
if (cursor->adapters == NULL) {
sys/dev/thunderbolt/router.c
130
cursor = cursor->adapters[hop];
sys/dev/thunderbolt/router.c
133
if (cursor == NULL)
sys/dev/thunderbolt/router.c
136
*dev = cursor;
sys/dev/thunderbolt/router.c
82
struct router_softc *cursor;
sys/dev/thunderbolt/router.c
88
cursor = tb_config_get_root(sc);
sys/dev/thunderbolt/router.c
93
while (cursor != NULL) {
sys/dev/thunderbolt/router.c
94
this_rt = TB_ROUTE(cursor);
sys/dev/vt/hw/vga/vt_vga.c
728
struct vt_mouse_cursor *cursor;
sys/dev/vt/hw/vga/vt_vga.c
732
cursor = vd->vd_mcursor;
sys/dev/vt/hw/vga/vt_vga.c
740
cursor->width - src_x,
sys/dev/vt/hw/vga/vt_vga.c
753
min(cursor->height - src_y, y + vf->vf_height - my),
sys/dev/vt/hw/vga/vt_vga.c
758
cursor->map, cursor->mask, cursor->width,
sys/dev/vt/vt.h
451
void vt_determine_colors(term_char_t c, int cursor,
sys/dev/vt/vt_core.c
1243
vt_determine_colors(term_char_t c, int cursor,
sys/dev/vt/vt_core.c
1260
if (cursor)
sys/kern/subr_blist.c
132
static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count,
sys/kern/subr_blist.c
265
daddr_t blk, cursor;
sys/kern/subr_blist.c
278
for (cursor = bl->bl_cursor;; cursor = 0) {
sys/kern/subr_blist.c
279
blk = blst_meta_alloc(bl->bl_root, cursor, count, maxcount,
sys/kern/subr_blist.c
288
if (cursor == 0)
sys/kern/subr_blist.c
771
blst_meta_alloc(blmeta_t *scan, daddr_t cursor, int *count,
sys/kern/subr_blist.c
780
return (blst_leaf_alloc(scan, cursor, count, maxcount));
sys/kern/subr_blist.c
781
blk = cursor & -(radix * BLIST_RADIX);
sys/kern/subr_blist.c
782
scan_from_start = (cursor == blk);
sys/kern/subr_blist.c
787
digit = (cursor / radix) & BLIST_MASK;
sys/kern/subr_blist.c
798
cursor -= digit * radix;
sys/kern/subr_blist.c
800
cursor = blk;
sys/kern/subr_blist.c
812
r = blst_meta_alloc(&scan[i], cursor + digit * radix,
sys/kern/subr_blist.c
820
cursor = blk;
sys/kern/subr_epoch.c
806
ck_stack_entry_t *cursor, *head, *next;
sys/kern/subr_epoch.c
836
for (cursor = head; cursor != NULL; cursor = next) {
sys/kern/subr_epoch.c
838
ck_epoch_entry_container(cursor);
sys/kern/subr_epoch.c
840
next = CK_STACK_NEXT(cursor);
sys/kern/subr_rangeset.c
283
uint64_t cursor;
sys/kern/subr_rangeset.c
291
for (cursor = 0;; cursor = src_r->re_start + 1) {
sys/kern/subr_rangeset.c
292
src_r = RANGESET_PCTRIE_LOOKUP_GE(&src_rs->rs_trie, cursor);
sys/kern/subr_rangeset.c
314
uint64_t cursor;
sys/kern/subr_rangeset.c
316
for (cursor = 0, rp = NULL;; cursor = r->re_start + 1, rp = r) {
sys/kern/subr_rangeset.c
317
r = RANGESET_PCTRIE_LOOKUP_GE(&rs->rs_trie, cursor);
sys/kern/subr_rangeset.c
344
uint64_t cursor;
sys/kern/subr_rangeset.c
353
for (cursor = 0;; cursor = r->re_start + 1) {
sys/kern/subr_rangeset.c
354
r = RANGESET_PCTRIE_LOOKUP_GE(&rs->rs_trie, cursor);
sys/kern/subr_vmem.c
1216
struct vmem_btag *bt, *cursor, *next, *prev;
sys/kern/subr_vmem.c
1233
for (cursor = &vm->vm_cursor, bt = TAILQ_NEXT(cursor, bt_seglist);
sys/kern/subr_vmem.c
1234
bt != cursor; bt = TAILQ_NEXT(bt, bt_seglist)) {
sys/kern/subr_vmem.c
1250
if ((next = TAILQ_NEXT(cursor, bt_seglist)) != NULL &&
sys/kern/subr_vmem.c
1251
(prev = TAILQ_PREV(cursor, vmem_seglist, bt_seglist)) != NULL &&
sys/kern/subr_vmem.c
1275
TAILQ_REMOVE(&vm->vm_seglist, cursor, bt_seglist);
sys/kern/subr_vmem.c
1280
TAILQ_INSERT_BEFORE(bt, cursor, bt_seglist);
sys/kern/subr_vmem.c
1282
TAILQ_INSERT_HEAD(&vm->vm_seglist, cursor, bt_seglist);
sys/net/dummymbuf.c
338
const char *cursor = rules;
sys/net/dummymbuf.c
345
while (!eof && (parsed = read_rule(&cursor, &rule, &eof))) {
sys/net/dummymbuf.c
362
const char *cursor;
sys/net/dummymbuf.c
368
cursor = V_dmb_rules;
sys/net/dummymbuf.c
369
while (!eof && (parsed = read_rule(&cursor, &rule, &eof))) {
usr.bin/dtc/input_buffer.cc
1043
cursor += 2;
usr.bin/dtc/input_buffer.cc
1053
start = cursor;
usr.bin/dtc/input_buffer.cc
1091
} while (start != cursor);
usr.bin/dtc/input_buffer.cc
1104
parse_error(msg, b, b.cursor);
usr.bin/dtc/input_buffer.cc
1152
fprintf(stderr, "Current cursor: %d\n", cursor);
usr.bin/dtc/input_buffer.cc
1153
fwrite(&buffer[cursor], size-cursor, 1, stderr);
usr.bin/dtc/input_buffer.cc
151
while ((cursor < size) && (buffer[cursor] != c))
usr.bin/dtc/input_buffer.cc
153
cursor++;
usr.bin/dtc/input_buffer.cc
187
if ((c == '#') && ((cursor == 0) || last_nl))
usr.bin/dtc/input_buffer.cc
321
if (len > size - cursor)
usr.bin/dtc/input_buffer.cc
334
cursor += len;
usr.bin/dtc/input_buffer.cc
344
cursor++;
usr.bin/dtc/input_buffer.cc
350
else if(cursor >= size)
usr.bin/dtc/input_buffer.cc
356
cursor++;
usr.bin/dtc/input_buffer.cc
392
outInt = strtoull(&buffer[cursor], &end, 0);
usr.bin/dtc/input_buffer.cc
393
if (end == &buffer[cursor] ||
usr.bin/dtc/input_buffer.cc
399
cursor = end - buffer;
usr.bin/dtc/input_buffer.cc
841
cursor++;
usr.bin/dtc/input_buffer.hh
110
bool finished() { return cursor >= size; }
usr.bin/dtc/input_buffer.hh
142
if (cursor >= size) { return '\0'; }
usr.bin/dtc/input_buffer.hh
143
if (cursor < 0) { return '\0'; }
usr.bin/dtc/input_buffer.hh
144
return buffer[cursor];
usr.bin/dtc/input_buffer.hh
155
if (cursor + offset >= size) { return '\0'; }
usr.bin/dtc/input_buffer.hh
156
if (cursor + offset < 0) { return '\0'; }
usr.bin/dtc/input_buffer.hh
157
return buffer[cursor + offset];
usr.bin/dtc/input_buffer.hh
164
cursor++;
usr.bin/dtc/input_buffer.hh
235
if (cursor % type_size != 0)
usr.bin/dtc/input_buffer.hh
237
align = type_size - (cursor % type_size);
usr.bin/dtc/input_buffer.hh
239
if (size < cursor + align + type_size)
usr.bin/dtc/input_buffer.hh
243
cursor += align;
usr.bin/dtc/input_buffer.hh
244
assert(cursor % type_size == 0);
usr.bin/dtc/input_buffer.hh
248
if (size < cursor)
usr.bin/dtc/input_buffer.hh
253
out |= (((T)buffer[cursor++]) & 0xff);
usr.bin/dtc/input_buffer.hh
272
if (size < cursor + 1)
usr.bin/dtc/input_buffer.hh
276
out = buffer[cursor++];
usr.bin/dtc/input_buffer.hh
290
int cursor = 0;
usr.bin/dtc/input_buffer.hh
383
cursor++;
usr.bin/dtc/input_buffer.hh
524
int cursor;
usr.bin/dtc/input_buffer.hh
528
cursor(b ? b->cursor : 0) {}
usr.bin/dtc/input_buffer.hh
537
buffer.parse_error(msg, *b, cursor);
usr.bin/dtc/input_buffer.hh
79
int cursor;
usr.bin/posixmqcontrol/posixmqcontrol.c
109
char *cursor = NULL;
usr.bin/posixmqcontrol/posixmqcontrol.c
110
long value = strtol(text, &cursor, 10);
usr.bin/posixmqcontrol/posixmqcontrol.c
112
if (cursor > text && *cursor == 0) {
usr.bin/posixmqcontrol/posixmqcontrol.c
123
char *cursor = NULL;
usr.bin/posixmqcontrol/posixmqcontrol.c
124
unsigned value = strtoul(text, &cursor, 8);
usr.bin/posixmqcontrol/posixmqcontrol.c
126
if (cursor > text && *cursor == 0) {
usr.bin/posixmqcontrol/posixmqcontrol.c
170
char *cursor = NULL;
usr.bin/posixmqcontrol/posixmqcontrol.c
171
long value = strtol(text, &cursor, 10);
usr.bin/posixmqcontrol/posixmqcontrol.c
172
if (cursor > text) {
usr.bin/posixmqcontrol/posixmqcontrol.c
212
char *cursor = NULL;
usr.bin/posixmqcontrol/posixmqcontrol.c
213
long value = strtol(text, &cursor, 8);
usr.bin/posixmqcontrol/posixmqcontrol.c
216
if (cursor > text && *cursor == 0 && (value & accepted_mode_bits) == value) {
usr.bin/posixmqcontrol/posixmqcontrol.c
227
char *cursor = NULL;
usr.bin/posixmqcontrol/posixmqcontrol.c
228
long value = strtol(text, &cursor, 10);
usr.bin/posixmqcontrol/posixmqcontrol.c
230
if (cursor > text && *cursor == 0) {
usr.bin/posixmqcontrol/posixmqcontrol.c
369
const struct Option **cursor = options;
usr.bin/posixmqcontrol/posixmqcontrol.c
371
while (*cursor != NULL && !match) {
usr.bin/posixmqcontrol/posixmqcontrol.c
372
const struct Option *option = cursor[0];
usr.bin/posixmqcontrol/posixmqcontrol.c
388
cursor++;
usr.sbin/bhyve/pci_emul.c
2754
pci_next(const struct pci_devinst *cursor)
usr.sbin/bhyve/pci_emul.c
2761
bus = cursor ? cursor->pi_bus : 0;
usr.sbin/bhyve/pci_emul.c
2762
slot = cursor ? cursor->pi_slot : 0;
usr.sbin/bhyve/pci_emul.c
2763
func = cursor ? (cursor->pi_func + 1) : 0;
usr.sbin/bhyve/pci_emul.h
266
struct pci_devinst *pci_next(const struct pci_devinst *cursor);