/third_party/node/lib/internal/repl/ |
H A D | utils.js | 162 const cursorPos = repl.line.length !== repl.cursor ? 184 // Prevent cursor moves if not necessary! 185 const move = repl.line.length !== repl.cursor; 273 if (repl.line.length !== repl.cursor) { 491 const currentCursor = repl.cursor; 527 let cursor = -1; 551 cursor = -1; 579 // Update the cursor in case it's necessary. 580 if (cursor === -1) { 581 cursor [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | callchain.c | 573 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) in fill_node() argument 577 node->val_nr = cursor->nr - cursor->pos; in fill_node() 581 cursor_node = callchain_cursor_current(cursor); in fill_node() 631 callchain_cursor_advance(cursor); in fill_node() 632 cursor_node = callchain_cursor_current(cursor); in fill_node() 639 struct callchain_cursor *cursor, in add_child() 648 if (fill_node(new, cursor) < 0) { in add_child() 799 struct callchain_cursor *cursor, in split_add_child() 831 if (idx_total < cursor in split_add_child() 638 add_child(struct callchain_node *parent, struct callchain_cursor *cursor, u64 period) add_child() argument 798 split_add_child(struct callchain_node *parent, struct callchain_cursor *cursor, struct callchain_list *to_split, u64 idx_parents, u64 idx_local, u64 period) split_add_child() argument 876 append_chain_children(struct callchain_node *root, struct callchain_cursor *cursor, u64 period) append_chain_children() argument 923 append_chain(struct callchain_node *root, struct callchain_cursor *cursor, u64 period) append_chain() argument 986 callchain_append(struct callchain_root *root, struct callchain_cursor *cursor, u64 period) callchain_append() argument 1008 merge_chain_branch(struct callchain_cursor *cursor, struct callchain_node *dst, struct callchain_node *src) merge_chain_branch() argument 1057 callchain_merge(struct callchain_cursor *cursor, struct callchain_root *dst, struct callchain_root *src) callchain_merge() argument 1063 callchain_cursor_append(struct callchain_cursor *cursor, u64 ip, struct map_symbol *ms, bool branch, struct branch_flags *flags, int nr_loop_iter, u64 iter_cycles, u64 branch_from, const char *srcline) callchain_cursor_append() argument 1102 sample__resolve_callchain(struct perf_sample *sample, struct callchain_cursor *cursor, struct symbol **parent, struct evsel *evsel, struct addr_location *al, int max_stack) sample__resolve_callchain() argument 1579 struct callchain_cursor *cursor = vcursor; callchain_cursor__delete() local 1601 struct callchain_cursor *cursor; get_tls_callchain_cursor() local 1647 callchain_cursor_reset(struct callchain_cursor *cursor) callchain_cursor_reset() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.c | 386 * @cursor: state to initialize 392 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_start() 394 cursor->pfn = start; in amdgpu_vm_pt_start() 395 cursor->parent = NULL; in amdgpu_vm_pt_start() 396 cursor->entry = &vm->root; in amdgpu_vm_pt_start() 397 cursor->level = adev->vm_manager.root_level; in amdgpu_vm_pt_start() 404 * @cursor: current state 411 struct amdgpu_vm_pt_cursor *cursor) in amdgpu_vm_pt_descendant() 415 if (!cursor->entry->entries) in amdgpu_vm_pt_descendant() 418 BUG_ON(!cursor in amdgpu_vm_pt_descendant() 390 amdgpu_vm_pt_start(struct amdgpu_device *adev, struct amdgpu_vm *vm, uint64_t start, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_start() argument 410 amdgpu_vm_pt_descendant(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_descendant() argument 439 amdgpu_vm_pt_sibling(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_sibling() argument 470 amdgpu_vm_pt_ancestor(struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_ancestor() argument 489 amdgpu_vm_pt_next(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_next() argument 516 amdgpu_vm_pt_first_dfs(struct amdgpu_device *adev, struct amdgpu_vm *vm, struct amdgpu_vm_pt_cursor *start, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_first_dfs() argument 551 amdgpu_vm_pt_next_dfs(struct amdgpu_device *adev, struct amdgpu_vm_pt_cursor *cursor) amdgpu_vm_pt_next_dfs() argument 900 amdgpu_vm_alloc_pts(struct amdgpu_device *adev, struct amdgpu_vm *vm, struct amdgpu_vm_pt_cursor *cursor, bool immediate) amdgpu_vm_alloc_pts() argument 978 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_free_pts() local 1274 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_invalidate_pds() local 1442 struct amdgpu_vm_pt_cursor cursor; amdgpu_vm_update_ptes() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_children_main_size.h | 69 int32_t cursor = 0; in ChangeData() local 73 for (; cursor < replaceCount; cursor++) { in ChangeData() 74 childrenSize_[start + cursor] = newChildrenSize[cursor]; in ChangeData() 77 auto deleteStartPos = childrenSize_.begin() + start + cursor; in ChangeData() 85 auto insertStartPos = childrenSize_.begin() + start + cursor; in ChangeData() 86 childrenSize_.insert(insertStartPos, newChildrenSize.begin() + cursor, newChildrenSize.end()); in ChangeData()
|
/third_party/libunwind/libunwind/tests/ |
H A D | ppc64-test-altivec.c | 43 unw_cursor_t cursor; in vec_stack() local 54 if (unw_init_local (&cursor, &uc) < 0) in vec_stack() 62 if ((ret = unw_get_reg (&cursor, UNW_REG_IP, &ip)) < 0) in vec_stack() 67 if ((ret = unw_get_reg (&cursor, UNW_REG_SP, &sp)) < 0) in vec_stack() 72 if ((ret = unw_get_fpreg (&cursor, UNW_PPC64_V30, &vr)) < 0) in vec_stack() 95 unw_get_proc_name (&cursor, proc_name_buffer, in vec_stack() 109 ret = unw_step (&cursor); in vec_stack() 112 unw_get_reg (&cursor, UNW_REG_IP, &ip); in vec_stack()
|
H A D | Gtest-nomalloc.c | 57 unw_cursor_t cursor; in do_backtrace() local 63 if (unw_init_local (&cursor, &uc) < 0) in do_backtrace() 68 unw_get_reg (&cursor, UNW_REG_IP, &ip); in do_backtrace() 69 unw_get_reg (&cursor, UNW_REG_SP, &sp); in do_backtrace() 71 ret = unw_step (&cursor); in do_backtrace()
|
H A D | ia64-test-sig.c | 41 unw_cursor_t cursor, cursor2; in sighandler() local 49 if (unw_init_local (&cursor, &uc) < 0) in sighandler() 52 /* get cursor for caller of sighandler: */ in sighandler() 53 if (unw_step (&cursor) < 0) in sighandler() 56 cursor2 = cursor; in sighandler() 75 unw_resume (&cursor); /* update context & return to caller of sighandler() */ in sighandler()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/config/ifdef-mismatch/ |
H A D | extension.rb | 16 attr_reader :cursor 20 def initialize cursor, attributes, line 21 @cursor, @attributes, @line = cursor, attributes, line 50 @found_conditionals.push CursorWithAttributes.new cursor, conditional_attributes(line), line 53 @found_conditionals.push CursorWithAttributes.new cursor, '', line 79 logger.error message_with_context %(unmatched conditional "#{conditional.line}" with no endif), source_location: conditional.cursor 110 logger.error message_with_context %(unmatched endif - found "#{line}" with no matching conditional begin), source_location: cursor
|
/third_party/skia/third_party/externals/freetype/src/bzip2/ |
H A D | ftbzip2.c | 107 FT_Byte* cursor; member 154 zip->cursor = zip->limit; in ft_bzip2_file_init() 229 zip->cursor = zip->limit; in ft_bzip2_file_reset() 253 zip->limit = zip->cursor; in ft_bzip2_file_fill_input() 265 zip->limit = zip->cursor; in ft_bzip2_file_fill_input() 287 zip->cursor = zip->buffer; in ft_bzip2_file_fill_output() 288 bzstream->next_out = (char*)zip->cursor; in ft_bzip2_file_fill_output() 308 if ( zip->limit == zip->cursor ) in ft_bzip2_file_fill_output() 314 zip->limit = zip->cursor; in ft_bzip2_file_fill_output() 334 FT_ULong delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_bzip2_file_skip_output() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | dma-fence-unwrap.h | 14 * struct dma_fence_unwrap - cursor into the container structure 34 struct dma_fence_unwrap *cursor); 35 struct dma_fence *dma_fence_unwrap_next(struct dma_fence_unwrap *cursor); 40 * @cursor: current position inside the containers 47 #define dma_fence_unwrap_for_each(fence, cursor, head) \ 48 for (fence = dma_fence_unwrap_first(head, cursor); fence; \ 49 fence = dma_fence_unwrap_next(cursor))
|
/third_party/libunwind/libunwind/src/ia64/ |
H A D | Ginit_remote.c | 30 unw_init_remote (unw_cursor_t *cursor, unw_addr_space_t as, void *as_arg) in unw_init_remote() argument 35 struct cursor *c = (struct cursor *) cursor; in unw_init_remote() 42 Debug (1, "(cursor=%p)\n", c); in unw_init_remote() 50 return unw_init_local (cursor, as_arg); in unw_init_remote()
|
H A D | Gapply_reg_state.c | 31 unw_apply_reg_state (unw_cursor_t *cursor, in unw_apply_reg_state() argument 34 struct cursor *c = (struct cursor *) cursor; in unw_apply_reg_state()
|
/third_party/libunwind/libunwind/src/arm/ |
H A D | Gos-linux.c | 33 arm_handle_signal_frame (unw_cursor_t *cursor) in arm_handle_signal_frame() argument 35 struct cursor *c = (struct cursor *) cursor; in arm_handle_signal_frame() 44 ret = unw_is_signal_frame (cursor); in arm_handle_signal_frame() 96 /* Update the dwarf cursor. in arm_handle_signal_frame() 153 unw_is_signal_frame (unw_cursor_t *cursor) in unw_is_signal_frame() argument 155 struct cursor *c = (struct cursor *) cursor; in unw_is_signal_frame() [all...] |
H A D | Greg_states_iterate.c | 31 unw_reg_states_iterate (unw_cursor_t *cursor, in unw_reg_states_iterate() argument 34 struct cursor *c = (struct cursor *) cursor; in unw_reg_states_iterate()
|
/third_party/libunwind/libunwind/src/s390x/ |
H A D | Gresume.c | 35 s390x_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg) in s390x_local_resume() argument 37 struct cursor *c = (struct cursor *) cursor; in s390x_local_resume() 101 cursor C and establishing them as the current machine state. */ 104 establish_machine_state (struct cursor *c) in establish_machine_state() 119 Debug (8, "copying out cursor state\n"); in establish_machine_state() 148 unw_resume (unw_cursor_t *cursor) in unw_resume() argument 150 struct cursor *c = (struct cursor *) curso in unw_resume() [all...] |
/third_party/libunwind/libunwind/src/x86_64/ |
H A D | Gos-solaris.c | 39 unw_is_signal_frame (unw_cursor_t *cursor) in unw_is_signal_frame() argument 41 struct cursor *c = (struct cursor *) cursor; in unw_is_signal_frame() 50 x86_64_handle_signal_frame (unw_cursor_t *cursor) in x86_64_handle_signal_frame() argument 52 struct cursor *c = (struct cursor *) cursor; in x86_64_handle_signal_frame() 128 x86_64_sigreturn (unw_cursor_t *cursor) in x86_64_sigreturn() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | FrameBuffer.cpp | 32 FrameBuffer::Cursor FrameBuffer::cursor = {}; member in sw::FrameBuffer 75 cursor.image = cursorImage->lockExternal(0, 0, 0, sw::LOCK_READONLY, sw::PUBLIC); in setCursorImage() 78 cursor.width = cursorImage->getWidth(); in setCursorImage() 79 cursor.height = cursorImage->getHeight(); in setCursorImage() 83 cursor.width = 0; in setCursorImage() 84 cursor.height = 0; in setCursorImage() 90 cursor.hotspotX = x0; in setCursorOrigin() 91 cursor.hotspotY = y0; in setCursorOrigin() 96 cursor.positionX = x; in setCursorPosition() 97 cursor in setCursorPosition() [all...] |
/third_party/protobuf/js/binary/ |
H A D | utils.js | 812 var cursor = start; 817 while (cursor < end) { 819 if (buffer[cursor++] != tag) return count; 826 var x = buffer[cursor++]; 831 while (cursor < end) { 835 if (buffer[cursor] != ((temp & 0x7F) | 0x80)) return count; 836 cursor++; 839 if (buffer[cursor++] != temp) return count; 846 var x = buffer[cursor++]; 869 var cursor [all...] |
/third_party/libunwind/libunwind/src/x86/ |
H A D | unwind_i.h | 58 extern int x86_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, 60 extern dwarf_loc_t x86_scratch_loc (struct cursor *c, unw_regnum_t reg); 61 extern dwarf_loc_t x86_get_scratch_loc (struct cursor *c, unw_regnum_t reg); 64 extern void x86_sigreturn (unw_cursor_t *cursor); 66 extern int x86_handle_signal_frame(unw_cursor_t *cursor);
|
/third_party/rust/crates/syn/src/ |
H A D | ext.rs | 87 input.step(|cursor| match cursor.ident() { in parse_any() 89 None => Err(cursor.error("expected ident")), in parse_any() 108 fn peek(cursor: Cursor) -> bool { in peek() 109 cursor.ident().is_some() in peek()
|
/third_party/mksh/ |
H A D | edit.c | 197 * If successful, *lenp contains the new length. Note: cursor should be 1338 /* ad-hoc hack for fixing the cursor position */ in x_emacs() 1490 /* Delete nc chars to the right of the cursor (including cursor position) */ 2121 * clear line from x_col (current cursor position) to xx_cols - 2, 2181 /* go back to actual cursor position */ in x_redraw() 2194 * upper case character or underscore indicating the cursor position: in x_transpose() 2215 * the cursor, do not change cursor position in x_transpose() 2234 * cursor, mov in x_transpose() 3447 ssize_t cursor; global() member [all...] |
/third_party/libunwind/libunwind/src/aarch64/ |
H A D | Gapply_reg_state.c | 31 unw_apply_reg_state (unw_cursor_t *cursor, in unw_apply_reg_state() argument 34 struct cursor *c = (struct cursor *) cursor; in unw_apply_reg_state()
|
/third_party/libunwind/libunwind/src/mips/ |
H A D | Gapply_reg_state.c | 31 unw_apply_reg_state (unw_cursor_t *cursor, in unw_apply_reg_state() argument 34 struct cursor *c = (struct cursor *) cursor; in unw_apply_reg_state()
|
/third_party/libunwind/libunwind/src/tilegx/ |
H A D | Greg_states_iterate.c | 31 unw_reg_states_iterate (unw_cursor_t *cursor, in unw_reg_states_iterate() argument 34 struct cursor *c = (struct cursor *) cursor; in unw_reg_states_iterate()
|
/third_party/libunwind/libunwind/src/hppa/ |
H A D | Gapply_reg_state.c | 31 unw_apply_reg_state (unw_cursor_t *cursor, in unw_apply_reg_state() argument 34 struct cursor *c = (struct cursor *) cursor; in unw_apply_reg_state()
|