/freebsd-current/contrib/libedit/ |
H A D | chared.c | 71 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); 108 if (el->el_line.cursor < el->el_line.lastchar) { 110 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--) 118 * Delete num characters after the cursor 124 if (el->el_line.cursor + num > el->el_line.lastchar) 125 num = (int)(el->el_line.lastchar - el->el_line.cursor); 129 cv_yank(el, el->el_line.cursor, num); 135 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++) 144 * Delete the character after the cursor, d [all...] |
H A D | history.c | 166 hentry_t *cursor; /* Current element in the list */ member in struct:history_t 252 h->cursor = h->list.next; 253 if (h->cursor != &h->list) 254 *ev = h->cursor->ev; 272 h->cursor = h->list.prev; 273 if (h->cursor != &h->list) 274 *ev = h->cursor->ev; 292 if (h->cursor == &h->list) { 297 if (h->cursor->next == &h->list) { 302 h->cursor [all...] |
H A D | search.c | 60 * Adjust cursor in vi mode to include the character under it 63 ((el)->el_line.cursor + (((el)->el_map.type == MAP_VI) && \ 195 (void) fprintf(el->el_errfile, "cursor %ld lastchar %ld\n", 211 wchar_t *ocursor = el->el_line.cursor, oldpchar = pchar, ch; 298 el->el_line.cursor += 300 cp = c__next_word(el->el_line.cursor, 303 while (el->el_line.cursor < cp && 304 *el->el_line.cursor != '\n') { 311 *el->el_line.cursor; 313 *el->el_line.cursor [all...] |
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | keytab_any.c | 121 krb5_kt_cursor cursor; member in struct:any_cursor_extra_data 140 ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor); 157 krb5_kt_cursor *cursor) 162 ed = (struct any_cursor_extra_data *)cursor->data; 164 ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor); 170 ret2 = krb5_kt_end_seq_get (context, ed->a->kt, &ed->cursor); 174 ret2 = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor); 188 krb5_kt_cursor *cursor) 193 ed = (struct any_cursor_extra_data *)cursor->data; 195 ret = krb5_kt_end_seq_get(context, ed->a->kt, &ed->cursor); 154 any_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 186 any_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument [all...] |
H A D | keytab_keyfile.c | 241 krb5_kt_cursor *cursor) 248 pos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); 258 ret = krb5_ret_int32(cursor->sp, &kvno); 266 if (cursor->data) 280 ret = krb5_storage_read(cursor->sp, entry->keyblock.keyvalue.data, 8); 291 if (cursor->data) { 292 krb5_storage_seek(cursor->sp, pos + 4 + 8, SEEK_SET); 293 cursor->data = NULL; 295 cursor->data = cursor; 238 akf_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 300 akf_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument [all...] |
H A D | keytab.c | 96 krb5_kt_cursor cursor; 108 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 111 while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0){ 117 ret = krb5_kt_end_seq_get(context, keytab, &cursor); 621 krb5_kt_cursor cursor; local 627 ret = krb5_kt_start_seq_get (context, id, &cursor); 636 while (krb5_kt_next_entry(context, id, &tmp, &cursor) == 0) { 644 krb5_kt_end_seq_get(context, id, &cursor); 654 krb5_kt_end_seq_get (context, id, &cursor); 720 * Set `cursor' t 732 krb5_kt_start_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument 761 krb5_kt_next_entry(krb5_context context, krb5_keytab id, krb5_keytab_entry *entry, krb5_kt_cursor *cursor) argument 789 krb5_kt_end_seq_get(krb5_context context, krb5_keytab id, krb5_kt_cursor *cursor) argument 872 krb5_kt_cursor cursor; local [all...] |
/freebsd-current/crypto/heimdal/admin/ |
H A D | purge.c | 106 krb5_kt_cursor cursor; local 122 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 128 while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0) { 132 krb5_kt_end_seq_get(context, keytab, &cursor); 136 ret = krb5_kt_start_seq_get(context, keytab, &cursor); 142 while(krb5_kt_next_entry(context, keytab, &entry, &cursor) == 0) { 165 ret = krb5_kt_end_seq_get(context, keytab, &cursor);
|
H A D | copy.c | 54 krb5_kt_cursor cursor; local 72 ret = krb5_kt_start_seq_get (context, src_keytab, &cursor); 82 &entry, &cursor)) == 0) { 137 krb5_kt_end_seq_get (context, src_keytab, &cursor);
|
/freebsd-current/crypto/heimdal/kcm/ |
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-current/crypto/heimdal/lib/hx509/ |
H A D | ks_mem.c | 111 void **cursor) 119 *cursor = iter; 128 void *cursor, 131 unsigned long *iter = cursor; 148 void *cursor) 150 free(cursor); 108 mem_iter_start(hx509_context context, hx509_certs certs, void *data, void **cursor) argument 125 mem_iter(hx509_context contexst, hx509_certs certs, void *data, void *cursor, hx509_cert *cert) argument 145 mem_iter_end(hx509_context context, hx509_certs certs, void *data, void *cursor) argument
|
H A D | ks_dir.c | 98 hx509_certs certs, void *data, void **cursor) 102 *cursor = NULL; 120 *cursor = d; 189 void *cursor) 191 struct dircursor *d = cursor; 97 dir_iter_start(hx509_context context, hx509_certs certs, void *data, void **cursor) argument 186 dir_iter_end(hx509_context context, hx509_certs certs, void *data, void *cursor) argument
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_iter.c | 54 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); local 75 dsl_dataset_phys(ds)->ds_next_clones_obj, cursor); 89 cursor = zap_cursor_serialize(&zc); 102 lua_pushnumber(state, cursor); 138 uint64_t cursor = 0; local 148 lua_pushnumber(state, cursor); 159 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); local 179 sizeof (snapname) - (p - snapname), p, NULL, &cursor, NULL); 189 lua_pushnumber(state, cursor); 242 uint64_t cursor local 499 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); local 593 uint64_t cursor = 0; local 610 uint64_t cursor = lua_tonumber(state, lua_upvalueindex(2)); local 686 uint64_t cursor = 0; local [all...] |
/freebsd-current/contrib/sendmail/libsmdb/ |
H A D | smdb2.c | 168 ** SMDB_CURSOR_GET_FLAGS_TO_DB2 -- Translates smdb cursor get flags to db2 352 smdb2_cursor_close(cursor) 353 SMDB_CURSOR *cursor; 356 DBC *dbc = (DBC *) cursor->smdbc_impl; 359 free(cursor); 364 smdb2_cursor_del(cursor, flags) 365 SMDB_CURSOR *cursor; 368 DBC *dbc = (DBC *) cursor->smdbc_impl; 374 smdb2_cursor_get(cursor, key, value, flags) 375 SMDB_CURSOR *cursor; [all...] |
H A D | smdb1.c | 306 smdb1_cursor_close(cursor) 307 SMDB_CURSOR *cursor; 309 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl; 316 free(cursor); 322 smdb1_cursor_del(cursor, flags) 323 SMDB_CURSOR *cursor; 326 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor->smdbc_impl; 334 smdb1_cursor_get(cursor, key, value, flags) 335 SMDB_CURSOR *cursor; 342 SMDB_DB1_CURSOR *db1_cursor = (SMDB_DB1_CURSOR *) cursor [all...] |
H A D | smndbm.c | 278 smdbm_cursor_close(cursor) 279 SMDB_CURSOR *cursor; 281 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl; 289 free(cursor); 295 smdbm_cursor_del(cursor, flags) 296 SMDB_CURSOR *cursor; 300 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor->smdbc_impl; 322 smdbm_cursor_get(cursor, key, value, flags) 323 SMDB_CURSOR *cursor; 328 SMDB_DBM_CURSOR *dbm_cursor = (SMDB_DBM_CURSOR *) cursor [all...] |
/freebsd-current/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);
|
/freebsd-current/crypto/heimdal/kuser/ |
H A D | kdestroy.c | 105 krb5_cccol_cursor cursor; local 107 ret = krb5_cccol_cursor_new (context, &cursor); 111 while (krb5_cccol_cursor_next (context, cursor, &ccache) == 0 && ccache != NULL) { 119 krb5_cccol_cursor_free(context, &cursor);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | ARMAttributeParser.cpp | 75 StringRef desc = de.getCStrRef(cursor); 99 uint64_t value = de.getULEB128(cursor); 212 uint64_t value = de.getULEB128(cursor); 231 uint64_t value = de.getULEB128(cursor); 286 uint64_t integer = de.getULEB128(cursor); 287 StringRef string = de.getCStrRef(cursor); 376 uint64_t value = de.getULEB128(cursor); 389 uint64_t InitialOffset = cursor.tell(); 390 StringRef RawStringValue = de.getCStrRef(cursor); 391 uint64_t FinalOffset = cursor [all...] |
/freebsd-current/usr.bin/posixmqcontrol/ |
H A D | posixmqcontrol.c | 109 char *cursor = NULL; local 110 long value = strtol(text, &cursor, 10); 112 if (cursor > text && *cursor == 0) { 123 char *cursor = NULL; local 124 unsigned value = strtoul(text, &cursor, 8); 126 if (cursor > text && *cursor == 0) { 170 char *cursor = NULL; local 171 long value = strtol(text, &cursor, 1 212 char *cursor = NULL; local 227 char *cursor = NULL; local 369 const struct Option **cursor = options; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DYLDRendezvous.cpp | 173 addr_t cursor; local 182 cursor = info_addr = 185 cursor = info_addr = m_rendezvous_addr; 186 LLDB_LOGF(log, "DYLDRendezvous::%s cursor = 0x%" PRIx64, __FUNCTION__, 187 cursor); 189 if (cursor == LLDB_INVALID_ADDRESS) 192 if (!(cursor = ReadWord(cursor, &info.version, word_size))) 195 if (!(cursor = ReadPointer(cursor [all...] |
/freebsd-current/contrib/libpcap/ |
H A D | sf-pcapng.c | 180 * Block cursor - used when processing the contents of a block. 281 read_block(FILE *fp, pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 381 * Initialize the cursor. 383 cursor->data = bdata; 384 cursor->data_remaining = data_remaining - sizeof(struct block_trailer); 385 cursor->block_type = bhdr.block_type; 390 get_from_block_data(struct block_cursor *cursor, size_t chunk_size, argument 399 if (cursor->data_remaining < chunk_size) { 402 cursor->block_type); 409 data = cursor 416 get_opthdr_from_block_data(pcap_t *p, struct block_cursor *cursor, char *errbuf) argument 440 get_optvalue_from_block_data(struct block_cursor *cursor, struct option_header *opthdr, char *errbuf) argument 462 process_idb_options(pcap_t *p, struct block_cursor *cursor, uint64_t *tsresol, uint64_t *tsoffset, int *is_binary, char *errbuf) argument 593 add_interface(pcap_t *p, struct interface_description_block *idbp, struct block_cursor *cursor, char *errbuf) argument 783 struct block_cursor cursor; local 1105 struct block_cursor cursor; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | GCOV.h | 76 ~GCOVBuffer() { consumeError(cursor.takeError()); } 109 std::string str(de.getBytes(cursor, 4)); 144 uint32_t getWord() { return de.getU32(cursor); } 149 return de.getBytes(cursor, len * 4).split('\0').first; 153 if (cursor.tell() + 4 > de.size()) { 155 errs() << "unexpected end of memory buffer: " << cursor.tell() << "\n"; 158 Val = de.getU32(cursor); 175 str = de.getBytes(cursor, len).drop_back(); 177 str = de.getBytes(cursor, len * 4).split('\0').first; 178 return bool(cursor); [all...] |
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | hashed_db.c | 43 static DBC *cursor; variable 250 if ((result = db->cursor(db, NULL, &cursor, 0)) == 0) { 251 result = cursor->c_get(cursor, key, data, DB_FIRST); 271 if (cursor != 0) { 272 result = cursor->c_get(cursor, key, data, DB_NEXT);
|
/freebsd-current/contrib/sendmail/include/libsmdb/ |
H A D | smdb.h | 162 ** DB_CURSOR -- Obtain a cursor for sequential access 166 ** cursor -- The address of a cursor pointer. 175 SMDB_CURSOR **cursor, unsigned int flags)); 194 ** DB_CURSOR_CLOSE -- Close a cursor 197 ** cursor -- The cursor to close. 204 typedef int (*db_cursor_close_func) __P((SMDB_CURSOR *cursor)); 207 ** DB_CURSOR_DEL -- Delete the key/value pair of this cursor 210 ** cursor [all...] |
/freebsd-current/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qman_low.h | 196 /* Increment the 'cursor' ring pointer, taking 'vbit' into account */ 202 struct qm_eqcr_entry *partial = eqcr->cursor + 1; 203 eqcr->cursor = EQCR_CARRYCLEAR(partial); 204 if (partial != eqcr->cursor) 221 eqcr->cursor = eqcr->ring + pi; 250 if (pi != EQCR_PTR2IDX(eqcr->cursor)) 254 if (eqcr->ci != EQCR_PTR2IDX(eqcr->cursor)) 270 dcbz_64(eqcr->cursor); 271 return eqcr->cursor; 294 eqcr->cursor [all...] |