/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
expired.pass.cpp | 33 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.expired() == (wp.use_count() == 0)) [all...] |
lock.pass.cpp | 33 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/ |
setjmp.c | 42 void **wp = (void **) env; local 46 wp[JB_SP] = __builtin_frame_address (0); 47 wp[JB_RP] = (void *) __builtin_return_address (0);
|
sigsetjmp.c | 35 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)
|
siglongjmp.c | 46 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_MASK + 1]) < 0) [all...] |
setjmp_i.h | 32 bsp_match (unw_cursor_t *c, unw_word_t *wp) 44 if (bsp != wp[JB_BSP]) 79 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) 91 if (wp[JB_MASK_SAVED]) 92 mp = &wp[JB_MASK]; 106 bsp_match (unw_cursor_t *c, unw_word_t *wp) 112 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp)
|
longjmp.c | 46 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/ |
codecvt_utf8_utf16_in.pass.cpp | 35 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 = nullptr 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...] |
codecvt_utf16_in.pass.cpp | 35 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 = nullptr 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...] |
codecvt_utf8_in.pass.cpp | 35 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 = nullptr 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...] |
codecvt_utf16_out.pass.cpp | 35 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 = nullptr 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...] |
codecvt_utf8_utf16_out.pass.cpp | 35 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 = nullptr 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...] |
codecvt_utf8_out.pass.cpp | 35 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 = nullptr 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/ |
funcs.c | 79 c_true(const char **wp MKSH_A_UNUSED) 85 c_false(const char **wp MKSH_A_UNUSED) 232 c_pwd(const char **wp) 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) 288 if (wp[0][0] == 'e') { 290 wp++; 307 if (*wp && !strcmp(*wp, "-n")) 2613 char **wp = *app; local [all...] |
lex.c | 166 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 = EOS 1662 char *wp, c; local [all...] |
tree.c | 302 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) 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, 0, opmode) [all...] |
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
weak_ptr.pass.cpp | 45 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/ |
_UPT_access_fpreg.c | 34 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/ |
asm_newscn.c | 65 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/ |
md4.cc | 79 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; const Uint8 *bp, *bpend local [all...] |
/external/lldb/source/Plugins/Process/POSIX/ |
POSIXThread.h | 86 bool EnableHardwareWatchpoint(lldb_private::Watchpoint *wp); 88 bool DisableHardwareWatchpoint(lldb_private::Watchpoint *wp);
|
POSIXThread.cpp | 62 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) 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->WatchpointWrite() [all...] |
ProcessPOSIX.cpp | 665 ProcessPOSIX::EnableWatchpoint(Watchpoint *wp, bool notify) 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, bool notify [all...] |
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_metrics.h | 324 inline int db_RemoveOutliers_Homography(const double H[9], double *x_i,double *xp_i, double *wp,double *im, double *im_p, double *im_r, double *im_raw,double *im_raw_p,int point_count,double scale, double thresh=DB_OUTLIER_THRESHOLD) 389 wp[k2]=wp[ind2]; 390 wp[k2+1]=wp[ind2+1]; 391 wp[k2+2]=wp[ind2+2]; 392 wp[k2+3]=wp[ind2+3];
|
/external/lldb/tools/debugserver/source/MacOSX/ |
MachThread.cpp | 628 MachThread::EnableHardwareWatchpoint (const DNBBreakpoint *wp, bool also_set_on_task) 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) 658 if (wp != NULL && wp->IsHardware() [all...] |