Home
last modified time | relevance | path

Searched refs:data_string (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_test_utils.cc60 string data_string; in ReadRawFloatFileToComplexVector() local
61 if (!ReadFileToString(Env::Default(), file_name, &data_string).ok()) { in ReadRawFloatFileToComplexVector()
72 const int end = data_string.size(); in ReadRawFloatFileToComplexVector()
77 arr[3 - i] = *(data_string.data() + offset + i); in ReadRawFloatFileToComplexVector()
82 arr[3 - i] = *(data_string.data() + offset + i); in ReadRawFloatFileToComplexVector()
87 memcpy(&real_out, data_string.data() + offset, kBytesPerValue); in ReadRawFloatFileToComplexVector()
89 memcpy(&imag_out, data_string.data() + offset, kBytesPerValue); in ReadRawFloatFileToComplexVector()
110 string data_string; in ReadCSVFileToComplexVectorOrDie() local
111 if (!ReadFileToString(Env::Default(), file_name, &data_string).ok()) { in ReadCSVFileToComplexVectorOrDie()
115 std::vector<string> lines = str_util::Split(data_string, '\n'); in ReadCSVFileToComplexVectorOrDie()
/external/oss-fuzz/projects/augeas/
Daugeas_escape_name_fuzzer.cc25 std::string data_string(reinterpret_cast<const char*>(data), size); in escape_match()
27 aug_escape_name(aug, data_string.c_str(), &out); in escape_match()
32 aug_match(aug, data_string.c_str(), NULL); in escape_match()
/external/python/cpython3/Lib/
D_strptime.py309 def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): argument
314 for index, arg in enumerate([data_string, format]):
347 found = format_regex.match(data_string)
350 (data_string, format))
351 if len(data_string) != found.end():
353 data_string[found.end():])
559 def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): argument
562 tt = _strptime(data_string, format)[0]
565 def _strptime_datetime(cls, data_string, format="%a %b %d %H:%M:%S %Y"): argument
568 tt, fraction, gmtoff_fraction = _strptime(data_string, format)
/external/python/cpython2/Lib/
D_strptime.py299 def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"): argument
329 found = format_regex.match(data_string)
332 (data_string, format))
333 if len(data_string) != found.end():
335 data_string[found.end():])
477 def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"): argument
478 return _strptime(data_string, format)[0]
/external/oss-fuzz/projects/tinyxml2/
Dxmltest.cpp28 std::string data_string(reinterpret_cast<const char*>(data), size); in LLVMFuzzerTestOneInput()
30 doc.Parse( data_string.c_str() ); in LLVMFuzzerTestOneInput()
/external/libchrome/crypto/
Dhmac_unittest.cc152 std::string data_string(cases[i].data, cases[i].data_len); in TEST() local
154 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize)); in TEST()
246 std::string data_string(kSimpleHmacCases[i].data, in TEST() local
249 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize)); in TEST()
/external/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc591 util::StatusOr<std::string> data_string = data.ToString(); in RenderDataPiece() local
592 if (data_string.ok()) { in RenderDataPiece()
593 const std::string& string_value = data_string.ValueOrDie(); in RenderDataPiece()
/external/minijail/rust/minijail/src/
Dlib.rs580 let data_string = CString::new(data).map_err(|_| Error::StrToCString(data.to_owned()))?; in mount_with_data() localVariable
588 data_string.as_ptr(), in mount_with_data()
/external/python/cpython2/Lib/test/
Dtest_strptime.py209 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
/external/python/cpython3/Lib/test/
Dtest_strptime.py211 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",