Home
last modified time | relevance | path

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

1234567

/third_party/boost/libs/smart_ptr/test/
Dweak_ptr_test.cpp77 boost::weak_ptr<int> wp; in default_constructor() local
78 BOOST_TEST(wp.use_count() == 0); in default_constructor()
82 boost::weak_ptr<void> wp; in default_constructor() local
83 BOOST_TEST(wp.use_count() == 0); in default_constructor()
87 boost::weak_ptr<incomplete> wp; in default_constructor() local
88 BOOST_TEST(wp.use_count() == 0); in default_constructor()
97 boost::weak_ptr<int> wp(sp); in shared_ptr_constructor() local
98 BOOST_TEST(wp.use_count() == sp.use_count()); in shared_ptr_constructor()
108 boost::weak_ptr<int> wp(sp); in shared_ptr_constructor() local
109 BOOST_TEST(wp.use_count() == sp.use_count()); in shared_ptr_constructor()
[all …]
Dweak_ptr_mt_test.cpp12 static boost::weak_ptr<int> wp( sp );
18 boost::weak_ptr<int> p1( wp ); in f1()
20 BOOST_TEST( !wp.expired() ); in f1()
21 BOOST_TEST( wp.lock() != 0 ); in f1()
29 boost::weak_ptr<int> p1( wp ); in f2()
31 BOOST_TEST( wp.expired() ); in f2()
32 BOOST_TEST( wp.lock() == 0 ); in f2()
54 BOOST_TEST_EQ( wp.use_count(), 1 ); in main()
59 BOOST_TEST_EQ( wp.use_count(), 0 ); in main()
71 wp.reset(); in main()
Dquick.cpp49 boost::weak_ptr<X> wp( p1 ); in main() local
50 BOOST_TEST_EQ( wp.use_count(), 2 ); in main()
53 BOOST_TEST_EQ( wp.use_count(), 1 ); in main()
56 BOOST_TEST_EQ( wp.use_count(), 0 ); in main()
68 boost::weak_ptr<X> wp( p1 ); in main() local
69 BOOST_TEST_EQ( wp.use_count(), 2 ); in main()
72 BOOST_TEST_EQ( wp.use_count(), 1 ); in main()
75 BOOST_TEST_EQ( wp.use_count(), 0 ); in main()
Dmake_shared_const_test.cpp79 boost::weak_ptr<X const> wp( pi ); in main() local
93 boost::weak_ptr<X const> wp( pi ); in main() local
107 boost::weak_ptr<X const> wp( pi ); in main() local
121 boost::weak_ptr<X const> wp( pi ); in main() local
135 boost::weak_ptr<X const> wp( pi ); in main() local
149 boost::weak_ptr<X const> wp( pi ); in main() local
163 boost::weak_ptr<X const> wp( pi ); in main() local
177 boost::weak_ptr<X const> wp( pi ); in main() local
191 boost::weak_ptr<X const> wp( pi ); in main() local
205 boost::weak_ptr<X const> wp( pi ); in main() local
[all …]
Dallocate_local_shared_test.cpp91 boost::weak_ptr<X> wp( pi ); in main() local
104 boost::weak_ptr<X> wp( pi ); in main() local
117 boost::weak_ptr<X> wp( pi ); in main() local
130 boost::weak_ptr<X> wp( pi ); in main() local
143 boost::weak_ptr<X> wp( pi ); in main() local
156 boost::weak_ptr<X> wp( pi ); in main() local
169 boost::weak_ptr<X> wp( pi ); in main() local
182 boost::weak_ptr<X> wp( pi ); in main() local
195 boost::weak_ptr<X> wp( pi ); in main() local
208 boost::weak_ptr<X> wp( pi ); in main() local
[all …]
Dallocate_shared_test.cpp81 boost::weak_ptr<X> wp( pi ); in main() local
94 boost::weak_ptr<X> wp( pi ); in main() local
107 boost::weak_ptr<X> wp( pi ); in main() local
120 boost::weak_ptr<X> wp( pi ); in main() local
133 boost::weak_ptr<X> wp( pi ); in main() local
146 boost::weak_ptr<X> wp( pi ); in main() local
159 boost::weak_ptr<X> wp( pi ); in main() local
172 boost::weak_ptr<X> wp( pi ); in main() local
185 boost::weak_ptr<X> wp( pi ); in main() local
198 boost::weak_ptr<X> wp( pi ); in main() local
[all …]
Dmake_shared_test.cpp86 boost::weak_ptr<X> wp( pi ); in main() local
100 boost::weak_ptr<X> wp( pi ); in main() local
114 boost::weak_ptr<X> wp( pi ); in main() local
128 boost::weak_ptr<X> wp( pi ); in main() local
142 boost::weak_ptr<X> wp( pi ); in main() local
156 boost::weak_ptr<X> wp( pi ); in main() local
170 boost::weak_ptr<X> wp( pi ); in main() local
184 boost::weak_ptr<X> wp( pi ); in main() local
198 boost::weak_ptr<X> wp( pi ); in main() local
212 boost::weak_ptr<X> wp( pi ); in main() local
[all …]
Dshared_from_raw_test2.cpp94 boost::weak_ptr<X> wp( px ); in test() local
95 BOOST_TEST( !wp.expired() ); in test()
99 BOOST_TEST( wp.expired() ); in test()
112 boost::weak_ptr<X> wp( px ); in test() local
113 BOOST_TEST( !wp.expired() ); in test()
117 BOOST_TEST( wp.expired() ); in test()
129 boost::weak_ptr<X> wp( px ); in test() local
130 BOOST_TEST( !wp.expired() ); in test()
134 BOOST_TEST( wp.expired() ); in test()
Desft_regtest.cpp96 boost::weak_ptr<X> wp( px ); in test() local
97 BOOST_TEST( !wp.expired() ); in test()
101 BOOST_TEST( wp.expired() ); in test()
114 boost::weak_ptr<X> wp( px ); in test() local
115 BOOST_TEST( !wp.expired() ); in test()
119 BOOST_TEST( wp.expired() ); in test()
131 boost::weak_ptr<X> wp( px ); in test() local
132 BOOST_TEST( !wp.expired() ); in test()
136 BOOST_TEST( wp.expired() ); in test()
Dshared_ptr_fn_test.cpp32 boost::weak_ptr<void()> wp( pf ); in main() local
34 BOOST_TEST( wp.lock().get() == f ); in main()
35 BOOST_TEST_EQ( wp.use_count(), 1 ); in main()
39 BOOST_TEST( wp.lock().get() == 0 ); in main()
40 BOOST_TEST_EQ( wp.use_count(), 0 ); in main()
Dlocal_sp_fn_test.cpp32 boost::weak_ptr<void()> wp( pf ); in main() local
34 BOOST_TEST( wp.lock().get() == f ); in main()
35 BOOST_TEST_EQ( wp.use_count(), 1 ); in main()
39 BOOST_TEST( wp.lock().get() == 0 ); in main()
40 BOOST_TEST_EQ( wp.use_count(), 0 ); in main()
Dallocate_shared_alloc11_test.cpp103 boost::weak_ptr<X> wp( pi ); in main() local
116 boost::weak_ptr<X> wp( pi ); in main() local
129 boost::weak_ptr<X> wp( pi ); in main() local
142 boost::weak_ptr<X> wp( pi ); in main() local
155 boost::weak_ptr<X> wp( pi ); in main() local
168 boost::weak_ptr<X> wp( pi ); in main() local
181 boost::weak_ptr<X> wp( pi ); in main() local
194 boost::weak_ptr<X> wp( pi ); in main() local
207 boost::weak_ptr<X> wp( pi ); in main() local
220 boost::weak_ptr<X> wp( pi ); in main() local
/third_party/mksh/
Dlex.c172 statep->ls_start = Xsavepos(ws, wp); \
180 wp = Xrestpos(ws, wp, statep->ls_start); \
205 char *wp; /* output word pointer */ in yylex() local
215 Xinit(ws, wp, 64, ATEMP); in yylex()
224 *wp++ = OQUOTE; in yylex()
262 Xcheck(ws, wp); in yylex()
272 *wp++ = ADELIM; in yylex()
273 *wp++ = c; in yylex()
285 *wp = EOS; in yylex()
286 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex()
[all …]
Dfuncs.c76 c_true(const char **wp MKSH_A_UNUSED) in c_true()
82 c_false(const char **wp MKSH_A_UNUSED) in c_false()
249 c_pwd(const char **wp) in c_pwd() argument
255 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
266 wp += builtin_opt.optind; in c_pwd()
268 if (wp[0]) { in c_pwd()
292 c_print(const char **wp) in c_print() argument
332 if (wp[0][0] == 'e') { in c_print()
340 ++wp; in c_print()
342 if (*wp && !strcmp(*wp, Tdn)) { in c_print()
[all …]
Dtree.c319 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) in wdvarput() argument
335 switch (*wp++) { in wdvarput()
337 return (--wp); in wdvarput()
339 if (ord(*wp) == ORD(/*{*/ '}')) { in wdvarput()
340 ++wp; in wdvarput()
345 c = ord(*wp++); in wdvarput()
349 c = ord(*wp++); in wdvarput()
368 if (ord(*wp) == ORD('(' /*)*/)) in wdvarput()
371 while ((c = *wp++) != 0) in wdvarput()
406 if (ord(*wp++) == ORD('{')) in wdvarput()
[all …]
/third_party/typescript/tests/baselines/reference/
DjsdocTypeReferenceToMergedClass.types10 >p : wp
15 >p : wp
18 Workspace.Project = function wp() { }
19 >Workspace.Project = function wp() { } : typeof wp
20 >Workspace.Project : typeof wp
22 >Project : typeof wp
23 >function wp() { } : typeof wp
24 >wp : typeof wp
29 >Workspace.Project : typeof wp
31 >Project : typeof wp
/third_party/gettext/gettext-tools/src/
Dx-tcl.c434 free_word (struct word *wp) in free_word() argument
436 if (wp->type == t_string) in free_word()
438 free_token (wp->token); in free_word()
439 free (wp->token); in free_word()
445 string_of_word (const struct word *wp) in string_of_word() argument
450 if (!(wp->type == t_string)) in string_of_word()
452 n = wp->token->charcount; in string_of_word()
454 memcpy (str, wp->token->chars, n); in string_of_word()
582 accumulate_word (struct word *wp, enum terminator looking_for, in accumulate_word() argument
616 wp->type = t_other; in accumulate_word()
[all …]
Dx-sh.c455 free_word (struct word *wp) in free_word() argument
457 if (wp->type == t_string) in free_word()
459 free_token (wp->token); in free_word()
460 free (wp->token); in free_word()
466 string_of_word (const struct word *wp) in string_of_word() argument
471 if (!(wp->type == t_string)) in string_of_word()
473 n = wp->token->charcount; in string_of_word()
475 memcpy (str, wp->token->chars, n); in string_of_word()
482 substring_of_word (const struct word *wp, size_t offset) in substring_of_word() argument
487 if (!(wp->type == t_string)) in substring_of_word()
[all …]
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dtensor_summary.cc197 DebugServices::watchpoint_t wp) { in IsWatchpointHit() argument
198 auto parameter_list = wp.parameter_list; in IsWatchpointHit()
202 CONDITION_TYPE type = wp.condition.type; in IsWatchpointHit()
218 hit = all_close_[wp.id]->IsAllClose(); in IsWatchpointHit()
233 if (wp.is_gt_wp()) { in IsWatchpointHit()
235 } else if (wp.is_lt_wp()) { in IsWatchpointHit()
238 parameter.Evaluate(StatLookup(parameter.name, wp), inequality_type); in IsWatchpointHit()
246 …rSummary<T>::StatLookup(const std::string &parameter_name, const DebugServices::watchpoint_t &wp) { in StatLookup() argument
247 if (parameter_name == "param") return StatLookup(wp); in StatLookup()
280 if (range_counts_.find(wp.id) != range_counts_.end()) { in StatLookup()
[all …]
/third_party/toybox/toys/posix/
Dprintf.c94 int wp[] = {0,-1}, i = 0; in printf_main() local
101 if (*arg) wp[i] = atolx(*arg++); in printf_main()
102 } else while (*f >= '0' && *f <= '9') wp[i] = (wp[i]*10)+(*f++)-'0'; in printf_main()
104 wp[1] = 0; in printf_main()
116 } else if (c == 'c') printf(toybuf, wp[0], wp[1], *aa); in printf_main()
117 else if (c == 's') printf(toybuf, wp[0], wp[1], aa); in printf_main()
125 printf(toybuf, wp[0], wp[1], ll); in printf_main()
130 printf(toybuf, wp[0], wp[1], ld); in printf_main()
/third_party/libunwind/src/setjmp/
Dsiglongjmp.c63 unw_word_t *wp = (unw_word_t *) env; in siglongjmp() local
79 if (sp != wp[JB_SP] + sizeof(unw_word_t)) in siglongjmp()
81 if (sp != wp[JB_SP]) in siglongjmp()
85 if (!bsp_match (&c, wp)) in siglongjmp()
96 if (!resume_restores_sigmask (&c, wp) && wp[JB_MASK_SAVED]) in siglongjmp()
106 if (unw_set_reg (&c, UNW_REG_EH + 2, wp[JB_MASK]) < 0 in siglongjmp()
108 && unw_set_reg (&c, UNW_REG_EH + 3, wp[JB_MASK + 1]) < 0)) in siglongjmp()
111 if (unw_set_reg (&c, UNW_REG_EH + 2, &wp[JB_MASK]) < 0) in siglongjmp()
119 if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0 in siglongjmp()
Dsetjmp_i.h32 bsp_match (unw_cursor_t *c, unw_word_t *wp) in bsp_match() argument
44 if (bsp != wp[JB_BSP]) in bsp_match()
79 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) in resume_restores_sigmask() argument
91 if (wp[JB_MASK_SAVED]) in resume_restores_sigmask()
92 mp = &wp[JB_MASK]; in resume_restores_sigmask()
106 bsp_match (unw_cursor_t *c, unw_word_t *wp) in bsp_match() argument
112 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) in resume_restores_sigmask() argument
Dsigsetjmp.c35 unw_word_t *wp = (unw_word_t *) env; in sigsetjmp() local
40 wp[JB_SP] = (unw_word_t) __builtin_frame_address (0); in sigsetjmp()
41 wp[JB_RP] = (unw_word_t) __builtin_return_address (0); in sigsetjmp()
42 wp[JB_MASK_SAVED] = savemask; in sigsetjmp()
47 && sigprocmask (SIG_BLOCK, NULL, (sigset_t *) (wp + JB_MASK)) < 0) in sigsetjmp()
/third_party/iowow/src/platform/
Diwp.c125 char *wp = res; in iwp_allocate_tmpfile_path() local
126 memcpy(wp, tmpdir, tlen); in iwp_allocate_tmpfile_path()
127 wp += tlen; in iwp_allocate_tmpfile_path()
128 memcpy(wp, IW_PATH_STR, sizeof(IW_PATH_STR) - 1); in iwp_allocate_tmpfile_path()
129 wp += sizeof(IW_PATH_STR) - 1; in iwp_allocate_tmpfile_path()
131 memcpy(wp, prefix, plen); in iwp_allocate_tmpfile_path()
132 wp += plen; in iwp_allocate_tmpfile_path()
134 iwu_uuid4_fill(wp); in iwp_allocate_tmpfile_path()
135 wp += IW_UUID_STR_LEN; in iwp_allocate_tmpfile_path()
136 *wp = 0; in iwp_allocate_tmpfile_path()
/third_party/openssl/crypto/whrlpool/
Dbuild.info4 GENERATE[wp-mmx.s]=asm/wp-mmx.pl \
6 DEPEND[wp-mmx.s]=../perlasm/x86asm.pl
8 GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl $(PERLASM_SCHEME)

1234567