Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 1665) sorted by relevance

12345678910>>...67

/external/mesa3d/src/egl/main/
Deglimage.c38 _eglParseKHRImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, in _eglParseKHRImageAttribs() argument
46 attrs->ImagePreserved = val; in _eglParseKHRImageAttribs()
53 attrs->GLTextureLevel = val; in _eglParseKHRImageAttribs()
59 attrs->GLTextureZOffset = val; in _eglParseKHRImageAttribs()
65 attrs->ProtectedContent = val; in _eglParseKHRImageAttribs()
75 _eglParseMESADrmImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *disp, in _eglParseMESADrmImageAttribs() argument
83 attrs->Width = val; in _eglParseMESADrmImageAttribs()
86 attrs->Height = val; in _eglParseMESADrmImageAttribs()
89 attrs->DRMBufferFormatMESA = val; in _eglParseMESADrmImageAttribs()
92 attrs->DRMBufferUseMESA = val; in _eglParseMESADrmImageAttribs()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconv_op_helpers.cc99 Status CheckConvAttrs(const ConvOpAttrs& attrs) { in CheckConvAttrs() argument
100 const int num_dims = attrs.num_spatial_dims + 2; in CheckConvAttrs()
101 const int attrs_strides_size = attrs.strides.size(); in CheckConvAttrs()
106 int batch_dim = GetTensorBatchDimIndex(num_dims, attrs.data_format); in CheckConvAttrs()
107 int feature_dim = GetTensorFeatureDimIndex(num_dims, attrs.data_format); in CheckConvAttrs()
108 if (attrs.strides[batch_dim] != 1 || attrs.strides[feature_dim] != 1) { in CheckConvAttrs()
113 const int attrs_dilations_size = attrs.dilations.size(); in CheckConvAttrs()
118 if (attrs.dilations[batch_dim] != 1 || attrs.dilations[feature_dim] != 1) { in CheckConvAttrs()
123 for (int i = 0; i < attrs.num_spatial_dims; ++i) { in CheckConvAttrs()
124 int input_dim = GetTensorSpatialDimIndex(num_dims, attrs.data_format, i); in CheckConvAttrs()
[all …]
/external/perfetto/ui/src/frontend/
Drecord_widgets.ts38 view({attrs}: m.CVnode<DocsChipAttrs>) {
41 {href: attrs.href, title: 'Open docs in new tab', target: '_blank'},
60 view({attrs, children}: m.CVnode<ProbeAttrs>) {
63 attrs.setEnabled(draft, enabled);
68 const enabled = attrs.isEnabled(globals.state.recordConfig);
72 attrs.img && m('img', {
73 src: `${globals.root}assets/${attrs.img}`,
83 m('span', attrs.title)),
84 m('div', m('div', attrs.descr), m('.probe-config', children)));
101 view({attrs}: m.CVnode<ToggleAttrs>) {
[all …]
Dtrack_panel.ts54 private attrs?: TrackShellAttrs;
57 this.attrs = vnode.attrs;
60 view({attrs}: m.CVnode<TrackShellAttrs>) {
68 if (trackId === attrs.trackState.id) {
88 title: attrs.trackState.name,
90 attrs.trackState.name),
92 attrs.track.getTrackShellButtons(),
96 Actions.toggleTrackPinned({trackId: attrs.trackState.id}));
98 i: isPinned(attrs.trackState.id) ? STAR : STAR_BORDER,
99 tooltip: isPinned(attrs.trackState.id) ? 'Unpin' : 'Pin to top',
[all …]
/external/python/cpython2/Lib/
Dhtmllib.py139 def start_html(self, attrs): pass argument
142 def start_head(self, attrs): pass argument
145 def start_body(self, attrs): pass argument
150 def start_title(self, attrs): argument
156 def do_base(self, attrs): argument
157 for a, v in attrs:
161 def do_isindex(self, attrs): argument
164 def do_link(self, attrs): argument
167 def do_meta(self, attrs): argument
170 def do_nextid(self, attrs): # Deprecated argument
[all …]
/external/tensorflow/tensorflow/core/ops/
Dmath_grad.cc46 Status AbsGrad(const AttrSlice& attrs, FunctionDef* g) { in AbsGrad() argument
56 Status NegGrad(const AttrSlice& attrs, FunctionDef* g) { in NegGrad() argument
65 Status InvGrad(const AttrSlice& attrs, FunctionDef* g) { in InvGrad() argument
78 Status SquareGrad(const AttrSlice& attrs, FunctionDef* g) { in SquareGrad() argument
90 Status SqrtGrad(const AttrSlice& attrs, FunctionDef* g) { in SqrtGrad() argument
104 Status RsqrtGrad(const AttrSlice& attrs, FunctionDef* g) { in RsqrtGrad() argument
119 Status ExpGrad(const AttrSlice& attrs, FunctionDef* g) { in ExpGrad() argument
129 Status Expm1Grad(const AttrSlice& attrs, FunctionDef* g) { in Expm1Grad() argument
139 Status LogGrad(const AttrSlice& attrs, FunctionDef* g) { in LogGrad() argument
149 Status Log1pGrad(const AttrSlice& attrs, FunctionDef* g) { in Log1pGrad() argument
[all …]
Darray_grad.cc33 Status ReshapeGrad(const AttrSlice& attrs, FunctionDef* g) { in ReshapeGrad() argument
54 Status SqueezeGrad(const AttrSlice& attrs, FunctionDef* g) { in SqueezeGrad() argument
73 Status IdentityGrad(const AttrSlice& attrs, FunctionDef* g) { in IdentityGrad() argument
92 Status PackGrad(const AttrSlice& attrs, FunctionDef* g) { in PackGrad() argument
118 Status UnpackGrad(const AttrSlice& attrs, FunctionDef* g) { in UnpackGrad() argument
142 Status ConcatGradHelper(const AttrSlice& attrs, FunctionDef* g, in ConcatGradHelper() argument
145 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "N", &N)); in ConcatGradHelper()
147 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "T", &T)); in ConcatGradHelper()
216 Status ConcatGrad(const AttrSlice& attrs, FunctionDef* g) { in ConcatGrad() argument
217 return ConcatGradHelper(attrs, g, false); in ConcatGrad()
[all …]
/external/bazelbuild-rules_android/rules/android_library/
Drule.bzl17 load(":attrs.bzl", _ATTRS = "ATTRS")
20 "@rules_android//rules:attrs.bzl",
21 _attrs = "attrs",
45 attrs = _ATTRS,
52 attrs: A dict. The attributes for the rule.
59 attrs = attrs,
83 def _is_defined(name, attrs):
84 return name in attrs and attrs[name] != None
86 def attrs_metadata(attrs):
87 """Adds additional metadata for specific android_library attrs.
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DDosAttributeProviderTest.java82 DosFileAttributes attrs = view.readAttributes(); in testView() local
83 assertThat(attrs.isHidden()).isFalse(); in testView()
84 assertThat(attrs.isArchive()).isFalse(); in testView()
85 assertThat(attrs.isReadOnly()).isFalse(); in testView()
86 assertThat(attrs.isSystem()).isFalse(); in testView()
93 assertThat(attrs.isHidden()).isFalse(); in testView()
94 assertThat(attrs.isArchive()).isFalse(); in testView()
95 assertThat(attrs.isReadOnly()).isFalse(); in testView()
97 attrs = view.readAttributes(); in testView()
98 assertThat(attrs.isHidden()).isTrue(); in testView()
[all …]
DBasicAttributeProviderTest.java121 BasicFileAttributes attrs = view.readAttributes(); in testView() local
122 assertThat(attrs.fileKey()).isEqualTo(0); in testView()
124 FileTime time = attrs.creationTime(); in testView()
125 assertThat(attrs.lastAccessTime()).isEqualTo(time); in testView()
126 assertThat(attrs.lastModifiedTime()).isEqualTo(time); in testView()
130 attrs = view.readAttributes(); in testView()
131 assertThat(attrs.creationTime()).isEqualTo(time); in testView()
132 assertThat(attrs.lastAccessTime()).isEqualTo(time); in testView()
133 assertThat(attrs.lastModifiedTime()).isEqualTo(time); in testView()
137 attrs = view.readAttributes(); in testView()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dnode_def_util.h69 std::string SummarizeAttrsHelper(AttrSlice attrs, StringPiece device);
198 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
200 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
202 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
204 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
206 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
208 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
210 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
212 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
214 Status GetNodeAttr(const AttrSlice& attrs, StringPiece attr_name,
[all …]
/external/skia/modules/canvaskit/
Dgpu.js14 CanvasKit.GetWebGLContext = function(canvas, attrs) { argument
19 'alpha': get(attrs, 'alpha', 1),
20 'depth': get(attrs, 'depth', 1),
21 'stencil': get(attrs, 'stencil', 8),
22 'antialias': get(attrs, 'antialias', 0),
23 'premultipliedAlpha': get(attrs, 'premultipliedAlpha', 1),
24 'preserveDrawingBuffer': get(attrs, 'preserveDrawingBuffer', 0),
25 'preferLowPowerToHighPerformance': get(attrs, 'preferLowPowerToHighPerformance', 0),
26 'failIfMajorPerformanceCaveat': get(attrs, 'failIfMajorPerformanceCaveat', 0),
27 'enableExtensionsByDefault': get(attrs, 'enableExtensionsByDefault', 1),
[all …]
/external/rust/crates/thiserror-impl/src/
Dast.rs15 pub attrs: Attrs<'a>, field
23 pub attrs: Attrs<'a>, field
31 pub attrs: Attrs<'a>, field
38 pub attrs: Attrs<'a>, field
58 let mut attrs = attr::get(&node.attrs)?; in from_syn() localVariable
59 let span = attrs.span().unwrap_or_else(Span::call_site); in from_syn()
61 if let Some(display) = &mut attrs.display { in from_syn()
66 attrs, in from_syn()
76 let attrs = attr::get(&node.attrs)?; in from_syn() localVariable
77 let span = attrs.span().unwrap_or_else(Span::call_site); in from_syn()
[all …]
/external/mesa3d/src/freedreno/registers/
Dgen_header.py236 def __init__(self, attrs, domain): argument
237 if "name" in attrs:
238 self.name = attrs["name"]
242 self.offset = int(attrs["offset"], 0)
243 self.stride = int(attrs["stride"], 0)
244 self.length = int(attrs["length"], 0)
253 def __init__(self, attrs, domain, array, bit_size): argument
254 self.name = attrs["name"]
257 self.offset = int(attrs["offset"], 0)
282 def parse_variants(attrs): argument
[all …]
/external/skqp/experimental/canvaskit/
Dgpu.js13 function makeWebGLContext(canvas, attrs) { argument
16 'alpha': get(attrs, 'alpha', 1),
17 'depth': get(attrs, 'depth', 1),
18 'stencil': get(attrs, 'stencil', 0),
19 'antialias': get(attrs, 'antialias', 1),
20 'premultipliedAlpha': get(attrs, 'premultipliedAlpha', 1),
21 'preserveDrawingBuffer': get(attrs, 'preserveDrawingBuffer', 0),
22 'preferLowPowerToHighPerformance': get(attrs, 'preferLowPowerToHighPerformance', 0),
23 'failIfMajorPerformanceCaveat': get(attrs, 'failIfMajorPerformanceCaveat', 0),
24 'majorVersion': get(attrs, 'majorVersion', 1),
[all …]
/external/rust/crates/serde_derive/src/internals/
Dast.rs15 pub attrs: attr::Container, field
35 pub attrs: attr::Variant, field
44 pub attrs: attr::Field, field
68 let mut attrs = attr::Container::from_ast(cx, item); in from_ast() localVariable
71 syn::Data::Enum(data) => Data::Enum(enum_from_ast(cx, &data.variants, attrs.default())), in from_ast()
73 let (style, fields) = struct_from_ast(cx, &data.fields, None, attrs.default()); in from_ast()
86 variant.attrs.rename_by_rules(attrs.rename_all_rules()); in from_ast()
88 if field.attrs.flatten() { in from_ast()
92 .attrs in from_ast()
93 .rename_by_rules(variant.attrs.rename_all_rules()); in from_ast()
[all …]
Dcheck.rs32 if cont.data.has_getter() && cont.attrs.remote().is_none() { in check_getter()
61 if !field.attrs.flatten() { in check_flatten_field()
98 cont.attrs.identifier(), in check_identifier()
99 variant.attrs.other(), in check_identifier()
100 cont.attrs.tag(), in check_identifier()
180 if variant.attrs.serialize_with().is_some() { in check_variant_skip_attrs()
181 if variant.attrs.skip_serializing() { in check_variant_skip_attrs()
194 if field.attrs.skip_serializing() { in check_variant_skip_attrs()
204 if field.attrs.skip_serializing_if().is_some() { in check_variant_skip_attrs()
216 if variant.attrs.deserialize_with().is_some() { in check_variant_skip_attrs()
[all …]
/external/skia/experimental/skottiekit/
Dgpu.js11 function makeWebGLContext(canvas, attrs) { argument
13 alpha: get(attrs, 'alpha', 1),
14 depth: get(attrs, 'depth', 1),
15 stencil: get(attrs, 'stencil', 8),
16 antialias: get(attrs, 'antialias', 1),
17 premultipliedAlpha: get(attrs, 'premultipliedAlpha', 1),
18 preserveDrawingBuffer: get(attrs, 'preserveDrawingBuffer', 0),
19 preferLowPowerToHighPerformance: get(attrs, 'preferLowPowerToHighPerformance', 0),
20 failIfMajorPerformanceCaveat: get(attrs, 'failIfMajorPerformanceCaveat', 0),
21 majorVersion: get(attrs, 'majorVersion', 2),
[all …]
/external/skia/modules/svg/src/
DSkSVGPattern.cpp61 PatternAttributes* attrs) const { in resolveHref()
67 inherit_if_needed(currentNode->fX , attrs->fX) | in resolveHref()
68 inherit_if_needed(currentNode->fY , attrs->fY) | in resolveHref()
69 inherit_if_needed(currentNode->fWidth , attrs->fWidth) | in resolveHref()
70 inherit_if_needed(currentNode->fHeight , attrs->fHeight) | in resolveHref()
71 inherit_if_needed(currentNode->fPatternTransform, attrs->fPatternTransform); in resolveHref()
91 PatternAttributes attrs; in onAsPaint() local
92 const auto* contentNode = this->resolveHref(ctx, &attrs); in onAsPaint()
95 attrs.fX.isValid() ? *attrs.fX : SkSVGLength(0), in onAsPaint()
96 attrs.fY.isValid() ? *attrs.fY : SkSVGLength(0), in onAsPaint()
[all …]
/external/python/cpython2/Lib/plat-mac/
Dfindertools.py140 attrs = {}
145 _reply, args, attrs = finder.send("core", "setd", args, attrs)
154 attrs = {}
158 _reply, args, attrs = finder.send("core", "getd", args, attrs)
172 attrs = {}
180 _reply, args, attrs = finder.send('core', 'getd', args, attrs)
196 attrs = {}
199 _reply, args, attrs = finder.send('core', 'getd', args, attrs)
250 attrs = {}
254 _reply, args, attrs = finder.send("core", "getd", args, attrs)
[all …]
/external/rust/crates/syn/src/
Dexpr.rs261 pub attrs: Vec<Attribute>,
273 pub attrs: Vec<Attribute>,
286 pub attrs: Vec<Attribute>,
299 pub attrs: Vec<Attribute>,
312 pub attrs: Vec<Attribute>,
326 pub attrs: Vec<Attribute>,
339 pub attrs: Vec<Attribute>,
351 pub attrs: Vec<Attribute>,
364 pub attrs: Vec<Attribute>,
378 pub attrs: Vec<Attribute>,
[all …]
/external/rust/crates/syn/src/gen/
Dclone.rs33 attrs: self.attrs.clone(), in clone()
70 attrs: self.attrs.clone(), in clone()
124 attrs: self.attrs.clone(), in clone()
193 attrs: self.attrs.clone(), in clone()
285 attrs: self.attrs.clone(), in clone()
296 attrs: self.attrs.clone(), in clone()
308 attrs: self.attrs.clone(), in clone()
320 attrs: self.attrs.clone(), in clone()
332 attrs: self.attrs.clone(), in clone()
344 attrs: self.attrs.clone(), in clone()
[all …]
/external/iproute2/ip/
Diplink_vxlan.c24 #define VXLAN_ATTRSET(attrs, type) (((attrs) & (1L << (type))) != 0) argument
64 static void check_duparg(__u64 *attrs, int type, const char *key, in check_duparg() argument
67 if (!VXLAN_ATTRSET(*attrs, type)) { in check_duparg()
68 *attrs |= (1L << type); in check_duparg()
85 __u64 attrs = 0; in vxlan_parse_opt() local
96 check_duparg(&attrs, IFLA_VXLAN_ID, "id", *argv); in vxlan_parse_opt()
107 check_duparg(&attrs, IFLA_VXLAN_GROUP, "group", *argv); in vxlan_parse_opt()
121 check_duparg(&attrs, IFLA_VXLAN_GROUP, "remote", *argv); in vxlan_parse_opt()
133 check_duparg(&attrs, IFLA_VXLAN_LOCAL, "local", *argv); in vxlan_parse_opt()
153 check_duparg(&attrs, IFLA_VXLAN_LINK, "dev", *argv); in vxlan_parse_opt()
[all …]
Diplink_geneve.c18 #define GENEVE_ATTRSET(attrs, type) (((attrs) & (1L << (type))) != 0) argument
47 static void check_duparg(__u64 *attrs, int type, const char *key, in check_duparg() argument
50 if (!GENEVE_ATTRSET(*attrs, type)) { in check_duparg()
51 *attrs |= (1L << type); in check_duparg()
71 __u64 attrs = 0; in geneve_parse_opt() local
79 check_duparg(&attrs, IFLA_GENEVE_ID, "id", *argv); in geneve_parse_opt()
85 check_duparg(&attrs, IFLA_GENEVE_REMOTE, "remote", in geneve_parse_opt()
98 check_duparg(&attrs, IFLA_GENEVE_TTL, "ttl", *argv); in geneve_parse_opt()
111 check_duparg(&attrs, IFLA_GENEVE_TOS, "tos", *argv); in geneve_parse_opt()
123 check_duparg(&attrs, IFLA_GENEVE_LABEL, "flowlabel", in geneve_parse_opt()
[all …]
/external/skqp/experimental/svg/model/
DSkSVGPattern.cpp111 PatternAttributes* attrs) const { in resolveHref()
117 inherit_if_needed(currentNode->fAttributes.fX , attrs->fX) | in resolveHref()
118 inherit_if_needed(currentNode->fAttributes.fY , attrs->fY) | in resolveHref()
119 inherit_if_needed(currentNode->fAttributes.fWidth , attrs->fWidth) | in resolveHref()
120 inherit_if_needed(currentNode->fAttributes.fHeight , attrs->fHeight) | in resolveHref()
121 inherit_if_needed(currentNode->fAttributes.fPatternTransform, attrs->fPatternTransform); in resolveHref()
141 PatternAttributes attrs; in onAsPaint() local
142 const auto* contentNode = this->resolveHref(ctx, &attrs); in onAsPaint()
145 attrs.fX.isValid() ? *attrs.fX.get() : SkSVGLength(0), in onAsPaint()
146 attrs.fY.isValid() ? *attrs.fY.get() : SkSVGLength(0), in onAsPaint()
[all …]

12345678910>>...67