/ndk/sources/cxx-stl/llvm-libc++/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();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/ |
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_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_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_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...] |
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_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...] |
/ndk/sources/cxx-stl/llvm-libc++/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/elfutils/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/ppapi/native_client/src/trusted/weak_ref/ |
call_on_main_thread.h | 58 nacl::WeakRef<R>* wp = anchor->MakeWeakRef<R>(raw_data); local 64 reinterpret_cast<void*>(wp)); 129 nacl::WeakRef<WeakRefAutoAbandonWrapper<R> >* wp = local 138 reinterpret_cast<void*>(wp));
|
/external/qemu/distrib/sdl-1.2.15/src/audio/mme/ |
SDL_mmeaudio.c | 112 WAVEHDR *wp = (WAVEHDR *) dwParam1; local 115 inUse[wp->dwUser] = FALSE;
|
/external/libppp/src/ |
async.c | 86 u_char *wp; local 88 wp = *cp; 91 *wp++ = HDLC_ESC; 95 *wp++ = HDLC_ESC; 98 *wp++ = c; 99 *cp = wp; 108 struct mbuf *wp; local 121 wp = bp; 123 while (wp) { 124 sp = MBUF_CTOP(wp); [all...] |
filter.c | 247 char *wp; local 250 ruleno = strtol(*argv, &wp, 0); 251 if (*argv == wp || ruleno >= MAXFILTERS) { 273 val = strtol(*argv, &wp, 0); 274 if (!*wp && val >= 0 && val < MAXFILTERS) {
|
pred.c | 179 u_char *cp, *wp, *hp; local 186 hp = wp = MBUF_CTOP(mwp); 188 *wp++ = *cp++ = orglen >> 8; 189 *wp++ = *cp++ = orglen & 0377; 196 len = compress(state, bufp + 2, wp, orglen); 201 wp += len; 204 memcpy(wp, bufp + 2, orglen); 205 wp += orglen; 209 *wp++ = fcs & 0377; 210 *wp++ = fcs >> 8 222 struct mbuf *wp; local [all...] |
deflate.c | 73 u_char *wp, *rp; local 97 wp = MBUF_CTOP(mo); 98 *wp++ = state->seqno >> 8; 99 *wp++ = state->seqno & 0377; 104 state->cx.next_out = wp; 203 u_char *wp; local 238 wp = MBUF_CTOP(mo); 239 wp[0] = '\0'; 248 state->cx.next_out = wp + 1; 282 if (!(wp[1] & 1)) [all...] |
/frameworks/base/core/jni/android/opengl/ |
poly_clip.cpp | 62 float *up, *vp, *wp; local 82 wp = (float *)&q->vert[q->n].sx; 83 for(int i = 0; i < 4; i++, wp++, up++, vp++) { 84 *wp = *up+t*(*vp-*up);
|
/frameworks/rs/cpp/util/ |
RefBase.h | 198 class wp class in namespace:android::RSC 203 inline wp() : m_ptr(0) { } function in class:android::RSC::wp 205 wp(T* other); 206 wp(const wp<T>& other); 207 wp(const sp<T>& other); 208 template<typename U> wp(U* other); 209 template<typename U> wp(const sp<U>& other); 210 template<typename U> wp(const wp<U>& other) [all...] |
/frameworks/rs/server/ |
RefBase.h | 197 class wp class in namespace:android 202 inline wp() : m_ptr(0) { } function in class:android::wp 204 wp(T* other); 205 wp(const wp<T>& other); 206 wp(const sp<T>& other); 207 template<typename U> wp(U* other); 208 template<typename U> wp(const sp<U>& other); 209 template<typename U> wp(const wp<U>& other) [all...] |
/system/core/include/utils/ |
RefBase.h | 209 class wp class in namespace:android 214 inline wp() : m_ptr(0) { } function in class:android::wp 216 wp(T* other); 217 wp(const wp<T>& other); 218 wp(const sp<T>& other); 219 template<typename U> wp(U* other); 220 template<typename U> wp(const sp<U>& other); 221 template<typename U> wp(const wp<U>& other) [all...] |
/external/chromium/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/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/e2fsprogs/intl/ |
l10nflist.c | 374 char *wp; local 391 wp = stpcpy (retval, "iso"); 393 wp = retval; 397 *wp++ = tolower ((unsigned char) codeset[cnt]); 399 *wp++ = codeset[cnt]; 401 *wp = '\0';
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s3_lib.c | 3069 unsigned char *rp,*wp; local [all...] |
/external/openssl/ssl/ |
s3_lib.c | 3014 unsigned char *rp,*wp; local [all...] |