| /third_party/skia/third_party/externals/jinja2/ |
| H A D | ext.py | 113 """Return an attribute node for the current extension. This is useful 241 while parser.stream.current.type != "block_end": 258 if parser.stream.current.type == "assign": 293 if parser.stream.current.test("name:pluralize"): 296 if parser.stream.current.type != "block_end": 352 if parser.stream.current.type == "data": 353 buf.append(parser.stream.current.value.replace("%", "%%")) 355 elif parser.stream.current.type == "variable_begin": 361 elif parser.stream.current.type == "block_begin": 363 if parser.stream.current [all...] |
| /kernel/linux/linux-5.10/arch/alpha/kernel/ |
| H A D | osf_sys.c | 75 mm = current->mm; in SYSCALL_DEFINE4() 186 current->comm, flags); in SYSCALL_DEFINE6() 688 unsigned long oss_sp = current->sas_ss_sp + current->sas_ss_size; in SYSCALL_DEFINE2() 699 /* If the current stack was set with sigaltstack, don't in SYSCALL_DEFINE2() 702 if (current->sas_ss_sp && on_sig_stack(usp)) in SYSCALL_DEFINE2() 708 current->sas_ss_sp = (unsigned long)ss_sp - SIGSTKSZ; in SYSCALL_DEFINE2() 709 current->sas_ss_size = SIGSTKSZ; in SYSCALL_DEFINE2() 769 /* Return current software fp control & status bits. */ in SYSCALL_DEFINE5() 828 * To be fully IEEE compiant, we must track the current IEE in SYSCALL_DEFINE5() [all...] |
| /kernel/linux/linux-5.10/kernel/ |
| H A D | ptrace.c | 53 (current != tsk->parent) || in ptrace_access_vm() 109 * state is not hidden even from the current ptracer and if it immediately 212 WARN_ON(!task->ptrace || task->parent != current); in ptrace_unfreeze_traced() 233 * Check whether @child is being ptraced by %current and ready for further 257 if (child->ptrace && child->parent == current) { in ptrace_check_attach() 313 if (same_thread_group(task, current)) in __ptrace_may_access() 386 if (seccomp_mode(¤t->seccomp) != SECCOMP_MODE_DISABLED || in check_ptrace_options() 387 current->ptrace & PT_SUSPEND_SECCOMP) in check_ptrace_options() 424 if (same_thread_group(task, current)) in ptrace_attach() 453 ptrace_link(task, current); in ptrace_attach() [all...] |
| H A D | softirq.c | 126 * is set and before current->softirq_enabled is cleared. in __local_bh_disable_ip() 140 current->preempt_disable_ip = get_lock_parent_ip(); in __local_bh_disable_ip() 258 unsigned long old_flags = current->flags; in __do_softirq() 266 * Mask out PF_MEMALLOC as the current task context is borrowed for the in __do_softirq() 270 current->flags &= ~PF_MEMALLOC; in __do_softirq() 273 account_irq_enter_time(current); in __do_softirq() 310 if (__this_cpu_read(ksoftirqd) == current) in __do_softirq() 324 account_irq_exit_time(current); in __do_softirq() 353 if (is_idle_task(current) && !in_interrupt()) { in irq_enter_rcu() 382 * We can safely execute softirq on the current stac in invoke_softirq() [all...] |
| /kernel/linux/linux-5.10/kernel/time/ |
| H A D | posix-timers.c | 42 * key, constructed from current->signal address and per signal struct counter. 134 struct signal_struct *sig = current->signal; in posix_timer_by_id() 142 struct signal_struct *sig = current->signal; in posix_timer_add() 438 struct pid *pid = task_tgid(current); in good_sigevent() 445 if (!rtn || !same_thread_group(rtn, current)) in good_sigevent() 549 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create() 565 spin_lock_irq(¤t->sighand->siglock); in do_timer_create() 566 new_timer->it_signal = current->signal; in do_timer_create() 567 list_add(&new_timer->list, ¤t->signal->posix_timers); in do_timer_create() 568 spin_unlock_irq(¤t in do_timer_create() [all...] |
| /kernel/linux/linux-6.6/kernel/time/ |
| H A D | posix-timers.c | 42 * constructed from current::signal and the timer ID and the timer is 43 * matched against current::signal and the timer ID when walking the hash 91 struct signal_struct *sig = current->signal; in posix_timer_by_id() 99 struct signal_struct *sig = current->signal; in posix_timer_add() 379 struct pid *pid = task_tgid(current); in good_sigevent() 386 if (!rtn || !same_thread_group(rtn, current)) in good_sigevent() 494 new_timer->it_pid = get_pid(task_tgid(current)); in do_timer_create() 515 spin_lock_irq(¤t->sighand->siglock); in do_timer_create() 517 WRITE_ONCE(new_timer->it_signal, current->signal); in do_timer_create() 518 list_add(&new_timer->list, ¤t in do_timer_create() [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| H A D | si_debug.c | 53 saved->num_dw = cs->prev_dw + cs->current.cdw; in si_save_cs() 63 memcpy(buf, cs->current.buf, cs->current.cdw * 4); in si_save_cs() 125 /* The shader destroy code assumes a current context for unlinking of 131 * current context in the chunk. 164 struct si_shader *current = state->current; in si_dump_gfx_shader() local 166 if (!state->cso || !current) in si_dump_gfx_shader() 171 chunk->shader = current; in si_dump_gfx_shader() 172 si_shader_selector_reference(ctx, &chunk->sel, current in si_dump_gfx_shader() [all...] |
| /foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
| H A D | cjson_parser.cpp | 180 bool CJSONParser::AddNode(ListNode *&head, char *current) in AddNode() argument 182 if (current == nullptr || strlen(current) == 0) { in AddNode() 191 node->value = current; in AddNode() 210 ListNode *current = node->next; in ClearNode() local 213 node = current; in ClearNode() 669 char *message = CJSONParser::GetNode(keys, keyCount - curKeyIndex); // get the current splited key in GetValueFromFile() 706 // no node found from cache, searching from current language file then in GetValue() 718 HILOG_ERROR(HILOG_MODULE_ACE, "get error from current language file, try en-US last"); in GetValue() 789 char *current in Split() local [all...] |
| /kernel/linux/linux-6.6/arch/m68k/kernel/ |
| H A D | signal.c | 261 memcpy(current->thread.fpcntl, sc->sc_fpcntl, 12); in restore_fpu_state() 262 memcpy(current->thread.fp, sc->sc_fpregs, 24); in restore_fpu_state() 340 if (__copy_from_user(current->thread.fpcntl, in rt_restore_fpu_state() 344 if (__copy_from_user(current->thread.fp, in rt_restore_fpu_state() 433 memcpy(sc->sc_fpcntl, current->thread.fpcntl, 12); in save_fpu_state() 434 memcpy(sc->sc_fpregs, current->thread.fp, 24); in save_fpu_state() 491 current->thread.fpcntl, 12); in rt_save_fpu_state() 494 current->thread.fp, 96); in rt_save_fpu_state() 666 current->thread.esp0 = (unsigned long)&new->ptregs; in mangle_kernel_stack() 685 current in restore_sigcontext() [all...] |
| /kernel/linux/linux-6.6/kernel/locking/ |
| H A D | rwsem.c | 73 atomic_long_read(&(sem)->owner), (long)current, \ 143 atomic_long_set(&sem->owner, (long)current); in rwsem_set_owner() 181 __rwsem_set_reader_owned(sem, current); in rwsem_set_reader_owned() 212 while ((val & ~RWSEM_OWNER_FLAGS_MASK) == (unsigned long)current) { in rwsem_clear_reader_owned() 886 * happen if the current task and the lock holder happen in rwsem_optimistic_spin() 917 if (rt_task(current) && in rwsem_optimistic_spin() 1035 waiter.task = current; in rwsem_down_read_slowpath() 1078 if (signal_pending_state(state, current)) { in rwsem_down_read_slowpath() 1122 waiter.task = current; in rwsem_down_write_slowpath() 1159 if (signal_pending_state(state, current)) in rwsem_down_write_slowpath() [all...] |
| /kernel/linux/linux-6.6/mm/ |
| H A D | oom_kill.c | 83 * shares the same mempolicy nodes as current if it is bound by such a policy 86 * This function is assuming oom-killer context and 'current' has triggered 102 * mempolicy intersects current, otherwise it may be in oom_cpuset_eligible() 111 ret = cpuset_mems_allowed_intersects(current, tsk); in oom_cpuset_eligible() 274 * to kill current.We have to random task kill in this case. in constrained_alloc() 414 * dump_tasks - dump current memory state of all system tasks 417 * Dumps the current memory state of all eligible tasks. Tasks not in the same 455 current->comm, oc->gfp_mask, &oc->gfp_mask, oc->order, in dump_header() 456 current->signal->oom_score_adj); in dump_header() 754 * under task_lock or operate on the current) [all...] |
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
| H A D | file_path.cpp | 108 FilePath current = *this; in GetComponents() local 111 while (current != current.DirName()) { in GetComponents() 112 base = current.BaseName(); in GetComponents() 115 current = current.DirName(); in GetComponents() 119 base = current.BaseName(); in GetComponents() 121 components.push_back(current.BaseName().path_); in GetComponents() 137 // path_ is in the current directory. in DirName() 404 // current di in GetZipAllDirFiles() [all...] |
| /kernel/linux/linux-5.10/arch/arm/mach-ep93xx/ |
| H A D | crunch-bits.S | 80 ldr r2, [sp, #60] @ current task pc value 81 ldr r1, [r3] @ get current crunch owner 217 ldr r1, [r3] @ get current crunch owner 218 teq r1, #0 @ any current owner? 231 str r0, [r3] @ no more current owner 261 ldr r3, [r3] @ get current crunch owner 265 @ current crunch values are in the task save area 294 ldr r3, [r3] @ get current crunch owner
|
| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| H A D | signal.c | 100 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn() 186 sp = (current->sas_ss_sp + 0x7f) & ~0x3f; /* Stacks grow up! */ in get_sigframe() 380 if (pa_psw(current)->r) { in setup_rt_frame() 381 pa_psw(current)->r = 0; in setup_rt_frame() 413 current->comm, current->pid, frame, regs->gr[30], in setup_rt_frame() 488 current->comm, task_pid_nr(current), opcode); in check_syscallno_in_delay_branch()
|
| /kernel/linux/linux-5.10/arch/nds32/kernel/ |
| H A D | signal.c | 28 struct task_struct *tsk = current; in restore_sigcontext_fpu() 41 if (current == last_task_used_math) { in restore_sigcontext_fpu() 57 struct task_struct *tsk = current; in setup_sigcontext_fpu() 142 current->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn() 217 __put_user_error(current->thread.trap_no, &sf->uc.uc_mcontext.trap_no, in setup_sigframe() 219 __put_user_error(current->thread.error_code, in setup_sigframe() 221 __put_user_error(current->thread.address, in setup_sigframe() 262 retcode = VDSO_SYMBOL(current->mm->context.vdso, rt_sigtramp); in setup_return()
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| H A D | signal_32.c | 84 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn() 253 /* 2. Save the current process state */ in setup_frame() 315 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); in setup_frame() 412 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); in setup_rt_frame() 538 if (put_user(current->sas_ss_sp + current->sas_ss_size, in do_sys_sigstack() 550 /* If the current stack was set with sigaltstack, don't in do_sys_sigstack() 553 if (current->sas_ss_sp && on_sig_stack(sp)) in do_sys_sigstack() 559 current->sas_ss_sp = (unsigned long)ss_sp - SIGSTKSZ; in do_sys_sigstack() 560 current in do_sys_sigstack() [all...] |
| /kernel/linux/linux-5.10/arch/xtensa/kernel/ |
| H A D | traps.c | 185 /* If in user mode, send SIGILL signal to current process */ in do_unhandled() 189 current->comm, task_pid_nr(current), regs->pc, in do_unhandled() 309 /* If in user mode, send SIGILL signal to current process. */ in do_illegal_instruction() 312 current->comm, task_pid_nr(current), regs->pc); in do_illegal_instruction() 331 current->thread.bad_vaddr = regs->excvaddr; in do_unaligned_user() 332 current->thread.error_code = -3; in do_unaligned_user() 335 regs->excvaddr, current->comm, in do_unaligned_user() 336 task_pid_nr(current), reg in do_unaligned_user() [all...] |
| H A D | signal.c | 104 /* Save current frame a0..a3 under next SP */ in flush_window_regs_user() 110 /* Get current stack pointer for next loop iteration. */ in flush_window_regs_user() 247 current->restart_block.fn = do_no_restart_syscall; in xtensa_rt_sigreturn() 344 sp = current->sas_ss_sp + current->sas_ss_size; in setup_frame() 411 current->comm, current->pid, sig, frame, regs->pc); in setup_frame() 429 task_pt_regs(current)->icountlevel = 0; in do_signal() 469 task_pt_regs(current)->icountlevel = 1; in do_signal() 495 task_pt_regs(current) in do_signal() [all...] |
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| H A D | signal_32.c | 84 current->restart_block.fn = do_no_restart_syscall; in do_sigreturn() 253 /* 2. Save the current process state */ in setup_frame() 315 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); in setup_frame() 412 flush_sig_insns(current->mm, (unsigned long) &(sf->insns[0])); in setup_rt_frame() 538 if (put_user(current->sas_ss_sp + current->sas_ss_size, in do_sys_sigstack() 550 /* If the current stack was set with sigaltstack, don't in do_sys_sigstack() 553 if (current->sas_ss_sp && on_sig_stack(sp)) in do_sys_sigstack() 559 current->sas_ss_sp = (unsigned long)ss_sp - SIGSTKSZ; in do_sys_sigstack() 560 current in do_sys_sigstack() [all...] |
| /kernel/linux/linux-5.10/fs/hmdfs/authority/ |
| H A D | authentication.c | 22 task_lock(current); in hmdfs_override_fsstruct() 23 current->fs = copied_fs; in hmdfs_override_fsstruct() 24 task_unlock(current); in hmdfs_override_fsstruct() 35 task_lock(current); in hmdfs_revert_fsstruct() 36 current->fs = saved_fs; in hmdfs_revert_fsstruct() 37 task_unlock(current); in hmdfs_revert_fsstruct() 161 or->saved_fs = current->fs; in hmdfs_override_dir_id_fs() 208 cur_cred = current->cred; in hmdfs_revert_fsids()
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| H A D | block.h | 171 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 255 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 319 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 386 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 415 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 477 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 496 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 549 memcpy(__entry->comm, current->comm, TASK_COMM_LEN); 609 * operation request @rq holds the current information and @from hold
|
| /kernel/linux/linux-6.6/fs/gfs2/ |
| H A D | trans.c | 46 if (current->journal_info) { in __gfs2_trans_begin() 47 gfs2_print_trans(sdp, current->journal_info); in __gfs2_trans_begin() 104 current->journal_info = tr; in __gfs2_trans_begin() 126 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_end() 129 current->journal_info = NULL; in gfs2_trans_end() 194 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_add_data() 236 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_add_meta() 296 struct gfs2_trans *tr = current->journal_info; in gfs2_trans_add_revoke()
|
| /kernel/linux/linux-6.6/fs/hmdfs/authority/ |
| H A D | authentication.c | 22 task_lock(current); in hmdfs_override_fsstruct() 23 current->fs = copied_fs; in hmdfs_override_fsstruct() 24 task_unlock(current); in hmdfs_override_fsstruct() 35 task_lock(current); in hmdfs_revert_fsstruct() 36 current->fs = saved_fs; in hmdfs_revert_fsstruct() 37 task_unlock(current); in hmdfs_revert_fsstruct() 161 or->saved_fs = current->fs; in hmdfs_override_dir_id_fs() 208 cur_cred = current->cred; in hmdfs_revert_fsids()
|
| /kernel/linux/linux-6.6/arch/xtensa/kernel/ |
| H A D | traps.c | 206 /* If in user mode, send SIGILL signal to current process */ in do_unhandled() 210 current->comm, task_pid_nr(current), regs->pc, in do_unhandled() 363 /* If in user mode, send SIGILL signal to current process. */ in do_illegal_instruction() 366 current->comm, task_pid_nr(current), regs->pc); in do_illegal_instruction() 383 regs->excvaddr, current->comm, in do_load_store() 384 task_pid_nr(current), regs->pc); in do_load_store() 403 regs->excvaddr, current->comm, in do_unaligned_user() 404 task_pid_nr(current), reg in do_unaligned_user() [all...] |
| /kernel/linux/linux-6.6/mm/kasan/ |
| H A D | report.c | 92 if (current->kasan_depth) in report_suppressed_sw() 103 * hw_suppress_tag_checks_start() disables checks on the current CPU. in report_suppress_start() 191 test = current->kunit_test; in fail_non_kasan_kunit_test() 249 info->access_addr, current->comm, task_pid_nr(current)); in print_error_description() 256 info->access_addr, current->comm, task_pid_nr(current)); in print_error_description() 260 info->access_addr, current->comm, task_pid_nr(current)); in print_error_description()
|