Searched refs:source (Results 1 - 25 of 74) sorted by relevance

123

/system/core/include/cutils/
H A Dpartition_utils.h22 int partition_wiped(char *source);
/system/core/libcutils/include/cutils/
H A Dpartition_utils.h22 int partition_wiped(char *source);
/system/core/libcutils/include_vndk/cutils/
H A Dpartition_utils.h22 int partition_wiped(char *source);
/system/vold/fs/
H A DF2fs.h30 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);
H A DVfat.h30 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);
H A DExt4.h30 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);
H A DF2fs.cpp43 status_t Check(const std::string& source) { argument
47 cmd.push_back(source);
53 status_t Mount(const std::string& source, const std::string& target) { argument
54 const char* c_source = source.c_str();
60 PLOG(ERROR) << "Failed to mount " << source;
64 PLOG(ERROR) << "Failed to mount read-only " << source;
72 status_t Format(const std::string& source) { argument
75 cmd.push_back(source);
H A DExt4.cpp69 status_t Check(const std::string& source, const std::string& target) { argument
73 const char* c_source = source.c_str();
131 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
136 const char* c_source = source.c_str();
156 status_t Resize(const std::string& source, unsigned long numSectors) { argument
160 cmd.push_back(source);
166 status_t Format(const std::string& source, unsigned long numSectors, argument
191 cmd.push_back(source);
H A DVfat.cpp67 status_t Check(const std::string& source) { argument
80 cmd.push_back(source);
126 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
133 const char* c_source = source.c_str();
172 status_t Format(const std::string& source, unsigned long numSectors) { argument
188 cmd.push_back(source);
/system/chre/util/include/chre/util/
H A Dmemory_impl.h38 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, argument
40 dest = std::move(source);
45 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, argument
47 dest = source;
51 inline void moveOrCopyAssign(ElementType& dest, ElementType& source) { argument
52 moveOrCopyAssign(dest, source,
58 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, argument
60 std::memcpy(dest, source, count * sizeof(ElementType));
66 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, argument
70 new (&dest[i]) ElementType(std::move(source[
77 uninitializedMoveOrCopy(ElementType *source, size_t count, ElementType *dest, std::false_type, std::false_type) argument
87 uninitializedMoveOrCopy( ElementType *source, size_t count, ElementType *dest, std::false_type) argument
101 uninitializedMoveOrCopy(ElementType *source, size_t count, ElementType *dest) argument
[all...]
H A Dmemory.h33 * Performs move assignment (dest = std::move(source)) if supported by
34 * ElementType, otherwise copy assignment (dest = source).
37 void moveOrCopyAssign(ElementType& dest, ElementType& source);
45 * @param source The beginning of the data to transfer
50 void uninitializedMoveOrCopy(ElementType *source, size_t count,
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
H A DSimpleParcelable.java39 public void readFromParcel(Parcel source) { argument
40 mName = source.readString();
41 mNumber = source.readInt();
65 public SimpleParcelable createFromParcel(Parcel source) {
66 String name = source.readString();
67 int number = source.readInt();
/system/update_engine/update_manager/
H A Dgeneric_variables_unittest.cc40 int source = 5; local
41 PollCopyVariable<int> var("var", source);
49 // Assign a different value to the source variable.
50 source = 42;
61 int source = 5; local
63 PollCopyVariable<int> var("var", source, &is_set);
90 const CopyConstructorTestClass source; local
91 ASSERT_FALSE(source.copied_);
93 PollCopyVariable<CopyConstructorTestClass> var("var", source);
104 int source local
[all...]
/system/core/libcutils/
H A Dpartition_utils.c40 int partition_wiped(char *source) argument
45 if ((fd = open(source, O_RDONLY)) < 0) {
/system/extras/tests/bootloader/
H A DAndroid.mk4 # Since no action needs to be taken to compile the python source, just
20 $(transform-generated-source)
/system/update_engine/
H A Dpayload_state.h107 inline uint64_t GetCurrentBytesDownloaded(DownloadSource source) override {
108 return source < kNumDownloadSources ? current_bytes_downloaded_[source] : 0;
111 inline uint64_t GetTotalBytesDownloaded(DownloadSource source) override {
112 return source < kNumDownloadSources ? total_bytes_downloaded_[source] : 0;
198 // Updates the value of current download source based on the current URL
199 // index. If the download source is not one of the known sources, it's set
342 // Returns the full key for a download source given the prefix.
343 std::string GetPrefsKey(const std::string& prefix, DownloadSource source);
[all...]
H A Dpayload_state.cc88 DownloadSource source = static_cast<DownloadSource>(i); local
89 LoadCurrentBytesDownloaded(source);
90 LoadTotalBytesDownloaded(source);
141 // Update the current download source which depends on the latest value of
148 // Update the current download source which depends on whether we are
546 LOG(INFO) << "Current download source: "
692 DownloadSource source = static_cast<DownloadSource>(i); local
695 // Only consider this download source (and send byte counts) as
701 bytes = GetCurrentBytesDownloaded(source);
704 SetCurrentBytesDownloaded(source,
794 DownloadSource source = static_cast<DownloadSource>(i); local
1133 GetPrefsKey(const string& prefix, DownloadSource source) argument
1137 LoadCurrentBytesDownloaded(DownloadSource source) argument
1142 SetCurrentBytesDownloaded( DownloadSource source, uint64_t current_bytes_downloaded, bool log) argument
1161 LoadTotalBytesDownloaded(DownloadSource source) argument
1166 SetTotalBytesDownloaded( DownloadSource source, uint64_t total_bytes_downloaded, bool log) argument
[all...]
/system/bt/vendor_libs/test_vendor_lib/include/
H A Dpacket_stream.h60 // Attempts to send |num_octets_to_send| from |source| to |fd|, returning
62 bool SendAll(const std::vector<uint8_t>& source, size_t num_octets_to_send,
/system/extras/perfprofd/quipper/base/
H A Dmacros.h2 // Use of this source code is governed by a BSD-style license that can be
6 // are commonly used throughout Chromium source. (It may also contain things
159 // equivalent of "*reinterpret_cast<Dest*>(&source)". We need this in
213 inline Dest bit_cast(const Source& source) { argument
217 memcpy(&dest, &source, sizeof(dest));
/system/extras/systrace_analysis/
H A Danalyze_trace.py35 sys.exit('Can\'t find chromium-trace in your source tree')
39 sys.exit('Can\'t find vinn in your source tree')
44 # Find source paths and construct vinn launch arguments
/system/extras/simpleperf/scripts/
H A Dannotate.py18 """annotate.py: annotate source files based on perf.data.
54 # of the first instruction which can be mapped to source line.
78 # store a list of source files
155 source files with no conflicts in path.
191 for source in item:
192 source_lines.append(SourceLine(self.file_list[source.file],
193 source.function, source.line))
211 of a line, a function, a source file, or a binary. It contains two
216 when it is used for a function, a source fil
[all...]
/system/tools/hidl/test/vendor/1.0/
H A DAndroid.mk37 $(transform-generated-source)
57 $(transform-generated-source)
77 $(transform-generated-source)
97 $(transform-generated-source)
134 $(transform-generated-source)
154 $(transform-generated-source)
174 $(transform-generated-source)
194 $(transform-generated-source)
225 $(transform-generated-source)
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dpacket_stream.cc116 bool PacketStream::SendAll(const vector<uint8_t>& source, argument
118 CHECK(source.size() >= num_octets_to_send);
122 fd, &source[num_octets_to_send - octets_remaining], octets_remaining);
/system/libhidl/transport/base/1.0/
H A DAndroid.mk30 $(transform-generated-source)
50 $(transform-generated-source)
80 $(transform-generated-source)
100 $(transform-generated-source)
/system/libhidl/transport/manager/1.0/
H A DAndroid.mk36 $(transform-generated-source)
54 $(transform-generated-source)
90 $(transform-generated-source)
108 $(transform-generated-source)

Completed in 1048 milliseconds

123