Home
last modified time | relevance | path

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

12345678910

/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/llvm-project/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf16_in.pass.cpp36 char32_t* wp = nullptr; in main() local
39 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
41 assert(wp == &w+1); in main()
47 r = c.in(m, n, n+2, 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()
64 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
66 assert(wp == &w+1); in main()
75 char32_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_in.pass.cpp36 char32_t* wp = nullptr; in main() local
39 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
41 assert(wp == &w+1); in main()
48 r = c.in(m, n, n+3, np, &w, &w+1, wp); in main()
50 assert(wp == &w+1); in main()
56 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
58 assert(wp == &w+1); in main()
64 r = c.in(m, n, n+1, np, &w, &w+1, wp); in main()
66 assert(wp == &w+1); in main()
75 char32_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_in.pass.cpp47 CharT* wp = nullptr; in test() local
50 std::codecvt_base::result r = c.in(m, n, n + 4, np, w, w + 2, wp); in test()
52 assert(wp == w); in test()
58 r = c.in(m, n, n + 3, np, w, w + 2, wp); in test()
60 assert(wp == w); in test()
65 r = c.in(m, n, n + 2, np, w, w + 2, wp); in test()
67 assert(wp == w + 1); in test()
72 r = c.in(m, n, n + 1, np, w, w + 2, wp); in test()
74 assert(wp == w + 1); in test()
84 CharT* wp = nullptr; in test() local
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp47 const CharT* wp = nullptr; in test() local
50 std::codecvt_base::result r = c.out(m, w, w + 2, wp, n, n + 4, np); in test()
52 assert(wp == w + 2); in test()
60 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
62 assert(wp == w + 1); in test()
69 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
71 assert(wp == w + 1); in test()
77 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
79 assert(wp == w + 1); in test()
88 const CharT* wp = nullptr; in test() local
[all …]
Dcodecvt_utf16_out.pass.cpp52 const CharT* wp = nullptr; in test() local
55 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
57 assert(wp == &w + 1); in test()
65 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
67 assert(wp == &w + 1); in test()
75 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
77 assert(wp == &w + 1); in test()
85 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
87 assert(wp == &w + 1); in test()
99 const CharT* wp = nullptr; in test() local
[all …]
Dcodecvt_utf8_out.pass.cpp49 const CharT* wp = nullptr; in test() local
52 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
54 assert(wp == &w + 1); in test()
62 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
64 assert(wp == &w + 1); in test()
72 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
74 assert(wp == &w + 1); in test()
86 const CharT* wp = nullptr; in test() local
89 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
91 assert(wp == &w); in test()
[all …]
/external/pdfium/third_party/libtiff/
Dtif_pixarlog.c112 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op, in horizontalAccumulateF() argument
121 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
122 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
123 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF()
129 wp += 3; in horizontalAccumulateF()
132 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
133 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF()
134 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF()
140 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
141 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
[all …]
/external/mksh/src/
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 …]
Dfuncs.c82 c_true(const char **wp MKSH_A_UNUSED) in c_true()
88 c_false(const char **wp MKSH_A_UNUSED) in c_false()
244 c_pwd(const char **wp) in c_pwd() argument
250 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
261 wp += builtin_opt.optind; in c_pwd()
263 if (wp[0]) { in c_pwd()
287 c_print(const char **wp) in c_print() argument
327 if (wp[0][0] == 'e') { in c_print()
335 ++wp; in c_print()
337 if (*wp && !strcmp(*wp, Tdn)) { in c_print()
[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()
/external/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
Dexpired.pass.cpp34 std::weak_ptr<A> wp; in main() local
35 assert(wp.use_count() == 0); in main()
36 assert(wp.expired() == (wp.use_count() == 0)); in main()
40 std::weak_ptr<A> wp(sp0); in main() local
41 assert(wp.use_count() == 1); in main()
42 assert(wp.expired() == (wp.use_count() == 0)); in main()
44 assert(wp.use_count() == 0); in main()
45 assert(wp.expired() == (wp.use_count() == 0)); in main()
/external/adhd/cras/src/common/
Dpacket_status_logger.c16 logger->wp = 0; in packet_status_logger_init()
24 logger->data[logger->wp / 8] |= 1UL << (logger->wp % 8); in packet_status_logger_update()
26 logger->data[logger->wp / 8] &= ~(1UL << (logger->wp % 8)); in packet_status_logger_update()
28 logger->wp++; in packet_status_logger_update()
29 if (logger->wp >= logger->size) { in packet_status_logger_update()
30 logger->wp %= logger->size; in packet_status_logger_update()
33 if (logger->wp == 0 || (logger->num_wraps == 0 && logger->wp == 1)) in packet_status_logger_update()
Dpacket_status_logger.h31 int wp; member
50 long nsec = WBS_FRAME_NS * (logger->size - logger->wp); in packet_status_logger_begin_ts()
74 ts->tv_nsec += WBS_FRAME_NS * logger->wp; in packet_status_logger_end_ts()
85 int i = logger->wp / 8; in packet_status_logger_dump_hex()
89 if (logger->wp % 8) in packet_status_logger_dump_hex()
91 logger->data[i] & (0xff << (logger->wp % 8))); in packet_status_logger_dump_hex()
95 for (i = 0; i < logger->wp / 8; i++) in packet_status_logger_dump_hex()
97 if (logger->wp % 8) in packet_status_logger_dump_hex()
98 printf("%.2x", logger->data[i] & (~(0xff << (logger->wp % 8)))); in packet_status_logger_dump_hex()
107 int head = logger->num_wraps ? logger->wp : 0; in packet_status_logger_dump_binary()
[all …]
/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/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c81 static bool set_watchpoint(pid_t pid, int size, int wp) in set_watchpoint() argument
83 const volatile uint8_t *addr = &var[32 + wp]; in set_watchpoint()
112 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument
143 if (!set_watchpoint(pid, wp_size, wp)) in run_test()
204 int wr, wp, size; in main() local
216 for (wp = wr - size; wp <= wr + size; wp = wp + size) { in main()
217 result = run_test(size, MIN(size, 8), wr, wp); in main()
218 if ((result && wr == wp) || in main()
219 (!result && wr != wp)) in main()
222 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/openssh/
Dutf8.c104 vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap) in vasnmprintf() argument
137 max_width = wp == NULL ? INT_MAX : *wp; in vasnmprintf()
147 } else if (wp == NULL && in vasnmprintf()
212 if (wp != NULL) in vasnmprintf()
213 *wp = total_width; in vasnmprintf()
228 if (wp != NULL) in vasnmprintf()
229 *wp = 0; in vasnmprintf()
240 snmprintf(char *str, size_t sz, int *wp, const char *fmt, ...) in snmprintf() argument
247 ret = vasnmprintf(&cp, sz, wp, fmt, ap); in snmprintf()
258 asmprintf(char **outp, size_t sz, int *wp, const char *fmt, ...) in asmprintf() argument
[all …]

12345678910