Home
last modified time | relevance | path

Searched refs:stack_top (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dosfiber_ppc64.c32 uintptr_t stack_top = (uintptr_t)((uint8_t*)(stack) + stack_size - sizeof(uintptr_t)); in marl_fiber_set_target() local
33 if ((stack_top % 16) != 0) { in marl_fiber_set_target()
34 stack_top -= (stack_top % 16); in marl_fiber_set_target()
38 *(uintptr_t*)stack_top = 0; in marl_fiber_set_target()
40 stack_top -= 48; in marl_fiber_set_target()
41 *(uintptr_t*)stack_top = stack_top + 48; in marl_fiber_set_target()
43 stack_top -= 32; in marl_fiber_set_target()
44 *(uintptr_t*)stack_top = stack_top + 32; in marl_fiber_set_target()
48 ctx->r1 = stack_top; in marl_fiber_set_target()
Dosfiber_x86.c39 uintptr_t* stack_top = (uintptr_t*)((uint8_t*)(stack) + stack_size); in marl_fiber_set_target() local
41 ctx->ESP = (uintptr_t)&stack_top[-5]; in marl_fiber_set_target()
42 stack_top[-3] = (uintptr_t)arg; in marl_fiber_set_target()
43 stack_top[-4] = (uintptr_t)target; in marl_fiber_set_target()
44 stack_top[-5] = 0; // No return target. in marl_fiber_set_target()
Dosfiber_x64.c34 uintptr_t* stack_top = (uintptr_t*)((uint8_t*)(stack) + stack_size); in marl_fiber_set_target() local
38 ctx->RSP = (uintptr_t)&stack_top[-3]; in marl_fiber_set_target()
39 stack_top[-2] = 0; // No return target. in marl_fiber_set_target()
Dosfiber_arm.c32 uintptr_t* stack_top = (uintptr_t*)((uint8_t*)(stack) + stack_size); in marl_fiber_set_target() local
36 ctx->SP = ((uintptr_t)stack_top) & ~(uintptr_t)15; in marl_fiber_set_target()
Dosfiber_aarch64.c32 uintptr_t* stack_top = (uintptr_t*)((uint8_t*)(stack) + stack_size); in marl_fiber_set_target() local
36 ctx->SP = ((uintptr_t)stack_top) & ~(uintptr_t)15; in marl_fiber_set_target()
Dosfiber_mips64.c32 uintptr_t* stack_top = (uintptr_t*)((uint8_t*)(stack) + stack_size); in marl_fiber_set_target() local
36 ctx->sp = ((uintptr_t)stack_top) & ~(uintptr_t)15; in marl_fiber_set_target()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c50 static scope_stack_t *stack_top = NULL; variable
122 while (stack_top != NULL) { in define_policy()
140 if (stack_top->type != 1 || stack_top->in_else) { in is_creation_allowed()
157 avrule_decl_t *decl = stack_top->decl; in create_symbol()
200 avrule_decl_t *decl = stack_top->decl; in declare_symbol()
329 assert(stack_top->type == 1); in declare_role()
331 if (stack_top->parent == NULL) { in declare_role()
335 roles_tab = stack_top->decl->p_roles.table; in declare_role()
563 assert(stack_top->type == 1); in declare_user()
565 if (stack_top->parent == NULL) { in declare_user()
[all …]
/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner.c78 scan_stack_modes_t stack_top) /**< current stack top */ in scanner_scan_primary_expression() argument
218 if (stack_top != SCAN_STACK_ARRAY_LITERAL) in scanner_scan_primary_expression()
230 if (stack_top != SCAN_STACK_PAREN_EXPRESSION && stack_top != SCAN_STACK_ARRAY_LITERAL) in scanner_scan_primary_expression()
240 if (stack_top != SCAN_STACK_ARRAY_LITERAL) in scanner_scan_primary_expression()
273 if (stack_top == SCAN_STACK_PAREN_EXPRESSION) in scanner_scan_primary_expression()
298 scan_stack_modes_t stack_top) /**< current stack top */ in scanner_scan_post_primary_expression() argument
369 && (type != LEXER_KEYW_IN || !SCANNER_IS_FOR_START (stack_top))) in scanner_scan_post_primary_expression()
387 scan_stack_modes_t stack_top) /**< current stack top */ in scanner_scan_primary_expression_end() argument
391 switch (stack_top) in scanner_scan_primary_expression_end()
459 switch (stack_top) in scanner_scan_primary_expression_end()
[all …]
Djs-scanner-internal.h138 #define SCANNER_IS_FOR_START(stack_top) \ argument
139 ((stack_top) >= SCAN_STACK_FOR_VAR_START && (stack_top) <= SCAN_STACK_FOR_START)
/third_party/flutter/skia/third_party/externals/freetype/src/lzw/
Dftzopen.c121 if ( state->stack_top >= state->stack_size ) in ft_lzwstate_stack_grow()
201 state->stack_top = 0; in ft_lzwstate_reset()
247 if ( state->stack_top >= state->stack_size && \
251 state->stack[state->stack_top++] = (FT_Byte)(c); \
375 while ( state->stack_top > 0 ) in ft_lzwstate_io()
377 state->stack_top--; in ft_lzwstate_io()
380 buffer[result] = state->stack[state->stack_top]; in ft_lzwstate_io()
Dftzopen.h140 FT_UInt stack_top; member
/third_party/freetype/src/lzw/
Dftzopen.c121 if ( state->stack_top >= state->stack_size ) in ft_lzwstate_stack_grow()
201 state->stack_top = 0; in ft_lzwstate_reset()
247 if ( state->stack_top >= state->stack_size && \
251 state->stack[state->stack_top++] = (FT_Byte)(c); \
375 while ( state->stack_top > 0 ) in ft_lzwstate_io()
377 state->stack_top--; in ft_lzwstate_io()
380 buffer[result] = state->stack[state->stack_top]; in ft_lzwstate_io()
Dftzopen.h140 FT_UInt stack_top; member
/third_party/skia/third_party/externals/freetype/src/lzw/
Dftzopen.c121 if ( state->stack_top >= state->stack_size ) in ft_lzwstate_stack_grow()
206 state->stack_top = 0; in ft_lzwstate_reset()
252 if ( state->stack_top >= state->stack_size && \
256 state->stack[state->stack_top++] = (FT_Byte)(c); \
380 while ( state->stack_top > 0 ) in ft_lzwstate_io()
382 state->stack_top--; in ft_lzwstate_io()
385 buffer[result] = state->stack[state->stack_top]; in ft_lzwstate_io()
Dftzopen.h140 FT_UInt stack_top; member
/third_party/ltp/testcases/cve/
Dstack_clash.c85 unsigned long stack_top = -1UL, start, end; in read_stack_addr_from_proc() local
106 stack_top = start; in read_stack_addr_from_proc()
108 stack_top = end; in read_stack_addr_from_proc()
114 return stack_top; in read_stack_addr_from_proc()
/third_party/boost/boost/context/
Dfiber_fcontext.hpp165 void * stack_top = reinterpret_cast< void * >( in create_fiber1() local
170 …const std::size_t size = reinterpret_cast< uintptr_t >( stack_top) - reinterpret_cast< uintptr_t >… in create_fiber1()
171 const fcontext_t fctx = make_fcontext( stack_top, size, & fiber_entry< Record >); in create_fiber1()
187 void * stack_top = reinterpret_cast< void * >( in create_fiber2() local
192 …const std::size_t size = reinterpret_cast< uintptr_t >( stack_top) - reinterpret_cast< uintptr_t >… in create_fiber2()
193 const fcontext_t fctx = make_fcontext( stack_top, size, & fiber_entry< Record >); in create_fiber2()
Dcontinuation_fcontext.hpp168 void * stack_top = reinterpret_cast< void * >( in create_context1() local
173 …const std::size_t size = reinterpret_cast< uintptr_t >( stack_top) - reinterpret_cast< uintptr_t >… in create_context1()
174 const fcontext_t fctx = make_fcontext( stack_top, size, & context_entry< Record >); in create_context1()
190 void * stack_top = reinterpret_cast< void * >( in create_context2() local
195 …const std::size_t size = reinterpret_cast< uintptr_t >( stack_top) - reinterpret_cast< uintptr_t >… in create_context2()
196 const fcontext_t fctx = make_fcontext( stack_top, size, & context_entry< Record >); in create_context2()
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap18.c88 void *start, *stack_top, *stack_bottom; in allocate_stack() local
100 stack_top = start + reserved_size; in allocate_stack()
104 start, stack_top, stack_bottom); in allocate_stack()
/third_party/googletest/googletest/src/
Dgtest-death-test.cc1371 void* const stack_top = in ExecDeathTestSpawnChild() local
1376 reinterpret_cast<uintptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1378 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/third_party/mesa3d/src/gtest/src/
Dgtest-death-test.cc1380 void* const stack_top = in ExecDeathTestSpawnChild() local
1385 reinterpret_cast<uintptr_t>(stack_top) % kMaxStackAlignment == 0); in ExecDeathTestSpawnChild()
1387 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args); in ExecDeathTestSpawnChild()
/third_party/libsnd/cmake/
DCMakeAutoGenScript.cmake173 function(stack_top STACK_ARG ITEM) function
354 stack_top(STACK CASE_ITEM)
/third_party/boost/tools/build/src/engine/
Dfunction.cpp281 LIST * stack_top( STACK * s ) in stack_top() function
878 LIST * value = stack_top( s ); in apply_modifiers()
953 LIST * value = stack_top( s ); in apply_subscript()
1096 LIST * const value = stack_top( s ); in apply_subscript_and_modifiers()
4002 l = stack_top( s ); in function_run()
4152 l = stack_top( s ); in function_run()
4164 l = stack_top( s ); in function_run()
4200 r = stack_top( s ); in function_run()
4223 result = list_copy( stack_top( s ) ); in function_run()
4348 LIST * targets = stack_top( s ); in function_run()
[all …]
/third_party/jerryscript/jerry-core/vm/
Dopcodes.c623 size_t stack_top = (size_t) (frame_ctx_p->stack_top_p - VM_GET_REGISTERS (frame_ctx_p)); in opfunc_create_executable_object() local
624 ecma_value_t *new_stack_top_p = new_registers_p + stack_top; in opfunc_create_executable_object()
/third_party/node/src/
Dnode_worker.cc640 const uintptr_t stack_top = reinterpret_cast<uintptr_t>(&arg); in StartThread() local
644 w->stack_base_ = stack_top - (w->stack_size_ - kStackBufferSize); in StartThread()

12