/external/tensorflow/tensorflow/core/kernels/ |
D | spectrogram_test_utils.cc | 60 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/ |
D | augeas_escape_name_fuzzer.cc | 25 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.py | 309 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.py | 299 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/ |
D | xmltest.cpp | 28 std::string data_string(reinterpret_cast<const char*>(data), size); in LLVMFuzzerTestOneInput() 30 doc.Parse( data_string.c_str() ); in LLVMFuzzerTestOneInput()
|
/external/libchrome/crypto/ |
D | hmac_unittest.cc | 152 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/ |
D | default_value_objectwriter.cc | 591 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/ |
D | lib.rs | 580 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/ |
D | test_strptime.py | 209 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
|
/external/python/cpython3/Lib/test/ |
D | test_strptime.py | 211 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
|