Searched refs:attr_val (Results 1 – 8 of 8) sorted by relevance
163 char *attr_val; in read_selinux_xattr_from_sehnd() local166 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() local174 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()
31 AttrValue attr_val; in SetAttr() local32 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
57 attr_val = host.run(getboard, ignore_status=True).stdout58 return attr_val.strip('\n') if attr_val else None
131 T attr_val; in DoMklLayoutOptimizationPassGetAttrVal() local134 TF_CHECK_OK(GetNodeAttr(n->def(), attr, &attr_val)); in DoMklLayoutOptimizationPassGetAttrVal()135 return attr_val; in DoMklLayoutOptimizationPassGetAttrVal()138 return attr_val; in DoMklLayoutOptimizationPassGetAttrVal()
78 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))
111 AttrValue& attr_val = (*node->mutable_attr())["value"]; in CompressConstants() local112 tensor::CompressTensorProtoInPlace(attr_val.mutable_tensor()); in CompressConstants()
3414 AttrValue& attr_val = (*node->mutable_attr())["value"]; in CompressConstants() local3415 tensor::CompressTensorProtoInPlace(attr_val.mutable_tensor()); in CompressConstants()
2567 int attr_val = attrs.get<int64>(attr); in ConvertStridedSlice() local2568 if (attr_val != 0) { in ConvertStridedSlice()