Home
last modified time | relevance | path

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

1234

/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.c320 uint16* wp = (uint16*) cp0; in swabHorAcc16() local
323 TIFFSwabArrayOfShort(wp, wc); in swabHorAcc16()
331 uint16* wp = (uint16*) cp0; in horAcc16() local
339 …REPEAT4(stride, wp[stride] = (uint16)(((unsigned int)wp[stride] + (unsigned int)wp[0]) & 0xffff); in horAcc16()
348 uint32* wp = (uint32*) cp0; in swabHorAcc32() local
351 TIFFSwabArrayOfLong(wp, wc); in swabHorAcc32()
359 uint32* wp = (uint32*) cp0; in horAcc32() local
367 REPEAT4(stride, wp[stride] += wp[0]; wp++) in horAcc32()
514 uint16 *wp = (uint16*) cp0; in horDiff16() local
521 wp += wc - 1; in horDiff16()
[all …]
/external/opencv3/3rdparty/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.c296 uint16* wp = (uint16*) cp0; in swabHorAcc16() local
302 TIFFSwabArrayOfShort(wp, wc); in swabHorAcc16()
305 REPEAT4(stride, wp[stride] += wp[0]; wp++) in swabHorAcc16()
315 uint16* wp = (uint16*) cp0; in horAcc16() local
323 REPEAT4(stride, wp[stride] += wp[0]; wp++) in horAcc16()
333 uint32* wp = (uint32*) cp0; in swabHorAcc32() local
339 TIFFSwabArrayOfLong(wp, wc); in swabHorAcc32()
342 REPEAT4(stride, wp[stride] += wp[0]; wp++) in swabHorAcc32()
352 uint32* wp = (uint32*) cp0; in horAcc32() local
360 REPEAT4(stride, wp[stride] += wp[0]; wp++) in horAcc32()
[all …]
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf16_in.pass.cpp35 wchar_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 wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_in.pass.cpp35 wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, w, w+2, wp); in main()
40 assert(wp == w+2); in main()
48 r = c.in(m, n, n+3, np, w, w+2, wp); in main()
50 assert(wp == w+1); in main()
56 r = c.in(m, n, n+2, np, w, w+2, wp); in main()
58 assert(wp == w+1); in main()
63 r = c.in(m, n, n+1, np, w, w+2, wp); in main()
65 assert(wp == w+1); in main()
74 wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp35 const wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, w, w+2, wp, n, n+4, np); in main()
40 assert(wp == w+2); in main()
48 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
50 assert(wp == w+1); in main()
57 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
59 assert(wp == w+1); in main()
65 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
67 assert(wp == w+1); in main()
76 const wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_in.pass.cpp35 wchar_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 wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_out.pass.cpp35 const wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
40 assert(wp == &w+1); in main()
48 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
50 assert(wp == &w+1); in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
60 assert(wp == &w+1); in main()
68 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
70 assert(wp == &w+1); in main()
82 const wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf16_out.pass.cpp35 const wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
40 assert(wp == &w+1); in main()
48 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
50 assert(wp == &w+1); in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
60 assert(wp == &w+1); in main()
68 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
70 assert(wp == &w+1); in main()
82 const wchar_t* wp = nullptr; in main() local
[all …]
/external/mksh/src/
Dlex.c165 statep->ls_start = Xsavepos(ws, wp); \
173 wp = Xrestpos(ws, wp, statep->ls_start); \
198 char *wp; /* output word pointer */ in yylex() local
208 Xinit(ws, wp, 64, ATEMP); in yylex()
217 *wp++ = OQUOTE; in yylex()
252 Xcheck(ws, wp); in yylex()
261 *wp++ = ADELIM; in yylex()
262 *wp++ = c; in yylex()
273 *wp = EOS; in yylex()
274 if (is_wdvarname(Xstring(ws, wp), false)) { in yylex()
[all …]
Dfuncs.c79 c_true(const char **wp MKSH_A_UNUSED) in c_true()
85 c_false(const char **wp MKSH_A_UNUSED) in c_false()
236 c_pwd(const char **wp) in c_pwd() argument
242 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
253 wp += builtin_opt.optind; in c_pwd()
255 if (wp[0]) { in c_pwd()
279 c_print(const char **wp) in c_print() argument
290 if (wp[0][0] == 'e') { in c_print()
292 ++wp; in c_print()
309 if (*wp && !strcmp(*wp, "-n")) { in c_print()
[all …]
Dtree.c301 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) in wdvarput() argument
317 switch (*wp++) { in wdvarput()
319 return (--wp); in wdvarput()
321 if (*wp == /*{*/'}') { in wdvarput()
322 ++wp; in wdvarput()
326 c = *wp++; in wdvarput()
332 c = *wp++; in wdvarput()
349 while ((c = *wp++) != 0) in wdvarput()
383 if (*wp++ == '{') in wdvarput()
385 while ((c = *wp++) != 0) 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.c94 int wp[] = {0,-1}, i = 0; in printf_main() local
101 if (*arg) wp[i] = atolx(*arg++); in printf_main()
102 } else while (*f >= '0' && *f <= '9') wp[i] = (wp[i]*10)+(*f++)-'0'; in printf_main()
104 wp[1] = 0; in printf_main()
116 } else if (c == 'c') printf(toybuf, wp[0], wp[1], *aa); in printf_main()
117 else if (c == 's') printf(toybuf, wp[0], wp[1], aa); in printf_main()
125 printf(toybuf, wp[0], wp[1], ll); in printf_main()
130 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()
Dlongjmp.c64 unw_word_t *wp = (unw_word_t *) env; in _longjmp() local
74 if (sp != wp[JB_SP] + sizeof(unw_word_t)) in _longjmp()
76 if (sp != wp[JB_SP]) in _longjmp()
80 if (!bsp_match (&c, wp)) in _longjmp()
87 if (unw_set_reg (&c, UNW_REG_EH + 0, wp[JB_RP]) < 0 in _longjmp()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_vt.h35 FX_BOOL operator==(const CPVT_WordPlace& wp) const {
36 return wp.nSecIndex == nSecIndex && wp.nLineIndex == nLineIndex &&
37 wp.nWordIndex == nWordIndex;
40 FX_BOOL operator!=(const CPVT_WordPlace& wp) const {
41 return wp.nSecIndex != nSecIndex || wp.nLineIndex != nLineIndex ||
42 wp.nWordIndex != nWordIndex;
45 inline int32_t WordCmp(const CPVT_WordPlace& wp) const { in WordCmp()
46 if (nSecIndex > wp.nSecIndex) { in WordCmp()
49 if (nSecIndex < wp.nSecIndex) { in WordCmp()
52 if (nLineIndex > wp.nLineIndex) { in WordCmp()
[all …]
/external/elfutils/libasm/
Dasm_newscn.c68 char *wp = flagstr; in text_newscn() local
74 wp = stpcpy (wp, ", \""); in text_newscn()
77 *wp++ = 'w'; in text_newscn()
79 *wp++ = 'a'; in text_newscn()
81 *wp++ = 'x'; in text_newscn()
83 *wp++ = 'M'; in text_newscn()
85 *wp++ = 'S'; in text_newscn()
87 *wp++ = 'L'; in text_newscn()
89 *wp++ = '"'; in text_newscn()
97 *wp = '\0'; in text_newscn()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dweak_ptr.pass.cpp45 std::weak_ptr<A> wp; in main() local
48 std::shared_ptr<A> sp(wp); in main()
58 std::weak_ptr<A> wp(sp0); in main() local
59 std::shared_ptr<A> sp(wp); in main()
67 std::weak_ptr<A> wp(sp0); in main() local
71 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/opencv3/modules/features2d/src/
Dmser.cpp144 void updateTree( WParams& wp, CompHistory** _h0, CompHistory** _h1, bool final ) in updateTree()
148 int delta = wp.p.delta; in updateTree()
152 if( size >= wp.p.minArea ) in updateTree()
157 c->updateTree(wp, c == child_ ? &h0_ : 0, c == child_ ? &h1_ : 0, final); in updateTree()
193 c->checkAndCapture(wp); in updateTree()
195 checkAndCapture(wp); in updateTree()
198 void checkAndCapture( WParams& wp ) in checkAndCapture()
203 if( size < wp.p.minArea || size > wp.p.maxArea || var < 0.f || var > wp.p.maxVariation ) in checkAndCapture()
217 wp.msers->push_back(vector<Point>()); in checkAndCapture()
218 vector<Point>& region = wp.msers->back(); in checkAndCapture()
[all …]

1234