Searched refs:cursor (Results 1 - 25 of 44) sorted by relevance

12

/osnet-11/usr/src/lib/efcode/engine/
H A Dinteractive.c436 find_next_word(char *cursor, char *eol) argument
438 while (cursor < eol && *cursor != ' ')
439 cursor++;
440 while (cursor < eol && *cursor == ' ')
441 cursor++;
442 return (cursor);
446 find_prev_word(char *buf, char *cursor) argument
450 if (cursor
501 char *p, *cursor, *eol, *tp, *cp; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcccursor.c27 * cursor for sequential traversal of ccaches
69 krb5_cccol_cursor *cursor)
75 *cursor = NULL;
108 *cursor = n;
114 krb5_cccol_cursor cursor,
125 switch (cursor->pos) {
129 cursor->pos = CCCURSOR_ENV;
130 ret = cccol_do_resolve(context, cursor, name, ccache);
140 cursor->pos = CCCURSOR_OS;
141 ret = cccol_do_resolve(context, cursor, nam
68 krb5_cccol_cursor_new(krb5_context context, krb5_cccol_cursor *cursor) argument
113 krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor, krb5_ccache *ccache) argument
175 krb5_cccol_cursor_free(krb5_context context, krb5_cccol_cursor *cursor) argument
290 cccol_do_resolve(krb5_context context, krb5_cccol_cursor cursor, const char *name, krb5_ccache *ccache) argument
318 cccol_pertype_next(krb5_context context, krb5_cccol_cursor cursor, krb5_ccache *ccache) argument
[all...]
H A Dcc-int.h55 krb5int_cc_typecursor_new(krb5_context context, krb5_cc_typecursor *cursor);
60 krb5_cc_typecursor cursor,
66 krb5_cc_typecursor *cursor);
H A Dcc_memory.c45 (krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
62 krb5_cc_cursor *cursor ,
76 (krb5_context, krb5_ccache id , krb5_cc_cursor *cursor );
323 krb5_cc_cursor *cursor)
335 *cursor = (krb5_cc_cursor) mcursor;
341 * cursor is a krb5_cc_cursor originally obtained from
345 * cursor, creds
354 * The cursor is updated for the next call to krb5_mcc_next_cred.
361 krb5_cc_cursor *cursor, krb5_creds *creds)
369 mcursor = (krb5_mcc_cursor) *cursor;
322 krb5_mcc_start_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument
360 krb5_mcc_next_cred(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument
396 krb5_mcc_end_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument
679 krb5_mcc_ptcursor_new( krb5_context context, krb5_cc_ptcursor *cursor) argument
716 krb5_mcc_ptcursor_next( krb5_context context, krb5_cc_ptcursor cursor, krb5_ccache *ccache) argument
751 krb5_mcc_ptcursor_free( krb5_context context, krb5_cc_ptcursor *cursor) argument
[all...]
H A Dccfns.c132 krb5_cc_cursor *cursor)
134 return cache->ops->get_first(context, cache, cursor);
139 krb5_cc_cursor *cursor, krb5_creds *creds)
141 return cache->ops->get_next(context, cache, cursor, creds);
146 krb5_cc_cursor *cursor)
148 return cache->ops->end_get(context, cache, cursor);
131 krb5_cc_start_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor) argument
138 krb5_cc_next_cred(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor, krb5_creds *creds) argument
145 krb5_cc_end_seq_get(krb5_context context, krb5_ccache cache, krb5_cc_cursor *cursor) argument
H A Dcc_retr.c214 krb5_cc_cursor cursor; local
234 kret = krb5_cc_start_seq_get(context, id, &cursor);
241 while (krb5_cc_next_cred(context, id, &cursor, &fetchcreds) == KRB5_OK) {
258 krb5_cc_end_seq_get(context, id, &cursor);
273 krb5_cc_end_seq_get(context, id, &cursor);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_memory.c147 krb5_mkt_cursor cursor, next_cursor; local
158 for (cursor = KTLINK(node->keytab); cursor; cursor = next_cursor) {
159 next_cursor = cursor->next;
163 krb5_kt_free_entry(NULL, cursor->entry);
164 free(cursor->entry);
165 free(cursor);
340 krb5_mkt_cursor cursor, next_cursor; local
349 for (cursor
386 krb5_mkt_cursor cursor; local
501 krb5_mkt_get_next(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument
535 krb5_mkt_end_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument
550 krb5_mkt_cursor cursor; local
[all...]
H A Dktfns.c82 krb5_kt_cursor *cursor)
84 return krb5_x((keytab)->ops->start_seq_get,(context, keytab, cursor));
89 krb5_keytab_entry *entry, krb5_kt_cursor *cursor)
91 return krb5_x((keytab)->ops->get_next,(context, keytab, entry, cursor));
96 krb5_kt_cursor *cursor)
98 return krb5_x((keytab)->ops->end_get,(context, keytab, cursor));
81 krb5_kt_start_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor) argument
88 krb5_kt_next_entry(krb5_context context, krb5_keytab keytab, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument
95 krb5_kt_end_seq_get(krb5_context context, krb5_keytab keytab, krb5_kt_cursor *cursor) argument
H A Dkt_solaris.c278 krb5_kt_cursor cursor; local
299 if ((code = krb5_kt_start_seq_get(ctx, kt, &cursor)) != 0)
302 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) {
312 code = krb5_kt_end_seq_get(ctx, kt, &cursor);
324 code = krb5_kt_start_seq_get(ctx, kt, &cursor);
339 code = krb5_kt_end_seq_get(ctx, kt, &cursor);
423 krb5_kt_cursor cursor; local
447 if ((code = krb5_kt_start_seq_get(ctx, kt, &cursor)) != 0)
450 while ((code = krb5_kt_next_entry(ctx, kt, &entry, &cursor)) == 0) {
484 if ((code = krb5_kt_end_seq_get(ctx, kt, &cursor)))
[all...]
H A Dkt_srvtab.c281 krb5_ktsrvtab_get_next(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument
283 long *fileoff = (long *)*cursor;
301 krb5_ktsrvtab_end_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument
303 free(*cursor);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dcopy_ccache.c11 krb5_cc_cursor cursor; local
45 code = krb5_cc_start_seq_get(context, k5creds->ccache, &cursor);
53 while (!code && !krb5_cc_next_cred(context, k5creds->ccache, &cursor,
58 krb5_cc_end_seq_get(context, k5creds->ccache, &cursor);
/osnet-11/usr/src/lib/libsqlite/tool/
H A Dspace_used.tcl57 set cursor [btree_cursor $DB $rootpage 0]
58 set go [btree_first $cursor]
64 set payload [btree_payload_size $cursor]
66 set stat [btree_cursor_dump $cursor]
75 set go [btree_next $cursor]
77 btree_close_cursor $cursor
/osnet-11/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb2.c170 ** SMDB_CURSOR_GET_FLAGS_TO_DB2 -- Translates smdb cursor get flags to db2
354 smdb2_cursor_close(cursor)
355 SMDB_CURSOR *cursor;
358 DBC *dbc = (DBC *) cursor->smdbc_impl;
361 free(cursor);
366 smdb2_cursor_del(cursor, flags)
367 SMDB_CURSOR *cursor;
370 DBC *dbc = (DBC *) cursor->smdbc_impl;
376 smdb2_cursor_get(cursor, key, value, flags)
377 SMDB_CURSOR *cursor;
[all...]
H A Dsmdb1.c308 smdb1_cursor_close(cursor)
309 SMDB_CURSOR *cursor;
311 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
318 free(cursor);
324 smdb1_cursor_del(cursor, flags)
325 SMDB_CURSOR *cursor;
328 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl;
336 smdb1_cursor_get(cursor, key, value, flags)
337 SMDB_CURSOR *cursor;
344 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor
[all...]
H A Dsmndbm.c281 smdbm_cursor_close(cursor)
282 SMDB_CURSOR *cursor;
284 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
292 free(cursor);
298 smdbm_cursor_del(cursor, flags)
299 SMDB_CURSOR *cursor;
303 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl;
325 smdbm_cursor_get(cursor, key, value, flags)
326 SMDB_CURSOR *cursor;
331 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dsrv_dec_tkt.c96 krb5_kt_cursor cursor; local
98 retval = krb5_kt_start_seq_get(context, keytab, &cursor);
103 &ktent, &cursor)) == 0) {
122 code = krb5_kt_end_seq_get(context, keytab, &cursor);
H A Dvfy_increds.c265 krb5_kt_cursor cursor; local
271 ret = krb5_kt_start_seq_get(context, keytab, &cursor);
275 while ((ret = krb5_kt_next_entry(context, keytab, &kte, &cursor)) == 0) {
283 (void)krb5_kt_end_seq_get(context, keytab, &cursor);
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregcomp.c67 #define eat(p) do{if ((p)->token.push)(p)->token.push=0;else (p)->cursor+=(p)->token.len;}while (0)
119 unsigned char* cursor; /* curent point in re */ member in struct:Cenv_s
658 sp = (char*)env->cursor + env->token.len;
741 env->token.len = sp - (char*)env->cursor;
810 if (env->type == KRE && *(env->cursor + env->token.len) == '-' && *(env->cursor + env->token.len + 1) == '(')
815 if (env->type == KRE && *(env->cursor + env->token.len) == '(')
878 sp = (char*)env->cursor + env->token.len;
902 env->cursor = (unsigned char*)sp;
927 if ((env->token.len = MBSIZE(env->cursor)) >
[all...]
/osnet-11/usr/src/cmd/sendmail/include/libsmdb/
H A Dsmdb.h165 ** DB_CURSOR -- Obtain a cursor for sequential access
169 ** cursor -- The address of a cursor pointer.
178 SMDB_CURSOR **cursor, unsigned int flags));
196 ** DB_CURSOR_CLOSE -- Close a cursor
199 ** cursor -- The cursor to close.
206 typedef int (*db_cursor_close_func) __P((SMDB_CURSOR *cursor));
209 ** DB_CURSOR_DEL -- Delete the key/value pair of this cursor
212 ** cursor
[all...]
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dpraliases.c242 SMDB_CURSOR *cursor = NULL; local
320 result = database->smdb_cursor(database, &cursor, 0);
324 "praliases: %s: set cursor: %s\n", db_name,
329 while ((result = cursor->smdbc_get(cursor, &db_key, &db_value,
355 "praliases: %s: get value at cursor: %s\n",
391 if (cursor != NULL)
392 (void) cursor->smdbc_close(cursor);
H A Dmakemap.c101 SMDB_CURSOR *cursor; local
360 errno = database->smdb_cursor(database, &cursor, 0);
365 "%s: cannot make cursor for type %s map %s\n",
375 errno = cursor->smdbc_get(cursor, &db_key, &db_val,
389 (void) cursor->smdbc_close(cursor);
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Ddb_am.h46 if ((ret = file_dbp->cursor(file_dbp, NULL, &dbc, 0)) != 0) \
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c218 /* initialize the cursor queue */
532 /* XXX This should really iterate over the cursor queue, but
533 it's not clear how to do that, and the only cursor a hash
710 CURSOR cursor; local
736 cursor.pagep = NULL;
737 __get_item_reset(hashp, &cursor);
739 cursor.bucket = bucket;
741 __get_item_next(hashp, &cursor, &page_key, &page_val, &item_info);
752 if (__find_bigpair(hashp, &cursor, (int8_t *)key->data,
762 __get_item_done(hashp, &cursor);
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_seq.c123 * the page the cursor references if they're successful.
172 * Pins the page the cursor references.
190 * cursor at it. The cursor may not be moved until a new key has
278 * There are a couple of states that we can be in. The cursor has
284 * The cursor was deleted and there weren't any duplicate records,
285 * so the cursor's key was saved. Find out where that key would
291 * the cursor record and then replaces it, so the cursor was saved,
294 * match, we could as easily put the new record before the cursor,
523 CURSOR cursor; member in struct:rcursor_
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_am.c51 dbp->cursor = __db_cursor;
65 * Allocate and return a cursor.
174 * Close the cursor (recycle for later use).
195 /* Remove the cursor from the active queue. */
200 /* Call the access specific cursor close routine. */
210 /* Clean up the cursor. */
231 /* Move the cursor to the free queue. */
242 * Display the current cursor list.
275 * Destroy the cursor.
288 /* Remove the cursor fro
[all...]

Completed in 94 milliseconds

12