| /NextBSD/contrib/llvm/projects/libunwind/src/ |
| HD | libunwind.cpp | 43 _LIBUNWIND_EXPORT int unw_init_local(unw_cursor_t *cursor, in unw_init_local() argument 46 static_cast<void *>(cursor), in unw_init_local() 50 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_x86>( in unw_init_local() 53 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_x86_64>( in unw_init_local() 56 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_ppc>( in unw_init_local() 59 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_arm64>( in unw_init_local() 62 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_arm>( in unw_init_local() 65 new ((void *)cursor) UnwindCursor<LocalAddressSpace, Registers_or1k>( in unw_init_local() 72 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in unw_init_local() 80 _LIBUNWIND_EXPORT int unw_init_remote_thread(unw_cursor_t *cursor, in unw_init_remote_thread() argument [all …]
|
| HD | UnwindLevel1-gcc-ext.c | 90 unw_cursor_t cursor; in _Unwind_FindEnclosingFunction() local 94 unw_init_local(&cursor, &uc); in _Unwind_FindEnclosingFunction() 95 unw_set_reg(&cursor, UNW_REG_IP, (unw_word_t)(long) pc); in _Unwind_FindEnclosingFunction() 96 if (unw_get_proc_info(&cursor, &info) == UNW_ESUCCESS) in _Unwind_FindEnclosingFunction() 106 unw_cursor_t cursor; in _Unwind_Backtrace() local 109 unw_init_local(&cursor, &uc); in _Unwind_Backtrace() 128 if (unw_step(&cursor) <= 0) { in _Unwind_Backtrace() 137 if (unw_get_proc_info(&cursor, &frameInfo) != UNW_ESUCCESS) { in _Unwind_Backtrace() 147 struct _Unwind_Context *context = (struct _Unwind_Context *)&cursor; in _Unwind_Backtrace() 164 unw_get_proc_name(&cursor, functionName, 512, &offset); in _Unwind_Backtrace() [all …]
|
| /NextBSD/usr.bin/dtc/ |
| HD | input_buffer.hh | 86 int cursor; member in dtc::input_buffer 92 cursor(c) {} in input_buffer() 102 bool finished() { return cursor >= size; } in finished() 111 input_buffer() : buffer(0), size(0), cursor(0) {} in input_buffer() 115 input_buffer(const char* b, int s) : buffer(b), size(s), cursor(0){} in input_buffer() 132 return cursor >= size; in empty() 141 if (cursor >= size) { return '\0'; } in operator *() 142 if (cursor < 0) { return '\0'; } in operator *() 143 return buffer[cursor]; in operator *() 154 if (cursor + offset >= size) { return '\0'; } in operator []() [all …]
|
| HD | input_buffer.cc | 59 if (cursor >= size) { return; } in skip_spaces() 60 if (cursor < 0) { return; } in skip_spaces() 61 char c = buffer[cursor]; in skip_spaces() 65 cursor++; in skip_spaces() 66 if (cursor > size) in skip_spaces() 72 c = buffer[cursor]; in skip_spaces() 99 if (len > size - cursor) in consume() 107 if (str[i] != buffer[cursor + i]) in consume() 112 cursor += len; in consume() 128 outInt = strtoull(&buffer[cursor], &end, 0); in consume_integer() [all …]
|
| /NextBSD/sys/dev/sfxge/common/ |
| HD | hunt_nvram.c | 56 __in tlv_cursor_t *cursor); 64 __in tlv_cursor_t *cursor) in tlv_tag() argument 68 dword = cursor->current[0]; in tlv_tag() 76 __in tlv_cursor_t *cursor) in tlv_length() argument 80 if (tlv_tag(cursor) == TLV_TAG_END) in tlv_length() 83 dword = cursor->current[1]; in tlv_length() 91 __in tlv_cursor_t *cursor) in tlv_value() argument 93 if (tlv_tag(cursor) == TLV_TAG_END) in tlv_value() 96 return ((uint8_t *)(&cursor->current[2])); in tlv_value() 101 __in tlv_cursor_t *cursor) in tlv_item() argument [all …]
|
| /NextBSD/lib/libedit/ |
| HD | emacs.c | 60 if (el->el_line.cursor == el->el_line.lastchar) { in em_delete_or_list() 62 if (el->el_line.cursor == el->el_line.buffer) { in em_delete_or_list() 79 if (el->el_line.cursor > el->el_line.lastchar) in em_delete_or_list() 80 el->el_line.cursor = el->el_line.lastchar; in em_delete_or_list() 97 if (el->el_line.cursor == el->el_line.lastchar) in em_delete_next_word() 100 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar, in em_delete_next_word() 103 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) in em_delete_next_word() 108 c_delafter(el, (int)(cp - el->el_line.cursor)); /* delete after dot */ in em_delete_next_word() 109 if (el->el_line.cursor > el->el_line.lastchar) in em_delete_next_word() 110 el->el_line.cursor = el->el_line.lastchar; in em_delete_next_word() [all …]
|
| HD | vi.c | 79 el->el_line.cursor = el->el_line.buffer; in cv_action() 86 el->el_chared.c_vcmd.pos = el->el_line.cursor; in cv_action() 108 if (!c && el->el_line.cursor < el->el_line.lastchar) in cv_paste() 109 el->el_line.cursor++; in cv_paste() 112 if (el->el_line.cursor + len > el->el_line.lastchar) in cv_paste() 114 (void) memcpy(el->el_line.cursor, k->buf, len * in cv_paste() 115 sizeof(*el->el_line.cursor)); in cv_paste() 156 if (el->el_line.cursor == el->el_line.buffer) in vi_prev_big_word() 159 el->el_line.cursor = cv_prev_word(el->el_line.cursor, in vi_prev_big_word() 181 if (el->el_line.cursor == el->el_line.buffer) in vi_prev_word() [all …]
|
| HD | common.c | 87 || el->el_line.cursor >= el->el_line.lastchar) in ed_insert() 90 *el->el_line.cursor++ = c; in ed_insert() 96 while (count-- && el->el_line.cursor < el->el_line.lastchar) in ed_insert() 97 *el->el_line.cursor++ = c; in ed_insert() 118 if (el->el_line.cursor == el->el_line.buffer) in ed_delete_prev_word() 121 cp = c__prev_word(el->el_line.cursor, el->el_line.buffer, in ed_delete_prev_word() 124 for (p = cp, kp = el->el_chared.c_kill.buf; p < el->el_line.cursor; p++) in ed_delete_prev_word() 128 c_delbefore(el, (int)(el->el_line.cursor - cp));/* delete before dot */ in ed_delete_prev_word() 129 el->el_line.cursor = cp; in ed_delete_prev_word() 130 if (el->el_line.cursor < el->el_line.buffer) in ed_delete_prev_word() [all …]
|
| HD | chared.c | 70 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); in cv_undo() 107 if (el->el_line.cursor < el->el_line.lastchar) { in c_insert() 109 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--) in c_insert() 123 if (el->el_line.cursor + num > el->el_line.lastchar) in c_delafter() 124 num = (int)(el->el_line.lastchar - el->el_line.cursor); in c_delafter() 128 cv_yank(el, el->el_line.cursor, num); in c_delafter() 134 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++) in c_delafter() 150 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++) in c_delafter1() 164 if (el->el_line.cursor - num < el->el_line.buffer) in c_delbefore() 165 num = (int)(el->el_line.cursor - el->el_line.buffer); in c_delbefore() [all …]
|
| HD | history.c | 131 hentry_t *cursor; /* Current element in the list */ member 217 h->cursor = h->list.next; in history_def_first() 218 if (h->cursor != &h->list) in history_def_first() 219 *ev = h->cursor->ev; in history_def_first() 237 h->cursor = h->list.prev; in history_def_last() 238 if (h->cursor != &h->list) in history_def_last() 239 *ev = h->cursor->ev; in history_def_last() 257 if (h->cursor == &h->list) { in history_def_next() 262 if (h->cursor->next == &h->list) { in history_def_next() 267 h->cursor = h->cursor->next; in history_def_next() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
| HD | strings-table.c | 83 DBC **cursor, in locate_key() argument 95 bfd->strings->cursor(bfd->strings, trail->db_txn, in locate_key() 96 cursor, 0))); in locate_key() 104 db_err = svn_bdb_dbc_get(*cursor, query, &result, DB_SET); in locate_key() 112 svn_bdb_dbc_close(*cursor); in locate_key() 123 svn_bdb_dbc_close(*cursor); in locate_key() 132 db_err = svn_bdb_dbc_get(*cursor, query, &rerun, DB_SET); in locate_key() 135 svn_bdb_dbc_close(*cursor); in locate_key() 151 get_next_length(apr_size_t *length, DBC *cursor, DBT *query) in get_next_length() argument 163 db_err = svn_bdb_dbc_get(cursor, query, &result, DB_NEXT_DUP); in get_next_length() [all …]
|
| /NextBSD/crypto/heimdal/lib/krb5/ |
| HD | cache.c | 716 krb5_cc_cursor cursor; in krb5_cc_retrieve_cred() local 723 ret = krb5_cc_start_seq_get(context, id, &cursor); in krb5_cc_retrieve_cred() 726 while((ret = krb5_cc_next_cred(context, id, &cursor, creds)) == 0){ in krb5_cc_retrieve_cred() 733 krb5_cc_end_seq_get(context, id, &cursor); in krb5_cc_retrieve_cred() 767 krb5_cc_cursor *cursor) in krb5_cc_start_seq_get() argument 769 return (*id->ops->get_first)(context, id, cursor); in krb5_cc_start_seq_get() 785 krb5_cc_cursor *cursor, in krb5_cc_next_cred() argument 788 return (*id->ops->get_next)(context, id, cursor, creds); in krb5_cc_next_cred() 801 krb5_cc_cursor *cursor) in krb5_cc_end_seq_get() argument 803 return (*id->ops->end_get)(context, id, cursor); in krb5_cc_end_seq_get() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/ |
| HD | UnwindMacOSXFrameBackchain.cpp | 108 Cursor cursor; in GetStackFrameData_i386() local 109 cursor.pc = reg_ctx->GetPC (LLDB_INVALID_ADDRESS); in GetStackFrameData_i386() 110 cursor.fp = reg_ctx->GetFP (0); in GetStackFrameData_i386() 112 Frame_i386 frame = { static_cast<uint32_t>(cursor.fp), static_cast<uint32_t>(cursor.pc) }; in GetStackFrameData_i386() 114 m_cursors.push_back(cursor); in GetStackFrameData_i386() 125 cursor.pc = frame.pc; in GetStackFrameData_i386() 126 cursor.fp = frame.fp; in GetStackFrameData_i386() 127 m_cursors.push_back (cursor); in GetStackFrameData_i386() 162 cursor.fp = m_cursors.front().fp; in GetStackFrameData_i386() 163 cursor.pc = frame.pc; // Set the new second frame PC in GetStackFrameData_i386() [all …]
|
| /NextBSD/contrib/tcsh/nls/ukrainian/ |
| HD | set4 | 8 5 cursor to horiz pos 15 12 cursor from status line 16 13 home cursor 20 17 sends cursor down 21 18 sends cursor left 22 19 sends cursor right 23 20 sends cursor up 29 26 cursor to status line 30 27 cursor up one 35 32 cursor down multiple [all …]
|
| HD | set3 | 5 2 Delete the character behind cursor 6 3 Cut from beginning of current word to cursor - saved in cut buffer 7 4 Cut from beginning of line to cursor - save in cut buffer 10 7 Capitalize the characters from cursor to end of current word 11 8 Vi change case of character under cursor and advance one character 18 15 Copy current word to cursor 19 16 Copy area between mark and cursor to cut buffer 21 18 Delete character under cursor 22 19 Delete character under cursor or signal end of file on an empty line 23 20 Delete character under cursor or list completions if at end of line [all …]
|
| /NextBSD/contrib/tcsh/nls/C/ |
| HD | set4 | 8 5 cursor to horiz pos 15 12 cursor from status line 16 13 home cursor 20 17 sends cursor down 21 18 sends cursor left 22 19 sends cursor right 23 20 sends cursor up 29 26 cursor to status line 30 27 cursor up one 35 32 cursor down multiple [all …]
|
| HD | set3 | 5 2 Delete the character behind cursor 6 3 Cut from beginning of current word to cursor - saved in cut buffer 7 4 Cut from beginning of line to cursor - save in cut buffer 10 7 Capitalize the characters from cursor to end of current word 11 8 Vi change case of character under cursor and advance one character 18 15 Copy current word to cursor 19 16 Copy area between mark and cursor to cut buffer 21 18 Delete character under cursor 22 19 Delete character under cursor or signal end of file on an empty line 23 20 Delete character under cursor or list completions if at end of line [all …]
|
| /NextBSD/contrib/tcsh/nls/finnish/ |
| HD | set4 | 8 5 cursor to horiz pos 15 12 cursor from status line 16 13 home cursor 20 17 sends cursor down 21 18 sends cursor left 22 19 sends cursor right 23 20 sends cursor up 29 26 cursor to status line 30 27 cursor up one 35 32 cursor down multiple [all …]
|
| /NextBSD/contrib/compiler-rt/lib/interception/ |
| HD | interception_win.cc | 70 size_t cursor = 0; in RoundUpToInstrBoundary() local 71 while (cursor < size) { in RoundUpToInstrBoundary() 72 switch (code[cursor]) { in RoundUpToInstrBoundary() 81 cursor++; in RoundUpToInstrBoundary() 84 cursor += 2; in RoundUpToInstrBoundary() 88 cursor += 5; in RoundUpToInstrBoundary() 91 switch (*(unsigned short*)(code + cursor)) { // NOLINT in RoundUpToInstrBoundary() 95 cursor += 2; in RoundUpToInstrBoundary() 101 cursor += 3; in RoundUpToInstrBoundary() 105 cursor += 6; in RoundUpToInstrBoundary() [all …]
|
| /NextBSD/contrib/tcsh/nls/spanish/ |
| HD | set4 | 8 5 cursor hasta posición horizontal 15 12 cursor de línea de estado 16 13 cursor en posición inicial 20 17 envía cursor hacia abajo 21 18 envía cursor hacia la izquierda 22 19 envía cursor hacia la derecha 23 20 envía cursor hacia arriba 29 26 cursor a la línea de estado 30 27 mueve el cursor hacia arriba una línea 35 32 mueve el cursor varias líneas hacia abajo [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
| HD | HexagonDYLDRendezvous.cpp | 83 addr_t cursor; in Resolve() local 89 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve() 91 cursor = info_addr = m_rendezvous_addr; in Resolve() 93 if (cursor == LLDB_INVALID_ADDRESS) in Resolve() 96 if (!(cursor = ReadWord(cursor, &info.version, word_size))) in Resolve() 99 if (!(cursor = ReadPointer(cursor + padding, &info.map_addr))) in Resolve() 102 if (!(cursor = ReadPointer(cursor, &info.brk))) in Resolve() 105 if (!(cursor = ReadWord(cursor, &info.state, word_size))) in Resolve() 108 if (!(cursor = ReadPointer(cursor + padding, &info.ldbase))) in Resolve() 181 for (addr_t cursor = m_current.map_addr; cursor != 0; cursor = entry.next) in UpdateSOEntriesForAddition() local [all …]
|
| /NextBSD/contrib/tcsh/nls/russian/ |
| HD | set3 | 5 2 Delete the character behind cursor 6 3 Cut from beginning of current word to cursor - saved in cut buffer 7 4 Cut from beginning of line to cursor - save in cut buffer 10 7 Capitalize the characters from cursor to end of current word 11 8 Vi change case of character under cursor and advance one character 18 15 Copy current word to cursor 19 16 Copy area between mark and cursor to cut buffer 21 18 Delete character under cursor 22 19 Delete character under cursor or signal end of file on an empty line 23 20 Delete character under cursor or list completions if at end of line [all …]
|
| HD | set4 | 15 12 cursor from status line 16 13 home cursor 29 26 cursor to status line 30 27 cursor up one 35 32 cursor down multiple 37 34 cursor left multiple 38 35 cursor right multiple 39 36 cursor up multiple
|
| /NextBSD/contrib/libpcap/ |
| HD | sf-pcap-ng.c | 256 read_block(FILE *fp, pcap_t *p, struct block_cursor *cursor, char *errbuf) in read_block() argument 323 cursor->data = p->buffer + sizeof(bhdr); in read_block() 324 cursor->data_remaining = bhdr.total_length - sizeof(bhdr) - in read_block() 326 cursor->block_type = bhdr.block_type; in read_block() 331 get_from_block_data(struct block_cursor *cursor, size_t chunk_size, in get_from_block_data() argument 340 if (cursor->data_remaining < chunk_size) { in get_from_block_data() 343 cursor->block_type); in get_from_block_data() 350 data = cursor->data; in get_from_block_data() 351 cursor->data += chunk_size; in get_from_block_data() 352 cursor->data_remaining -= chunk_size; in get_from_block_data() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| HD | DYLDRendezvous.cpp | 146 addr_t cursor; in Resolve() local 154 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve() 156 cursor = info_addr = m_rendezvous_addr; in Resolve() 158 log->Printf ("DYLDRendezvous::%s cursor = 0x%" PRIx64, __FUNCTION__, cursor); in Resolve() 160 if (cursor == LLDB_INVALID_ADDRESS) in Resolve() 163 if (!(cursor = ReadWord(cursor, &info.version, word_size))) in Resolve() 166 if (!(cursor = ReadPointer(cursor + padding, &info.map_addr))) in Resolve() 169 if (!(cursor = ReadPointer(cursor, &info.brk))) in Resolve() 172 if (!(cursor = ReadWord(cursor, &info.state, word_size))) in Resolve() 175 if (!(cursor = ReadPointer(cursor + padding, &info.ldbase))) in Resolve() [all …]
|