/system/iorap/tests/src/binder/ |
D | auto_parcelable_test.cc | 59 RequestId copy; in TEST() local 60 copy.request_id = 0; in TEST() 66 EXPECT_EQ(NO_ERROR, copy.readFromParcel(&parcel_typical)); in TEST() 67 EXPECT_EQ(typical.request_id, copy.request_id); in TEST() 72 RequestId copy; in TEST() local 73 copy.request_id = 0; in TEST() 79 EXPECT_EQ(NO_ERROR, copy.readFromParcel(&parcel)); in TEST() 82 EXPECT_EQ(typical.request_id, copy.request_id); in TEST()
|
/system/tools/hidl/host_utils/ |
D | StringHelper.cpp | 72 std::string copy(in); in Tokenize() local 76 copy = RTrimAll(copy, "_"); in Tokenize() 77 while(!copy.empty()) { in Tokenize() 78 copy = LTrimAll(copy, "_"); in Tokenize() 79 if (std::regex_search(copy, match, kStartLowercase)) in Tokenize() 81 if (std::regex_search(copy, match, kStartCapcase)) in Tokenize() 83 if (std::regex_search(copy, match, kStartUppercase)) in Tokenize() 91 copy = copy.substr(maxmatch.length()); in Tokenize() 97 vec->push_back(copy); in Tokenize() 191 std::string copy(in); in RTrimAll() local [all …]
|
/system/bt/stack/crypto_toolbox/ |
D | crypto_toolbox.cc | 48 it = std::copy(&z, &z + 1, it); in f4() 49 it = std::copy(v, v + BT_OCTET32_LEN, it); in f4() 50 it = std::copy(u, u + BT_OCTET32_LEN, it); in f4() 65 it = std::copy(length, length + 2, it); in calculate_mac_key_or_ltk() 66 it = std::copy(a2, a2 + 7, it); in calculate_mac_key_or_ltk() 67 it = std::copy(a1, a1 + 7, it); in calculate_mac_key_or_ltk() 68 it = std::copy(n2.begin(), n2.end(), it); in calculate_mac_key_or_ltk() 69 it = std::copy(n1.begin(), n1.end(), it); in calculate_mac_key_or_ltk() 70 it = std::copy(key_id, key_id + 4, it); in calculate_mac_key_or_ltk() 71 it = std::copy(&counter, &counter + 1, it); in calculate_mac_key_or_ltk() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | polled_socket.cc | 56 std::vector<uint8_t> copy; in TrySend() local 57 copy.reserve(packet.size()); in TrySend() 59 copy.push_back(c); in TrySend() 61 int ret = write(file_descriptor_, copy.data(), copy.size()); in TrySend()
|
/system/connectivity/wifilogd/tests/ |
D | byte_buffer_unittest.cpp | 65 ByteBuffer<kBufferSizeBytes> copy; in TEST_F() local 66 ASSERT_NE(buffer_.size(), copy.size()); in TEST_F() 68 copy = buffer_; in TEST_F() 69 ASSERT_EQ(buffer_.size(), copy.size()); in TEST_F() 70 EXPECT_EQ(0, std::memcmp(copy.data(), buffer_.data(), buffer_.size())); in TEST_F() 87 const ByteBuffer<kBufferSizeBytes> copy{buffer_}; in TEST_F() local 88 ASSERT_EQ(buffer_.size(), copy.size()); in TEST_F() 89 EXPECT_EQ(0, std::memcmp(copy.data(), buffer_.data(), buffer_.size())); in TEST_F()
|
/system/update_engine/update_manager/ |
D | generic_variables_unittest.cc | 91 unique_ptr<const CopyConstructorTestClass> copy( in TEST_F() local 93 ASSERT_NE(nullptr, copy.get()); in TEST_F() 94 EXPECT_TRUE(copy->copied_); in TEST_F() 128 unique_ptr<const CopyConstructorTestClass> copy( in TEST_F() local 131 ASSERT_NE(nullptr, copy.get()); in TEST_F() 132 EXPECT_TRUE(copy->copied_); in TEST_F() 133 EXPECT_EQ(12, copy->val_); // Check that copying occurred once. in TEST_F()
|
/system/extras/libfec/ |
D | fec_read.cpp | 159 uint8_t copy[FEC_RSM]; in __ecc_read() local 172 memcpy(copy, &ecc_data[i * FEC_RSM], FEC_RSM); in __ecc_read() 182 dump("raw RS block", rsb, copy, FEC_RSM); in __ecc_read() 265 size_t copy = FEC_BLOCKSIZE - coff; in ecc_read() local 267 if (copy > left) { in ecc_read() 268 copy = left; in ecc_read() 271 memcpy(dest, &data[coff], copy); in ecc_read() 273 dest += copy; in ecc_read() 274 left -= copy; in ecc_read() 386 size_t copy = FEC_BLOCKSIZE - coff; in verity_read() [all …]
|
/system/core/adb/ |
D | types.h | 40 std::copy(begin, end, data_.get()); in Block() 43 Block(const Block& copy) = delete; 50 Block& operator=(const Block& copy) = delete; 76 std::copy(begin, end, data_.get()); in assign() 151 IOVector(const IOVector& copy) = delete; 154 IOVector& operator=(const IOVector& copy) = delete; 236 auto copy = std::make_unique<block_type>(first_block->size() - begin_offset_); in trim_front() local 237 memcpy(copy->data(), first_block->data() + begin_offset_, copy->size()); in trim_front() 238 chain_.front() = std::move(copy); in trim_front()
|
D | types_test.cpp | 35 auto copy = std::make_unique<IOVector::block_type>(); in copy_block() local 36 copy->assign(block->begin(), block->end()); in copy_block() 37 return copy; in copy_block()
|
/system/vold/ |
D | KeyBuffer.cpp | 26 std::copy(rhs.begin(), rhs.end(), std::back_inserter(lhs)); in operator +() 31 std::copy(rhs, rhs + strlen(rhs), std::back_inserter(lhs)); in operator +()
|
/system/keymaster/tests/ |
D | authorization_set_test.cpp | 573 AuthorizationSet copy(set); in TEST() local 575 EXPECT_EQ(copy, set); in TEST() 577 EXPECT_EQ(copy.size(), set.size()); in TEST() 581 EXPECT_NE(copy, set); in TEST() 591 AuthorizationSet copy(set); in TEST() local 593 EXPECT_EQ(copy, set); in TEST() 597 EXPECT_EQ(copy.size() - 1, set.size()); in TEST() 598 EXPECT_NE(copy, set); in TEST() 609 AuthorizationSet copy(set); in TEST() local 611 EXPECT_EQ(copy, set); in TEST() [all …]
|
/system/bt/types/ |
D | raw_address.cc | 33 std::copy(addr, addr + kLength, address); in RawAddress() 66 std::copy(from, from + kLength, address); in FromOctets()
|
D | class_of_device.cc | 31 std::copy(class_of_device, class_of_device + kLength, cod); in ClassOfDevice() 71 std::copy(from, from + kLength, cod); in FromOctets()
|
/system/bt/vendor_libs/test_vendor_lib/types/ |
D | address.cc | 33 std::copy(addr, addr + kLength, address); in Address() 64 std::copy(from, from + kLength, address); in FromOctets()
|
D | class_of_device.cc | 30 std::copy(class_of_device, class_of_device + kLength, cod); in ClassOfDevice() 68 std::copy(from, from + kLength, cod); in FromOctets()
|
/system/bt/gd/common/ |
D | address.cc | 35 std::copy(addr, addr + kLength, address); in Address() 82 std::copy(from, from + kLength, address); in FromOctets()
|
D | class_of_device.cc | 34 std::copy(class_of_device, class_of_device + kLength, cod); in ClassOfDevice() 89 std::copy(from, from + kLength, cod); in FromOctets()
|
/system/extras/cppreopts/ |
D | cppreopts.rc | 5 # You may obtain a copy of the License at 29 # Optional script to copy additional preloaded content to data directory 37 # Optional script to copy additional preloaded content to data directory
|
/system/security/keystore/include/keystore/ |
D | keystore_hidl_support.h | 83 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator() 107 pos = std::copy(token.hmac.data(), token.hmac.data() + token.hmac.size(), pos); in authToken2HidlVec() 115 std::copy(src, src + sizeof(T), value_ptr); in copy_bytes_from_iterator() 139 pos = std::copy(pos, pos + token.hmac.size(), &token.hmac[0]); in hidlVec2Km3AuthToken()
|
/system/extras/perfprofd/ |
D | map_utils.h | 117 AggregatedSymbol copy = std::move(it->second); in ExtendLeft() local 119 copy.offsets.insert(val); in ExtendLeft() 120 map_.emplace(val, std::move(copy)); in ExtendLeft()
|
/system/core/storaged/ |
D | storaged_utils.cpp | 108 std::copy(perf_history.begin() + start, perf_history.begin() + end, in log_console_perf_history() 115 std::copy(perf_history.begin() + start, perf_history.begin() + end, in log_console_perf_history() 121 std::copy(perf_history.begin() + start, perf_history.end(), in log_console_perf_history()
|
/system/netd/libnetdutils/ |
D | SliceTest.cpp | 100 copy(buffer, makeSlice(origA1)); in TEST_F() 101 copy(drop(buffer, sizeof(origA1)), makeSlice(origB)); in TEST_F() 102 copy(drop(buffer, sizeof(origA1) + sizeof(origB)), makeSlice(origA2)); in TEST_F()
|
/system/extras/boot_control_copy/ |
D | Android.bp | 4 name: "bootctrl.copy",
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 260 android::base::unique_fd copy(dup(fd)); in dump_backtrace_to_file_timeout() local 261 if (copy == -1) { in dump_backtrace_to_file_timeout() 265 return debuggerd_trigger_dump(tid, dump_type, timeout_ms, std::move(copy)) ? 0 : -1; in dump_backtrace_to_file_timeout()
|
/system/sepolicy/tools/fc_sort/ |
D | NOTICE | 6 Everyone is permitted to copy and distribute verbatim copies 40 (2) offer you this license which gives you legal permission to copy, 79 1. You may copy and distribute verbatim copies of the Program's 81 conspicuously and appropriately publish on each copy an appropriate 84 and give any other recipients of the Program a copy of this License 87 You may charge a fee for the physical act of transferring a copy, and 90 2. You may modify your copy or copies of the Program or any portion 91 of it, thus forming a work based on the Program, and copy and 109 these conditions, and telling the user how to view a copy of this 134 3. You may copy and distribute the Program (or a work based on it, [all …]
|