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

1234

/external/pdfium/core/fpdfdoc/
H A Dcpvt_wordplace.h34 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
[all...]
/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/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_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_utf8_utf16_in.pass.cpp46 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 local
126 CharT* wp = nullptr; local
165 CharT* wp = nullptr; local
202 CharT* wp = nullptr; local
[all...]
H A Dcodecvt_utf16_out.pass.cpp51 const CharT* wp = nullptr; local
54 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
56 assert(wp == &w + 1);
64 r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
66 assert(wp == &w + 1);
74 r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
76 assert(wp == &w + 1);
84 r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
86 assert(wp == &w + 1);
98 const CharT* wp local
145 const CharT* wp = nullptr; local
201 const CharT* wp = nullptr; local
248 const CharT* wp = nullptr; local
298 const CharT* wp = nullptr; local
[all...]
H A Dcodecvt_utf8_utf16_out.pass.cpp46 const CharT* wp = nullptr; local
49 std::codecvt_base::result r = c.out(m, w, w + 2, wp, n, n + 4, np);
51 assert(wp == w + 2);
59 r = c.out(m, w, w + 1, wp, n, n + 4, np);
61 assert(wp == w + 1);
68 r = c.out(m, w, w + 1, wp, n, n + 4, np);
70 assert(wp == w + 1);
76 r = c.out(m, w, w + 1, wp, n, n + 4, np);
78 assert(wp == w + 1);
87 const CharT* wp local
121 const CharT* wp = nullptr; local
178 const CharT* wp = nullptr; local
219 const CharT* wp = nullptr; local
253 const CharT* wp = nullptr; local
[all...]
H A Dcodecvt_utf8_out.pass.cpp48 const CharT* wp = nullptr; local
51 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
53 assert(wp == &w + 1);
61 r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
63 assert(wp == &w + 1);
71 r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
73 assert(wp == &w + 1);
85 const CharT* wp = nullptr; local
88 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np);
90 assert(wp
122 const CharT* wp = nullptr; local
172 const CharT* wp = nullptr; local
219 const CharT* wp = nullptr; local
266 const CharT* 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
342 horizontalAccumulate8(uint16 *wp, int n, int stride, unsigned char *op, unsigned char *ToLinear8) argument
391 horizontalAccumulate8abgr(uint16 *wp, int n, int stride, unsigned char *op, unsigned char *ToLinear8) argument
962 horizontalDifferenceF(float *ip, int n, int stride, uint16 *wp, uint16 *FromLT2) argument
1016 horizontalDifference16(unsigned short *ip, int n, int stride, unsigned short *wp, uint16 *From14) argument
1067 horizontalDifference8(unsigned char *ip, int n, int stride, unsigned short *wp, uint16 *From8) argument
[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/mksh/src/
H A Dfuncs.c81 c_true(const char **wp MKSH_A_UNUSED)
87 c_false(const char **wp MKSH_A_UNUSED)
247 c_pwd(const char **wp) argument
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) argument
330 if (wp[0][0] == 'e') {
338 ++wp;
340 if (*wp
607 c_whence(const char **wp) argument
631 c_command(const char **wp) argument
656 do_whence(const char **wp, int fcflags, bool vflag, bool iscommand) argument
767 c_alias(const char **wp) argument
918 c_unalias(const char **wp) argument
980 c_let(const char **wp) argument
1000 c_jobs(const char **wp) argument
1036 c_fgbg(const char **wp) argument
1072 c_kill(const char **wp) argument
1202 c_getopts(const char **wp) argument
1294 c_bind(const char **wp) argument
1354 c_shift(const char **wp) argument
1389 c_umask(const char **wp) argument
1525 c_dot(const char **wp) argument
1571 c_wait(const char **wp) argument
1594 c_read(const char **wp) argument
2029 c_eval(const char **wp) argument
2088 c_trap(const char **wp) argument
2133 c_exitreturn(const char **wp) argument
2175 c_brkcont(const char **wp) argument
2235 c_set(const char **wp) argument
2280 c_unset(const char **wp) argument
2440 char **wp = *app; local
2497 c_mknod(const char **wp) argument
2606 c_test(const char **wp) argument
3291 c_ulimit(const char **wp) argument
3409 c_rename(const char **wp) argument
3433 c_realpath(const char **wp) argument
3462 c_cat(const char **wp) argument
3568 c_sleep(const char **wp) argument
3624 c_suspend(const char **wp) argument
[all...]
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;
254 Xcheck(ws, wp);
264 *wp++ = ADELIM;
265 *wp++ = c;
277 *wp
1565 get_brace_var(XString *wsp, char *wp) argument
1669 char *wp, c; local
[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/linux-kselftest/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c90 static bool set_watchpoint(pid_t pid, int size, int wp) argument
92 const volatile uint8_t *addr = &var[32 + wp];
121 static bool run_test(int wr_size, int wp_size, int wr, int wp) argument
152 if (!set_watchpoint(pid, wp_size, wp))
213 int wr, wp, size; local
224 for (wp = wr - size; wp <= wr + size; wp = wp + size) {
225 result = run_test(size, MIN(size, 8), wr, wp);
[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/python/cpython2/Objects/
H A Ddescrobject.c940 wrapper_dealloc(wrapperobject *wp) argument
942 PyObject_GC_UnTrack(wp);
943 Py_TRASHCAN_SAFE_BEGIN(wp)
944 Py_XDECREF(wp->descr);
945 Py_XDECREF(wp->self);
946 PyObject_GC_Del(wp);
947 Py_TRASHCAN_SAFE_END(wp)
960 wrapper_hash(wrapperobject *wp) argument
963 x = _Py_HashPointer(wp->descr);
966 y = PyObject_Hash(wp
976 wrapper_repr(wrapperobject *wp) argument
990 wrapper_objclass(wrapperobject *wp) argument
999 wrapper_name(wrapperobject *wp) argument
1007 wrapper_doc(wrapperobject *wp) argument
1028 wrapper_call(wrapperobject *wp, PyObject *args, PyObject *kwds) argument
1050 wrapperobject *wp = (wrapperobject *)self; local
1097 wrapperobject *wp; local
[all...]

Completed in 562 milliseconds

1234