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

1234

/external/libcxx/test/std/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/pdfium/core/fpdfdoc/
H A Dcpvt_wordplace.h25 bool operator==(const CPVT_WordPlace& wp) const {
26 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
27 wp.nWordIndex == nWordIndex;
30 bool operator!=(const CPVT_WordPlace& wp) const { return !(*this == wp); }
32 inline int32_t WordCmp(const CPVT_WordPlace& wp) const {
33 if (nSecIndex > wp.nSecIndex)
35 if (nSecIndex < wp.nSecIndex)
37 if (nLineIndex > wp
[all...]
/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/std/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 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 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...]
H A Dcodecvt_utf8_in.pass.cpp35 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 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...]
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/pdfium/third_party/libtiff/
H A Dtif_pixarlog.c114 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op, argument
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[
177 horizontalAccumulate12(uint16 *wp, int n, int stride, int16 *op, float *ToLinearF) argument
245 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op, uint16 *ToLinear16) argument
297 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op) argument
340 horizontalAccumulate8(uint16 *wp, int n, int stride, unsigned char *op, unsigned char *ToLinear8) argument
389 horizontalAccumulate8abgr(uint16 *wp, int n, int stride, unsigned char *op, unsigned char *ToLinear8) argument
943 horizontalDifferenceF(float *ip, int n, int stride, uint16 *wp, uint16 *FromLT2) argument
1000 horizontalDifference16(unsigned short *ip, int n, int stride, unsigned short *wp, uint16 *From14) argument
1054 horizontalDifference8(unsigned char *ip, int n, int stride, unsigned short *wp, uint16 *From8) argument
[all...]
H A Dtif_predict.c323 uint16* wp = (uint16*) cp0; local
326 TIFFSwabArrayOfShort(wp, wc);
334 uint16* wp = (uint16*) cp0; local
342 REPEAT4(stride, wp[stride] = (uint16)(((unsigned int)wp[stride] + (unsigned int)wp[0]) & 0xffff); wp++)
351 uint32* wp = (uint32*) cp0; local
354 TIFFSwabArrayOfLong(wp, wc);
362 uint32* wp local
517 uint16 *wp = (uint16*) cp0; local
535 uint16* wp = (uint16*) cp0; local
548 uint32 *wp = (uint32*) cp0; local
566 uint32* wp = (uint32*) cp0; local
[all...]
/external/toybox/toys/posix/
H A Dprintf.c97 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[
[all...]
/external/libcxx/test/std/utilities/tuple/tuple.general/
H A Dtuple.smartptr.pass.cpp23 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/
H A Dweak_ptr.pass.cpp48 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);
/external/mksh/src/
H A Dlex.c165 statep->ls_start = Xsavepos(ws, wp); \
173 wp = Xrestpos(ws, wp, statep->ls_start); \
198 char *wp; /* output word pointer */ local
208 Xinit(ws, wp, 64, ATEMP);
217 *wp++ = OQUOTE;
252 Xcheck(ws, wp);
261 *wp++ = ADELIM;
262 *wp++ = c;
273 *wp
1565 get_brace_var(XString *wsp, char *wp) argument
1668 char *wp, c; local
[all...]
H A Dfuncs.c81 c_true(const char **wp MKSH_A_UNUSED)
87 c_false(const char **wp MKSH_A_UNUSED)
244 c_pwd(const char **wp) argument
250 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1)
261 wp += builtin_opt.optind;
263 if (wp[0]) {
287 c_print(const char **wp) argument
330 if (wp[0][0] == 'e') {
332 ++wp;
349 if (*wp
616 c_whence(const char **wp) argument
640 c_command(const char **wp) argument
665 do_whence(const char **wp, int fcflags, bool vflag, bool iscommand) argument
765 c_typeset(const char **wp) argument
1137 c_alias(const char **wp) argument
1282 c_unalias(const char **wp) argument
1344 c_let(const char **wp) argument
1364 c_jobs(const char **wp) argument
1400 c_fgbg(const char **wp) argument
1436 c_kill(const char **wp) argument
1567 c_getopts(const char **wp) argument
1659 c_bind(const char **wp) argument
1719 c_shift(const char **wp) argument
1754 c_umask(const char **wp) argument
1890 c_dot(const char **wp) argument
1936 c_wait(const char **wp) argument
1959 c_read(const char **wp) argument
2379 c_eval(const char **wp) argument
2437 c_trap(const char **wp) argument
2482 c_exitreturn(const char **wp) argument
2524 c_brkcont(const char **wp) argument
2584 c_set(const char **wp) argument
2629 c_unset(const char **wp) argument
2788 char **wp = *app; local
2847 c_mknod(const char **wp) argument
2957 c_test(const char **wp) argument
3629 c_ulimit(const char **wp) argument
3747 c_rename(const char **wp) argument
3771 c_realpath(const char **wp) argument
3800 c_cat(const char **wp) argument
3906 c_sleep(const char **wp) argument
3962 c_suspend(const char **wp) argument
[all...]
/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/libasm/
H A Dasm_newscn.c68 char *wp = flagstr; local
74 wp = stpcpy (wp, ", \"");
77 *wp++ = 'w';
79 *wp++ = 'a';
81 *wp++ = 'x';
83 *wp++ = 'M';
85 *wp++ = 'S';
87 *wp++ = 'L';
89 *wp
[all...]
/external/syslinux/libinstaller/
H A Dsyslxmod.c113 const uint32_t _slimg *wp; local
124 for (wp = (const uint32_t _slimg *)boot_image;
125 get_32_sl(wp) != LDLINUX_MAGIC;
126 wp++)
128 patcharea = (struct patch_area _slimg *)wp;
198 for (i = 0, wp = (const uint32_t _slimg *)boot_image; i < dw; i++, wp++)
199 csum -= get_32_sl(wp); /* Negative checksum */
/external/kernel-headers/original/uapi/linux/
H A Dblkzoned.h80 * @wp: Zone write pointer location in 512 B sector units
88 * start, len and wp use the regular 512 B sector unit, regardless of the
96 __u64 wp; /* Zone write pointer position */ member in struct:blk_zone

Completed in 1524 milliseconds

1234