Searched refs:f_size (Results 1 – 12 of 12) sorted by relevance
47 f_size = os.path.getsize(file_path)49 while (bytes_read < f_size):
271 } else if (list.f_size()) { in AttrValueListToPyObject()272 Safe_PyObjectPtr result(PyList_New(list.f_size())); in AttrValueListToPyObject()273 for (int i = 0; i < list.f_size(); ++i) { in AttrValueListToPyObject()
399 } else if (value.list().f_size() > 0) { in AttrListToPython()400 for (int i = 0; i < value.list().f_size(); ++i) { in AttrListToPython()
1081 if (const int f_size = default_value.list().f_size()) { in SetOpAttrValueScalar() local1083 for (int i = 0; i < f_size; ++i) { in SetOpAttrValueScalar()1086 TFE_OpSetAttrFloatList(op, attr_name, f_vector.data(), f_size); in SetOpAttrValueScalar()
255 } else if (attr_value.list().f_size() > 0) { in SummarizeAttrValue()256 for (int i = 0; i < attr_value.list().f_size(); ++i) { in SummarizeAttrValue()
109 length = attr_value.list().f_size(); in ValidateAttrValue()
242 } else if (attr_value.list().f_size() > 0) { in PrintAttrValue()243 for (int i = 0; i < attr_value.list().f_size(); ++i) { in PrintAttrValue()282 return list.s_size() == 0 && list.i_size() == 0 && list.f_size() == 0 && in IsEmptyList()
816 f_size = os.fstat(sig_f.fileno()).st_size817 pad = '\0' * (sig_size - f_size)
709 ASSERT_EQ(3, list.f_size()); in TEST_F()
1694 } else if (attr.list().f_size() > 0) { in WriteOptions()
1045 } else if (attr.list().f_size() > 0) { in CreateFlexBuilderWithNodeAttrs()
563 int num_values = attr.default_value().list().f_size(); in SetOpAttrListDefault()