Searched defs:begin (Results 1 - 14 of 14) sorted by relevance

/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp23 static const char begin[] = "--------- beginning of "; variable
86 if (!strncmp(begin, buffer, sizeof(begin) - 1)) {
H A Dlogcat_test.cpp43 static const char begin[] = "--------- beginning of "; variable
58 if (!strncmp(begin, buffer, sizeof(begin) - 1)) {
62 log_id_t id = android_name_to_log_id(buffer + sizeof(begin) - 1);
/system/core/include/backtrace/
H A DBacktraceMap.h69 iterator begin() { return maps_.begin(); } function in class:BacktraceMap
73 const_iterator begin() const { return maps_.begin(); } function in class:BacktraceMap
H A DBacktrace.h104 iterator begin() { return frames_.begin(); } function in class:Backtrace
108 const_iterator begin() const { return frames_.begin(); } function in class:Backtrace
/system/keymaster/
H A Dgoogle_keymaster_messages_test.cpp336 const uint8_t* begin = msgbuf + i; local
337 const uint8_t* p = begin;
H A Dkey_blob_test.cpp89 uint8_t* begin = serialized_blob.get(); local
90 uint8_t* end = begin + size;
91 EXPECT_EQ(end, std::search(begin, end, key_data, key_data + array_size(key_data)));
120 uint8_t* begin = serialized_blob.get(); local
121 uint8_t* end = begin + size;
122 auto nonce_ptr = std::search(begin, end, nonce, nonce + array_size(nonce));
140 uint8_t* begin = serialized_blob.get(); local
141 uint8_t* end = begin + size;
142 auto tag_ptr = std::search(begin, end, blob_->tag(), blob_->tag() + KeyBlob::TAG_LENGTH);
160 uint8_t* begin local
198 uint8_t* begin = serialized_blob.get(); local
223 uint8_t* begin = serialized_blob.get(); local
248 uint8_t* begin = serialized_blob.get(); local
263 uint8_t* begin = serialized_blob.get(); local
280 uint8_t* begin = serialized_blob.get(); local
[all...]
/system/core/libutils/
H A DString16.cpp112 String16::String16(const String16& o, size_t len, size_t begin) argument
115 setTo(o, len, begin);
175 status_t String16::setTo(const String16& other, size_t len, size_t begin) argument
178 if (begin >= N) {
183 if ((begin+len) > N) len = N-begin;
184 if (begin == 0 && len == N) {
193 return setTo(other.string()+begin, len);
385 status_t String16::remove(size_t len, size_t begin) argument
388 if (begin >
[all...]
/system/core/logd/
H A DLogStatistics.h82 PidStatisticsCollection::iterator begin() { return Pids.begin(); } function in class:UidStatistics
117 UidStatisticsCollection::iterator begin() { return Uids.begin(); } function in class:LidStatistics
/system/core/include/sysutils/
H A DList.h169 insert(begin(), src.begin(), src.end());
186 return size_t(distance(begin(), end()));
194 inline iterator begin() { function in class:android::sysutils::List
197 inline const_iterator begin() const { function in class:android::sysutils::List
208 void push_front(const T& val) { insert(begin(), val); }
318 iterator firstDst = begin();
320 const_iterator firstSrc = right.begin();
/system/core/include/utils/
H A DList.h168 insert(begin(), src.begin(), src.end());
185 return size_t(distance(begin(), end()));
193 inline iterator begin() { function in class:android::List
196 inline const_iterator begin() const { function in class:android::List
207 void push_front(const T& val) { insert(begin(), val); }
317 iterator firstDst = begin();
319 const_iterator firstSrc = right.begin();
H A DVector.h188 inline iterator begin() { return editArray(); } function in class:android::Vector
190 inline const_iterator begin() const { return array(); } function in class:android::Vector
198 return begin() + index;
/system/netd/server/
H A DList.h169 insert(begin(), src.begin(), src.end());
186 return size_t(distance(begin(), end()));
194 inline iterator begin() { function in class:android::netd::List
197 inline const_iterator begin() const { function in class:android::netd::List
208 void push_front(const T& val) { insert(begin(), val); }
318 iterator firstDst = begin();
320 const_iterator firstSrc = right.begin();
/system/core/fastbootd/commands/
H A Dpartitions.c618 size_t begin, end; local
623 begin = strcspn(value, "\"") + 1;
624 end = strcspn(&value[begin], "\"");
631 strncpy(ptr, &value[begin], end);
/system/core/libziparchive/
H A Dzip_archive.cc342 static int32_t CopyFileToFile(int fd, uint8_t* begin, const uint32_t length, uint64_t *crc_out) { argument
361 memcpy(begin + count, buf, get_size);
796 // actual file data will begin after the local header and the name /
974 uint8_t* begin, uint32_t length,
1051 memcpy(begin + write_count, write_buf, write_size);
1080 ZipEntry* entry, uint8_t* begin, uint32_t size) {
1094 return_value = CopyFileToFile(archive->fd, begin, size, &crc);
1096 return_value = InflateToFile(archive->fd, entry, begin, size, &crc);
973 InflateToFile(int fd, const ZipEntry* entry, uint8_t* begin, uint32_t length, uint64_t* crc_out) argument
1079 ExtractToMemory(ZipArchiveHandle handle, ZipEntry* entry, uint8_t* begin, uint32_t size) argument

Completed in 8566 milliseconds