Searched refs:wp (Results 1 - 25 of 69) sorted by relevance

123

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dexpired.pass.cpp33 std::weak_ptr<A> wp; local
34 assert(wp.use_count() == 0);
35 assert(wp.expired() == (wp.use_count() == 0));
39 std::weak_ptr<A> wp(sp0);
40 assert(wp.use_count() == 1);
41 assert(wp.expired() == (wp.use_count() == 0));
43 assert(wp.use_count() == 0);
44 assert(wp
[all...]
H A Dlock.pass.cpp33 std::weak_ptr<A> wp; local
34 std::shared_ptr<A> sp = wp.lock();
41 std::weak_ptr<A> wp(sp0);
42 std::shared_ptr<A> sp = wp.lock();
50 std::weak_ptr<A> wp(sp0);
52 std::shared_ptr<A> sp = wp.lock();
/external/libunwind/src/setjmp/
H A Dsetjmp.c42 void **wp = (void **) env; local
46 wp[JB_SP] = __builtin_frame_address (0);
47 wp[JB_RP] = (void *) __builtin_return_address (0);
H A Dsigsetjmp.c35 unw_word_t *wp = (unw_word_t *) env; local
40 wp[JB_SP] = (unw_word_t) __builtin_frame_address (0);
41 wp[JB_RP] = (unw_word_t) __builtin_return_address (0);
42 wp[JB_MASK_SAVED] = savemask;
44 /* Note: we assume here that "wp" has same or better alignment as
47 && sigprocmask (SIG_BLOCK, NULL, (sigset_t *) (wp + JB_MASK)) < 0)
H A Dsiglongjmp.c46 can never match wp[JB_SP], unless we decode the canary first.
59 unw_word_t *wp = (unw_word_t *) env; local
75 if (sp != wp[JB_SP] + sizeof(unw_word_t))
77 if (sp != wp[JB_SP])
81 if (!bsp_match (&c, wp))
91 if wp[JB_MASK_SAVED] is FALSE. */
92 if (!resume_restores_sigmask (&c, wp) && wp[JB_MASK_SAVED])
102 if (unw_set_reg (&c, UNW_REG_EH + 2, wp[JB_MASK]) < 0
104 && unw_set_reg (&c, UNW_REG_EH + 3, wp[JB_MAS
[all...]
H A Dsetjmp_i.h32 bsp_match (unw_cursor_t *c, unw_word_t *wp) argument
44 if (bsp != wp[JB_BSP])
79 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) argument
91 if (wp[JB_MASK_SAVED])
92 mp = &wp[JB_MASK];
106 bsp_match (unw_cursor_t *c, unw_word_t *wp) argument
112 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) argument
H A Dlongjmp.c46 can never match wp[JB_SP], unless we decode the canary first.
64 unw_word_t *wp = (unw_word_t *) env; local
74 if (sp != wp[JB_SP] + sizeof(unw_word_t))
76 if (sp != wp[JB_SP])
80 if (!bsp_match (&c, wp))
87 if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0
/external/libcxx/test/std/localization/locale.stdcvt/
H A Dcodecvt_utf8_utf16_in.pass.cpp35 wchar_t* wp = nullptr; local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, w, w+2, wp);
40 assert(wp == w+2);
48 r = c.in(m, n, n+3, np, w, w+2, wp);
50 assert(wp == w+1);
56 r = c.in(m, n, n+2, np, w, w+2, wp);
58 assert(wp == w+1);
63 r = c.in(m, n, n+1, np, w, w+2, wp);
65 assert(wp == w+1);
74 wchar_t* wp local
110 wchar_t* wp = nullptr; local
149 char32_t* wp = nullptr; local
188 char32_t* wp = nullptr; local
224 char32_t* wp = nullptr; local
263 char16_t* wp = nullptr; local
302 char16_t* wp = nullptr; local
338 char16_t* wp = nullptr; local
[all...]
H A Dcodecvt_utf16_in.pass.cpp35 wchar_t* wp = nullptr; local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp);
40 assert(wp == &w+1);
46 r = c.in(m, n, n+2, np, &w, &w+1, wp);
48 assert(wp == &w+1);
54 r = c.in(m, n, n+2, np, &w, &w+1, wp);
56 assert(wp == &w+1);
63 r = c.in(m, n, n+2, np, &w, &w+1, wp);
65 assert(wp == &w+1);
74 wchar_t* wp local
113 wchar_t* wp = nullptr; local
152 wchar_t* wp = nullptr; local
191 wchar_t* wp = nullptr; local
232 wchar_t* wp = nullptr; local
271 char32_t* wp = nullptr; local
310 char32_t* wp = nullptr; local
349 char32_t* wp = nullptr; local
388 char32_t* wp = nullptr; local
427 char32_t* wp = nullptr; local
468 char32_t* wp = nullptr; local
508 char16_t* wp = nullptr; local
547 char16_t* wp = nullptr; local
586 char16_t* wp = nullptr; local
625 char16_t* wp = nullptr; local
664 char16_t* wp = nullptr; local
705 char16_t* wp = nullptr; local
[all...]
H A Dcodecvt_utf8_in.pass.cpp35 wchar_t* wp = nullptr; local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp);
40 assert(wp == &w+1);
47 r = c.in(m, n, n+3, np, &w, &w+1, wp);
49 assert(wp == &w+1);
55 r = c.in(m, n, n+2, np, &w, &w+1, wp);
57 assert(wp == &w+1);
63 r = c.in(m, n, n+1, np, &w, &w+1, wp);
65 assert(wp == &w+1);
74 wchar_t* wp local
113 wchar_t* wp = nullptr; local
155 char32_t* wp = nullptr; local
194 char32_t* wp = nullptr; local
233 char32_t* wp = nullptr; local
275 char16_t* wp = nullptr; local
305 char16_t* wp = nullptr; local
335 char16_t* wp = nullptr; local
[all...]
H A Dcodecvt_utf16_out.pass.cpp35 const wchar_t* wp = nullptr; local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np);
40 assert(wp == &w+1);
48 r = c.out(m, &w, &w+1, wp, n, n+4, np);
50 assert(wp == &w+1);
58 r = c.out(m, &w, &w+1, wp, n, n+4, np);
60 assert(wp == &w+1);
68 r = c.out(m, &w, &w+1, wp, n, n+4, np);
70 assert(wp == &w+1);
82 const wchar_t* wp local
129 const wchar_t* wp = nullptr; local
185 const wchar_t* wp = nullptr; local
232 const wchar_t* wp = nullptr; local
281 const wchar_t* wp = nullptr; local
[all...]
H A Dcodecvt_utf8_utf16_out.pass.cpp35 const wchar_t* wp = nullptr; local
38 std::codecvt_base::result r = c.out(m, w, w+2, wp, n, n+4, np);
40 assert(wp == w+2);
48 r = c.out(m, w, w+1, wp, n, n+4, np);
50 assert(wp == w+1);
57 r = c.out(m, w, w+1, wp, n, n+4, np);
59 assert(wp == w+1);
65 r = c.out(m, w, w+1, wp, n, n+4, np);
67 assert(wp == w+1);
76 const wchar_t* wp local
110 const wchar_t* wp = nullptr; local
163 const char32_t* wp = nullptr; local
204 const char32_t* wp = nullptr; local
238 const char32_t* wp = nullptr; local
292 const char16_t* wp = nullptr; local
333 const char16_t* wp = nullptr; local
367 const char16_t* wp = nullptr; local
[all...]
H A Dcodecvt_utf8_out.pass.cpp35 const wchar_t* wp = nullptr; local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np);
40 assert(wp == &w+1);
48 r = c.out(m, &w, &w+1, wp, n, n+4, np);
50 assert(wp == &w+1);
58 r = c.out(m, &w, &w+1, wp, n, n+4, np);
60 assert(wp == &w+1);
68 r = c.out(m, &w, &w+1, wp, n, n+4, np);
70 assert(wp == &w+1);
82 const wchar_t* wp local
129 const wchar_t* wp = nullptr; local
188 const char32_t* wp = nullptr; local
235 const char32_t* wp = nullptr; local
282 const char32_t* wp = nullptr; local
341 const char16_t* wp = nullptr; local
378 const char16_t* wp = nullptr; local
415 const char16_t* wp = nullptr; local
[all...]
/external/toybox/toys/posix/
H A Dprintf.c94 int wp[] = {0,-1}, i = 0; local
101 if (*arg) wp[i] = atolx(*arg++);
102 } else while (*f >= '0' && *f <= '9') wp[i] = (wp[i]*10)+(*f++)-'0';
104 wp[1] = 0;
116 } else if (c == 'c') printf(toybuf, wp[0], wp[1], *aa);
117 else if (c == 's') printf(toybuf, wp[0], wp[1], aa);
125 printf(toybuf, wp[
[all...]
/external/mksh/src/
H A Dfuncs.c79 c_true(const char **wp MKSH_A_UNUSED)
85 c_false(const char **wp MKSH_A_UNUSED)
232 c_pwd(const char **wp) argument
238 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1)
249 wp += builtin_opt.optind;
251 if (wp[0]) {
275 c_print(const char **wp) argument
288 if (wp[0][0] == 'e') {
290 wp++;
307 if (*wp
497 c_whence(const char **wp) argument
638 c_command(const char **wp) argument
652 c_typeset(const char **wp) argument
1020 c_alias(const char **wp) argument
1166 c_unalias(const char **wp) argument
1228 c_let(const char **wp) argument
1248 c_jobs(const char **wp) argument
1284 c_fgbg(const char **wp) argument
1320 c_kill(const char **wp) argument
1437 c_getopts(const char **wp) argument
1529 c_bind(const char **wp) argument
1589 c_shift(const char **wp) argument
1624 c_umask(const char **wp) argument
1757 c_dot(const char **wp) argument
1794 c_wait(const char **wp) argument
1817 c_read(const char **wp) argument
2222 c_eval(const char **wp) argument
2280 c_trap(const char **wp) argument
2323 c_exitreturn(const char **wp) argument
2366 c_brkcont(const char **wp) argument
2426 c_set(const char **wp) argument
2471 c_unset(const char **wp) argument
2630 char **wp = *app; local
2689 c_mknod(const char **wp) argument
2799 c_test(const char **wp) argument
3432 c_ulimit(const char **wp) argument
3550 c_rename(const char **wp) argument
3574 c_realpath(const char **wp) argument
3603 c_cat(const char **wp) argument
3691 c_sleep(const char **wp) argument
3747 c_suspend(const char **wp) argument
[all...]
H A Dlex.c166 statep->ls_start = Xsavepos(ws, wp); \
174 wp = Xrestpos(ws, wp, statep->ls_start); \
199 char *wp; /* output word pointer */ local
209 Xinit(ws, wp, 64, ATEMP);
218 *wp++ = OQUOTE;
266 Xcheck(ws, wp);
275 *wp++ = ADELIM;
276 *wp++ = c;
287 *wp
1590 get_brace_var(XString *wsp, char *wp) argument
1675 char *wp, c; local
[all...]
H A Dtree.c302 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) argument
318 switch (*wp++) {
320 return (--wp);
323 c = *wp++;
333 c = *wp++;
351 while ((c = *wp++) != 0)
385 if (*wp++ == '{')
387 while ((c = *wp++) != 0)
389 wp = wdvarput(shf, wp,
578 wdcopy(const char *wp, Area *ap) argument
588 wdscan(const char *wp, int c) argument
648 wdstrip(const char *wp, int opmode) argument
815 dumpwdvar_i(struct shf *shf, const char *wp, int quotelevel) argument
898 dumpwdvar(struct shf *shf, const char *wp) argument
[all...]
/external/libcxx/test/std/utilities/tuple/tuple.general/
H A Dtuple.smartptr.pass.cpp23 std::tuple<std::weak_ptr <char>> wp; local
29 std::tuple<std::weak_ptr <char[]>> wp; local
35 std::tuple<std::weak_ptr <char[5]>> wp; local
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Dweak_ptr.pass.cpp45 std::weak_ptr<A> wp; local
48 std::shared_ptr<A> sp(wp);
58 std::weak_ptr<A> wp(sp0);
59 std::shared_ptr<A> sp(wp);
67 std::weak_ptr<A> wp(sp0);
71 std::shared_ptr<A> sp(wp);
/external/libunwind/src/ptrace/
H A D_UPT_access_fpreg.c34 unw_word_t *wp = (unw_word_t *) val; local
44 for (i = 0; i < (int) (sizeof (*val) / sizeof (wp[i])); ++i)
50 ptrace (PTRACE_POKEUSER, pid, (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])),
51 (void*) wp[i]);
58 for (i = 0; i < (int) (sizeof (*val) / sizeof (wp[i])); ++i)
64 wp[i] = ptrace (PTRACE_PEEKUSER, pid,
65 (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), 0);
/external/elfutils/src/libasm/
H A Dasm_newscn.c68 char *wp = flagstr; local
74 wp = stpcpy (wp, ", \"");
77 *wp++ = 'w';
79 *wp++ = 'a';
81 *wp++ = 'x';
83 *wp++ = 'M';
85 *wp++ = 'S';
87 *wp++ = 'L';
89 *wp
[all...]
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_vt.h41 FX_BOOL operator == (const CPVT_WordPlace & wp) const
43 return wp.nSecIndex == this->nSecIndex && wp.nLineIndex == this->nLineIndex && wp.nWordIndex == this->nWordIndex;
46 FX_BOOL operator != (const CPVT_WordPlace & wp) const
48 return wp.nSecIndex != this->nSecIndex || wp.nLineIndex != this->nLineIndex || wp.nWordIndex != this->nWordIndex;
51 inline FX_INT32 WordCmp(const CPVT_WordPlace & wp) const
53 if (this->nSecIndex > wp
[all...]
/external/lldb/source/Plugins/Process/POSIX/
H A DPOSIXThread.cpp62 lldb::WatchpointSP wp = wp_list.GetByIndex(wp_idx); local
63 if (wp.get() && wp->IsEnabled())
65 assert(EnableHardwareWatchpoint(wp.get()));
321 POSIXThread::EnableHardwareWatchpoint(Watchpoint *wp) argument
324 if (wp)
326 addr_t wp_addr = wp->GetLoadAddress();
327 size_t wp_size = wp->GetByteSize();
328 bool wp_read = wp->WatchpointRead();
329 bool wp_write = wp
341 DisableHardwareWatchpoint(Watchpoint *wp) argument
[all...]
H A DProcessPOSIX.cpp665 ProcessPOSIX::EnableWatchpoint(Watchpoint *wp, bool notify) argument
668 if (wp)
670 user_id_t watchID = wp->GetID();
671 addr_t addr = wp->GetLoadAddress();
676 if (wp->IsEnabled())
700 wp->SetHardwareIndex(wp_hw_index);
708 wp_enabled &= thread->EnableHardwareWatchpoint(wp);
714 wp->SetEnabled(true, notify);
721 DisableWatchpoint(wp, false);
732 ProcessPOSIX::DisableWatchpoint(Watchpoint *wp, boo argument
[all...]
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp628 MachThread::EnableHardwareWatchpoint (const DNBBreakpoint *wp, bool also_set_on_task) argument
630 if (wp != NULL && wp->IsWatchpoint())
631 return m_arch_ap->EnableHardwareWatchpoint(wp->Address(), wp->ByteSize(), wp->WatchpointRead(), wp->WatchpointWrite(), also_set_on_task);
656 MachThread::DisableHardwareWatchpoint (const DNBBreakpoint *wp, bool also_set_on_task) argument
658 if (wp != NULL && wp
[all...]

Completed in 486 milliseconds

123