Home
last modified time | relevance | path

Searched refs:xp (Results 1 – 25 of 215) sorted by relevance

123456789

/external/python/cpython2/Modules/
Ddlmodule.c29 dlobject *xp; in newdlobject() local
30 xp = PyObject_New(dlobject, &Dltype); in newdlobject()
31 if (xp == NULL) in newdlobject()
33 xp->dl_handle = handle; in newdlobject()
34 return (PyObject *)xp; in newdlobject()
38 dl_dealloc(dlobject *xp) in dl_dealloc() argument
40 if (xp->dl_handle != NULL) in dl_dealloc()
41 dlclose(xp->dl_handle); in dl_dealloc()
42 PyObject_Del(xp); in dl_dealloc()
46 dl_close(dlobject *xp) in dl_close() argument
[all …]
Dsunaudiodev.c52 sadobject *xp; in newsadobject() local
108 xp = PyObject_New(sadobject, &Sadtype); in newsadobject()
109 if (xp == NULL) { in newsadobject()
113 xp->x_fd = fd; in newsadobject()
114 xp->x_icount = xp->x_ocount = 0; in newsadobject()
115 xp->x_isctl = (imode < 0); in newsadobject()
117 return xp; in newsadobject()
123 sad_dealloc(sadobject *xp) in sad_dealloc() argument
125 close(xp->x_fd); in sad_dealloc()
126 PyObject_Del(xp); in sad_dealloc()
[all …]
Dlinuxaudiodev.c82 lad_t *xp; in newladobject() local
136 if ((xp = PyObject_New(lad_t, &Ladtype)) == NULL) { in newladobject()
140 xp->x_fd = fd; in newladobject()
141 xp->x_mode = imode; in newladobject()
142 xp->x_icount = xp->x_ocount = 0; in newladobject()
143 xp->x_afmts = afmts; in newladobject()
144 return xp; in newladobject()
148 lad_dealloc(lad_t *xp) in lad_dealloc() argument
151 if (xp->x_fd != -1) in lad_dealloc()
152 close(xp->x_fd); in lad_dealloc()
[all …]
/external/mksh/src/
Deval.c1216 varsub(Expand *xp, const char *sp, const char *word, in varsub() argument
1236 xp->var = NULL; in varsub()
1311 xp->var = global(sp); in varsub()
1313 xp->str = p ? shf_smprintf("%s[%lu]", xp->var->name, in varsub()
1314 arrayindex(xp->var)) : xp->var->name; in varsub()
1371 xp->str = shf_smprintf(Tf_d, sc); in varsub()
1430 xp->var = global(sp); in varsub()
1431 xp->str = str_val(xp->var); in varsub()
1434 !*xp->str && ctype(*sp, C_VAR1 | C_DIGIT)) in varsub()
1471 xp->u.strv = (const char **)XPptrv(wv); in varsub()
[all …]
Dlex.c52 char *xp; member
124 Xcheck(rp->xs, rp->xp); \
125 *rp->xp++ = cev; \
174 Xinit(ri->xs, ri->xp, 64, ATEMP); \
181 *retrace_info->xp = '\0'; \
182 sp = Xstring(retrace_info->xs, retrace_info->xp); \
402 *retrace_info->xp++ = '('; in yylex()
1132 char *xp; in readhere() local
1140 Xinit(xs, xp, 256, ATEMP); in readhere()
1145 xpos = Xsavepos(xs, xp); in readhere()
[all …]
Dmisc.c78 Xcheck_grow(XString *xsp, const char *xp, size_t more) in Xcheck_grow() argument
88 return (xsp->beg + (xp - old_beg)); in Xcheck_grow()
1704 char *xp, *ip, *tp, *ipath, *ldest = NULL; in do_realpath() local
1740 Xinit(xs, xp, strlen(ip = ipath) + 1, ATEMP); in do_realpath()
1766 while (xp > Xstring(xs, xp)) in do_realpath()
1767 if (mksh_cdirsep(*--xp)) in do_realpath()
1775 pos = Xsavepos(xs, xp); in do_realpath()
1777 XcheckN(xs, xp, 1 + len + 1); in do_realpath()
1778 Xput(xs, xp, '/'); in do_realpath()
1781 memcpy(xp, tp, len); in do_realpath()
[all …]
/external/clang/test/SemaCXX/
Dmember-expr.cpp13 void test(X* xp, X x) { in test() argument
15 int i2 = xp->f(); in test()
17 xp->E; // expected-error{{cannot refer to type member 'E' in 'X' with '->'}} in test()
19 int i4 = xp->Enumerator; in test()
21 xp->mem = 2; in test()
23 float f2 = xp->g(); in test()
42 void test2(X *xp) { in test2() argument
43xp->::i = 7; // expected-error{{qualified member access refers to a member in the global namespace… in test2()
44 xp->C::i = 7; // expected-error{{qualified member access refers to a member in namespace 'C'}} in test2()
/external/llvm-project/clang/test/SemaCXX/
Dmember-expr.cpp13 void test(X* xp, X x) { in test() argument
15 int i2 = xp->f(); in test()
17 xp->E; // expected-error{{cannot refer to type member 'E' in 'X' with '->'}} in test()
19 int i4 = xp->Enumerator; in test()
21 xp->mem = 2; in test()
23 float f2 = xp->g(); in test()
42 void test2(X *xp) { in test2() argument
43xp->::i = 7; // expected-error{{qualified member access refers to a member in the global namespace… in test2()
44 xp->C::i = 7; // expected-error{{qualified member access refers to a member in namespace 'C'}} in test2()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_purp.c81 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
83 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
85 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
88 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
90 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
92 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
94 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
96 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
97 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
310 int X509_PURPOSE_get_id(X509_PURPOSE *xp) in X509_PURPOSE_get_id() argument
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_purp.c81 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
83 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
85 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
88 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
90 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
92 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
94 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
96 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
97 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
310 int X509_PURPOSE_get_id(const X509_PURPOSE *xp) in X509_PURPOSE_get_id() argument
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_filter.py68 xp = results.get("xp").clone()
69 if xp.type == syms.test:
70 xp.prefix = ""
71 xp = parenthesize(xp)
75 results.get("it").clone(), xp)
/external/llvm-project/llvm/test/tools/llvm-profgen/
DmmapEvent.test5 PERF_RECORD_MMAP2 2580483/2580483: [0x400000(0x1000) @ 0 103:01 539973862 1972407324]: r-xp /home/a…
6 PERF_RECORD_MMAP2 2580483/2580483: [0x7f2505b40000(0x224000) @ 0 08:04 19532214 4169021329]: r-xp /…
7 PERF_RECORD_MMAP2 2580483/2580483: [0x7ffe88097000(0x1000) @ 0 00:00 0 0]: r-xp [vdso]
8 PERF_RECORD_MMAP2 2580483/2580483: [0x7f2505d56000(0xa000) @ 0 08:04 19530021 4190740662]: r-xp /us…
9 PERF_RECORD_MMAP2 2580483/2580483: [0x7f250593c000(0x204000) @ 0 08:04 19532229 3585508847]: r-xp /…
10 PERF_RECORD_MMAP2 2580483/2580483: [0x7f250556e000(0x3ce000) @ 0 08:04 19532221 4003737677]: r-xp /…
11 PERF_RECORD_MMAP2 2580483/2580483: [0x7f2505358000(0x216000) @ 0 08:04 19534595 2609212015]: r-xp /…
14 PERF_RECORD_MMAP2 2580483/2580483: [0x7f2505d56000(0x8000) @ 0 08:04 19530021 4190740662]: r-xp /us…
17 PERF_RECORD_MMAP2 2580483/2580483: [0x7f2505156000(0x202000) @ 0 103:01 539962022 734061270]: r-xp
20 PERF_RECORD_MMAP2 2580483/2580483: [0x7f2505156000(0x202000) @ 0 103:01 539962022 734061270]: r-xp
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_unaligned.h107 const uint8_t * xp = (const uint8_t *)p; in sg_get_unaligned_be() local
108 uint64_t res = *xp; in sg_get_unaligned_be()
110 for (++xp; num_bytes > 1; ++xp, --num_bytes) in sg_get_unaligned_be()
111 res = (res << 8) | *xp; in sg_get_unaligned_be()
249 const uint8_t * xp = (const uint8_t *)p + (num_bytes - 1); in sg_get_unaligned_le() local
250 uint64_t res = *xp; in sg_get_unaligned_le()
252 for (--xp; num_bytes > 1; --xp, --num_bytes) in sg_get_unaligned_le()
253 res = (res << 8) | *xp; in sg_get_unaligned_le()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DUtils.java61 public static double[] interp(double[] x, double[] xp, double[] yp) { in interp() argument
69 while (i < x.length && x[i] < xp[0]) i++; in interp()
71 while (ip < xp.length && i < x.length) { in interp()
73 while (ip < xp.length && xp[ip] < x[i]) ip++; in interp()
74 if (ip >= xp.length) break; in interp()
75 if (xp[ip] == x[i]) { in interp()
79 double dx = xp[ip] - xp[ip-1]; in interp()
80 y[i] = yp[ip-1] + dy/dx * (x[i] - xp[ip-1]); in interp()
/external/skia/src/gpu/effects/
DGrCustomXfermode.cpp122 const CustomXP& xp = p.cast<CustomXP>(); in GenKey() local
124 if (xp.hasHWBlendEquation()) { in GenKey()
129 if (!xp.hasHWBlendEquation()) { in GenKey()
130 key |= (int)xp.mode() << 3; in GenKey()
137 const CustomXP& xp = args.fXP.cast<CustomXP>(); in emitOutputsForBlendState() local
138 SkASSERT(xp.hasHWBlendEquation()); in emitOutputsForBlendState()
141 fragBuilder->enableAdvancedBlendEquationIfNeeded(xp.hwBlendEquation()); in emitOutputsForBlendState()
157 const CustomXP& xp = proc.cast<CustomXP>(); in emitBlendCodeForDstRead() local
158 SkASSERT(!xp.hasHWBlendEquation()); in emitBlendCodeForDstRead()
160 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
[all …]
DGrPorterDuffXferProcessor.cpp400 const PorterDuffXferProcessor& xp = xpBase.cast<PorterDuffXferProcessor>(); in onIsEqual() local
401 return fBlendFormula == xp.fBlendFormula; in onIsEqual()
411 static void append_color_output(const PorterDuffXferProcessor& xp, in append_color_output() argument
445 const PorterDuffXferProcessor& xp = processor.cast<PorterDuffXferProcessor>(); in GenKey() local
446 b->add32(xp.getBlendFormula().primaryOutput() | in GenKey()
447 (xp.getBlendFormula().secondaryOutput() << 3)); in GenKey()
453 const PorterDuffXferProcessor& xp = args.fXP.cast<PorterDuffXferProcessor>(); in emitOutputsForBlendState() local
456 BlendFormula blendFormula = xp.getBlendFormula(); in emitOutputsForBlendState()
458 append_color_output(xp, fragBuilder, blendFormula.secondaryOutput(), in emitOutputsForBlendState()
461 append_color_output(xp, fragBuilder, blendFormula.primaryOutput(), args.fOutputPrimary, in emitOutputsForBlendState()
[all …]
DGrCoverageSetOpXP.cpp39 const CoverageSetOpXP& xp = xpBase.cast<CoverageSetOpXP>(); in onIsEqual() local
40 return (fRegionOp == xp.fRegionOp && in onIsEqual()
41 fInvertCoverage == xp.fInvertCoverage); in onIsEqual()
60 const CoverageSetOpXP& xp = processor.cast<CoverageSetOpXP>(); in GenKey() local
61 uint32_t key = xp.invertCoverage() ? 0x0 : 0x1; in GenKey()
67 const CoverageSetOpXP& xp = args.fXP.cast<CoverageSetOpXP>(); in emitOutputsForBlendState() local
70 if (xp.invertCoverage()) { in emitOutputsForBlendState()
/external/llvm-project/clang/test/CXX/expr/expr.mptr.oper/
Dp6-0x.cpp15 void test(X *xp, int (X::*pmf)(int), int (X::*l_pmf)(int) &, in test() argument
21 (xp->*pmf)(17); in test()
27 (xp->*l_pmf)(17); in test()
33 …(xp->*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __att… in test()
/external/clang/test/CXX/expr/expr.mptr.oper/
Dp6-0x.cpp15 void test(X *xp, int (X::*pmf)(int), int (X::*l_pmf)(int) &, in test() argument
21 (xp->*pmf)(17); in test()
27 (xp->*l_pmf)(17); in test()
33 …(xp->*r_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __att… in test()
/external/skqp/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp424 const PorterDuffXferProcessor& xp = xpBase.cast<PorterDuffXferProcessor>(); in onIsEqual() local
425 return fBlendFormula == xp.fBlendFormula; in onIsEqual()
435 static void append_color_output(const PorterDuffXferProcessor& xp, in append_color_output() argument
470 const PorterDuffXferProcessor& xp = processor.cast<PorterDuffXferProcessor>(); in GenKey() local
471 b->add32(xp.getBlendFormula().primaryOutput() | in GenKey()
472 (xp.getBlendFormula().secondaryOutput() << 3)); in GenKey()
478 const PorterDuffXferProcessor& xp = args.fXP.cast<PorterDuffXferProcessor>(); in emitOutputsForBlendState() local
481 BlendFormula blendFormula = xp.getBlendFormula(); in emitOutputsForBlendState()
483 append_color_output(xp, fragBuilder, blendFormula.secondaryOutput(), in emitOutputsForBlendState()
486 append_color_output(xp, fragBuilder, blendFormula.primaryOutput(), args.fOutputPrimary, in emitOutputsForBlendState()
[all …]
DGrCustomXfermode.cpp124 const CustomXP& xp = p.cast<CustomXP>(); in GenKey() local
126 if (xp.hasHWBlendEquation()) { in GenKey()
131 if (!xp.hasHWBlendEquation() || caps.mustEnableSpecificAdvBlendEqs()) { in GenKey()
132 key |= (int)xp.mode() << 3; in GenKey()
139 const CustomXP& xp = args.fXP.cast<CustomXP>(); in emitOutputsForBlendState() local
140 SkASSERT(xp.hasHWBlendEquation()); in emitOutputsForBlendState()
143 fragBuilder->enableAdvancedBlendEquationIfNeeded(xp.hwBlendEquation()); in emitOutputsForBlendState()
159 const CustomXP& xp = proc.cast<CustomXP>(); in emitBlendCodeForDstRead() local
160 SkASSERT(!xp.hasHWBlendEquation()); in emitBlendCodeForDstRead()
162 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.mode()); in emitBlendCodeForDstRead()
[all …]
/external/llvm-project/clang/test/Sema/
Datomic-expr.c41 void func_09 (int* xp) { in func_09() argument
42 *xp <<= data1; in func_09()
45 void func_10 (int* xp) { in func_10() argument
46 *xp <<= data2; in func_10()
/external/clang/test/Sema/
Datomic-expr.c41 void func_09 (int* xp) { in func_09() argument
42 *xp <<= data1; in func_09()
45 void func_10 (int* xp) { in func_10() argument
46 *xp <<= data2; in func_10()
/external/llvm-project/llvm/test/Transforms/MergeFunc/
Dapply_function_attributes.ll9 define void @B(%Opaque_type* sret(%Opaque_type) %a, %S2i* %b, i32* %xp, i32* %yp) {
10 %x = load i32, i32* %xp
18 define void @C(%Opaque_type* sret(%Opaque_type) %a, %S2i* %b, i32* %xp, i32* %yp) {
19 %x = load i32, i32* %xp
27 define void @A(%Opaque_type* sret(%Opaque_type) %a, %D2i* %b, i32* %xp, i32* %yp) {
28 %x = load i32, i32* %xp
/external/llvm/test/Transforms/MergeFunc/
Dapply_function_attributes.ll9 define void @B(%Opaque_type* sret %a, %S2i* %b, i32* %xp, i32* %yp) {
10 %x = load i32, i32* %xp
18 define void @C(%Opaque_type* sret %a, %S2i* %b, i32* %xp, i32* %yp) {
19 %x = load i32, i32* %xp
27 define void @A(%Opaque_type* sret %a, %D2i* %b, i32* %xp, i32* %yp) {
28 %x = load i32, i32* %xp

123456789