Home
last modified time | relevance | path

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

/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure1/
Dvm.cpp22 std::vector<int>::iterator stack_ptr = frame_ptr; in execute() local
29 stack_ptr[-1] = -stack_ptr[-1]; in execute()
33 stack_ptr[-1] = !bool(stack_ptr[-1]); in execute()
37 --stack_ptr; in execute()
38 stack_ptr[-1] += stack_ptr[0]; in execute()
42 --stack_ptr; in execute()
43 stack_ptr[-1] -= stack_ptr[0]; in execute()
47 --stack_ptr; in execute()
48 stack_ptr[-1] *= stack_ptr[0]; in execute()
52 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/
Dvm.cpp23 std::vector<int>::iterator stack_ptr = frame_ptr; in execute() local
30 stack_ptr[-1] = -stack_ptr[-1]; in execute()
34 stack_ptr[-1] = !bool(stack_ptr[-1]); in execute()
38 --stack_ptr; in execute()
39 stack_ptr[-1] += stack_ptr[0]; in execute()
43 --stack_ptr; in execute()
44 stack_ptr[-1] -= stack_ptr[0]; in execute()
48 --stack_ptr; in execute()
49 stack_ptr[-1] *= stack_ptr[0]; in execute()
53 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/mini_c/
Dvm.cpp22 std::vector<int>::iterator stack_ptr = frame_ptr; in execute() local
29 stack_ptr[-1] = -stack_ptr[-1]; in execute()
33 stack_ptr[-1] = !bool(stack_ptr[-1]); in execute()
37 --stack_ptr; in execute()
38 stack_ptr[-1] += stack_ptr[0]; in execute()
42 --stack_ptr; in execute()
43 stack_ptr[-1] -= stack_ptr[0]; in execute()
47 --stack_ptr; in execute()
48 stack_ptr[-1] *= stack_ptr[0]; in execute()
52 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/x3/calc/calc9/
Dvm.cpp18 std::vector<int>::iterator stack_ptr = frame_ptr; in execute() local
27 stack_ptr[-1] = -stack_ptr[-1]; in execute()
31 stack_ptr[-1] = !bool(stack_ptr[-1]); in execute()
35 --stack_ptr; in execute()
36 stack_ptr[-1] += stack_ptr[0]; in execute()
40 --stack_ptr; in execute()
41 stack_ptr[-1] -= stack_ptr[0]; in execute()
45 --stack_ptr; in execute()
46 stack_ptr[-1] *= stack_ptr[0]; in execute()
50 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc8/
Dvm.cpp23 std::vector<int>::iterator stack_ptr = frame_ptr; in execute() local
32 stack_ptr[-1] = -stack_ptr[-1]; in execute()
36 stack_ptr[-1] = !bool(stack_ptr[-1]); in execute()
40 --stack_ptr; in execute()
41 stack_ptr[-1] += stack_ptr[0]; in execute()
45 --stack_ptr; in execute()
46 stack_ptr[-1] -= stack_ptr[0]; in execute()
50 --stack_ptr; in execute()
51 stack_ptr[-1] *= stack_ptr[0]; in execute()
55 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/x3/calc/calc8/
Dvm.cpp15 stack_ptr = stack.begin(); in execute()
22 stack_ptr[-1] = -stack_ptr[-1]; in execute()
26 --stack_ptr; in execute()
27 stack_ptr[-1] += stack_ptr[0]; in execute()
31 --stack_ptr; in execute()
32 stack_ptr[-1] -= stack_ptr[0]; in execute()
36 --stack_ptr; in execute()
37 stack_ptr[-1] *= stack_ptr[0]; in execute()
41 --stack_ptr; in execute()
42 stack_ptr[-1] /= stack_ptr[0]; in execute()
[all …]
Dvm.hpp37 , stack_ptr(stack.begin()) in vmachine()
47 std::vector<int>::iterator stack_ptr; member in client::vmachine
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc7/
Dvm.cpp15 stack_ptr = stack.begin(); in execute()
22 stack_ptr[-1] = -stack_ptr[-1]; in execute()
26 --stack_ptr; in execute()
27 stack_ptr[-1] += stack_ptr[0]; in execute()
31 --stack_ptr; in execute()
32 stack_ptr[-1] -= stack_ptr[0]; in execute()
36 --stack_ptr; in execute()
37 stack_ptr[-1] *= stack_ptr[0]; in execute()
41 --stack_ptr; in execute()
42 stack_ptr[-1] /= stack_ptr[0]; in execute()
[all …]
Dvm.hpp37 , stack_ptr(stack.begin()) in vmachine()
47 std::vector<int>::iterator stack_ptr; member in client::vmachine
/third_party/boost/libs/spirit/example/x3/calc/calc7/
Dvm.cpp14 stack_ptr = stack.begin(); in execute()
21 stack_ptr[-1] = -stack_ptr[-1]; in execute()
25 --stack_ptr; in execute()
26 stack_ptr[-1] += stack_ptr[0]; in execute()
30 --stack_ptr; in execute()
31 stack_ptr[-1] -= stack_ptr[0]; in execute()
35 --stack_ptr; in execute()
36 stack_ptr[-1] *= stack_ptr[0]; in execute()
40 --stack_ptr; in execute()
41 stack_ptr[-1] /= stack_ptr[0]; in execute()
[all …]
Dvm.hpp33 , stack_ptr(stack.begin()) in vmachine()
37 int top() const { return stack_ptr[-1]; }; in top()
43 std::vector<int>::iterator stack_ptr; member in client::vmachine
/third_party/boost/libs/spirit/example/karma/
Dcalc2_ast_vm.cpp80 , stack_ptr(stack.begin()) in vmachine()
84 int top() const { return stack_ptr[-1]; }; in top()
89 std::vector<int>::iterator stack_ptr; member in vmachine
95 stack_ptr = stack.begin(); in execute()
102 stack_ptr[-1] = -stack_ptr[-1]; in execute()
106 --stack_ptr; in execute()
107 stack_ptr[-1] += stack_ptr[0]; in execute()
111 --stack_ptr; in execute()
112 stack_ptr[-1] -= stack_ptr[0]; in execute()
116 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/x3/calc/
Dcalc6.cpp116 , stack_ptr(stack.begin()) in vmachine()
120 int top() const { return stack_ptr[-1]; }; in top()
126 std::vector<int>::iterator stack_ptr; member in client::vmachine
132 stack_ptr = stack.begin(); in execute()
139 stack_ptr[-1] = -stack_ptr[-1]; in execute()
143 --stack_ptr; in execute()
144 stack_ptr[-1] += stack_ptr[0]; in execute()
148 --stack_ptr; in execute()
149 stack_ptr[-1] -= stack_ptr[0]; in execute()
153 --stack_ptr; in execute()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/
Dcalc6.cpp131 , stack_ptr(stack.begin()) in vmachine()
135 int top() const { return stack_ptr[-1]; }; in top()
141 std::vector<int>::iterator stack_ptr; member in client::vmachine
147 stack_ptr = stack.begin(); in execute()
154 stack_ptr[-1] = -stack_ptr[-1]; in execute()
158 --stack_ptr; in execute()
159 stack_ptr[-1] += stack_ptr[0]; in execute()
163 --stack_ptr; in execute()
164 stack_ptr[-1] -= stack_ptr[0]; in execute()
168 --stack_ptr; in execute()
[all …]
/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.c151 nir_variable *stack_ptr; member
199 vars.stack_ptr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "stack_ptr"); in create_rt_variables()
250 _mesa_hash_table_insert(var_remap, src->stack_ptr, dst->stack_ptr); in map_rt_variables()
316 nir_store_var(b, vars->stack_ptr, in insert_rt_return()
317 nir_iadd(b, nir_load_var(b, vars->stack_ptr), nir_imm_int(b, -16)), 1); in insert_rt_return()
319 nir_load_scratch(b, 1, 32, nir_load_var(b, vars->stack_ptr), .align_mul = 16), 1); in insert_rt_return()
420 nir_store_var(&b_shader, vars->stack_ptr, in lower_rt_instructions()
421 nir_iadd(&b_shader, nir_load_var(&b_shader, vars->stack_ptr), in lower_rt_instructions()
425 nir_load_var(&b_shader, vars->stack_ptr), .align_mul = 16, in lower_rt_instructions()
428 nir_store_var(&b_shader, vars->stack_ptr, in lower_rt_instructions()
[all …]