HomeSort by relevance Sort by last modified time
    Searched refs:wp (Results 1 - 25 of 519) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/pdfium/core/fpdfdoc/
cpvt_wordplace.h 34 inline bool operator==(const CPVT_WordPlace& wp) const {
35 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
36 wp.nWordIndex == nWordIndex;
38 inline bool operator!=(const CPVT_WordPlace& wp) const {
39 return !(*this == wp);
41 inline bool operator<(const CPVT_WordPlace& wp) const {
42 if (nSecIndex != wp.nSecIndex)
43 return nSecIndex < wp.nSecIndex;
44 if (nLineIndex != wp.nLineIndex
    [all...]
  /external/libcxx/test/std/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();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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...]
  /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)
  /frameworks/native/services/sensorservice/
SensorRecord.h 30 bool removeConnection(const wp<const SensorEventConnection>& connection);
35 wp<const SensorEventConnection> getFirstPendingFlushConnection();
38 SortedVector< wp<const SensorEventConnection> > mConnections;
41 Vector< wp<const SensorEventConnection> > mPendingFlushConnections;
  /system/core/libutils/include/utils/
RefBase.h 20 // This provides primarily wp<> weak pointer types and RefBase, which work
23 // sp<> (and wp<>) are a type of smart pointer that use a well defined protocol
33 // pointers through sp<> and wp<>.
54 // rare that a function will take a wp<>).
106 // Other more specific restrictions for wp<> and sp<>:
120 // Use of wp::unsafe_get() for any purpose other than debugging is almost
124 // is a longer-lived sp<>, why not use an sp<> directly?) A wp<> should only be
135 // wp<> or sp<> pointers to it will result in an abort or heap corruption.
151 // Wp::promote(), implemented via the attemptIncStrong() member function, is
154 // a wp<>. Binder code also sometimes uses attemptIncStrong() directly
352 class wp class in namespace:android
357 inline wp() : m_ptr(0) { } function in class:android::wp
    [all...]
  /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 explicit wp(T* other);
206 wp(const wp<T>& other);
207 explicit wp(const sp<T>& other);
208 template<typename U> explicit wp(U* other);
209 template<typename U> explicit wp(const sp<U>& other);
210 template<typename U> explicit wp(const wp<U>& other)
    [all...]
  /frameworks/av/media/libmedia/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;
  /external/libcxx/test/std/localization/locale.stdcvt/
codecvt_utf16_in.pass.cpp 35 char32_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 char32_t* wp = nullptr local
113 char32_t* wp = nullptr; local
152 char32_t* wp = nullptr; local
191 char32_t* wp = nullptr; local
232 char32_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 char32_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 char32_t* wp = nullptr local
113 char32_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_utf16_in.pass.cpp 46 CharT* wp = nullptr; local
49 std::codecvt_base::result r = c.in(m, n, n + 4, np, w, w + 2, wp);
51 assert(wp == w);
57 r = c.in(m, n, n + 3, np, w, w + 2, wp);
59 assert(wp == w);
64 r = c.in(m, n, n + 2, np, w, w + 2, wp);
66 assert(wp == w + 1);
71 r = c.in(m, n, n + 1, np, w, w + 2, wp);
73 assert(wp == w + 1);
83 CharT* wp = nullptr local
126 CharT* wp = nullptr; local
165 CharT* wp = nullptr; local
202 CharT* wp = nullptr; local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/localization/locale.stdcvt/
codecvt_utf16_in.pass.cpp 35 char32_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 char32_t* wp = nullptr local
113 char32_t* wp = nullptr; local
152 char32_t* wp = nullptr; local
191 char32_t* wp = nullptr; local
232 char32_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 char32_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 char32_t* wp = nullptr local
113 char32_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_utf16_in.pass.cpp 46 CharT* wp = nullptr; local
49 std::codecvt_base::result r = c.in(m, n, n + 4, np, w, w + 2, wp);
51 assert(wp == w);
57 r = c.in(m, n, n + 3, np, w, w + 2, wp);
59 assert(wp == w);
64 r = c.in(m, n, n + 2, np, w, w + 2, wp);
66 assert(wp == w + 1);
71 r = c.in(m, n, n + 1, np, w, w + 2, wp);
73 assert(wp == w + 1);
83 CharT* wp = nullptr local
126 CharT* wp = nullptr; local
165 CharT* wp = nullptr; local
202 CharT* wp = nullptr; local
    [all...]
  /external/pdfium/third_party/libtiff/
tif_pixarlog.c 114 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op,
123 t0 = ToLinearF[cr = (wp[0] & mask)];
124 t1 = ToLinearF[cg = (wp[1] & mask)];
125 t2 = ToLinearF[cb = (wp[2] & mask)];
131 wp += 3;
134 t0 = ToLinearF[(cr += wp[0]) & mask];
135 t1 = ToLinearF[(cg += wp[1]) & mask];
136 t2 = ToLinearF[(cb += wp[2]) & mask];
142 t0 = ToLinearF[cr = (wp[0] & mask)];
143 t1 = ToLinearF[cg = (wp[1] & mask)]
    [all...]
  /external/toybox/toys/posix/
printf.c 97 int wp[] = {0,-1}, i = 0; local
104 if (*arg) wp[i] = atolx(*arg++);
105 } else while (*f >= '0' && *f <= '9') wp[i] = (wp[i]*10)+(*f++)-'0';
107 wp[1] = 0;
119 } else if (c == 'c') printf(toybuf, wp[0], wp[1], *aa);
120 else if (c == 's') printf(toybuf, wp[0], wp[1], aa);
128 printf(toybuf, wp[0], wp[1], ll)
    [all...]
  /external/mksh/src/
funcs.c 81 c_true(const char **wp MKSH_A_UNUSED)
87 c_false(const char **wp MKSH_A_UNUSED)
247 c_pwd(const char **wp)
253 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1)
264 wp += builtin_opt.optind;
266 if (wp[0]) {
290 c_print(const char **wp)
330 if (wp[0][0] == 'e') {
338 ++wp;
340 if (*wp && !strcmp(*wp, "-n"))
2440 char **wp = *app; local
    [all...]
  /frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
AHandler.h 44 wp<ALooper> getLooper() const {
48 wp<AHandler> getHandler() const {
61 wp<ALooper> mLooper;
63 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) {
  /external/libcxx/test/std/utilities/tuple/tuple.general/
tuple.smartptr.pass.cpp 23 std::tuple<std::weak_ptr <char>> wp; local
28 std::tuple<std::weak_ptr <char[]>> wp; local
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.general/
tuple.smartptr.pass.cpp 23 std::tuple<std::weak_ptr <char>> wp; local
28 std::tuple<std::weak_ptr <char[]>> wp; local
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
weak_ptr.pass.cpp 48 std::weak_ptr<A> wp; local
51 std::shared_ptr<A> sp(wp);
62 std::weak_ptr<A> wp(sp0);
63 std::shared_ptr<A> sp(wp);
72 std::weak_ptr<A> wp(sp0);
76 std::shared_ptr<A> sp(wp);

Completed in 1043 milliseconds

1 2 3 4 5 6 7 8 91011>>