Home
last modified time | relevance | path

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

/third_party/boost/libs/lockfree/test/
Dstack_test.cpp22 boost::lockfree::stack<long> stk(128); in BOOST_AUTO_TEST_CASE() local
24 stk.push(1); in BOOST_AUTO_TEST_CASE()
25 stk.push(2); in BOOST_AUTO_TEST_CASE()
27 BOOST_REQUIRE(stk.pop(out)); BOOST_REQUIRE_EQUAL(out, 2); in BOOST_AUTO_TEST_CASE()
28 BOOST_REQUIRE(stk.pop(out)); BOOST_REQUIRE_EQUAL(out, 1); in BOOST_AUTO_TEST_CASE()
29 BOOST_REQUIRE(!stk.pop(out)); in BOOST_AUTO_TEST_CASE()
34 boost::lockfree::stack<long> stk(128); in BOOST_AUTO_TEST_CASE() local
36 stk.unsynchronized_push(1); in BOOST_AUTO_TEST_CASE()
37 stk.unsynchronized_push(2); in BOOST_AUTO_TEST_CASE()
39 BOOST_REQUIRE(stk.unsynchronized_pop(out)); BOOST_REQUIRE_EQUAL(out, 2); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_common.hpp45 void add_items(queue & stk) in add_items()
54 while(stk.bounded_push(id) == false) { in add_items()
60 while(stk.push(id) == false) { in add_items()
109 void run(queue & stk) in run()
111 BOOST_WARN(stk.is_lock_free()); in run()
117 BOOST_REQUIRE(stk.empty()); in run()
120 …create_thread(boost::bind(&queue_stress_tester::template get_items<queue>, this, boost::ref(stk))); in run()
123 …create_thread(boost::bind(&queue_stress_tester::template add_items<queue>, this, boost::ref(stk))); in run()
136 BOOST_REQUIRE(stk.empty()); in run()
Dspsc_queue_test.cpp64 spsc_queue<int> stk(64); in BOOST_AUTO_TEST_CASE() local
68 BOOST_REQUIRE_EQUAL(stk.push(data, data + 2), data + 2); in BOOST_AUTO_TEST_CASE()
71 BOOST_REQUIRE(stk.pop(out)); BOOST_REQUIRE_EQUAL(out, 1); in BOOST_AUTO_TEST_CASE()
72 BOOST_REQUIRE(stk.pop(out)); BOOST_REQUIRE_EQUAL(out, 2); in BOOST_AUTO_TEST_CASE()
73 BOOST_REQUIRE(!stk.pop(out)); in BOOST_AUTO_TEST_CASE()
/third_party/re2/re2/
Dprog.cc565 std::vector<int> stk; in Flatten() local
566 stk.reserve(size()); in Flatten()
573 MarkSuccessors(&rootmap, &predmap, &predvec, &reachable, &stk); in Flatten()
582 MarkDominator(i->index(), &rootmap, &predmap, &predvec, &reachable, &stk); in Flatten()
594 EmitList(i->index(), &rootmap, &flat, &reachable, &stk); in Flatten()
649 SparseSet* reachable, std::vector<int>* stk) { in MarkSuccessors() argument
660 stk->clear(); in MarkSuccessors()
661 stk->push_back(start_unanchored()); in MarkSuccessors()
662 while (!stk->empty()) { in MarkSuccessors()
663 int id = stk->back(); in MarkSuccessors()
[all …]
Dnfa.cc212 AddState* stk = stack_.data(); in AddToThreadq() local
215 stk[nstk++] = {id0, NULL}; in AddToThreadq()
218 AddState a = stk[--nstk]; in AddToThreadq()
264 stk[nstk++] = {id+1, NULL}; in AddToThreadq()
272 stk[nstk++] = {id+1, NULL}; in AddToThreadq()
277 stk[nstk++] = {0, t0}; in AddToThreadq()
318 stk[nstk++] = {id+1, NULL}; in AddToThreadq()
Dparse.cc803 Regexp* stk[4]; in RemoveLeadingString() local
806 if (d < arraysize(stk)) in RemoveLeadingString()
807 stk[d++] = re; in RemoveLeadingString()
836 re = stk[--d]; in RemoveLeadingString()
933 std::vector<Frame> stk; in FactorAlternation() local
934 stk.emplace_back(sub, nsub); in FactorAlternation()
937 auto& sub = stk.back().sub; in FactorAlternation()
938 auto& nsub = stk.back().nsub; in FactorAlternation()
939 auto& round = stk.back().round; in FactorAlternation()
940 auto& splices = stk.back().splices; in FactorAlternation()
[all …]
Dregexp.cc442 std::vector<Regexp*> stk; in Equal() local
458 stk.push_back(a2); in Equal()
459 stk.push_back(b2); in Equal()
482 size_t n = stk.size(); in Equal()
487 a = stk[n-2]; in Equal()
488 b = stk[n-1]; in Equal()
489 stk.resize(n-2); in Equal()
Dprog.h369 SparseSet* reachable, std::vector<int>* stk);
377 SparseSet* reachable, std::vector<int>* stk);
384 SparseSet* reachable, std::vector<int>* stk);
Ddfa.cc844 int* stk = stack_.data(); in AddToQueue() local
847 stk[nstk++] = id; in AddToQueue()
850 id = stk[--nstk]; in AddToQueue()
887 stk[nstk++] = id+1; in AddToQueue()
895 stk[nstk++] = Mark; in AddToQueue()
906 stk[nstk++] = id+1; in AddToQueue()
/third_party/libunwind/tests/
DGtest-bt.c213 stack_t stk; in main() local
234 stk.ss_sp = malloc (SIG_STACK_SIZE); in main()
235 if (!stk.ss_sp) in main()
237 stk.ss_size = SIG_STACK_SIZE; in main()
238 stk.ss_flags = 0; in main()
239 if (sigaltstack (&stk, NULL) < 0) in main()
258 stk.ss_flags = SS_DISABLE; in main()
259 sigaltstack (&stk, NULL); in main()
260 free (stk.ss_sp); in main()
DGtest-trace.c231 stack_t stk; in main() local
252 stk.ss_sp = malloc (SIG_STACK_SIZE); in main()
253 if (!stk.ss_sp) in main()
255 stk.ss_size = SIG_STACK_SIZE; in main()
256 stk.ss_flags = 0; in main()
257 if (sigaltstack (&stk, NULL) < 0) in main()
277 stk.ss_flags = SS_DISABLE; in main()
278 sigaltstack (&stk, NULL); in main()
279 free (stk.ss_sp); in main()
/third_party/grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py58 self.indent = len(call_stack_builder.stk)
90 self.stk = []
113 self.stk.append(ScopeBuilder(self, line))
116 assert self.stk, (
119 self.stk.pop().finish(line)
120 if not self.stk:
125 if self.stk:
126 self.stk[-1].mark(line)
/third_party/grpc/src/core/lib/channel/
Dchannel_stack.cc66 #define CHANNEL_ELEMS_FROM_STACK(stk) \ argument
67 ((grpc_channel_element*)((char*)(stk) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE( \
70 #define CALL_ELEMS_FROM_STACK(stk) \ argument
71 ((grpc_call_element*)((char*)(stk) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE( \
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_pass.h595 vd_stk stk; variable
613 if (level + 1 > stk.size()) in push_stk()
614 stk.resize(level+1); in push_stk()
616 stk[level].clear(); in push_stk()
621 stk[level].add_set(stk[level + 1]); in pop_stk()
626 val_set & cur_set() { return stk[level]; } in cur_set()
/third_party/grpc/src/core/ext/filters/client_channel/
Dsubchannel.cc1073 grpc_channel_stack* stk = static_cast<grpc_channel_stack*>(arg); in ConnectionDestroy() local
1074 grpc_channel_stack_destroy(stk); in ConnectionDestroy()
1075 gpr_free(stk); in ConnectionDestroy()
1091 grpc_channel_stack* stk; in PublishTransportLocked() local
1094 reinterpret_cast<void**>(&stk)); in PublishTransportLocked()
1106 grpc_channel_stack_destroy(stk); in PublishTransportLocked()
1107 gpr_free(stk); in PublishTransportLocked()
1112 new ConnectedSubchannel(stk, args_, channelz_node_)); in PublishTransportLocked()
/third_party/skia/third_party/externals/oboe/docs/notes/
Deffects.md45 - [Synthesis Toolkit in C++ (STK)](https://ccrma.stanford.edu/software/stk/index.html)
/third_party/icu/icu4c/source/data/misc/
DlikelySubtags.txt1138 stk{"stk_Latn_ZZ"}
DlangInfo.txt1375 "stk","Latn","ZZ",
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DlikelySubtags.txt1121 stk{"stk_Latn_ZZ"}
/third_party/skia/third_party/externals/icu/source/data/misc/
DlikelySubtags.txt1139 stk{"stk_Latn_ZZ"}
DlangInfo.txt1377 "stk","Latn","ZZ",
/third_party/NuttX/
DREADME.md1928 | | | |- efm32-g8xx-stk/
1932 | | | `- olimex-efm32g880f128-stk/
/third_party/python/Lib/test/
Dmime.types71 application/hyperstudio stk
/third_party/openh264/res/
DCisco_Absolute_Power_1280x720_30fps.yuv3873 …*-00/01/./3313//220011111  %'(')*)&()(%&')--/B^stk^SPMMLLLMLMKMMJHGEFG…
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch192712 zI`ez)stk>K%~025PEqYc-GZU%52g2u)wm}I-0`J4Gaa}~6p|N(Ipm7ZvlqtL9ffpa