Home
last modified time | relevance | path

Searched refs:from_data (Results 1 – 5 of 5) sorted by relevance

/external/libbrillo/brillo/
Dsecure_blob_unittest.cc101 unsigned char from_data[32]; in TEST_F() local
102 std::iota(std::begin(from_data), std::end(from_data), 0); in TEST_F()
104 SecureBlob blob(std::begin(from_data), std::end(from_data)); in TEST_F()
106 EXPECT_EQ(sizeof(from_data), blob.size()); in TEST_F()
108 for (unsigned int i = 0; i < sizeof(from_data); i++) { in TEST_F()
109 EXPECT_EQ(from_data[i], blob[i]); in TEST_F()
124 unsigned char from_data[32]; in TEST_F() local
125 std::iota(std::begin(from_data), std::end(from_data), 0); in TEST_F()
127 SecureBlob blob(std::begin(from_data), std::end(from_data)); in TEST_F()
129 EXPECT_EQ(sizeof(from_data), blob.size()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc86 StringPiece from_data = tensor.tensor_data(); in Concat() local
87 CHECK_LE(offset + from_data.size(), to_data.size()); in Concat()
88 memcpy(const_cast<char*>(to_data.data()) + offset, from_data.data(), in Concat()
89 from_data.size()); in Concat()
91 offset += from_data.size(); in Concat()
130 StringPiece from_data = tensor.tensor_data(); in Split() local
144 CHECK_LE(offset + to_data.size(), from_data.size()); in Split()
145 memcpy(const_cast<char*>(to_data.data()), from_data.data() + offset, in Split()
/external/google-breakpad/src/tools/mac/dump_syms/
Ddump_syms_tool.mm74 vector<Module::StackFrameEntry*> from_data;
75 from_module->GetStackFrameEntries(&from_data);
76 std::sort(from_data.begin(), from_data.end(), &StackFrameEntryComparator);
84 for (Iterator it = from_data.begin(); it != from_data.end(); ++it) {
/external/v8/src/builtins/
Dbuiltins-arraybuffer.cc274 uint8_t* from_data = in SliceHelper() local
278 CopyBytes(to_data, from_data + first_size, new_len_size); in SliceHelper()
/external/python/cpython3/Objects/
Dunicodeobject.c1432 void *from_data, *to_data; in _copy_characters() local
1449 from_data = PyUnicode_DATA(from); in _copy_characters()
1461 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
1474 max_char = ucs1lib_find_max_char(from_data, in _copy_characters()
1475 (Py_UCS1*)from_data + how_many); in _copy_characters()
1480 (char*)from_data + from_kind * from_start, in _copy_characters()
1557 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()