Home
last modified time | relevance | path

Searched refs:wp (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/external/pdfium/core/fpdfdoc/
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.nLineIndex)
45 return nLineIndex < wp.nLineIndex;
[all …]
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf16_in.pass.cpp35 char32_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
40 assert(wp == &w+1); in main()
46 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
48 assert(wp == &w+1); in main()
54 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
56 assert(wp == &w+1); in main()
63 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
65 assert(wp == &w+1); in main()
74 char32_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_in.pass.cpp35 char32_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
40 assert(wp == &w+1); in main()
47 r = c.in(m, n, n+3, np, &w, &w+1, wp); in main()
49 assert(wp == &w+1); in main()
55 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
57 assert(wp == &w+1); in main()
63 r = c.in(m, n, n+1, np, &w, &w+1, wp); in main()
65 assert(wp == &w+1); in main()
74 char32_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_in.pass.cpp46 CharT* wp = nullptr; in test() local
49 std::codecvt_base::result r = c.in(m, n, n + 4, np, w, w + 2, wp); in test()
51 assert(wp == w); in test()
57 r = c.in(m, n, n + 3, np, w, w + 2, wp); in test()
59 assert(wp == w); in test()
64 r = c.in(m, n, n + 2, np, w, w + 2, wp); in test()
66 assert(wp == w + 1); in test()
71 r = c.in(m, n, n + 1, np, w, w + 2, wp); in test()
73 assert(wp == w + 1); in test()
83 CharT* wp = nullptr; in test() local
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp46 const CharT* wp = nullptr; in test() local
49 std::codecvt_base::result r = c.out(m, w, w + 2, wp, n, n + 4, np); in test()
51 assert(wp == w + 2); in test()
59 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
61 assert(wp == w + 1); in test()
68 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
70 assert(wp == w + 1); in test()
76 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
78 assert(wp == w + 1); in test()
87 const CharT* wp = nullptr; in test() local
[all …]
Dcodecvt_utf16_out.pass.cpp51 const CharT* wp = nullptr; in test() local
54 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
56 assert(wp == &w + 1); in test()
64 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
66 assert(wp == &w + 1); in test()
74 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
76 assert(wp == &w + 1); in test()
84 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
86 assert(wp == &w + 1); in test()
98 const CharT* wp = nullptr; in test() local
[all …]
Dcodecvt_utf8_out.pass.cpp48 const CharT* wp = nullptr; in test() local
51 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
53 assert(wp == &w + 1); in test()
61 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
63 assert(wp == &w + 1); in test()
71 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
73 assert(wp == &w + 1); in test()
85 const CharT* wp = nullptr; in test() local
88 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
90 assert(wp == &w); in test()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_pixarlog.c114 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op, in horizontalAccumulateF() argument
123 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
124 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
125 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF()
131 wp += 3; in horizontalAccumulateF()
134 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
135 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF()
136 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF()
142 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
143 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
[all …]
Dtif_predict.c340 uint16* wp = (uint16*) cp0; in swabHorAcc16() local
343 TIFFSwabArrayOfShort(wp, wc); in swabHorAcc16()
351 uint16* wp = (uint16*) cp0; in horAcc16() local
364 …REPEAT4(stride, wp[stride] = (uint16)(((unsigned int)wp[stride] + (unsigned int)wp[0]) & 0xffff); in horAcc16()
374 uint32* wp = (uint32*) cp0; in swabHorAcc32() local
377 TIFFSwabArrayOfLong(wp, wc); in swabHorAcc32()
385 uint32* wp = (uint32*) cp0; in horAcc32() local
398 REPEAT4(stride, wp[stride] += wp[0]; wp++) in horAcc32()
564 uint16 *wp = (uint16*) cp0; in horDiff16() local
576 wp += wc - 1; in horDiff16()
[all …]
/external/mksh/src/
Dfuncs.c81 c_true(const char **wp MKSH_A_UNUSED) in c_true()
87 c_false(const char **wp MKSH_A_UNUSED) in c_false()
247 c_pwd(const char **wp) in c_pwd() argument
253 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
264 wp += builtin_opt.optind; in c_pwd()
266 if (wp[0]) { in c_pwd()
290 c_print(const char **wp) in c_print() argument
330 if (wp[0][0] == 'e') { in c_print()
338 ++wp; in c_print()
340 if (*wp && !strcmp(*wp, "-n")) { in c_print()
[all …]
Dlex.c172 statep->ls_start = Xsavepos(ws, wp); \
180 wp = Xrestpos(ws, wp, statep->ls_start); \
205 char *wp; /* output word pointer */ in yylex() local
215 Xinit(ws, wp, 64, ATEMP); in yylex()
224 *wp++ = OQUOTE; in yylex()
262 Xcheck(ws, wp); in yylex()
272 *wp++ = ADELIM; in yylex()
273 *wp++ = c; in yylex()
285 *wp = EOS; in yylex()
286 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex()
[all …]
Dtree.c312 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) in wdvarput() argument
328 switch (*wp++) { in wdvarput()
330 return (--wp); in wdvarput()
332 if (ord(*wp) == ORD(/*{*/ '}')) { in wdvarput()
333 ++wp; in wdvarput()
338 c = ord(*wp++); in wdvarput()
342 c = ord(*wp++); in wdvarput()
368 if (ord(*wp) == ORD('(' /*)*/)) in wdvarput()
371 while ((c = *wp++) != 0) in wdvarput()
406 if (ord(*wp++) == ORD('{')) in wdvarput()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
Dexpired.pass.cpp33 std::weak_ptr<A> wp; in main() local
34 assert(wp.use_count() == 0); in main()
35 assert(wp.expired() == (wp.use_count() == 0)); in main()
39 std::weak_ptr<A> wp(sp0); in main() local
40 assert(wp.use_count() == 1); in main()
41 assert(wp.expired() == (wp.use_count() == 0)); in main()
43 assert(wp.use_count() == 0); in main()
44 assert(wp.expired() == (wp.use_count() == 0)); in main()
Dlock.pass.cpp33 std::weak_ptr<A> wp; in main() local
34 std::shared_ptr<A> sp = wp.lock(); in main()
41 std::weak_ptr<A> wp(sp0); in main() local
42 std::shared_ptr<A> sp = wp.lock(); in main()
50 std::weak_ptr<A> wp(sp0); in main() local
52 std::shared_ptr<A> sp = wp.lock(); in main()
/external/toybox/toys/posix/
Dprintf.c97 int wp[] = {0,-1}, i = 0; in printf_main() local
104 if (*arg) wp[i] = atolx(*arg++); in printf_main()
105 } else while (*f >= '0' && *f <= '9') wp[i] = (wp[i]*10)+(*f++)-'0'; in printf_main()
107 wp[1] = 0; in printf_main()
119 } else if (c == 'c') printf(toybuf, wp[0], wp[1], *aa); in printf_main()
120 else if (c == 's') printf(toybuf, wp[0], wp[1], aa); in printf_main()
128 printf(toybuf, wp[0], wp[1], ll); in printf_main()
133 printf(toybuf, wp[0], wp[1], ld); in printf_main()
/external/libunwind/src/setjmp/
Dsiglongjmp.c59 unw_word_t *wp = (unw_word_t *) env; in siglongjmp() local
75 if (sp != wp[JB_SP] + sizeof(unw_word_t)) in siglongjmp()
77 if (sp != wp[JB_SP]) in siglongjmp()
81 if (!bsp_match (&c, wp)) in siglongjmp()
92 if (!resume_restores_sigmask (&c, wp) && wp[JB_MASK_SAVED]) in siglongjmp()
102 if (unw_set_reg (&c, UNW_REG_EH + 2, wp[JB_MASK]) < 0 in siglongjmp()
104 && unw_set_reg (&c, UNW_REG_EH + 3, wp[JB_MASK + 1]) < 0)) in siglongjmp()
107 if (unw_set_reg (&c, UNW_REG_EH + 2, &wp[JB_MASK]) < 0) in siglongjmp()
115 if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0 in siglongjmp()
Dsetjmp_i.h32 bsp_match (unw_cursor_t *c, unw_word_t *wp) in bsp_match() argument
44 if (bsp != wp[JB_BSP]) in bsp_match()
79 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) in resume_restores_sigmask() argument
91 if (wp[JB_MASK_SAVED]) in resume_restores_sigmask()
92 mp = &wp[JB_MASK]; in resume_restores_sigmask()
106 bsp_match (unw_cursor_t *c, unw_word_t *wp) in bsp_match() argument
112 resume_restores_sigmask (unw_cursor_t *c, unw_word_t *wp) in resume_restores_sigmask() argument
Dsigsetjmp.c35 unw_word_t *wp = (unw_word_t *) env; in sigsetjmp() local
40 wp[JB_SP] = (unw_word_t) __builtin_frame_address (0); in sigsetjmp()
41 wp[JB_RP] = (unw_word_t) __builtin_return_address (0); in sigsetjmp()
42 wp[JB_MASK_SAVED] = savemask; in sigsetjmp()
47 && sigprocmask (SIG_BLOCK, NULL, (sigset_t *) (wp + JB_MASK)) < 0) in sigsetjmp()
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c90 static bool set_watchpoint(pid_t pid, int size, int wp) in set_watchpoint() argument
92 const volatile uint8_t *addr = &var[32 + wp]; in set_watchpoint()
121 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument
152 if (!set_watchpoint(pid, wp_size, wp)) in run_test()
213 int wr, wp, size; in main() local
224 for (wp = wr - size; wp <= wr + size; wp = wp + size) { in main()
225 result = run_test(size, MIN(size, 8), wr, wp); in main()
226 if ((result && wr == wp) || in main()
227 (!result && wr != wp)) in main()
230 size, wr, wp); in main()
[all …]
/external/elfutils/libasm/
Dasm_newscn.c67 char *wp = flagstr; in text_newscn() local
73 wp = stpcpy (wp, ", \""); in text_newscn()
76 *wp++ = 'w'; in text_newscn()
78 *wp++ = 'a'; in text_newscn()
80 *wp++ = 'x'; in text_newscn()
82 *wp++ = 'M'; in text_newscn()
84 *wp++ = 'S'; in text_newscn()
86 *wp++ = 'L'; in text_newscn()
88 *wp++ = '"'; in text_newscn()
96 *wp = '\0'; in text_newscn()
/external/python/cpython3/Objects/
Ddescrobject.c1023 wrapper_dealloc(wrapperobject *wp) in wrapper_dealloc() argument
1025 PyObject_GC_UnTrack(wp); in wrapper_dealloc()
1026 Py_TRASHCAN_SAFE_BEGIN(wp) in wrapper_dealloc()
1027 Py_XDECREF(wp->descr); in wrapper_dealloc()
1028 Py_XDECREF(wp->self); in wrapper_dealloc()
1029 PyObject_GC_Del(wp); in wrapper_dealloc()
1030 Py_TRASHCAN_SAFE_END(wp) in wrapper_dealloc()
1059 wrapper_hash(wrapperobject *wp) in wrapper_hash() argument
1062 x = _Py_HashPointer(wp->descr); in wrapper_hash()
1065 y = PyObject_Hash(wp->self); in wrapper_hash()
[all …]
/external/python/cpython2/Objects/
Ddescrobject.c940 wrapper_dealloc(wrapperobject *wp) in wrapper_dealloc() argument
942 PyObject_GC_UnTrack(wp); in wrapper_dealloc()
943 Py_TRASHCAN_SAFE_BEGIN(wp) in wrapper_dealloc()
944 Py_XDECREF(wp->descr); in wrapper_dealloc()
945 Py_XDECREF(wp->self); in wrapper_dealloc()
946 PyObject_GC_Del(wp); in wrapper_dealloc()
947 Py_TRASHCAN_SAFE_END(wp) in wrapper_dealloc()
960 wrapper_hash(wrapperobject *wp) in wrapper_hash() argument
963 x = _Py_HashPointer(wp->descr); in wrapper_hash()
966 y = PyObject_Hash(wp->self); in wrapper_hash()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dweak_ptr.pass.cpp48 std::weak_ptr<A> wp; in main() local
51 std::shared_ptr<A> sp(wp); in main()
62 std::weak_ptr<A> wp(sp0); in main() local
63 std::shared_ptr<A> sp(wp); in main()
72 std::weak_ptr<A> wp(sp0); in main() local
76 std::shared_ptr<A> sp(wp); in main()
/external/libunwind/src/ptrace/
D_UPT_access_fpreg.c34 unw_word_t *wp = (unw_word_t *) val; in _UPT_access_fpreg() local
44 for (i = 0; i < (int) (sizeof (*val) / sizeof (wp[i])); ++i) in _UPT_access_fpreg()
50 ptrace (PTRACE_POKEUSER, pid, (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), in _UPT_access_fpreg()
51 (void*) wp[i]); in _UPT_access_fpreg()
58 for (i = 0; i < (int) (sizeof (*val) / sizeof (wp[i])); ++i) in _UPT_access_fpreg()
64 wp[i] = ptrace (PTRACE_PEEKUSER, pid, in _UPT_access_fpreg()
65 (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])), 0); in _UPT_access_fpreg()
/external/openssh/
Dutf8.c99 vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap) in vasnmprintf() argument
132 max_width = wp == NULL ? INT_MAX : *wp; in vasnmprintf()
142 } else if (wp == NULL && in vasnmprintf()
207 if (wp != NULL) in vasnmprintf()
208 *wp = total_width; in vasnmprintf()
223 if (wp != NULL) in vasnmprintf()
224 *wp = 0; in vasnmprintf()
235 snmprintf(char *str, size_t sz, int *wp, const char *fmt, ...) in snmprintf() argument
242 ret = vasnmprintf(&cp, sz, wp, fmt, ap); in snmprintf()

12345678910>>...17