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

1234

/external/libcxx/test/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/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/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
628 c_command(const char **wp) argument
642 c_typeset(const char **wp) argument
1010 c_alias(const char **wp) argument
1156 c_unalias(const char **wp) argument
1218 c_let(const char **wp) argument
1238 c_jobs(const char **wp) argument
1274 c_fgbg(const char **wp) argument
1310 c_kill(const char **wp) argument
1427 c_getopts(const char **wp) argument
1519 c_bind(const char **wp) argument
1579 c_shift(const char **wp) argument
1610 c_umask(const char **wp) argument
1743 c_dot(const char **wp) argument
1780 c_wait(const char **wp) argument
1803 c_read(const char **wp) argument
2200 c_eval(const char **wp) argument
2258 c_trap(const char **wp) argument
2301 c_exitreturn(const char **wp) argument
2348 c_brkcont(const char **wp) argument
2408 c_set(const char **wp) argument
2454 c_unset(const char **wp) argument
2613 char **wp = *app; local
2672 c_mknod(const char **wp) argument
2782 c_test(const char **wp) argument
3417 c_ulimit(const char **wp) argument
3535 c_rename(const char **wp) argument
3559 c_realpath(const char **wp) argument
3588 c_cat(const char **wp) argument
3676 c_sleep(const char **wp) argument
3732 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
1577 get_brace_var(XString *wsp, char *wp) argument
1662 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/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/0.153/libasm/
H A Dasm_newscn.c65 char *wp = flagstr; local
71 wp = stpcpy (wp, ", \"");
74 *wp++ = 'w';
76 *wp++ = 'a';
78 *wp++ = 'x';
80 *wp++ = 'M';
82 *wp++ = 'S';
84 *wp++ = 'L';
86 *wp
[all...]
/external/chromium_org/net/http/
H A Dmd4.cc79 Uint8 *bp; const Uint32 *wp, *wpend; local
82 wp = in;
83 wpend = wp + (len >> 2);
85 for (; wp != wpend; ++wp, bp += 4)
87 bp[0] = (Uint8) ((*wp ) & 0xFF);
88 bp[1] = (Uint8) ((*wp >> 8) & 0xFF);
89 bp[2] = (Uint8) ((*wp >> 16) & 0xFF);
90 bp[3] = (Uint8) ((*wp >> 24) & 0xFF);
97 Uint32 *wp; cons local
[all...]
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_vt.h37 FX_BOOL operator == (const CPVT_WordPlace & wp) const
39 return wp.nSecIndex == this->nSecIndex && wp.nLineIndex == this->nLineIndex && wp.nWordIndex == this->nWordIndex;
42 FX_BOOL operator != (const CPVT_WordPlace & wp) const
44 return wp.nSecIndex != this->nSecIndex || wp.nLineIndex != this->nLineIndex || wp.nWordIndex != this->nWordIndex;
47 inline FX_INT32 WordCmp(const CPVT_WordPlace & wp) const
49 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...]
H A DPOSIXThread.h86 bool EnableHardwareWatchpoint(lldb_private::Watchpoint *wp);
88 bool DisableHardwareWatchpoint(lldb_private::Watchpoint *wp);
/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 786 milliseconds

1234