Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/
H A 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
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)
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A 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)
/aosp_15_r20/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)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
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)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
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)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
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)
/aosp_15_r20/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]
/aosp_15_r20/external/cronet/net/tools/cert_verify_tool/
H A Dcert_verify_tool_util.cc27 void ExtractCertificatesFromData(const std::string& data_string, in ExtractCertificatesFromData() argument
30 bssl::PEMTokenizer pem_tokenizer(data_string, {kCertificateHeader}); in ExtractCertificatesFromData()
48 base::as_byte_span(data_string), &pkcs7_cert_buffers)) { in ExtractCertificatesFromData()
64 cert.der_cert = data_string; in ExtractCertificatesFromData()
/aosp_15_r20/external/cronet/base/strings/
H A Descape_fuzzer.cc20 base::StringPiece data_string(reinterpret_cast<const char*>(data), size); in LLVMFuzzerTestOneInput()
22 UseResult(base::EscapeQueryParamValue(data_string, /*use_plus=*/false)); in LLVMFuzzerTestOneInput()
23 UseResult(base::EscapeQueryParamValue(data_string, /*use_plus=*/true)); in LLVMFuzzerTestOneInput()
/aosp_15_r20/external/libchrome/crypto/
H A 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()
/aosp_15_r20/external/cronet/crypto/
H A Dhmac_unittest.cc154 std::string data_string(cases[i].data, cases[i].data_len); in TEST() local
156 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize)); in TEST()
248 std::string data_string(kSimpleHmacCases[i].data, in TEST() local
251 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize)); in TEST()
/aosp_15_r20/external/cronet/testing/libfuzzer/fuzzers/
H A Dlibxml_xml_read_memory_fuzzer.cc24 const std::string data_string(reinterpret_cast<const char*>(data), size); in LLVMFuzzerTestOneInput()
25 const std::size_t data_hash = std::hash<std::string>()(data_string); in LLVMFuzzerTestOneInput()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/srvc/
Dsrvc_eng.cc144 for (j = 0; j < ARRAY_SIZE(p_clcb->dis_value.data_string); j++) { in srvc_eng_clcb_dealloc()
145 osi_free(p_clcb->dis_value.data_string[j]); in srvc_eng_clcb_dealloc()
Dsrvc_dis.cc206 p_str = p_clcb->dis_value.data_string[read_type - GATT_UUID_MODEL_NUMBER_STR]; in dis_c_cmpl_cback()
212 p_clcb->dis_value.data_string[read_type - GATT_UUID_MODEL_NUMBER_STR] = p_str; in dis_c_cmpl_cback()
/aosp_15_r20/frameworks/native/libs/tracing_perfetto/tests/
H A Dtracing_perfetto_test.cpp80 std::string data_string(data.begin(), data.end()); in stopSession() local
83 trace.ParseFromString(data_string); in stopSession()
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/util/internal/
H A Ddefault_value_objectwriter.cc601 util::StatusOr<std::string> data_string = data.ToString(); in RenderDataPiece() local
602 if (data_string.ok()) { in RenderDataPiece()
603 const std::string& string_value = data_string.value(); in RenderDataPiece()
/aosp_15_r20/external/protobuf/src/google/protobuf/util/internal/
H A Ddefault_value_objectwriter.cc601 util::StatusOr<std::string> data_string = data.ToString(); in RenderDataPiece() local
602 if (data_string.ok()) { in RenderDataPiece()
603 const std::string& string_value = data_string.value(); in RenderDataPiece()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/include/
Dsrvc_api.h76 uint8_t* data_string[DIS_MAX_STRING_DATA]; member
/aosp_15_r20/external/cronet/net/cert/
H A Dx509_certificate.cc228 std::string_view data_string(reinterpret_cast<const char*>(data.data()), in CreateCertificateListFromBytes()
238 bssl::PEMTokenizer pem_tokenizer(data_string, pem_headers); in CreateCertificateListFromBytes()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_main.cc616 if (p_dis_value->data_string[i] != NULL) { in read_dis_cback()
619 prop.val = p_dis_value->data_string[i]; in read_dis_cback()
/aosp_15_r20/external/minijail/rust/minijail/src/
H A Dlib.rs739 let data_string = CString::new(data).map_err(|_| Error::StrToCString(data.to_owned()))?; in mount_with_data() localVariable
747 data_string.as_ptr(), in mount_with_data()
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_strptime.py209 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_strptime.py214 self.assertRaises(ValueError, _strptime._strptime_time, data_string="%d",
/aosp_15_r20/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc3321 if (p_dis_value->data_string[i] == nullptr) { in read_dis_cback()
3327 prop.val = p_dis_value->data_string[i]; in read_dis_cback()

12