Home
last modified time | relevance | path

Searched refs:stack_idx (Results 1 – 25 of 166) sorted by relevance

1234567

/dports/games/freecell-solver/freecell-solver-6.2.0/
H A Dzerofc_freecell_moves.h19 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
21 var_AUTO(col, fcs_state_get_col(state_key, stack_idx)); in DECLARE_MOVE_FUNCTION()
38 my_copy_stack(stack_idx); in DECLARE_MOVE_FUNCTION()
39 fcs_state_pop_col_top(&new_state_key, stack_idx); in DECLARE_MOVE_FUNCTION()
44 FCS_MOVE_TYPE_STACK_TO_FOUNDATION, stack_idx, in DECLARE_MOVE_FUNCTION()
62 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
80 copy_two_stacks(stack_idx, empty_stack_idx); in DECLARE_MOVE_FUNCTION()
81 fcs_state_pop_col_top(&new_state_key, stack_idx); in DECLARE_MOVE_FUNCTION()
89 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
102 if ((stack_i)ds == stack_idx) in DECLARE_MOVE_FUNCTION()
[all …]
H A Dfreecell.c74 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
392 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
462 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
627 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; ++stack_idx) in DECLARE_MOVE_FUNCTION() local
717 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
912 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; ++stack_idx) in DECLARE_MOVE_FUNCTION() local
978 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
1103 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
1157 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
1190 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in DECLARE_MOVE_FUNCTION() local
[all …]
H A Ddbm_calc_derived.h188 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in horne_prune() local
345 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in instance_solver_thread_calc_derived_states() local
351 empty_stack_idx = stack_idx; in instance_solver_thread_calc_derived_states()
367 fcs_state_pop_col_top(&new_state, stack_idx); in instance_solver_thread_calc_derived_states()
411 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in instance_solver_thread_calc_derived_states() local
430 fcs_state_pop_col_top(&new_state, stack_idx); in instance_solver_thread_calc_derived_states()
467 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in instance_solver_thread_calc_derived_states() local
481 fcs_state_pop_col_top(&new_state, stack_idx); in instance_solver_thread_calc_derived_states()
513 for (stack_i stack_idx = 0; stack_idx < LOCAL_STACKS_NUM; stack_idx++) in instance_solver_thread_calc_derived_states() local
524 fcs_state_pop_col_top(&new_state, stack_idx); in instance_solver_thread_calc_derived_states()
[all …]
/dports/editors/rehex/rehex-0.4.0/wxLua/modules/wxlua/
H A Dwxllua.cpp243 if (lua_isnoneornil(L, stack_idx)) in wxluaR_ref()
398 if (lua_getmetatable(L, stack_idx)) in wxluaO_deletegcobject()
859 int ltype = lua_type(L, stack_idx); in wxluaT_type()
1462 int l_type = lua_type(L, stack_idx); in wxlua_getbooleantype()
1568 if (lua_istable(L, stack_idx)) in wxlua_getchararray()
1626 if (lua_istable(L, stack_idx)) in wxlua_getwxArrayString()
1679 if (lua_istable(L, stack_idx)) in wxlua_getwxSortedArrayString()
1711 if (lua_istable(L, stack_idx)) in wxlua_getwxArrayInt()
1764 if (lua_istable(L, stack_idx)) in wxlua_getwxArrayDouble()
1818 if (lua_istable(L, stack_idx)) in wxlua_getwxPointArray()
[all …]
H A Dwxllua.h406 WXDLLIMPEXP_WXLUA int LUACALL wxluaT_type(lua_State* L, int stack_idx);
420 WXDLLIMPEXP_WXLUA wxString LUACALL wxluaT_gettypename(lua_State* L, int stack_idx);
423 WXDLLIMPEXP_WXLUA wxString LUACALL wxlua_luaL_typename(lua_State* L, int stack_idx);
488 #define wxlua_iswxuserdata(L, stack_idx) (lua_type((L), (stack_idx)) == LUA_TUSERDATA) argument
495 WXDLLIMPEXP_WXLUA bool wxlua_iswxstringtype(lua_State* L, int stack_idx);
496 #define wxlua_isstringtype(L, stack_idx) (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TSTRING)… argument
497 #define wxlua_isbooleantype(L, stack_idx) (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TBOOLEAN… argument
498 #define wxlua_isintegertype(L, stack_idx) (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TINTEGER… argument
499 #define wxlua_isnumbertype(L, stack_idx) (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TNUMBER)… argument
500 #define wxlua_ispointertype(L, stack_idx) (wxlua_iswxluatype(lua_type(L, stack_idx), WXLUA_TPOINTER… argument
[all …]
H A Dwxlstate.h426 int wxluaT_Type(int stack_idx) const;
443 const char* GetStringType(int stack_idx);
445 wxString GetwxStringType(int stack_idx);
447 bool GetBooleanType(int stack_idx);
449 long GetIntegerType(int stack_idx);
451 double GetNumberType(int stack_idx);
454 bool IsStringType(int stack_idx) const;
455 bool IswxStringType(int stack_idx) const;
456 bool IsBooleanType(int stack_idx) const;
457 bool IsIntegerType(int stack_idx) const;
[all …]
H A Dwxlstate.cpp1397 int wxLuaState::wxluaT_Type(int stack_idx) const in wxluaT_Type()
1430 const char* wxLuaState::GetStringType(int stack_idx) in GetStringType() argument
1435 wxString wxLuaState::GetwxStringType(int stack_idx) in GetwxStringType() argument
1440 bool wxLuaState::GetBooleanType(int stack_idx) in GetBooleanType() argument
1445 long wxLuaState::GetIntegerType(int stack_idx) in GetIntegerType() argument
1450 double wxLuaState::GetNumberType(int stack_idx) in GetNumberType() argument
1456 bool wxLuaState::IsStringType(int stack_idx) const in IsStringType()
1462 bool wxLuaState::IswxStringType(int stack_idx) const in IswxStringType()
1468 bool wxLuaState::IsBooleanType(int stack_idx) const in IsBooleanType()
1473 bool wxLuaState::IsIntegerType(int stack_idx) const in IsIntegerType()
[all …]
H A Dwxlobject.cpp28 wxLuaObject::wxLuaObject(const wxLuaState& wxlState, int stack_idx) in IMPLEMENT_ABSTRACT_CLASS()
34 m_reference = m_wxlState->wxluaR_Ref(stack_idx, &wxlua_lreg_refs_key); in IMPLEMENT_ABSTRACT_CLASS()
36 wxLuaObject::wxLuaObject(lua_State* L, int stack_idx) in wxLuaObject() argument
43 m_reference = m_wxlState->wxluaR_Ref(stack_idx, &wxlua_lreg_refs_key); in wxLuaObject()
101 void wxLuaObject::SetObject(lua_State* L, int stack_idx) in SetObject() argument
108 m_reference = wxluaR_ref(L, stack_idx, &wxlua_lreg_refs_key); in SetObject()
H A Dwxlobject.h49 wxLuaObject(const wxLuaState& wxlState, int stack_idx);
50 wxLuaObject(lua_State* L, int stack_idx);
68 void SetObject(lua_State* L, int stack_idx);
/dports/graphics/instant-meshes/instant-meshes-0.0-42-g4a083f4/src/
H A Dbvh.cpp388 uint32_t stack_idx = 0; in rayIntersect() local
467 uint32_t stack_idx = 0; in rayIntersect() local
533 uint32_t stack_idx = 0; in findNearestWithRadius() local
539 if (stack_idx == 0) in findNearestWithRadius()
565 if (stack_idx == 0) in findNearestWithRadius()
575 uint32_t stack_idx = 0; in findNearest() local
582 if (stack_idx == 0) in findNearest()
621 if (stack_idx == 0) in findNearest()
637 uint32_t stack_idx = 0; in findKNearest() local
647 if (stack_idx == 0) in findKNearest()
[all …]
/dports/editors/rehex/rehex-0.4.0/wxLua/modules/wxlua/debug/
H A Dwxldebug.cpp223 int stack_idx = 1; in EnumerateStackEntry() local
547 if (lua_istable(L, stack_idx)) in RefTable()
567 int l_type = lua_type(L, stack_idx); in GetTypeValue()
594 double num = lua_tonumber(L, stack_idx); in GetTypeValue()
610 value = GetTableInfo(L, stack_idx); in GetTypeValue()
617 if (lua_iscfunction(L, stack_idx)) in GetTypeValue()
648 int nItems = luaL_getn(L, stack_idx); in GetTableInfo()
661 void* udata = lua_touserdata(L, stack_idx); in GetUserDataInfo()
694 int wxl_type = wxluaT_type(L, stack_idx); in GetUserDataInfo()
820 … return DumpTable(stack_idx, wxString::Format(wxT("StackIdx=%d"), stack_idx), msg, tableArray, 0); in DumpTable()
[all …]
H A Dwxldebug.h152 static int GetTypeValue(lua_State *L, int stack_idx, int* wxl_type, wxString& value);
154 static wxString GetTableInfo(lua_State *L, int stack_idx);
157 static wxString GetUserDataInfo(lua_State *L, int stack_idx, bool full_userdata);
165 … int RefTable(lua_State* L, int stack_idx, int* flag_type, int extra_flag, wxArrayInt& references);
211 wxString DumpTable(int stack_idx, const wxString& msg = wxEmptyString);
216 …wxString DumpTable(int stack_idx, const wxString& tablename, const wxString& msg, wxSortedArrayStr…
/dports/editors/helix/helix-0.5.0/cargo-crates/ropey-1.3.1/src/
H A Drope_builder.rs127 let mut stack_idx = self.stack.len() - 1; in finish_internal() localVariable
128 while stack_idx >= 1 { in finish_internal()
130 if let Node::Internal(ref mut children) = *Arc::make_mut(&mut self.stack[stack_idx - 1]) in finish_internal()
136 stack_idx -= 1; in finish_internal()
230 let mut stack_idx = (self.stack.len() - 1) as isize; in append_leaf_node() localVariable
232 if stack_idx < 0 { in append_leaf_node()
238 } else if self.stack[stack_idx as usize].child_count() < (MAX_CHILDREN - 1) { in append_leaf_node()
240 Arc::make_mut(&mut self.stack[stack_idx as usize]) in append_leaf_node()
247 Arc::make_mut(&mut self.stack[stack_idx as usize]) in append_leaf_node()
251 std::mem::swap(&mut left, &mut self.stack[stack_idx as usize]); in append_leaf_node()
[all …]
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/ropey-1.3.1/src/
H A Drope_builder.rs127 let mut stack_idx = self.stack.len() - 1; in finish_internal() localVariable
128 while stack_idx >= 1 { in finish_internal()
130 if let Node::Internal(ref mut children) = *Arc::make_mut(&mut self.stack[stack_idx - 1]) in finish_internal()
136 stack_idx -= 1; in finish_internal()
230 let mut stack_idx = (self.stack.len() - 1) as isize; in append_leaf_node() localVariable
232 if stack_idx < 0 { in append_leaf_node()
238 } else if self.stack[stack_idx as usize].child_count() < (MAX_CHILDREN - 1) { in append_leaf_node()
240 Arc::make_mut(&mut self.stack[stack_idx as usize]) in append_leaf_node()
247 Arc::make_mut(&mut self.stack[stack_idx as usize]) in append_leaf_node()
251 std::mem::swap(&mut left, &mut self.stack[stack_idx as usize]); in append_leaf_node()
[all …]
/dports/multimedia/obs-studio/obs-studio-27.1.3/deps/obs-scripting/
H A Dobs-scripting-lua.h110 add_lua_obs_callback_extra(lua_State *script, int stack_idx, size_t extra_size) in add_lua_obs_callback_extra() argument
117 lua_pushvalue(script, stack_idx); in add_lua_obs_callback_extra()
124 int stack_idx) in add_lua_obs_callback() argument
126 return add_lua_obs_callback_extra(script, stack_idx, 0); in add_lua_obs_callback()
142 int stack_idx) in find_next_lua_obs_callback() argument
151 bool match = lua_rawequal(script, -1, stack_idx); in find_next_lua_obs_callback()
164 int stack_idx) in find_lua_obs_callback() argument
166 return find_next_lua_obs_callback(script, NULL, stack_idx); in find_lua_obs_callback()
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/testrender/cuda/
H A Dwrapper.cu96 int stack_idx = 0; in process_closure() local
107 ptr_stack [stack_idx ] = ((OSL::ClosureAdd*) cur)->closureB; in process_closure()
108 weight_stack[stack_idx++] = weight; in process_closure()
155 if (cur == NULL && stack_idx > 0) { in process_closure()
156 cur = ptr_stack [--stack_idx]; in process_closure()
157 weight = weight_stack[ stack_idx]; in process_closure()
276 int stack_idx = 0; in process_closure() local
288 weight_stack[stack_idx++] = weight; in process_closure()
333 if (cur == NULL && stack_idx > 0) { in process_closure()
334 cur = ptr_stack [--stack_idx]; in process_closure()
[all …]
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/testrender/cuda/
H A Dwrapper.cu96 int stack_idx = 0; in process_closure() local
107 ptr_stack [stack_idx ] = ((OSL::ClosureAdd*) cur)->closureB; in process_closure()
108 weight_stack[stack_idx++] = weight; in process_closure()
155 if (cur == NULL && stack_idx > 0) { in process_closure()
156 cur = ptr_stack [--stack_idx]; in process_closure()
157 weight = weight_stack[ stack_idx]; in process_closure()
276 int stack_idx = 0; in process_closure() local
288 weight_stack[stack_idx++] = weight; in process_closure()
333 if (cur == NULL && stack_idx > 0) { in process_closure()
334 cur = ptr_stack [--stack_idx]; in process_closure()
[all …]
/dports/devel/pecl-APCu/apcu-5.1.21/
H A Dapc_iterator.c243 iterator->stack_idx = 0; in apc_iterator_fetch_active()
279 iterator->stack_idx = 0; in apc_iterator_fetch_deleted()
344 iterator->stack_idx = 0; in apc_iterator_obj_init()
399 iterator->stack_idx = 0; in PHP_METHOD()
413 if (apc_stack_size(iterator->stack) == iterator->stack_idx) { in PHP_METHOD()
430 if (apc_stack_size(iterator->stack) == iterator->stack_idx) { in PHP_METHOD()
437 item = apc_stack_get(iterator->stack, iterator->stack_idx); in PHP_METHOD()
450 if (apc_stack_size(iterator->stack) == iterator->stack_idx) { in PHP_METHOD()
457 item = apc_stack_get(iterator->stack, iterator->stack_idx); in PHP_METHOD()
478 iterator->stack_idx++; in PHP_METHOD()
[all …]
/dports/editors/emacs/emacs-27.2/src/
H A Dbidi.c448 bidi_it->stack_idx++; in bidi_push_embedding_level()
450 st = &bidi_it->level_stack[bidi_it->stack_idx]; in bidi_push_embedding_level()
477 if (bidi_it->stack_idx > 0) in bidi_pop_embedding_level()
506 bidi_it->stack_idx--; in bidi_pop_embedding_level()
1128 bidi_it->stack_idx = 0; in bidi_set_paragraph_end()
1178 bidi_it->stack_idx = 0; in bidi_line_init()
2139 eassert (bidi_it->stack_idx > 0); in bidi_resolve_explicit()
2694 old_sidx = bidi_it->stack_idx; in bidi_find_bracket_pairs()
2697 new_sidx = bidi_it->stack_idx; in bidi_find_bracket_pairs()
3067 old_sidx = bidi_it->stack_idx; in bidi_resolve_neutral()
[all …]
H A Dccl.c615 if (stack_idx >= 256 \
618 if (stack_idx > 0) \
629 stack_idx++; \
869 int stack_idx = ccl->stack_idx; in ccl_driver() local
1063 if (stack_idx >= 256 in ccl_driver()
1069 if (stack_idx > 0) in ccl_driver()
1081 stack_idx++; in ccl_driver()
1109 if (stack_idx > 0) in ccl_driver()
1111 stack_idx--; in ccl_driver()
1785 ccl->stack_idx = stack_idx; in ccl_driver()
[all …]
/dports/editors/emacs-devel/emacs-4d1968b/src/
H A Dbidi.c448 bidi_it->stack_idx++; in bidi_push_embedding_level()
450 st = &bidi_it->level_stack[bidi_it->stack_idx]; in bidi_push_embedding_level()
477 if (bidi_it->stack_idx > 0) in bidi_pop_embedding_level()
506 bidi_it->stack_idx--; in bidi_pop_embedding_level()
1128 bidi_it->stack_idx = 0; in bidi_set_paragraph_end()
1178 bidi_it->stack_idx = 0; in bidi_line_init()
2141 eassert (bidi_it->stack_idx > 0); in bidi_resolve_explicit()
2696 old_sidx = bidi_it->stack_idx; in bidi_find_bracket_pairs()
2699 new_sidx = bidi_it->stack_idx; in bidi_find_bracket_pairs()
3069 old_sidx = bidi_it->stack_idx; in bidi_resolve_neutral()
[all …]
H A Dccl.c615 if (stack_idx >= 256 \
618 if (stack_idx > 0) \
629 stack_idx++; \
876 int stack_idx = ccl->stack_idx; in ccl_driver() local
1070 if (stack_idx >= 256 in ccl_driver()
1076 if (stack_idx > 0) in ccl_driver()
1088 stack_idx++; in ccl_driver()
1116 if (stack_idx > 0) in ccl_driver()
1118 stack_idx--; in ccl_driver()
1858 ccl->stack_idx = stack_idx; in ccl_driver()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/importers/common/
H A Dslice_tracker.cc165 base::Optional<uint32_t> stack_idx = in AddArgs() local
167 if (!stack_idx.has_value()) in AddArgs()
169 uint32_t slice_idx = stack[*stack_idx].row; in AddArgs()
172 ArgsTracker* tracker = &stack[*stack_idx].args_tracker; in AddArgs()
280 base::Optional<uint32_t> stack_idx = finder(stack); in CompleteSlice() local
284 if (!stack_idx) in CompleteSlice()
287 const auto& slice_info = stack[stack_idx.value()]; in CompleteSlice()
292 ArgsTracker* tracker = &stack[stack_idx.value()].args_tracker; in CompleteSlice()
310 if (*stack_idx == stack.size() - 1) in CompleteSlice()
/dports/textproc/libcyaml/libcyaml-1.3.0/src/
H A Dsave.c78 if (ctx->stack_idx < ctx->stack_max) { in cyaml__stack_ensure()
349 "Save: PUSH[%u]: %s\n", ctx->stack_idx, in cyaml__stack_push()
352 ctx->stack[ctx->stack_idx] = s; in cyaml__stack_push()
353 ctx->state = ctx->stack + ctx->stack_idx; in cyaml__stack_push()
354 ctx->stack_idx++; in cyaml__stack_push()
412 uint32_t idx = ctx->stack_idx; in cyaml__stack_pop()
430 ctx->stack_idx = idx; in cyaml__stack_pop()
472 if (ctx->stack_idx > 1) { in cyaml__backtrace()
1350 } while (ctx.stack_idx > 1); in cyaml__save()
1354 assert(ctx.stack_idx == 0); in cyaml__save()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/
H A Dslice_tracker.cc168 base::Optional<uint32_t> stack_idx = finder(stack); in CompleteSlice() local
172 if (!stack_idx) in CompleteSlice()
175 uint32_t slice_idx = stack[stack_idx.value()].first; in CompleteSlice()
180 ArgsTracker* tracker = &stack[stack_idx.value()].second; in CompleteSlice()
186 if (*stack_idx == stack.size() - 1) in CompleteSlice()

1234567