/ndk/sources/cxx-stl/llvm-libc++/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();
|
/frameworks/native/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...] |
/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...] |
/frameworks/av/include/media/ |
IMediaDeathNotifier.h | 39 static void addObitRecipient(const wp<IMediaDeathNotifier>& recipient); 40 static void removeObitRecipient(const wp<IMediaDeathNotifier>& recipient); 48 virtual void binderDied(const wp<IBinder>& who); 56 static SortedVector< wp<IMediaDeathNotifier> > sObitRecipients;
|
/ndk/sources/cxx-stl/llvm-libc++/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 | 75 c_true(const char **wp MKSH_A_UNUSED) 81 c_false(const char **wp MKSH_A_UNUSED) 226 c_pwd(const char **wp) 232 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) 243 wp += builtin_opt.optind; 245 if (wp[0]) { 269 c_print(const char **wp) 282 if (wp[0][0] == 'e') { 284 wp++; 301 if (*wp && !strcmp(*wp, "-n")) 2599 char **wp = *app; local [all...] |
lex.c | 167 statep->ls_start = Xsavepos(ws, wp); \ 175 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 1661 char *wp, c; local [all...] |
tree.c | 294 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) 310 switch (*wp++) { 312 return (--wp); 315 c = *wp++; 325 c = *wp++; 343 while ((c = *wp++) != 0) 370 if (*wp++ == '{') 372 while ((c = *wp++) != 0) 374 wp = wdvarput(shf, wp, 0, opmode) [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
BurstCapture.h | 38 BurstCapture(wp<Camera2Client> client, wp<CaptureSequencer> sequencer); 49 wp<Camera2Client> mClient; 50 wp<CaptureSequencer> mSequencer;
|
ProFrameProcessor.h | 38 ProFrameProcessor(wp<CameraDeviceBase> device); 49 wp<FilteredListener> listener); 51 wp<FilteredListener> listener); 56 wp<CameraDeviceBase> mDevice; 65 wp<FilteredListener> listener;
|
/ndk/sources/cxx-stl/llvm-libc++/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/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...] |
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...] |
/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...] |
/frameworks/base/core/java/android/text/ |
TextLine.java | 625 TextPaint wp = mWorkPaint; local 626 wp.set(mPaint); 655 span.updateMeasureState(wp); 670 return wp.getTextRunCursor(mChars, spanStart, spanLimit - spanStart, 673 return wp.getTextRunCursor(mText, mStart + spanStart, 679 * @param wp 681 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) { 688 wp.getFontMetricsInt(fmi); 707 * @param wp the working paint 721 private float handleText(TextPaint wp, int start, int end 886 TextPaint wp = mWorkPaint; local 895 TextPaint wp = mWorkPaint; local 912 TextPaint wp = mWorkPaint; local 1011 TextPaint wp = mWorkPaint; local [all...] |
/frameworks/av/media/libmedia/ |
IMediaDeathNotifier.cpp | 31 SortedVector< wp<IMediaDeathNotifier> > IMediaDeathNotifier::sObitRecipients; 62 IMediaDeathNotifier::addObitRecipient(const wp<IMediaDeathNotifier>& recipient) 70 IMediaDeathNotifier::removeObitRecipient(const wp<IMediaDeathNotifier>& recipient) 78 IMediaDeathNotifier::DeathNotifier::binderDied(const wp<IBinder>& who) { 82 SortedVector< wp<IMediaDeathNotifier> > list;
|
/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...] |
/frameworks/native/services/surfaceflinger/ |
SurfaceTextureLayer.cpp | 41 wp<IBinder> gbp; 43 MessageCleanUpList(const sp<SurfaceFlinger>& flinger, const wp<IBinder>& gbp)
|
/frameworks/av/include/media/stagefright/foundation/ |
AHandlerReflector.h | 40 wp<T> mTarget;
|