Home
last modified time | relevance | path

Searched refs:stack_ptr (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
Dset_mempolicy05.c44 static volatile char *stack_ptr; variable
61 stack_ptr = stack_pattern; in run()
63 tst_res(TINFO, "stack pattern is in %p-%p", stack_ptr, stack_ptr + 0x400); in run()
91 if (stack_ptr[i] != (char)0xA5) { in run()
/third_party/ffmpeg/libavcodec/
Dwebvttenc.c38 int stack_ptr; member
54 if (s->stack_ptr >= WEBVTT_STACK_SIZE) in webvtt_stack_push()
56 s->stack[s->stack_ptr++] = c; in webvtt_stack_push()
62 if (s->stack_ptr <= 0) in webvtt_stack_pop()
64 return s->stack[--s->stack_ptr]; in webvtt_stack_pop()
70 for (i = s->stack_ptr-1; i >= 0; i--) in webvtt_stack_find()
87 while (s->stack_ptr != i) in webvtt_stack_push_pop()
Dsrtenc.c37 int stack_ptr; member
55 if (s->stack_ptr >= SRT_STACK_SIZE) in srt_stack_push()
57 s->stack[s->stack_ptr++] = c; in srt_stack_push()
63 if (s->stack_ptr <= 0) in srt_stack_pop()
65 return s->stack[--s->stack_ptr]; in srt_stack_pop()
71 for (i = s->stack_ptr-1; i >= 0; i--) in srt_stack_find()
88 while (s->stack_ptr != i) in srt_stack_push_pop()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c199 nir_variable *stack_ptr; member
265 vars.stack_ptr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "stack_ptr"); in create_rt_variables()
320 _mesa_hash_table_insert(var_remap, src->stack_ptr, dst->stack_ptr); in map_rt_variables()
387 nir_store_var(b, vars->stack_ptr, nir_iadd_imm(b, nir_load_var(b, vars->stack_ptr), -16), 1); in insert_rt_return()
389 nir_load_scratch(b, 1, 32, nir_load_var(b, vars->stack_ptr), .align_mul = 16), 1); in insert_rt_return()
451 &b_shader, vars->stack_ptr, in lower_rt_instructions()
452 nir_iadd_imm(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), size), 1); in lower_rt_instructions()
454 nir_load_var(&b_shader, vars->stack_ptr), .align_mul = 16); in lower_rt_instructions()
456 nir_store_var(&b_shader, vars->stack_ptr, in lower_rt_instructions()
457 nir_iadd_imm(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), 16), in lower_rt_instructions()
[all …]