/external/mesa3d/src/egl/main/ |
D | eglimage.c | 38 _eglParseKHRImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *dpy, in _eglParseKHRImageAttribs() argument 46 attrs->ImagePreserved = val; in _eglParseKHRImageAttribs() 53 attrs->GLTextureLevel = val; in _eglParseKHRImageAttribs() 59 attrs->GLTextureZOffset = val; in _eglParseKHRImageAttribs() 69 _eglParseMESADrmImageAttribs(_EGLImageAttribs *attrs, _EGLDisplay *dpy, in _eglParseMESADrmImageAttribs() argument 77 attrs->Width = val; in _eglParseMESADrmImageAttribs() 80 attrs->Height = val; in _eglParseMESADrmImageAttribs() 83 attrs->DRMBufferFormatMESA = val; in _eglParseMESADrmImageAttribs() 86 attrs->DRMBufferUseMESA = val; in _eglParseMESADrmImageAttribs() 89 attrs->DRMBufferStrideMESA = val; in _eglParseMESADrmImageAttribs() [all …]
|
/external/u-boot/test/env/ |
D | attr.c | 15 char attrs[32]; in env_test_attrs_lookup() local 17 ut_assertok(env_attr_lookup("foo:bar", "foo", attrs)); in env_test_attrs_lookup() 18 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 20 ut_assertok(env_attr_lookup(",foo:bar", "foo", attrs)); in env_test_attrs_lookup() 21 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 23 ut_assertok(env_attr_lookup(",foo:bar,", "foo", attrs)); in env_test_attrs_lookup() 24 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 26 ut_assertok(env_attr_lookup(" foo:bar", "foo", attrs)); in env_test_attrs_lookup() 27 ut_asserteq_str("bar", attrs); in env_test_attrs_lookup() 29 ut_assertok(env_attr_lookup("foo : bar", "foo", attrs)); in env_test_attrs_lookup() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | conv_op_helpers.cc | 167 Status CheckConvAttrs(const ConvOpAttrs& attrs) { in CheckConvAttrs() argument 168 const int num_dims = attrs.num_spatial_dims + 2; in CheckConvAttrs() 169 if (attrs.strides.size() != num_dims) { in CheckConvAttrs() 173 int batch_dim = GetTensorBatchDimIndex(num_dims, attrs.data_format); in CheckConvAttrs() 174 int feature_dim = GetTensorFeatureDimIndex(num_dims, attrs.data_format); in CheckConvAttrs() 175 if (attrs.strides[batch_dim] != 1 || attrs.strides[feature_dim] != 1) { in CheckConvAttrs() 180 if (attrs.dilations.size() != num_dims) { in CheckConvAttrs() 184 if (attrs.dilations[batch_dim] != 1 || attrs.dilations[feature_dim] != 1) { in CheckConvAttrs() 189 for (int i = 0; i < attrs.num_spatial_dims; ++i) { in CheckConvAttrs() 190 int input_dim = GetTensorSpatialDimIndex(num_dims, attrs.data_format, i); in CheckConvAttrs() [all …]
|
/external/perfetto/ui/src/frontend/ |
D | record_widgets.ts | 42 view({attrs, children}: m.CVnode<ProbeAttrs>) { 45 attrs.setEnabled(draft, enabled); 50 const enabled = attrs.isEnabled(globals.state.recordConfig); 54 m(`img[src=assets/${attrs.img}]`, {onclick: () => onToggle(!enabled)}), 58 m('span', attrs.title)), 59 m('div', m('div', attrs.descr), m('.probe-config', children))); 79 onValueChange(attrs: SliderAttrs, newVal: number) { 81 attrs.set(draft, newVal); 87 onTimeValueChange(attrs: SliderAttrs, hms: string) { 90 this.onValueChange(attrs, date.getTime()); [all …]
|
/external/python/cpython2/Lib/ |
D | htmllib.py | 139 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/ |
D | math_grad.cc | 43 Status AbsGrad(const AttrSlice& attrs, FunctionDef* g) { in AbsGrad() argument 53 Status NegGrad(const AttrSlice& attrs, FunctionDef* g) { in NegGrad() argument 62 Status InvGrad(const AttrSlice& attrs, FunctionDef* g) { in InvGrad() argument 75 Status SquareGrad(const AttrSlice& attrs, FunctionDef* g) { in SquareGrad() argument 87 Status SqrtGrad(const AttrSlice& attrs, FunctionDef* g) { in SqrtGrad() argument 101 Status RsqrtGrad(const AttrSlice& attrs, FunctionDef* g) { in RsqrtGrad() argument 116 Status ExpGrad(const AttrSlice& attrs, FunctionDef* g) { in ExpGrad() argument 126 Status Expm1Grad(const AttrSlice& attrs, FunctionDef* g) { in Expm1Grad() argument 136 Status LogGrad(const AttrSlice& attrs, FunctionDef* g) { in LogGrad() argument 146 Status Log1pGrad(const AttrSlice& attrs, FunctionDef* g) { in Log1pGrad() argument [all …]
|
D | parsing_ops.cc | 65 ParseExampleAttrs attrs; in __anon952516500202() local 66 TF_RETURN_IF_ERROR(attrs.Init(c)); in __anon952516500202() 75 for (int i = 0; i < attrs.num_sparse; ++i) { in __anon952516500202() 78 for (int i = 0; i < attrs.num_sparse; ++i) { in __anon952516500202() 81 for (int i = 0; i < attrs.num_sparse; ++i) { in __anon952516500202() 86 for (int i = 0; i < attrs.num_dense; ++i) { in __anon952516500202() 89 c->MakeShapeFromPartialTensorShape(attrs.dense_shapes[i], &dense)); in __anon952516500202() 110 ParseSingleExampleAttrs attrs; in __anon952516500302() local 111 TF_RETURN_IF_ERROR(attrs.Init(c)); in __anon952516500302() 118 for (int i = 0; i < attrs.sparse_keys.size(); ++i) { in __anon952516500302() [all …]
|
D | array_grad.cc | 33 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/python/cpython2/Lib/plat-mac/ |
D | findertools.py | 140 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/skia/modules/canvaskit/ |
D | gpu.js | 13 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/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 84 attrs := map[string]interface{}{} 86 a(attrs) 93 Attrs: attrs, 135 attrs := map[string]interface{}{} 137 a(attrs) 144 Attrs: attrs, 190 attrs := map[string]interface{}{} 192 a(attrs) 199 Attrs: attrs, 252 attrs := map[string]interface{}{} [all …]
|
/external/iproute2/ip/ |
D | iplink_vxlan.c | 24 #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 …]
|
D | iplink_geneve.c | 18 #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 …]
|
D | ipl2tp.c | 298 struct rtattr *attrs[L2TP_ATTR_MAX + 1]; in get_response() local 311 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in get_response() 313 if (attrs[L2TP_ATTR_PW_TYPE]) in get_response() 314 p->pw_type = rta_getattr_u16(attrs[L2TP_ATTR_PW_TYPE]); in get_response() 315 if (attrs[L2TP_ATTR_ENCAP_TYPE]) in get_response() 316 p->encap = rta_getattr_u16(attrs[L2TP_ATTR_ENCAP_TYPE]); in get_response() 317 if (attrs[L2TP_ATTR_OFFSET]) in get_response() 318 p->offset = rta_getattr_u16(attrs[L2TP_ATTR_OFFSET]); in get_response() 319 if (attrs[L2TP_ATTR_DATA_SEQ]) in get_response() 320 p->data_seq = rta_getattr_u16(attrs[L2TP_ATTR_DATA_SEQ]); in get_response() [all …]
|
/external/skqp/experimental/canvaskit/ |
D | gpu.js | 13 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/python/cpython2/Lib/test/ |
D | test_sax.py | 44 def verify_empty_attrs(self, attrs): argument 45 self.assertRaises(KeyError, attrs.getValue, "attr") 46 self.assertRaises(KeyError, attrs.getValueByQName, "attr") 47 self.assertRaises(KeyError, attrs.getNameByQName, "attr") 48 self.assertRaises(KeyError, attrs.getQNameByName, "attr") 49 self.assertRaises(KeyError, attrs.__getitem__, "attr") 50 self.assertEqual(attrs.getLength(), 0) 51 self.assertEqual(attrs.getNames(), []) 52 self.assertEqual(attrs.getQNames(), []) 53 self.assertEqual(len(attrs), 0) [all …]
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_dist.py | 182 dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx', 190 attrs = {'keywords': 'one,two', 193 dist = Distribution(attrs=attrs) 200 attrs = {'keywords': 'foo bar', 202 dist = Distribution(attrs=attrs) 247 d = Distribution(attrs={'script_args': ['--no-user-cfg']}) 273 attrs = {"name": "package", 275 dist = Distribution(attrs) 283 attrs = {"name": "package", 286 dist = Distribution(attrs) [all …]
|
/external/iproute2/tipc/ |
D | link.c | 31 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1] = {}; in link_list_cb() local 37 mnl_attr_parse_nested(info[TIPC_NLA_LINK], parse_attrs, attrs); in link_list_cb() 38 if (!attrs[TIPC_NLA_LINK_NAME]) in link_list_cb() 41 printf("%s: ", mnl_attr_get_str(attrs[TIPC_NLA_LINK_NAME])); in link_list_cb() 43 if (attrs[TIPC_NLA_LINK_UP]) in link_list_cb() 75 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1] = {}; in link_get_cb() local 82 mnl_attr_parse_nested(info[TIPC_NLA_LINK], parse_attrs, attrs); in link_get_cb() 83 if (!attrs[TIPC_NLA_LINK_PROP]) in link_get_cb() 86 mnl_attr_parse_nested(attrs[TIPC_NLA_LINK_PROP], parse_attrs, props); in link_get_cb() 214 static int _show_link_stat(struct nlattr *attrs[], struct nlattr *prop[], in _show_link_stat() argument [all …]
|
/external/freetype/src/cache/ |
D | ftcbasic.c | 55 FTC_BasicAttrRec attrs; member 63 FTC_BasicAttrRec attrs; member 76 return FTC_BASIC_ATTR_COMPARE( &family->attrs, &query->attrs ); in ftc_basic_family_compare() 91 family->attrs = query->attrs; in ftc_basic_family_init() 106 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count() 135 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap() 144 (FT_Int)family->attrs.load_flags | FT_LOAD_RENDER ); in ftc_basic_family_load_bitmap() 161 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() 176 (FT_Int)family->attrs.load_flags ); in ftc_basic_family_load_glyph() 217 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid() [all …]
|
/external/skqp/experimental/svg/model/ |
D | SkSVGPattern.cpp | 111 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 …]
|
/external/skia/experimental/svg/model/ |
D | SkSVGPattern.cpp | 111 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 …]
|
/external/tensorflow/tensorflow/cc/gradients/ |
D | nn_grad.cc | 150 TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "alpha", &alpha)); in LeakyReluGradHelper() 151 internal::LeakyReluGrad::Attrs attrs; in LeakyReluGradHelper() local 153 attrs.Alpha(alpha)); in LeakyReluGradHelper() 163 TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "alpha", &alpha)); in LeakyReluGradGradHelper() 164 internal::LeakyReluGrad::Attrs attrs; in LeakyReluGradGradHelper() local 166 attrs.Alpha(alpha)); in LeakyReluGradGradHelper() 204 GetNodeAttr(op.output(0).node()->attrs(), "data_format", &data_format)); in BiasAddGradHelper() 220 auto attrs = op.output(0).node()->attrs(); in Conv2DGrad() local 221 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "data_format", &data_format)); in Conv2DGrad() 222 TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "padding", &padding)); in Conv2DGrad() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/ |
D | ActivityData.java | 35 private final HashMap<String, String> attrs; field in ActivityData 56 attrs = new HashMap<>(); in ActivityData() 57 attrs.putAll(attrMap); in ActivityData() 76 return attrs.get(withXMLNS(CONFIG_CHANGES)); in getConfigChanges() 103 return attrs.get(withXMLNS(LABEL)); in getLabel() 107 return attrs.get(withXMLNS(LAUNCH_MODE)); in getLaunchMode() 115 return attrs.get(withXMLNS(NAME)); in getName() 123 return attrs.get(withXMLNS(PARENT_ACTIVITY_NAME)); in getParentActivityName() 127 return attrs.get(withXMLNS(PERMISSION)); in getPermission() 131 return attrs.get(withXMLNS(PROCESS)); in getProcess() [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_das.c | 59 struct radius_das_attrs attrs; in radius_das_disconnect() local 76 os_memset(&attrs, 0, sizeof(attrs)); in radius_das_disconnect() 86 attrs.nas_ip_addr = buf; in radius_das_disconnect() 98 attrs.nas_ipv6_addr = buf; in radius_das_disconnect() 104 attrs.nas_identifier = buf; in radius_das_disconnect() 105 attrs.nas_identifier_len = len; in radius_das_disconnect() 120 attrs.sta_addr = sta_addr; in radius_das_disconnect() 125 attrs.user_name = buf; in radius_das_disconnect() 126 attrs.user_name_len = len; in radius_das_disconnect() 131 attrs.acct_session_id = buf; in radius_das_disconnect() [all …]
|
/external/python/setuptools/setuptools/tests/ |
D | test_dist.py | 60 attrs = {"name": "package", 71 ('No author, no maintainer', attrs.copy()), 73 attrs, 76 attrs, 80 attrs, 83 attrs, 87 attrs, 91 attrs, 97 attrs, 101 attrs, [all …]
|