Home
last modified time | relevance | path

Searched refs:s_size (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/lib/gtl/
Dedit_distance.h49 const int64 s_size = s.size(); in LevenshteinDistance() local
52 if (t_size > s_size) return LevenshteinDistance(t, s, cmp); in LevenshteinDistance()
57 if (t_size == 0) return s_size; in LevenshteinDistance()
69 for (size_t i = 1; i <= s_size; ++i) { in LevenshteinDistance()
/external/python/cpython3/Modules/
D_struct.c41 Py_ssize_t s_size; member
1346 self->s_size = size; in prepare_s()
1418 s->s_size = -1; in s_new()
1537 if (buffer->len != self->s_size) { in Struct_unpack_impl()
1540 self->s_size); in Struct_unpack_impl()
1570 if (offset < 0 || buffer->len - offset < self->s_size) { in Struct_unpack_from_impl()
1573 self->s_size); in Struct_unpack_from_impl()
1615 len = (self->buf.len - self->index) / self->so->s_size; in unpackiter_len()
1636 assert(self->index + self->so->s_size <= self->buf.len); in unpackiter_iternext()
1639 self->index += self->so->s_size; in unpackiter_iternext()
[all …]
D_testbuffer.c287 Py_ssize_t s_size; member
/external/tensorflow/tensorflow/core/kernels/
Dgather_nd_op_gpu.cu.cc76 int64 s_size = Tout.dimension(1); in operator ()() local
80 batch_strides[size_t(IXDIM - 1)] = s_size; in operator ()()
93 indices_size, s_size, out_size)); in operator ()()
Dmkl_concat_op.cc206 size_t s_size = s_shape.dim_size(d); in Compute() local
208 context, expected_size == s_size, in Compute()
212 "][", d, "] = ", s_size)); in Compute()
/external/python/cpython2/Modules/
D_struct.c47 Py_ssize_t s_size; member
1289 self->s_size = size; in prepare_s()
1362 s->s_size = -1; in s_new()
1469 PyString_GET_SIZE(inputstr) == soself->s_size) { in s_unpack()
1479 if (soself->s_size != len) { in s_unpack()
1492 soself->s_size); in s_unpack()
1532 if (offset < 0 || (buffer_len - offset) < soself->s_size) { in s_unpack_from()
1535 soself->s_size); in s_unpack_from()
1563 memset(buf, '\0', soself->s_size); in s_pack_internal()
1637 result = PyString_FromStringAndSize((char *)NULL, soself->s_size); in s_pack()
[all …]
/external/perfetto/src/profiling/memory/
Dbookkeeping_unittest.cc166 uint64_t s_size = 2; in TEST() local
185 ASSERT_EQ(hd.GetSizeForTesting(s), s_size); in TEST()
/external/kernel-headers/original/uapi/linux/
Dcoff.h158 char s_size[4]; /* section size */ member
/external/tensorflow/tensorflow/core/framework/
Dattr_value_util.cc224 if (attr_value.list().s_size() > 0) { in SummarizeAttrValue()
225 for (int i = 0; i < attr_value.list().s_size(); ++i) { in SummarizeAttrValue()
Dop_def_util.cc104 length = attr_value.list().s_size(); in ValidateAttrValue()
/external/mesa3d/src/compiler/glsl/
Dir_reader.cpp138 s_int *s_size; in read_type() local
140 s_pattern pat[] = { "array", s_base_type, s_size }; in read_type()
148 return glsl_type::get_array_instance(base_type, s_size->value()); in read_type()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc226 if (attr_value.list().s_size() > 0) { in PrintAttrValue()
227 for (int i = 0; i < attr_value.list().s_size(); ++i) { in PrintAttrValue()
277 return list.s_size() == 0 && list.i_size() == 0 && list.f_size() == 0 && in IsEmptyList()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen_internal.cc385 if (value.list().s_size() > 0) { in AttrListToPython()
386 for (int i = 0; i < value.list().s_size(); ++i) { in AttrListToPython()
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor_test.cc1999 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F()
2014 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F()
2030 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F()
2034 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F()
Dgraph_constructor.cc814 for (int i = 0; i < list->s_size(); ++i) { in AddPrefixToNodeDef()
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator_test.cc634 ASSERT_EQ(5, list.s_size()); in TEST_F()
Doperator.cc2066 if (attr.list().s_size() > 0) { in WriteOptions()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc289 attr_value->list().s_size() > 0) { in GetColocationGroup()
/external/tensorflow/tensorflow/c/
Dc_api.cc1681 for (int i = 0; i < attr->list().s_size(); in TF_OperationGetAttrMetadata()
1778 const auto len = std::min(max_values, attr->list().s_size()); in TF_OperationGetAttrStringList()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc435 int num_values = attr.default_value().list().s_size(); in SetOpAttrListDefault()