Home
last modified time | relevance | path

Searched refs:original_data (Results 1 – 14 of 14) sorted by relevance

/third_party/glib/gio/tests/
Dreadwrite.c13 static const char *original_data = "This is some test data that we can put in a file..."; variable
52 g_assert_cmpmem (buffer, n_bytes, original_data, 20); in verify_iostream()
60 verify_pos (iostream, strlen (original_data) - 10); in verify_iostream()
64 g_assert_cmpmem (buffer, n_bytes, original_data + strlen (original_data) - 10, 10); in verify_iostream()
66 verify_pos (iostream, strlen (original_data)); in verify_iostream()
77 g_assert (res == strlen (original_data) - 15); in verify_iostream()
78 verify_pos (iostream, strlen (original_data)); in verify_iostream()
99 res = g_input_stream_read_all (in, buffer, strlen (original_data), &n_bytes, NULL, NULL); in verify_iostream()
101 g_assert_cmpint ((int)n_bytes, ==, strlen (original_data)); in verify_iostream()
104 modified_data = g_strdup (original_data); in verify_iostream()
[all …]
Dfile.c547 static const gchar *original_data = variable
718 original_data, in test_replace_cancel()
719 strlen (original_data), in test_replace_cancel()
815 g_assert_cmpstr (contents, ==, original_data); in test_replace_cancel()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dcompression_utils_unittest.cc78 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
84 std::string data(original_data); in TEST()
88 EXPECT_EQ(original_data, data); in TEST()
/third_party/skia/third_party/externals/zlib/google/
Dcompression_utils_unittest.cc86 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
92 std::string data(original_data); in TEST()
96 EXPECT_EQ(original_data, data); in TEST()
/third_party/node/deps/zlib/google/
Dcompression_utils_unittest.cc91 const std::string original_data(reinterpret_cast<const char*>(kData), in TEST()
97 std::string data(original_data); in TEST()
101 EXPECT_EQ(original_data, data); in TEST()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_dataset_save.cc43 std::vector<mindspore::MSTensor> original_data; in TEST_F() local
50 original_data.push_back(label); in TEST_F()
103 EXPECT_MSTENSOR_EQ(original_data[j], label); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/ps/
Dworker.h102 … const float *original_data, const float *grads, int *indices, std::vector<float> *reduced_data);
Dworker.cc570 const float *original_data, const float *grads, int *indices, in BuildSparseValue() argument
572 MS_EXCEPTION_IF_NULL(original_data); in BuildSparseValue()
587 src_data = const_cast<float *>(original_data) + offset; in BuildSparseValue()
/third_party/glib/glib/tests/
Dkeyfile.c1303 static const gchar *original_data="" in test_reload_idempotency() local
1332 original_data, strlen(original_data), in test_reload_idempotency()
/third_party/node/src/
Denv-inl.h522 void* original_data; in CloseHandle() member
528 handle->data = data->original_data; in CloseHandle()
/third_party/abseil-cpp/absl/strings/
Dcord.cc671 const absl::string_view original_data = src; in Cord() local
675 original_data, StringReleaser{std::forward<T>(src)})); in Cord()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord.cc296 const absl::string_view original_data = src; in CordRepFromString() local
299 absl::cord_internal::NewExternalRep(original_data, in CordRepFromString()
/third_party/gstreamer/gstreamer/gst/
Dgstpad.c3589 gpointer original_data; in probe_hook_marshal() local
3593 original_data = info->data; in probe_hook_marshal()
3683 if (ret != GST_PAD_PROBE_HANDLED && original_data != NULL in probe_hook_marshal()
/third_party/chromium/patch/
D0001-cve.patch149337 const std::string original_data(reinterpret_cast<const char*>(kData),
149345 std::string data(original_data);