Home
last modified time | relevance | path

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

1234567

/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 …]
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 …]
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 …]
Dfuncs.c285 char *xp; in c_print() local
448 Xinit(xs, xp, 128, ATEMP); in c_print()
460 Xcheck(xs, xp); in c_print()
465 Xput(xs, xp, po.ts[c]); in c_print()
468 Xput(xs, xp, po.wc & 0xFF); in c_print()
473 Xcheck(xs, xp); in c_print()
490 Xput(xs, xp, '\\'); in c_print()
497 Xput(xs, xp, po.ts[c]); in c_print()
502 Xput(xs, xp, c); in c_print()
506 Xput(xs, xp, '\0'); in c_print()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_purp.c82 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
84 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
86 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
89 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
91 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
93 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
95 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
97 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
98 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
311 int X509_PURPOSE_get_id(const X509_PURPOSE *xp) in X509_PURPOSE_get_id() argument
[all …]
/external/cronet/third_party/boringssl/src/crypto/x509v3/
Dv3_purp.c80 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
82 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
84 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
87 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
89 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
91 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
93 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
95 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
96 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
308 int X509_PURPOSE_get_id(const X509_PURPOSE *xp) { return xp->purpose; } in X509_PURPOSE_get_id() argument
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_purp.c80 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
82 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
84 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
87 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
89 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
91 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
93 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
95 static int no_check(const X509_PURPOSE *xp, const X509 *x, int ca);
96 static int ocsp_helper(const X509_PURPOSE *xp, const X509 *x, int ca);
308 int X509_PURPOSE_get_id(const X509_PURPOSE *xp) { return xp->purpose; } in X509_PURPOSE_get_id() argument
[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/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/bcc/tests/cc/
Ddummy_proc_map.txt1 00400000-007c8000 r-xp 00000000 00:1b 11644523 /opt/some/path/tobinary/bi…
2 7f151476e000-7f1514779000 r-xp 00000000 00:1b 72809479 /some/other/path/tolibs/li…
7 7f1515bad000-7f1515baf000 r-xp 00000000 00:1b 72809526 /some/other/path/tolibs/li…
11 7f1515db0000-7f151601c000 r-xp 00000000 00:1b 72809420 /some/other/path/tolibs/li…
15 7f1516247000-7f15162ac000 r-xp 00000000 00:1b 72809514 /some/other/path/tolibs/li…
19 7f15164b5000-7f15164cf000 r-xp 00000000 00:1b 72809538 /some/other/path/tolibs/li…
23 7f15166d0000-7f15166d1000 r-xp 0001b064 00:1b 72809538 /some/other/path/tolibs/li…
24 7f15168d4000-7f1516a23000 r-xp 00000000 00:1b 72809463 /some/other/path/tolibs/li…
28 7f1516c24000-7f1516c3e000 r-xp 00000000 00:1b 72809495 /some/other/path/tolibs/li…
32 7f1516e43000-7f1516e6a000 r-xp 00000000 00:1b 72809393 /some/other/path/tolibs/li…
[all …]
/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/AFLplusplus/src/
Dafl-performance.c47 AFL_RAND_RETURN xp = afl->rand_seed[0]; in rand_next() local
49 afl->rand_seed[1] = afl->rand_seed[1] - xp; in rand_next()
51 return xp; in rand_next()
59 AFL_RAND_RETURN xp = afl->rand_seed[0], yp = afl->rand_seed[1], in rand_next() local
62 afl->rand_seed[1] = yp - xp; in rand_next()
66 return xp; in rand_next()
/external/libwebsockets/lib/misc/
Dieeehalfprecision.c164 lws_halfp2singles(uint32_t *xp, uint16_t h) in lws_halfp2singles() argument
172 *xp = ((uint32_t)h) << 16; // Return the signed zero in lws_halfp2singles()
198 *xp = xs | xe | xm; in lws_halfp2singles()
207 *xp = (((uint32_t)hs) << 16) | ((uint32_t)0x7F800000u); in lws_halfp2singles()
213 *xp = (uint32_t)0xFFC00000u; in lws_halfp2singles()
227 *xp = xs | xe | xm; in lws_halfp2singles()
/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/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/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
/external/sg3_utils/include/
Dsg_unaligned.h357 const uint8_t * xp = (const uint8_t *)p; in sg_get_unaligned_be() local
358 uint64_t res = *xp; in sg_get_unaligned_be()
360 for (++xp; num_bytes > 1; ++xp, --num_bytes) in sg_get_unaligned_be()
361 res = (res << 8) | *xp; in sg_get_unaligned_be()
420 const uint8_t * xp = (const uint8_t *)p + (num_bytes - 1); in sg_get_unaligned_le() local
421 uint64_t res = *xp; in sg_get_unaligned_le()
423 for (--xp; num_bytes > 1; --xp, --num_bytes) in sg_get_unaligned_le()
424 res = (res << 8) | *xp; in sg_get_unaligned_le()
/external/skia/src/gpu/ganesh/effects/
DGrCustomXfermode.cpp125 const CustomXP& xp = args.fXP.cast<CustomXP>(); in makeProgramImpl() local
126 SkASSERT(xp.hasHWBlendEquation()); in makeProgramImpl()
129 fragBuilder->enableAdvancedBlendEquationIfNeeded(xp.fHWBlendEquation); in makeProgramImpl()
147 const CustomXP& xp = proc.cast<CustomXP>(); in makeProgramImpl() local
148 SkASSERT(!xp.hasHWBlendEquation()); in makeProgramImpl()
151 &xp, uniformHandler, &fBlendUniform, srcColor, dstColor, xp.fMode); in makeProgramImpl()
160 xp); in makeProgramImpl()
166 const CustomXP& xp = proc.cast<CustomXP>(); in makeProgramImpl() local
167 GrGLSLBlend::SetBlendModeUniformData(pdman, fBlendUniform, xp.fMode); in makeProgramImpl()
DGrPorterDuffXferProcessor.cpp425 const PorterDuffXferProcessor& xp = xpBase.cast<PorterDuffXferProcessor>(); in onIsEqual() local
426 return fBlendFormula == xp.fBlendFormula; in onIsEqual()
436 static void append_color_output(const PorterDuffXferProcessor& xp, in append_color_output() argument
476 const PorterDuffXferProcessor& xp = args.fXP.cast<PorterDuffXferProcessor>(); in makeProgramImpl() local
479 const BlendFormula& blendFormula = xp.fBlendFormula; in makeProgramImpl()
481 append_color_output(xp, in makeProgramImpl()
488 append_color_output(xp, in makeProgramImpl()
517 const ShaderPDXferProcessor& xp = xpBase.cast<ShaderPDXferProcessor>(); in onIsEqual() local
518 return fXfermode == xp.fXfermode; in onIsEqual()
544 const ShaderPDXferProcessor& xp = proc.cast<ShaderPDXferProcessor>(); in makeProgramImpl() local
[all …]
/external/walt/ios/WALT/
DDragLatencyController.mm50 /** Linear interpolation of (xp, yp) at x. */
53 const std::vector<S>& xp,
55 NSCAssert(xp.size(), @"xp must contain at least one value.");
56 NSCAssert(xp.size() == yp.size(), @"xp and yp must have matching lengths.");
63 for (; i < x.size() && x[i] < xp.front(); ++i) {
64 y.push_back(yp.front()); // Pad out y with yp.front() for x values before xp.front().
67 size_t ip = 0; // Index into xp/yp.
69 for (; ip < xp.size() && i < x.size(); ++i) {
70 while (ip < xp.size() && xp[ip] <= x[i]) { // Find an xp[ip] greater than x[i].
73 if (ip >= xp.size()) {
[all …]
/external/google-benchmark/test/
Ddonotoptimize_assembly_test.cc150 int * const xp = &x; in test_pointer_const_lvalue() local
151 benchmark::DoNotOptimize(xp); in test_pointer_const_lvalue()
161 int *xp = &x; in test_pointer_lvalue() local
162 benchmark::DoNotOptimize(xp); in test_pointer_lvalue()
/external/libcxx/utils/google-benchmark/test/
Ddonotoptimize_assembly_test.cc150 int * const xp = &x; in test_pointer_const_lvalue() local
151 benchmark::DoNotOptimize(xp); in test_pointer_const_lvalue()
161 int *xp = &x; in test_pointer_lvalue() local
162 benchmark::DoNotOptimize(xp); in test_pointer_lvalue()

1234567