Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/system/tools/hidl/utils/
DStringHelper.cpp72 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/connectivity/wifilogd/tests/
Dbyte_buffer_unittest.cpp65 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/
Dgeneric_variables_unittest.cc94 unique_ptr<const CopyConstructorTestClass> copy( in TEST_F() local
96 ASSERT_NE(nullptr, copy.get()); in TEST_F()
97 EXPECT_TRUE(copy->copied_); in TEST_F()
133 unique_ptr<const CopyConstructorTestClass> copy( in TEST_F() local
136 ASSERT_NE(nullptr, copy.get()); in TEST_F()
137 EXPECT_TRUE(copy->copied_); in TEST_F()
138 EXPECT_EQ(12, copy->val_); // Check that copying occurred once. in TEST_F()
/system/extras/libfec/
Dfec_read.cpp159 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/vold/
DKeyBuffer.cpp26 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/core/adb/
Drange.h26 Range(const Range& copy) = delete;
27 Range& operator=(const Range& copy) = delete;
/system/extras/cppreopts/
Dcppreopts.rc5 # You may obtain a copy of the License at
18 # Optional script to copy additional preloaded content to data directory
26 # Optional script to copy additional preloaded content to data directory
/system/keymaster/tests/
Dauthorization_set_test.cpp573 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/security/keystore/include/keystore/
Dkeystore_hidl_support.h80 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator()
104 pos = std::copy(token.hmac.data(), token.hmac.data() + token.hmac.size(), pos); in authToken2HidlVec()
112 std::copy(src, src + sizeof(T), value_ptr); in copy_bytes_from_iterator()
136 pos = std::copy(pos, pos + token.hmac.size(), &token.hmac[0]); in hidlVec2Km3AuthToken()
/system/bt/types/
Draw_address.cc33 std::copy(addr, addr + kLength, address); in RawAddress()
66 std::copy(from, from + kLength, address); in FromOctets()
/system/extras/perfprofd/
Dmap_utils.h117 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/
Dstoraged_utils.cpp108 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/
DSliceTest.cpp100 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/core/debuggerd/client/
Ddebuggerd_client.cpp236 android::base::unique_fd copy(dup(fd)); in dump_backtrace_to_file_timeout() local
237 if (copy == -1) { in dump_backtrace_to_file_timeout()
241 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/
DNOTICE6 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 …]
/system/core/debuggerd/tombstoned/
Dintercept_manager.h53 InterceptManager(InterceptManager& copy) = delete;
/system/netd/libnetdutils/include/netdutils/
DMemBlock.h40 copy(get(), src); in MemBlock()
DSlice.h112 inline size_t copy(const Slice dst, const Slice src) { in copy() function
121 return copy(makeSlice(head), src); in extract()
/system/bt/build/toolchain/gcc/
DBUILD.gn6 # You may obtain a copy of the License at:
93 tool("copy") {
/system/keymaster/ng/include/
Dkeystore_hidl_support.h100 return std::copy(value_ptr, value_ptr + sizeof(value), dest); in copy_bytes_to_iterator()
122 pos = std::copy(token.hmac.data(), token.hmac.data() + token.hmac.size(), pos); in authToken2HidlVec()
/system/tools/hidl/test/error_test/bad_character/1.0/
DIFoo.hal6 * You may obtain a copy of the License at
/system/tools/hidl/test/version_test/bad4/version/2.2/
DIFoo.hal6 * You may obtain a copy of the License at
/system/tools/hidl/test/version_test/bad1/version/1.0/
DIFoo.hal6 * You may obtain a copy of the License at
/system/bt/tools/
DAndroid.bp6 * You may obtain a copy of the License at
/system/tools/hidl/test/version_test/bad2/version/2.2/
DIBar.hal6 * You may obtain a copy of the License at

12345678910>>...19