Home
last modified time | relevance | path

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

12345

/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/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_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_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_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/lldb/source/Plugins/Process/POSIX/
DPOSIXThread.cpp62 lldb::WatchpointSP wp = wp_list.GetByIndex(wp_idx); in POSIXThread() local
63 if (wp.get() && wp->IsEnabled()) in POSIXThread()
65 assert(EnableHardwareWatchpoint(wp.get())); in POSIXThread()
321 POSIXThread::EnableHardwareWatchpoint(Watchpoint *wp) in EnableHardwareWatchpoint() argument
324 if (wp) in EnableHardwareWatchpoint()
326 addr_t wp_addr = wp->GetLoadAddress(); in EnableHardwareWatchpoint()
327 size_t wp_size = wp->GetByteSize(); in EnableHardwareWatchpoint()
328 bool wp_read = wp->WatchpointRead(); in EnableHardwareWatchpoint()
329 bool wp_write = wp->WatchpointWrite(); in EnableHardwareWatchpoint()
330 uint32_t wp_hw_index = wp->GetHardwareIndex(); in EnableHardwareWatchpoint()
[all …]
DProcessPOSIX.cpp665 ProcessPOSIX::EnableWatchpoint(Watchpoint *wp, bool notify) in EnableWatchpoint() argument
668 if (wp) in EnableWatchpoint()
670 user_id_t watchID = wp->GetID(); in EnableWatchpoint()
671 addr_t addr = wp->GetLoadAddress(); in EnableWatchpoint()
676 if (wp->IsEnabled()) in EnableWatchpoint()
700 wp->SetHardwareIndex(wp_hw_index); in EnableWatchpoint()
708 wp_enabled &= thread->EnableHardwareWatchpoint(wp); in EnableWatchpoint()
714 wp->SetEnabled(true, notify); in EnableWatchpoint()
721 DisableWatchpoint(wp, false); in EnableWatchpoint()
732 ProcessPOSIX::DisableWatchpoint(Watchpoint *wp, bool notify) in DisableWatchpoint() argument
[all …]
/external/llvm/test/Transforms/LoopStrengthReduce/
Dphi_node_update_multiple_preds.ll13 %wp.2.4 = getelementptr i8, i8* null, i64 %gep.upgrd.1 ; <i8*> [#uses=1]
16 %wp.2.4.rec = bitcast i32 %indvar37 to i32 ; <i32> [#uses=1]
17 %inc.1.rec = add i32 %wp.2.4.rec, 1 ; <i32> [#uses=1]
25 …%wp.2.7 = phi i8* [ null, %entry ], [ null, %entry ], [ %wp.2.4, %shortcirc_next ], [ %inc.1, %no_…

12345