/freebsd-9.3-release/lib/libedit/ |
H A D | emacs.c | 48 * Delete character under cursor or list completions if at end of line 56 if (el->el_line.cursor == el->el_line.lastchar) { 58 if (el->el_line.cursor == el->el_line.buffer) { 75 if (el->el_line.cursor > el->el_line.lastchar) 76 el->el_line.cursor = el->el_line.lastchar; 84 * Cut from cursor to end of current word 93 if (el->el_line.cursor == el->el_line.lastchar) 96 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar, 99 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 104 c_delafter(el, cp - el->el_line.cursor); /* delet [all...] |
H A D | common.c | 83 || el->el_line.cursor >= el->el_line.lastchar) 86 *el->el_line.cursor++ = c; 92 while (count-- && el->el_line.cursor < el->el_line.lastchar) 93 *el->el_line.cursor++ = c; 105 * Delete from beginning of current word to cursor 114 if (el->el_line.cursor == el->el_line.buffer) 117 cp = c__prev_word(el->el_line.cursor, el->el_line.buffer, 120 for (p = cp, kp = el->el_chared.c_kill.buf; p < el->el_line.cursor; p++) 124 c_delbefore(el, el->el_line.cursor - cp); /* delete before dot */ 125 el->el_line.cursor [all...] |
H A D | vi.c | 71 el->el_line.cursor = el->el_line.buffer; 78 el->el_chared.c_vcmd.pos = el->el_line.cursor; 84 * Paste previous deletion before or after the cursor 100 if (!c && el->el_line.cursor < el->el_line.lastchar) 101 el->el_line.cursor++; 104 if (el->el_line.cursor + len > el->el_line.lastchar) 106 (void) memcpy(el->el_line.cursor, k->buf, len); 113 * Vi paste previous deletion to the right of the cursor 126 * Vi paste previous deletion to the left of the cursor 147 if (el->el_line.cursor [all...] |
H A D | history.c | 126 hentry_t *cursor; /* Current element in the list */ member in struct:history_t 212 h->cursor = h->list.next; 213 if (h->cursor != &h->list) 214 *ev = h->cursor->ev; 232 h->cursor = h->list.prev; 233 if (h->cursor != &h->list) 234 *ev = h->cursor->ev; 252 if (h->cursor == &h->list) { 257 if (h->cursor->next == &h->list) { 262 h->cursor [all...] |
H A D | chared.c | 67 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); 104 if (el->el_line.cursor < el->el_line.lastchar) { 106 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--) 114 * Delete num characters after the cursor 120 if (el->el_line.cursor + num > el->el_line.lastchar) 121 num = (int)(el->el_line.lastchar - el->el_line.cursor); 125 cv_yank(el, el->el_line.cursor, num); 131 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++) 140 * Delete the character after the cursor, d [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/hx509/ |
H A D | ks_null.c | 56 hx509_certs certs, void *data, void **cursor) 58 *cursor = NULL; 74 void *cursor) 76 assert(cursor == NULL); 55 null_iter_start(hx509_context context, hx509_certs certs, void *data, void **cursor) argument 71 null_iter_end(hx509_context context, hx509_certs certs, void *data, void *cursor) argument
|
H A D | keyset.c | 242 * @param cursor cursor that will keep track of progress, free with 255 hx509_cursor *cursor) 266 ret = (*certs->ops->iter_start)(context, certs, certs->ops_data, cursor); 275 * cursor. 279 * @param cursor cursor that keeps track of progress. 291 hx509_cursor cursor, 295 return (*certs->ops->iter)(context, certs, certs->ops_data, cursor, cert); 303 * @param cursor curso 253 hx509_certs_start_seq(hx509_context context, hx509_certs certs, hx509_cursor *cursor) argument 289 hx509_certs_next_cert(hx509_context context, hx509_certs certs, hx509_cursor cursor, hx509_cert *cert) argument 311 hx509_certs_end_seq(hx509_context context, hx509_certs certs, hx509_cursor cursor) argument 341 hx509_cursor cursor; local 452 hx509_cursor cursor; local 566 hx509_cursor cursor; local [all...] |
H A D | ks_mem.c | 112 void **cursor) 120 *cursor = iter; 129 void *cursor, 132 unsigned long *iter = cursor; 149 void *cursor) 151 free(cursor); 109 mem_iter_start(hx509_context context, hx509_certs certs, void *data, void **cursor) argument 126 mem_iter(hx509_context contexst, hx509_certs certs, void *data, void *cursor, hx509_cert *cert) argument 146 mem_iter_end(hx509_context context, hx509_certs certs, void *data, void *cursor) argument
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | cache.c | 601 krb5_cc_cursor cursor; local 608 ret = krb5_cc_start_seq_get(context, id, &cursor); 611 while((ret = krb5_cc_next_cred(context, id, &cursor, creds)) == 0){ 618 krb5_cc_end_seq_get(context, id, &cursor); 640 * Start iterating over `id', `cursor' is initialized to the 652 krb5_cc_cursor *cursor) 654 return (*id->ops->get_first)(context, id, cursor); 658 * Retrieve the next cred pointed to by (`id', `cursor') in `creds' 659 * and advance `cursor'. 670 krb5_cc_cursor *cursor, 650 krb5_cc_start_seq_get(krb5_context context, const krb5_ccache id, krb5_cc_cursor *cursor) argument 668 krb5_cc_next_cred(krb5_context context, const krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument 684 krb5_cc_next_cred_match(krb5_context context, const krb5_ccache id, krb5_cc_cursor * cursor, krb5_creds * creds, krb5_flags whichfields, const krb5_creds * mcreds) argument 710 krb5_cc_end_seq_get(krb5_context context, const krb5_ccache id, krb5_cc_cursor *cursor) argument 770 krb5_cc_cursor cursor; local 888 krb5_cc_cursor cursor; member in struct:krb5_cc_cache_cursor_data 902 krb5_cc_cache_get_first(krb5_context context, const char *type, krb5_cc_cache_cursor *cursor) argument 952 krb5_cc_cache_next(krb5_context context, krb5_cc_cache_cursor cursor, krb5_ccache *id) argument 969 krb5_cc_cache_end_seq_get(krb5_context context, krb5_cc_cache_cursor cursor) argument 997 krb5_cc_cache_cursor cursor; local [all...] |
H A D | keytab_any.c | 123 krb5_kt_cursor cursor; member in struct:any_cursor_extra_data 142 ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor); 155 krb5_kt_cursor *cursor) 160 ed = (struct any_cursor_extra_data *)cursor->data; 162 ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor); 168 ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor); 172 ret2 = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor); 186 krb5_kt_cursor *cursor) 191 ed = (struct any_cursor_extra_data *)cursor->data; 193 ret = krb5_kt_end_seq_get(context, ed->a->kt, &ed->cursor); 152 any_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 184 any_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument [all...] |
H A D | fcache.c | 601 krb5_cc_cursor *cursor); 606 krb5_cc_cursor *cursor) 611 *cursor = malloc(sizeof(struct fcc_cursor)); 612 if (*cursor == NULL) { 616 memset(*cursor, 0, sizeof(struct fcc_cursor)); 618 ret = init_fcc (context, id, &FCC_CURSOR(*cursor)->sp, 619 &FCC_CURSOR(*cursor)->fd); 621 free(*cursor); 622 *cursor = NULL; 625 ret = krb5_ret_principal (FCC_CURSOR(*cursor) 604 fcc_get_first(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 637 fcc_get_next(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument 655 fcc_end_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 719 fcc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor) argument 734 fcc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id) argument 763 fcc_end_cache_get(krb5_context context, krb5_cc_cursor cursor) argument [all...] |
H A D | keytab_file.c | 394 krb5_kt_cursor *cursor, 404 pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); 406 ret = krb5_ret_int32(cursor->sp, &len); 410 pos = krb5_storage_seek(cursor->sp, -len, SEEK_CUR); 413 ret = krb5_kt_ret_principal (context, cursor->sp, &entry->principal); 416 ret = krb5_ret_int32(cursor->sp, &tmp32); 420 ret = krb5_ret_int8(cursor->sp, &tmp8); 424 ret = krb5_kt_ret_keyblock (context, cursor->sp, &entry->keyblock); 430 curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); 432 ret = krb5_ret_int32(cursor 391 fkt_next_entry_int(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor, off_t *start, off_t *end) argument 445 fkt_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 454 fkt_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument 624 krb5_kt_cursor cursor; local [all...] |
/freebsd-9.3-release/crypto/heimdal/kcm/ |
H A D | cursor.c | 35 RCSID("$Id: cursor.c 17447 2006-05-05 10:52:01Z lha $"); 41 uint32_t *cursor) 46 *cursor = 0; 65 *cursor = (*p)->key; 80 kcm_cursor **cursor) 105 *cursor = p; 38 kcm_cursor_new(krb5_context context, pid_t pid, kcm_ccache ccache, uint32_t *cursor) argument 76 kcm_cursor_find(krb5_context context, pid_t pid, kcm_ccache ccache, uint32_t key, kcm_cursor **cursor) argument
|
H A D | glue.c | 174 krb5_cc_cursor *cursor) 180 *cursor = c->creds; 182 return (*cursor == NULL) ? KRB5_CC_END : 0; 188 krb5_cc_cursor *cursor, 197 &((struct kcm_creds *)cursor)->cred, 202 *cursor = ((struct kcm_creds *)cursor)->next; 203 if (*cursor == 0) 212 krb5_cc_cursor *cursor) 214 *cursor 172 kcmss_get_first(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 186 kcmss_get_next(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument 210 kcmss_end_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument [all...] |
/freebsd-9.3-release/contrib/libpcap/ |
H A D | sf-pcap-ng.c | 194 * Block cursor - used when processing the contents of a block. 233 read_block(FILE *fp, pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 298 * Initialize the cursor. 300 cursor->data = p->buffer + sizeof(bhdr); 301 cursor->data_remaining = bhdr.total_length - sizeof(bhdr) - 303 cursor->block_type = bhdr.block_type; 308 get_from_block_data(struct block_cursor *cursor, size_t chunk_size, argument 317 if (cursor->data_remaining < chunk_size) { 320 cursor->block_type); 327 data = cursor 334 get_opthdr_from_block_data(pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 358 get_optvalue_from_block_data(struct block_cursor *cursor, struct option_header *opthdr, char *errbuf) argument 380 process_idb_options(pcap_t *p, struct block_cursor *cursor, u_int *tsresol, u_int64_t *tsoffset, char *errbuf) argument 510 struct block_cursor cursor; local 769 struct block_cursor cursor; local [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | hashed_db.c | 42 static DBC *cursor; variable 168 if ((result = db->cursor(db, NULL, &cursor, 0)) == 0) { 169 result = cursor->c_get(cursor, key, data, DB_FIRST); 189 if (cursor != 0) { 190 result = cursor->c_get(cursor, key, data, DB_NEXT);
|
/freebsd-9.3-release/crypto/heimdal/admin/ |
H A D | rename.c | 44 krb5_kt_cursor cursor; local 66 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 74 ret = krb5_kt_next_entry(context, keytab, &entry, &cursor); 104 krb5_kt_end_seq_get(context, keytab, &cursor);
|
H A D | purge.c | 106 krb5_kt_cursor cursor; local 122 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 128 while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0) { 132 ret = krb5_kt_end_seq_get(context, keytab, &cursor); 136 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 142 while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0) { 165 ret = krb5_kt_end_seq_get(context, keytab, &cursor);
|
H A D | list.c | 45 krb5_kt_cursor cursor; local 71 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 90 while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0){ 130 ret = krb5_kt_end_seq_get(context, keytab, &cursor);
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | ndbm_wrap.c | 61 static DBC *cursor; variable 71 cursor = NULL; 115 if(cursor == NULL) 116 db->cursor(db, NULL, &cursor, 0); 117 if(cursor->c_get(cursor, &key, &value, flags) != 0) {
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | libunwind-frame.c | 69 unw_cursor_t cursor; member in struct:libunwind_frame_cache 143 /* Get a libunwind cursor to the previous frame. We do this by initializing 144 a cursor. Libunwind treats a new cursor as the top of stack and will get 149 move the libunwind cursor back one frame. We can later use this cursor to find previous 158 unw_init_remote_p (&cache->cursor, as, next_frame); 159 unw_step_p (&cache->cursor); 163 ret = unw_get_reg_p (&cache->cursor, uw_sp_regnum, &fp); 191 unw_cursor_t cursor; local [all...] |
/freebsd-9.3-release/contrib/sendmail/libsmdb/ |
H A D | smdb2.c | 170 ** 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 D | smdb1.c | 308 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 D | smndbm.c | 279 smdbm_cursor_close(cursor) 280 SMDB_CURSOR *cursor; 282 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl; 290 free(cursor); 296 smdbm_cursor_del(cursor, flags) 297 SMDB_CURSOR *cursor; 301 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl; 323 smdbm_cursor_get(cursor, key, value, flags) 324 SMDB_CURSOR *cursor; 329 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor [all...] |
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | klist.c | 74 krb5_cc_cursor cursor; local 91 ret = krb5_cc_start_seq_get (context, ccache, &cursor); 101 &cursor, 111 ret = krb5_cc_end_seq_get (context, ccache, &cursor);
|