/system/chre/util/include/chre/util/ |
D | memory_impl.h | 36 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, in moveOrCopyAssign() argument 38 dest = std::move(source); in moveOrCopyAssign() 43 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, in moveOrCopyAssign() argument 45 dest = source; in moveOrCopyAssign() 49 inline void moveOrCopyAssign(ElementType& dest, ElementType& source) { in moveOrCopyAssign() argument 50 moveOrCopyAssign(dest, source, in moveOrCopyAssign() 56 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, in uninitializedMoveOrCopy() argument 58 std::memcpy(dest, source, count * sizeof(ElementType)); in uninitializedMoveOrCopy() 64 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, in uninitializedMoveOrCopy() argument 68 new (&dest[i]) ElementType(std::move(source[i])); in uninitializedMoveOrCopy() [all …]
|
D | memory.h | 37 void moveOrCopyAssign(ElementType& dest, ElementType& source); 50 void uninitializedMoveOrCopy(ElementType *source, size_t count,
|
/system/vold/fs/ |
D | F2fs.cpp | 43 status_t Check(const std::string& source) { in Check() argument 47 cmd.push_back(source); in Check() 53 status_t Mount(const std::string& source, const std::string& target) { in Mount() argument 54 const char* c_source = source.c_str(); in Mount() 60 PLOG(ERROR) << "Failed to mount " << source; in Mount() 64 PLOG(ERROR) << "Failed to mount read-only " << source; in Mount() 72 status_t Format(const std::string& source) { in Format() argument 75 cmd.push_back(source); in Format()
|
D | Ext4.cpp | 71 status_t Check(const std::string& source, const std::string& target) { in Check() argument 75 const char* c_source = source.c_str(); in Check() 133 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument 138 const char* c_source = source.c_str(); in Mount() 158 status_t Resize(const std::string& source, unsigned long numSectors) { in Resize() argument 162 cmd.push_back(source); in Resize() 168 status_t Format(const std::string& source, unsigned long numSectors, in Format() argument 186 cmd.push_back(source); in Format() 203 cmd.push_back(source); in Format()
|
D | Ext4.h | 30 status_t Check(const std::string& source, const std::string& target); 31 status_t Mount(const std::string& source, const std::string& target, bool ro, 33 status_t Format(const std::string& source, unsigned long numSectors, 35 status_t Resize(const std::string& source, unsigned long numSectors);
|
D | F2fs.h | 30 status_t Check(const std::string& source); 31 status_t Mount(const std::string& source, const std::string& target); 32 status_t Format(const std::string& source);
|
D | Vfat.cpp | 67 status_t Check(const std::string& source) { in Check() argument 80 cmd.push_back(source); in Check() 126 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument 133 const char* c_source = source.c_str(); in Mount() 172 status_t Format(const std::string& source, unsigned long numSectors) { in Format() argument 188 cmd.push_back(source); in Format()
|
D | Vfat.h | 30 status_t Check(const std::string& source); 31 status_t Mount(const std::string& source, const std::string& target, bool ro, 34 status_t Format(const std::string& source, unsigned long numSectors);
|
/system/update_engine/update_manager/ |
D | generic_variables_unittest.cc | 40 int source = 5; in TEST_F() local 41 PollCopyVariable<int> var("var", source); in TEST_F() 50 source = 42; in TEST_F() 61 int source = 5; in TEST_F() local 63 PollCopyVariable<int> var("var", source, &is_set); in TEST_F() 90 const CopyConstructorTestClass source; in TEST_F() local 91 ASSERT_FALSE(source.copied_); in TEST_F() 93 PollCopyVariable<CopyConstructorTestClass> var("var", source); in TEST_F() 104 int source = 5; in TEST_F() local 105 ConstCopyVariable<int> var("var", source); in TEST_F() [all …]
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | SimpleParcelable.java | 39 public void readFromParcel(Parcel source) { in readFromParcel() argument 40 mName = source.readString(); in readFromParcel() 41 mNumber = source.readInt(); in readFromParcel() 65 public SimpleParcelable createFromParcel(Parcel source) { 66 String name = source.readString(); 67 int number = source.readInt();
|
/system/extras/simpleperf/scripts/ |
D | annotate.py | 182 for source in item: 183 source_lines.append(SourceLine(self.file_list[source.file], 184 source.function, source.line)) 416 for source in sources: 417 if source.file: 418 self._add_file_period(source, period, used_file_dict) 420 if source.line: 421 self._add_line_period(source, period, used_line_dict) 424 for source in sources: 425 if source.file: [all …]
|
D | annotate.config | 19 # A list of directories used to find source files. 23 # Directory used to output annotated source files. 38 # We use addr2line to map virtual address to source file and source line.
|
D | pprof_proto_generator.py | 463 for source in sources: 464 if source.file and source.function and source.line: 468 location.lines.append(self.add_line(source, dso_name)) 475 source = sources[0] if sources else None 476 if source and source.file: 477 function.source_filename_id = self.get_string_id(source.file) 478 if source.line: 479 function.start_line = source.line 481 def add_line(self, source, dso_name): argument 483 function_id = self.get_function_id(source.function, dso_name, 0) [all …]
|
/system/update_engine/ |
D | payload_state.h | 105 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override { in GetCurrentBytesDownloaded() argument 106 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0; in GetCurrentBytesDownloaded() 109 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override { in GetTotalBytesDownloaded() argument 110 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0; in GetTotalBytesDownloaded() 334 std::string GetPrefsKey(const std::string& prefix, DownloadSource source); 340 void LoadCurrentBytesDownloaded(DownloadSource source); 344 void SetCurrentBytesDownloaded(DownloadSource source, 352 void LoadTotalBytesDownloaded(DownloadSource source); 356 void SetTotalBytesDownloaded(DownloadSource source,
|
D | payload_state.cc | 88 DownloadSource source = static_cast<DownloadSource>(i); in Initialize() local 89 LoadCurrentBytesDownloaded(source); in Initialize() 90 LoadTotalBytesDownloaded(source); in Initialize() 678 DownloadSource source = static_cast<DownloadSource>(i); in CollectAndReportSuccessfulUpdateMetrics() local 687 bytes = GetCurrentBytesDownloaded(source); in CollectAndReportSuccessfulUpdateMetrics() 690 SetCurrentBytesDownloaded(source, 0, true); in CollectAndReportSuccessfulUpdateMetrics() 692 bytes = GetTotalBytesDownloaded(source); in CollectAndReportSuccessfulUpdateMetrics() 696 SetTotalBytesDownloaded(source, 0, true); in CollectAndReportSuccessfulUpdateMetrics() 779 DownloadSource source = static_cast<DownloadSource>(i); in ResetDownloadSourcesOnNewUpdate() local 780 SetCurrentBytesDownloaded(source, 0, true); in ResetDownloadSourcesOnNewUpdate() [all …]
|
/system/libufdt/tests/ |
D | README | 13 - Base device tree source. 23 - Additional device tree source. 30 - Additional device tree fragment source. 46 Suppose you are at the root directory of your Android source. 48 1. `source build/envsetup.sh`
|
/system/core/libcutils/ |
D | partition_utils.c | 40 int partition_wiped(char *source) in partition_wiped() argument 45 if ((fd = open(source, O_RDONLY)) < 0) { in partition_wiped()
|
/system/core/adb/daemon/ |
D | usb.cpp | 73 struct usb_endpoint_descriptor_no_audio source; member 79 struct usb_endpoint_descriptor_no_audio source; member 119 .source = { 120 .bLength = sizeof(fs_descriptors.source), 146 .source = { 147 .bLength = sizeof(hs_descriptors.source), 173 .source = { 174 .bLength = sizeof(ss_descriptors.source),
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | packet_stream.cc | 116 bool PacketStream::SendAll(const vector<uint8_t>& source, in SendAll() argument 118 CHECK(source.size() >= num_octets_to_send); in SendAll() 122 fd, &source[num_octets_to_send - octets_remaining], octets_remaining); in SendAll()
|
/system/bt/build/toolchain/gcc/ |
D | BUILD.gn | 22 …-MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}" 32 …MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}" 94 command = "cp -af {{source}} {{output}}" 95 description = "COPY {{source}} {{output}}"
|
/system/core/toolbox/ |
D | NOTICE | 20 Redistribution and use in source and binary forms, with or without 23 * Redistributions of source code must retain the above copyright 48 Redistribution and use in source and binary forms, with or without 51 1. Redistributions of source code must retain the above copyright 77 Redistribution and use in source and binary forms, with or without 80 1. Redistributions of source code must retain the above copyright 109 Redistribution and use in source and binary forms, with or without 112 1. Redistributions of source code must retain the above copyright 138 Redistribution and use in source and binary forms, with or without 141 1. Redistributions of source code must retain the above copyright [all …]
|
/system/bt/build/toolchain/clang/ |
D | BUILD.gn | 41 …-MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}" 51 …MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}" 113 command = "cp -af {{source}} {{output}}" 114 description = "COPY {{source}} {{output}}"
|
/system/core/adb/ |
D | adb_utils.cpp | 199 bool forward_targets_are_valid(const std::string& source, const std::string& dest, in forward_targets_are_valid() argument 201 if (android::base::StartsWith(source, "tcp:")) { in forward_targets_are_valid() 204 if (!android::base::ParseInt(&source[4], &port) || port < 0) { in forward_targets_are_valid() 205 *error = android::base::StringPrintf("Invalid source port: '%s'", &source[4]); in forward_targets_are_valid()
|
D | adb_listeners_test.cpp | 30 static bool listener_is_installed(const std::string& serial, const std::string& source, in listener_is_installed() argument 37 (source.empty() || info[1] == source) && in listener_is_installed()
|
/system/extras/perfprofd/quipper/base/ |
D | macros.h | 213 inline Dest bit_cast(const Source& source) { in bit_cast() argument 217 memcpy(&dest, &source, sizeof(dest)); in bit_cast()
|