Home
last modified time | relevance | path

Searched refs:attr_val (Results 1 – 8 of 8) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dxattr.c163 char *attr_val; in read_selinux_xattr_from_sehnd() local
166 attr_val = set_selabel(filename, mode, sehnd); in read_selinux_xattr_from_sehnd()
167 xattrs->value = (void *)attr_val; in read_selinux_xattr_from_sehnd()
168 xattrs->vsize = strlen(attr_val); in read_selinux_xattr_from_sehnd()
173 struct vfs_cap_data *attr_val; in set_caps_xattr() local
174 attr_val = malloc(sizeof(*attr_val)); in set_caps_xattr()
175 if (attr_val == NULL) MEM_ERROR(); in set_caps_xattr()
178 *attr_val = set_caps(caps); in set_caps_xattr()
179 xattrs->value = attr_val; in set_caps_xattr()
180 xattrs->vsize = sizeof(*attr_val); in set_caps_xattr()
/external/tensorflow/tensorflow/c/
Dpython_api.cc31 AttrValue attr_val; in SetAttr() local
32 if (!attr_val.ParseFromArray(attr_value_proto->data, in SetAttr()
40 op->node.AddAttr(attr_name, attr_val); in SetAttr()
46 AttrValue attr_val; in ClearAttr() local
/external/autotest/server/hosts/
Dservo_repair.py57 attr_val = host.run(getboard, ignore_status=True).stdout
58 return attr_val.strip('\n') if attr_val else None
/external/tensorflow/tensorflow/core/graph/
Dmkl_layout_pass_test.cc131 T attr_val; in DoMklLayoutOptimizationPassGetAttrVal() local
134 TF_CHECK_OK(GetNodeAttr(n->def(), attr, &attr_val)); in DoMklLayoutOptimizationPassGetAttrVal()
135 return attr_val; in DoMklLayoutOptimizationPassGetAttrVal()
138 return attr_val; in DoMklLayoutOptimizationPassGetAttrVal()
/external/python/setuptools/setuptools/
Ddist.py78 attr_val = getattr(self, attr)
80 attr_val = self._encode_field(attr_val)
82 if attr_val is not None:
83 file.write('%s: %s\n' % (field, attr_val))
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc111 AttrValue& attr_val = (*node->mutable_attr())["value"]; in CompressConstants() local
112 tensor::CompressTensorProtoInPlace(attr_val.mutable_tensor()); in CompressConstants()
Dconstant_folding.cc3414 AttrValue& attr_val = (*node->mutable_attr())["value"]; in CompressConstants() local
3415 tensor::CompressTensorProtoInPlace(attr_val.mutable_tensor()); in CompressConstants()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc2567 int attr_val = attrs.get<int64>(attr); in ConvertStridedSlice() local
2568 if (attr_val != 0) { in ConvertStridedSlice()