Home
last modified time | relevance | path

Searched refs:attr_size (Results 1 – 17 of 17) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Defs.c74 s64 attr_size = 0; in ntfs_get_efs_info() local
80 &attr_size); in ntfs_get_efs_info()
82 && (le32_to_cpu(efs_info->length) == attr_size)) { in ntfs_get_efs_info()
83 if (attr_size <= (s64)size) { in ntfs_get_efs_info()
85 memcpy(value,efs_info,attr_size); in ntfs_get_efs_info()
88 attr_size = 0; in ntfs_get_efs_info()
93 attr_size = 0; in ntfs_get_efs_info()
107 attr_size = 0; in ntfs_get_efs_info()
115 return (attr_size ? (int)attr_size : -errno); in ntfs_get_efs_info()
Dreparse.c787 s64 attr_size = 0; in ntfs_make_symlink() local
807 AT_REPARSE_POINT,(ntfschar*)NULL, 0, &attr_size); in ntfs_make_symlink()
808 if (reparse_attr && attr_size in ntfs_make_symlink()
809 && valid_reparse_data(ni, reparse_attr, attr_size)) { in ntfs_make_symlink()
912 s64 attr_size = 0; in ntfs_possible_symlink() local
918 AT_REPARSE_POINT,(ntfschar*)NULL, 0, &attr_size); in ntfs_possible_symlink()
919 if (reparse_attr && attr_size) { in ntfs_possible_symlink()
1160 s64 attr_size; in ntfs_get_ntfs_reparse_data() local
1162 attr_size = 0; /* default to no data and no error */ in ntfs_get_ntfs_reparse_data()
1166 AT_REPARSE_POINT,(ntfschar*)NULL, 0, &attr_size); in ntfs_get_ntfs_reparse_data()
[all …]
Dobject_id.c469 s64 attr_size; in ntfs_get_ntfs_object_id() local
475 AT_OBJECT_ID,(ntfschar*)NULL, 0, &attr_size); in ntfs_get_ntfs_object_id()
478 if (attr_size == sizeof(GUID)) { in ntfs_get_ntfs_object_id()
Dattrib.c4808 u32 old_size, alloc_size, attr_size; local
4812 attr_size = le32_to_cpu(a->length);
4816 (unsigned)attr_size, (unsigned)new_size);
4822 if (new_size != attr_size) {
4824 u32 new_muse = old_size - attr_size + new_size;
4834 if (a->type == AT_INDEX_ROOT && new_size > attr_size &&
4843 if (((u8 *)m + old_size) < ((u8 *)a + attr_size)) {
4850 memmove((u8 *)a + new_size, (u8 *)a + attr_size,
4851 old_size - ((u8 *)a - (u8 *)m) - attr_size);
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/
Dgpu_kernel_factory.cc90 auto attr_size = (&(iter->second))->at(attr_index).first.GetInputSize(); in ReducePrecision() local
93 …(iter->second)[attr_index].first.GetInputAttr(input_index % attr_size).first == kNumberTypeInt32) { in ReducePrecision()
102 …(iter->second)[attr_index].first.GetOutputAttr(output_index % attr_size).first == kNumberTypeInt32… in ReducePrecision()
142 auto attr_size = (&(iter->second))->at(attr_index).first.GetInputSize(); in GpuKernelAttrCheck() local
144 MS_EXCEPTION_IF_ZERO("attr size", attr_size); in GpuKernelAttrCheck()
150 (iter->second)[attr_index].first.GetInputAttr(input_index % attr_size).first) { in GpuKernelAttrCheck()
158 attr_size = (&(iter->second))->at(attr_index).first.GetOutputSize(); in GpuKernelAttrCheck()
160 MS_EXCEPTION_IF_ZERO("attr size", attr_size); in GpuKernelAttrCheck()
165 (iter->second)[attr_index].first.GetOutputAttr(output_index % attr_size).first) { in GpuKernelAttrCheck()
/third_party/mindspore/mindspore/core/ops/
Dbatch_to_space.cc62 const int64_t attr_size = 4; in BatchToSpaceInfer() local
65 …kAndConvertUtils::CheckInteger("block_size size", SizeToLong(block_size.size()), kEqual, attr_size, in BatchToSpaceInfer()
67 …ndConvertUtils::CheckInteger("crops size", SizeToLong(crops.size()), kEqual, attr_size, prim_name); in BatchToSpaceInfer()
68 …ertUtils::CheckInteger("crops[0] size", SizeToLong(crops[0].size()), kEqual, attr_size, prim_name); in BatchToSpaceInfer()
69 …ertUtils::CheckInteger("crops[1] size", SizeToLong(crops[1].size()), kEqual, attr_size, prim_name); in BatchToSpaceInfer()
73 …tUtils::Check("x block shape prod", x_block_prod, kGreaterThan, "crops sum", attr_size, prim_name); in BatchToSpaceInfer()
Davg_pool.cc87 const int64_t attr_size = 4; in InferShape() local
99 …vertUtils::CheckInteger("kernel size", SizeToLong(kernel_size.size()), kEqual, attr_size, op_name); in InferShape()
100 …ConvertUtils::CheckInteger("strides size", SizeToLong(strides.size()), kEqual, attr_size, op_name); in InferShape()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcpu_kernel_factory.cc91 size_t attr_size = kernel_attrs.size(); in UpdateKernelAttrs() local
92 std::vector<std::pair<KernelAttr, CPUKernelCreator>> attr_creators(attr_size); in UpdateKernelAttrs()
98 if (attr_size <= iter->second.size()) { in UpdateKernelAttrs()
99 for (size_t i = 0; i < attr_size; i++) { in UpdateKernelAttrs()
104 …LOG(INFO) << "attr size is not equal creators size " << kernel_name << " attr_size = " << attr_size in UpdateKernelAttrs()
107 for (size_t i = 0; i < attr_size; i++) { in UpdateKernelAttrs()
/third_party/libnl/tests/
Dcheck-attr.c18 START_TEST(attr_size) in START_TEST() argument
85 tcase_add_test(nl_attr, attr_size); in make_nl_attr_suite()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c878 uint32_t attr_size = *(uint8_t *)(pkt_u + o + 4) + 1; in validate_gl_shader_rec() local
886 vbo->base.size - offset < attr_size) { in validate_gl_shader_rec()
888 offset, attr_size, vbo->base.size); in validate_gl_shader_rec()
893 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c179 uint32_t attr_size = util_format_get_blocksize(format); in vc4_nir_lower_vertex_attr() local
191 for (int i = 0; i < align(attr_size, 4) / 4; i++) in vc4_nir_lower_vertex_attr()
Dvc4_program.c741 uint32_t attr_size = util_format_get_blocksize(format); in emit_vertex_input() local
743 c->vattr_sizes[attr] = align(attr_size, 4); in emit_vertex_input()
744 for (int i = 0; i < align(attr_size, 4) / 4; i++) { in emit_vertex_input()
/third_party/ffmpeg/libavformat/
Drtpdec.h220 int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size,
Drtsp.c360 int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, in ff_rtsp_next_attr_and_value() argument
365 get_word_sep(attr, attr_size, "=", p); in ff_rtsp_next_attr_and_value()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius.c43 size_t attr_size; member
86 msg->attr_size = RADIUS_DEFAULT_ATTR_COUNT; in radius_msg_initialize()
610 if (msg->attr_used >= msg->attr_size) { in radius_msg_add_attr_to_array()
612 size_t nlen = msg->attr_size * 2; in radius_msg_add_attr_to_array()
620 msg->attr_size = nlen; in radius_msg_add_attr_to_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius.c43 size_t attr_size; member
86 msg->attr_size = RADIUS_DEFAULT_ATTR_COUNT; in radius_msg_initialize()
610 if (msg->attr_used >= msg->attr_size) { in radius_msg_add_attr_to_array()
612 int nlen = msg->attr_size * 2; in radius_msg_add_attr_to_array()
620 msg->attr_size = nlen; in radius_msg_add_attr_to_array()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc459 Py_ssize_t attr_size; in GetClassAttribute() local
461 if (PyString_AsStringAndSize(name, &attr, &attr_size) >= 0 && in GetClassAttribute()
462 HasSuffixString(StringPiece(attr, attr_size), kSuffix)) { in GetClassAttribute()
463 std::string field_name(attr, attr_size - sizeof(kSuffix) + 1); in GetClassAttribute()