Home
last modified time | relevance | path

Searched +full:new +full:- +full:cap (Results 1 – 25 of 861) sorted by relevance

12345678910>>...35

/third_party/ltp/lib/
Dtst_capability.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 static void do_cap_drop(uint32_t *set, uint32_t mask, const struct tst_cap *cap) in do_cap_drop() argument
29 tst_res(TINFO, "Dropping %s(%d)", cap->name, cap->id); in do_cap_drop()
35 const struct tst_cap *cap) in do_cap_req() argument
38 tst_brk(TCONF, "Need %s(%d)", cap->name, cap->id); in do_cap_req()
41 tst_res(TINFO, "Permitting %s(%d)", cap->name, cap->id); in do_cap_req()
46 void tst_cap_action(struct tst_cap *cap) in tst_cap_action() argument
53 struct tst_cap_user_data new[2] = { {0} }; in tst_cap_action() local
54 uint32_t act = cap->action; in tst_cap_action()
55 uint32_t *pE = &new[CAP_TO_INDEX(cap->id)].effective; in tst_cap_action()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dieee802_11_vht.c3 * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
25 struct ieee80211_vht_capabilities *cap; in hostapd_eid_vht_capabilities() local
26 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities()
32 if (mode->mode == HOSTAPD_MODE_IEEE80211G && hapd->conf->vendor_vht && in hostapd_eid_vht_capabilities()
33 mode->vht_capab == 0 && hapd->iface->hw_features) { in hostapd_eid_vht_capabilities()
36 for (i = 0; i < hapd->iface->num_hw_features; i++) { in hostapd_eid_vht_capabilities()
37 if (hapd->iface->hw_features[i].mode == in hostapd_eid_vht_capabilities()
39 mode = &hapd->iface->hw_features[i]; in hostapd_eid_vht_capabilities()
46 *pos++ = sizeof(*cap); in hostapd_eid_vht_capabilities()
48 cap = (struct ieee80211_vht_capabilities *) pos; in hostapd_eid_vht_capabilities()
[all …]
/third_party/skia/src/sksl/ir/
DSkSLSetting.cpp4 * Use of this source code is governed by a BSD-style license that can be
37 return Literal::MakeBool(context, /*line=*/-1, (context.fCaps.*fGetCap)()); in value()
54 return Literal::MakeInt(context, /*line=*/-1, (context.fCaps.*fGetCap)()); in value()
73 return (iter != fMap.end()) ? iter->second.get() : nullptr; in lookup()
82 static CapsLookupTable* sCapsLookupTable = new CapsLookupTable({ in caps_lookup_table()
83 #define CAP(T, name) CapsLookupTable::Pair{#name, new T##CapsLookup{&ShaderCapsClass::name}} in caps_lookup_table() macro
84 CAP(Bool, fbFetchSupport), in caps_lookup_table()
85 CAP(Bool, fbFetchNeedsCustomOutput), in caps_lookup_table()
86 CAP(Bool, flatInterpolationSupport), in caps_lookup_table()
87 CAP(Bool, noperspectiveInterpolationSupport), in caps_lookup_table()
[all …]
/third_party/openGLES/extensions/SGIX/
DSGIX_async_pixel.txt1 XXX - Not complete yet!!!
27 This extension introduces a new asynchronous mode for texture
33 non-blocking pixel readback commands that return immediately after
37 New Procedures and Functions
41 New Tokens
43 Accepted by the <cap> parameter of Enable, Disable and IsEnabled,
69 stream. Calling Enable with the <cap> parameter set to
82 Calling Disable with the <cap> parameter set to
97 Calling Enable with the <cap> parameter set to
102 earlier). Calling Disable with the <cap> parameter set to
[all …]
DSGIX_async_histogram.txt1 XXX - Not complete yet!!!
26 This extension introduces a new asynchronous mode for histogram
31 New Procedures and Functions
35 New Tokens
37 Accepted by the <cap> parameter of Enable, Disable and IsEnabled,
57 Calling Enable with the <cap> parameter set to
61 implementation of these asynchronous commands may be non-blocking:
71 Calling Disable with the <cap> parameter set to
97 This document adds a new category of asynchronous commands to
113 New State
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_async_pixel.txt1 XXX - Not complete yet!!!
27 This extension introduces a new asynchronous mode for texture
33 non-blocking pixel readback commands that return immediately after
37 New Procedures and Functions
41 New Tokens
43 Accepted by the <cap> parameter of Enable, Disable and IsEnabled,
69 stream. Calling Enable with the <cap> parameter set to
82 Calling Disable with the <cap> parameter set to
97 Calling Enable with the <cap> parameter set to
102 earlier). Calling Disable with the <cap> parameter set to
[all …]
DSGIX_async_histogram.txt1 XXX - Not complete yet!!!
26 This extension introduces a new asynchronous mode for histogram
31 New Procedures and Functions
35 New Tokens
37 Accepted by the <cap> parameter of Enable, Disable and IsEnabled,
57 Calling Enable with the <cap> parameter set to
61 implementation of these asynchronous commands may be non-blocking:
71 Calling Disable with the <cap> parameter set to
97 This document adds a new category of asynchronous commands to
113 New State
[all …]
/third_party/flutter/skia/src/effects/
DSkOpPathEffect.cpp4 * Use of this source code is governed by a BSD-style license that can be
15 return sk_sp<SkPathEffect>(new SkOpPE(std::move(one), std::move(two), op)); in Make()
25 if (!fOne->filterPath(&one, src, rec, cull)) { in onFilterPath()
32 if (!fTwo->filterPath(&two, src, rec, cull)) { in onFilterPath()
60 return sk_sp<SkPathEffect>(new SkMatrixPE(SkMatrix::MakeTrans(dx, dy))); in MakeTranslate()
67 return sk_sp<SkPathEffect>(new SkMatrixPE(matrix)); in Make()
91 sk_sp<SkPathEffect> SkStrokePathEffect::Make(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, in Make() argument
96 return sk_sp<SkPathEffect>(new SkStrokePE(width, join, cap, miter)); in Make()
99 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE() argument
100 : fWidth(width), fMiter(miter), fJoin(join), fCap(cap) {} in SkStrokePE()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_11_vht.c3 * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
25 struct ieee80211_vht_capabilities *cap; in hostapd_eid_vht_capabilities() local
26 struct hostapd_hw_modes *mode = hapd->iface->current_mode; in hostapd_eid_vht_capabilities()
29 if (!mode || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_capabilities()
32 if (mode->mode == HOSTAPD_MODE_IEEE80211G && hapd->conf->vendor_vht && in hostapd_eid_vht_capabilities()
33 mode->vht_capab == 0 && hapd->iface->hw_features) { in hostapd_eid_vht_capabilities()
36 for (i = 0; i < hapd->iface->num_hw_features; i++) { in hostapd_eid_vht_capabilities()
37 if (hapd->iface->hw_features[i].mode == in hostapd_eid_vht_capabilities()
39 mode = &hapd->iface->hw_features[i]; in hostapd_eid_vht_capabilities()
46 *pos++ = sizeof(*cap); in hostapd_eid_vht_capabilities()
[all …]
/third_party/skia/gm/
Dcubicpaths.cpp4 * Use of this source code is governed by a BSD-style license that can be
40 for (SkScalar dy = -1; dy <= 1; dy += 1) { in onDraw()
41 canvas->save(); in onDraw()
42 for (SkScalar dx = -1; dx <= 1; dx += 1) { in onDraw()
43 canvas->save(); in onDraw()
44 canvas->clipRect(bounds); in onDraw()
45 canvas->translate(dx, dy); in onDraw()
46 canvas->drawPath(path, paint); in onDraw()
47 canvas->restore(); in onDraw()
49 canvas->translate(bounds.width(), 0); in onDraw()
[all …]
Dquadpaths.cpp4 * Use of this source code is governed by a BSD-style license that can be
38 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() argument
43 paint.setStrokeCap(cap); in drawPath()
48 canvas->save(); in drawPath()
49 canvas->clipRect(clip); in drawPath()
50 canvas->drawPath(path, paint); in drawPath()
51 canvas->restore(); in drawPath()
75 SkPaint::Cap fCap; in onDraw()
92 path.fName = "moveTo-quad"; in onDraw()
100 canvas->drawString(title, 20.0f, 20.0f, font, titlePaint); in onDraw()
[all …]
/third_party/flutter/skia/gm/
Dcubicpaths.cpp4 * Use of this source code is governed by a BSD-style license that can be
40 for (SkScalar dy = -1; dy <= 1; dy += 1) { in onDraw()
41 canvas->save(); in onDraw()
42 for (SkScalar dx = -1; dx <= 1; dx += 1) { in onDraw()
43 canvas->save(); in onDraw()
44 canvas->clipRect(bounds); in onDraw()
45 canvas->translate(dx, dy); in onDraw()
46 canvas->drawPath(path, paint); in onDraw()
47 canvas->restore(); in onDraw()
49 canvas->translate(bounds.width(), 0); in onDraw()
[all …]
Dquadpaths.cpp4 * Use of this source code is governed by a BSD-style license that can be
38 const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, in drawPath() argument
43 paint.setStrokeCap(cap); in drawPath()
48 canvas->save(); in drawPath()
49 canvas->clipRect(clip); in drawPath()
50 canvas->drawPath(path, paint); in drawPath()
51 canvas->restore(); in drawPath()
75 SkPaint::Cap fCap; in onDraw()
92 path.fName = "moveTo-quad"; in onDraw()
100 canvas->drawString(title, 20.0f, 20.0f, font, titlePaint); in onDraw()
[all …]
/third_party/skia/src/effects/
DSkOpPathEffect.cpp4 * Use of this source code is governed by a BSD-style license that can be
17 return sk_sp<SkPathEffect>(new SkOpPE(std::move(one), std::move(two), op)); in Make()
27 if (!fOne->filterPath(&one, src, rec, cull, ctm)) { in onFilterPath()
34 if (!fTwo->filterPath(&two, src, rec, cull, ctm)) { in onFilterPath()
45 return (!SkToBool(fOne) || as_PEB(fOne)->computeFastBounds(nullptr)) && in computeFastBounds()
46 (!SkToBool(fTwo) || as_PEB(fTwo)->computeFastBounds(nullptr)); in computeFastBounds()
51 if (fOne && !as_PEB(fOne)->computeFastBounds(bounds)) { in computeFastBounds()
54 if (fTwo && !as_PEB(fTwo)->computeFastBounds(&b2)) { in computeFastBounds()
60 if (!bounds->intersect(b2)) { in computeFastBounds()
61 bounds->setEmpty(); in computeFastBounds()
[all …]
/third_party/grpc/src/csharp/Grpc.Tools/
DGeneratorServices.cs9 // http://www.apache.org/licenses/LICENSE-2.0
26 // Abstract class for language-specific analysis behavior, such
36 if (lang.EqualNoCase("csharp")) { return new CSharpGeneratorServices(log); } in GetForLanguage()
37 if (lang.EqualNoCase("cpp")) { return new CppGeneratorServices(log); } in GetForLanguage()
106 if (str[str.Length - 1] != '\\' && str[str.Length - 1] != '/') in EndWithSlash()
122 var outputItem = new TaskItem(protoItem); in PatchOutputDirectory()
144 var outputs = new string[doGrpc ? 2 : 1]; in GetPossibleOutputs()
164 var result = new StringBuilder(str.Length, str.Length); in LowerUnderscoreToUpperCamelGrpcWay()
165 bool cap = true; in LowerUnderscoreToUpperCamelGrpcWay()
170 cap = true; in LowerUnderscoreToUpperCamelGrpcWay()
[all …]
/third_party/flutter/skia/include/core/
DSkStrokeRec.h4 * Use of this source code is governed by a BSD-style license that can be
39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
43 return kHairline_Style == this->getStyle(); in isHairlineStyle()
47 return kFill_Style == this->getStyle(); in isFillStyle()
55 * strokeAndFill==true -> new style will be Fill
56 * strokeAndFill==false -> new style will be Hairline
60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { in setStrokeParams() argument
61 fCap = cap; in setStrokeParams()
80 Style style = this->getStyle(); in needToApply()
117 static SkScalar GetInflationRadius(SkPaint::Join, SkScalar miterLimit, SkPaint::Cap,
[all …]
/third_party/skia/include/core/
DSkStrokeRec.h4 * Use of this source code is governed by a BSD-style license that can be
39 SkPaint::Cap getCap() const { return (SkPaint::Cap)fCap; } in getCap()
43 return kHairline_Style == this->getStyle(); in isHairlineStyle()
47 return kFill_Style == this->getStyle(); in isFillStyle()
55 * strokeAndFill==true -> new style will be Fill
56 * strokeAndFill==false -> new style will be Hairline
60 void setStrokeParams(SkPaint::Cap cap, SkPaint::Join join, SkScalar miterLimit) { in setStrokeParams() argument
61 fCap = cap; in setStrokeParams()
80 Style style = this->getStyle(); in needToApply()
117 static SkScalar GetInflationRadius(SkPaint::Join, SkScalar miterLimit, SkPaint::Cap,
[all …]
/third_party/ffmpeg/libavcodec/
Dv4l2_m2m.c5 * Copyright (C) 2017 Jorge Ramirez <jorge.ramirez-ortiz@linaro.org>
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
39 static inline int v4l2_splane_video(struct v4l2_capability *cap) in v4l2_splane_video() argument
41 if (cap->capabilities & (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT) && in v4l2_splane_video()
42 cap->capabilities & V4L2_CAP_STREAMING) in v4l2_splane_video()
45 if (cap->capabilities & V4L2_CAP_VIDEO_M2M) in v4l2_splane_video()
51 static inline int v4l2_mplane_video(struct v4l2_capability *cap) in v4l2_mplane_video() argument
53 if (cap->capabilities & (V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_OUTPUT_MPLANE) && in v4l2_mplane_video()
54 cap->capabilities & V4L2_CAP_STREAMING) in v4l2_mplane_video()
57 if (cap->capabilities & V4L2_CAP_VIDEO_M2M_MPLANE) in v4l2_mplane_video()
[all …]
/third_party/flutter/skia/tools/skiaserve/
DRequest.cpp4 * Use of this source code is governed by a BSD-style license that can be
30 fContextFactory = new GrContextFactory(grContextOpts); in Request()
42 bmp.allocPixels(canvas->imageInfo()); in writeCanvasToPng()
43 SkAssertResult(canvas->readPixels(bmp, 0, 0)); in writeCanvasToPng()
53 GLTestContext* gl = factory->getContextInfo(GrContextFactory::kGL_ContextType, in getCanvas()
56 gl = factory->getContextInfo(GrContextFactory::kGLES_ContextType, in getCanvas()
60 gl->makeCurrent(); in getCanvas()
66 this->enableGPU(fGPUEnabled); in getCanvas()
68 SkCanvas* target = fSurface->getCanvas(); in getCanvas()
73 //fDebugCanvas->setOverdrawViz(true); in drawToPng()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/docs/imgs/
Dworker_run.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
5-face font-family="Courier New" font-size="16" panose-1="2 7 3 9 2 2 5 2 4 4" units-per-em="1000" …
6 <font-face-src>
7 <font-face-name name="CourierNewPSMT"/>
8 </font-face-src>
9 </font-face>
12 <feFlood flood-color="#919191" flood-opacity=".25" result="flood"/>
19-face font-family="Roboto" font-size="13" panose-1="2 0 0 0 0 0 0 0 0 0" units-per-em="1000" under…
20 <font-face-src>
[all …]
/third_party/boost/libs/smart_ptr/test/
Dsmart_ptr_test.cpp1 // smart pointer test program ----------------------------------------------//
35 # pragma warn -8092 // template argument passed to 'find' is not an iterator
60 // user defined type -------------------------------------------------------//
67 --UDT_use_count; in ~UDT()
74 // tests on incomplete types -----------------------------------------------//
78 // only - the functions aren't actually invoked.
101 // test scoped_ptr with a built-in type in test()
102 long * lp = new long; in test()
118 boost::scoped_ptr<UDT> udt_sp ( new UDT( 999888777 ) ); in test()
119 BOOST_TEST( udt_sp->value() == 999888777 ); in test()
[all …]
/third_party/libinput/doc/user/
Dtools.rst14 - ``libinput list-devices``: to list locally available devices,
15 see :ref:`here <libinput-list-devices>`
16 - ``libinput debug-events``: to monitor and debug events,
17 see :ref:`here <libinput-debug-events>`
18 - ``libinput debug-gui``: to visualize events,
19 see :ref:`here <libinput-debug-gui>`
20 - ``libinput record``: to record an event sequence for replaying,
21 see :ref:`here <libinput-record>`
22 - ``libinput measure``: measure properties on a kernel device,
23 see :ref:`here <libinput-measure>`
[all …]
/third_party/skia/tools/skiaserve/
DRequest.cpp4 * Use of this source code is governed by a BSD-style license that can be
33 fContextFactory = new GrContextFactory(grContextOpts); in Request()
45 bmp.allocPixels(canvas->imageInfo()); in writeCanvasToPng()
46 SkAssertResult(canvas->readPixels(bmp, 0, 0)); in writeCanvasToPng()
57 GLTestContext* gl = factory->getContextInfo(GrContextFactory::kGL_ContextType, in getCanvas()
60 gl = factory->getContextInfo(GrContextFactory::kGLES_ContextType, in getCanvas()
64 gl->makeCurrent(); in getCanvas()
71 this->enableGPU(fGPUEnabled); in getCanvas()
73 SkCanvas* target = fSurface->getCanvas(); in getCanvas()
78 //fDebugCanvas->setOverdrawViz(true); in drawToPng()
[all …]
/third_party/skia/include/c/
Dsk_paint.h4 * Use of this source code is governed by a BSD-style license that can be
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
19 Create a new paint with default settings:
24 stroke cap : BUTT_SK_STROKE_CAP
76 (always draw 1-pixel wide, regardless of the matrix).
99 Return the paint's stroke cap type, controlling how the start and
104 Set the paint's stroke cap type, controlling how the start and
128 * any previous value, and call ref() on the new value.
134 * any previous value, and call ref() on the new value.
/third_party/flutter/skia/include/c/
Dsk_paint.h4 * Use of this source code is governed by a BSD-style license that can be
9 // DO NOT USE -- FOR INTERNAL TESTING ONLY
19 Create a new paint with default settings:
24 stroke cap : BUTT_SK_STROKE_CAP
76 (always draw 1-pixel wide, regardless of the matrix).
99 Return the paint's stroke cap type, controlling how the start and
104 Set the paint's stroke cap type, controlling how the start and
128 * any previous value, and call ref() on the new value.
134 * any previous value, and call ref() on the new value.

12345678910>>...35