/external/pdfium/core/fpdfdoc/ |
D | cpvt_wordplace.h | 34 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/ |
D | codecvt_utf16_in.pass.cpp | 35 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 …]
|
D | codecvt_utf8_in.pass.cpp | 35 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 …]
|
D | codecvt_utf8_utf16_in.pass.cpp | 46 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 …]
|
D | codecvt_utf8_utf16_out.pass.cpp | 46 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 …]
|
D | codecvt_utf16_out.pass.cpp | 51 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 …]
|
D | codecvt_utf8_out.pass.cpp | 48 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/ |
D | tif_pixarlog.c | 114 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 …]
|
D | tif_predict.c | 340 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/ |
D | funcs.c | 81 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 …]
|
D | lex.c | 172 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 …]
|
D | tree.c | 312 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/ |
D | expired.pass.cpp | 33 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()
|
D | lock.pass.cpp | 33 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/ |
D | printf.c | 97 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/ |
D | siglongjmp.c | 59 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()
|
D | setjmp_i.h | 32 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
|
D | sigsetjmp.c | 35 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/ |
D | breakpoint_test_arm64.c | 90 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/ |
D | asm_newscn.c | 67 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/ |
D | descrobject.c | 1023 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/ |
D | descrobject.c | 940 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/ |
D | weak_ptr.pass.cpp | 48 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.c | 34 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/ |
D | utf8.c | 99 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()
|