/external/tensorflow/tensorflow/core/lib/gtl/ |
D | edit_distance.h | 49 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.c | 57 Py_ssize_t s_size; member 1362 self->s_size = size; in prepare_s() 1436 s->s_size = -1; in s_new() 1558 if (buffer->len != self->s_size) { in Struct_unpack_impl() 1561 self->s_size); in Struct_unpack_impl() 1591 if (offset + self->s_size > 0) { in Struct_unpack_from_impl() 1594 self->s_size, in Struct_unpack_from_impl() 1609 if ((buffer->len - offset) < self->s_size) { in Struct_unpack_from_impl() 1614 (size_t)self->s_size + (size_t)offset, in Struct_unpack_from_impl() 1615 self->s_size, in Struct_unpack_from_impl() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | gather_nd_op_gpu.cu.cc | 76 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 ()()
|
/external/fmtlib/src/ |
D | os.cc | 85 int s_size = static_cast<int>(s.size()); in convert() local 86 if (s_size == 0) { in convert() 93 int length = WideCharToMultiByte(CP_UTF8, 0, s.data(), s_size, nullptr, 0, in convert() 97 length = WideCharToMultiByte(CP_UTF8, 0, s.data(), s_size, &buffer_[0], in convert()
|
/external/python/cpython2/Modules/ |
D | _struct.c | 47 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/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_sharding_util.cc | 334 int64 s_size = 1; in ReshapeSharding() local 338 s_size = source_dims_stack.back(); in ReshapeSharding() 350 if (s_size == t_size) { in ReshapeSharding() 356 source_dims_stack.push_back(s_size); in ReshapeSharding() 358 } else if (s_size == 1) { in ReshapeSharding() 364 } else if (s_size > t_size) { in ReshapeSharding() 366 if (s_size % t_size != 0 || s_size % s_partitions != 0) { in ReshapeSharding() 372 source_dims_stack.push_back(s_size / t_size); in ReshapeSharding() 377 source_dims_stack.push_back(s_size / t_size); in ReshapeSharding() 385 if (s_size % s_partitions != 0) { in ReshapeSharding() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | op_def_util.cc | 259 if (list.s_size()) { in AttrValueListToPyObject() 260 Safe_PyObjectPtr result(PyList_New(list.s_size())); in AttrValueListToPyObject() 261 for (int i = 0; i < list.s_size(); ++i) { in AttrValueListToPyObject()
|
D | python_op_gen_internal.cc | 389 if (value.list().s_size() > 0) { in AttrListToPython() 390 for (int i = 0; i < value.list().s_size(); ++i) { in AttrListToPython()
|
/external/tensorflow/tensorflow/core/framework/ |
D | kernel_def_util.cc | 46 if (constraint.allowed_values().list().s_size() > 0) { in KernelAttrsMatch()
|
D | attr_value_util.cc | 247 if (attr_value.list().s_size() > 0) { in SummarizeAttrValue() 248 for (int i = 0; i < attr_value.list().s_size(); ++i) { in SummarizeAttrValue()
|
D | op_def_util.cc | 105 length = attr_value.list().s_size(); in ValidateAttrValue()
|
D | node_def_util.cc | 944 auto constraints_size = constraints_list->s_size(); in MaybeAddPrefixToColocationConstraints()
|
/external/kernel-headers/original/uapi/linux/ |
D | coff.h | 161 char s_size[4]; /* section size */ member
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | JSON.cpp | 27 const size_t s_size = s.size(); in json_string_quote_metachars() local 29 for (size_t i = 0; i < s_size; i++) { in json_string_quote_metachars()
|
D | RNBRemote.cpp | 1343 const size_t s_size = s.size(); in binary_encode_string() local 1346 for (size_t i = 0; i < s_size; i++) { in binary_encode_string() 1367 const size_t s_size = s.size(); in json_string_quote_metachars() local 1369 for (size_t i = 0; i < s_size; i++) { in json_string_quote_metachars()
|
/external/perfetto/src/profiling/memory/ |
D | bookkeeping_unittest.cc | 287 uint64_t s_size = 2; in TEST() local 310 ASSERT_EQ(hd.GetSizeForTesting(s, s_b), s_size); in TEST()
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api.cc | 1060 if (const int s_size = default_value.list().s_size()) { in SetOpAttrValueScalar() local 1063 for (int i = 0; i < s_size; ++i) { in SetOpAttrValueScalar() 1069 lengths_vector.data(), s_size); in SetOpAttrValueScalar()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_concat_op.cc | 505 size_t s_size = s_shape.dim_size(d); in Compute() local 507 context, expected_size == s_size, in Compute() 511 "][", d, "] = ", s_size)); in Compute()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 232 if (attr_value.list().s_size() > 0) { in PrintAttrValue() 233 for (int i = 0; i < attr_value.list().s_size(); ++i) { in PrintAttrValue() 282 return list.s_size() == 0 && list.i_size() == 0 && list.f_size() == 0 && in IsEmptyList()
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_reader.cpp | 138 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/core/common_runtime/ |
D | graph_constructor_test.cc | 2003 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F() 2018 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F() 2034 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F() 2038 ASSERT_EQ(class_attr->list().s_size(), 1); in TEST_F()
|
D | graph_constructor.cc | 967 for (int i = 0; i < list->s_size(); ++i) { in AddPrefixToNodeDef()
|
/external/tensorflow/tensorflow/c/ |
D | kernels.cc | 317 for (int i = 0; i < attr->list().s_size(); in TF_OpKernelConstruction_GetAttrSize()
|
D | c_api.cc | 1270 for (int i = 0; i < attr->list().s_size(); in TF_OperationGetAttrMetadata() 1367 const auto len = std::min(max_values, attr->list().s_size()); in TF_OperationGetAttrStringList()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | operator_test.cc | 700 ASSERT_EQ(5, list.s_size()); in TEST_F()
|