Searched refs:end (Results 276 - 300 of 908) sorted by relevance

<<11121314151617181920>>

/frameworks/base/services/net/java/android/net/util/
H A DIpUtils.java46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { argument
58 final int numShorts = (end - start) / 2;
65 if (end != start) {
/frameworks/base/tools/aapt2/
H A DStringPool.h194 friend const_iterator end(const StringPool& pool);
217 inline StringPool::const_iterator end(const StringPool& pool) { function in namespace:aapt
218 return pool.mStrings.end();
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameHdr.cpp84 for (EhFrame::const_fde_iterator fi = cie.begin(), fe = cie.end();
98 std::sort(search_table.begin(), search_table.end(), bit32::EntryCompare);
102 SearchTableType::const_iterator entry, entry_end = search_table.end();
H A DGNUArchiveReader.cpp133 } // end of if
134 } // end of for
176 size_t end = name_field.find_first_of(" :"); local
179 name_field.substr(begin, end - begin).getAsInteger(10, name_offset);
181 if (name_field[end] == ':') {
183 begin = end + 1;
184 end = name_field.find_first_of(' ', begin);
185 name_field.substr(begin, end - begin).getAsInteger(10, pNestedOffset);
191 end = pArchiveRoot.getStrTable().find_first_of('\n', begin);
193 pArchiveRoot.getStrTable().substr(begin, end
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp50 ie = m_StringList.end();
83 ie = m_StringList.end();
152 } // end of switch
163 // --end-group
167 m_GroupReader.readGroup(group, m_InputTree.end(), m_Builder, m_Config);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsPLT.cpp67 SectionData::iterator frag, fragEnd = m_pSectionData->end();
88 for (iterator ie = end(); it != ie; ++it) {
104 for (iterator it = m_pSectionData->begin(); it != m_pSectionData->end();
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp34 for (const Rect* current = r.begin(); current < r.end(); current++) {
40 for (const Rect* other = current + 1; other < r.end(); other++) {
52 EXPECT_EQ(modified.end() - modified.begin(), expectedCount);
/frameworks/av/camera/
H A DCameraParameters2.cpp189 char *end;
190 int w = (int)strtol(str, &end, 10);
192 if (*end != delim) {
198 int h = (int)strtol(end+1, &end, 10);
204 *endptr = end;
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp77 char *end; local
78 unsigned y = strtoul(s, &end, 10);
80 if (end == s || *end != '\0') {
216 while (it != queue->end()) {
346 it != headers.end(); ++it) {
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp95 void operator()(size_t start, size_t end) { argument
97 for (size_t i = start; i < end; i++) {
103 for (size_t i = start; i < end; i++) {
110 size_t glyphCount = end - start;
191 void operator()(size_t start, size_t end) { argument
193 for (size_t i = start; i < end; i++) {
/frameworks/base/services/core/java/com/android/server/notification/
H A DCalendarTracker.java127 final long end = cursor.getLong(1);
139 new Date(begin), new Date(end), calendarVisible,
142 final boolean meetsTime = time >= begin && time < end;
158 } else if (end > time && end < result.recheckAt) {
159 result.recheckAt = end;
/frameworks/base/tools/aapt2/compile/
H A DPseudolocaleGenerator.cpp43 // end of another.
48 // Since this struct represents the start of one range and end of another, we have
69 auto iter = std::lower_bound(ranges.begin(), ranges.end(), span.firstChar, cmp);
70 if (iter != ranges.end() && iter->start == span.firstChar) {
77 // Insert or update the Range marker for the end of this span.
78 iter = std::lower_bound(ranges.begin(), ranges.end(), span.lastChar, cmp);
79 if (iter != ranges.end() && iter->start == span.lastChar) {
108 localized.str += localizer.end();
151 mLocalizer.end();
/frameworks/compile/slang/
H A Dslang_rs_context.cpp76 mFirstOldStyleKernel = mExportForEach.end();
102 if (it == mExportForEachMap.end()) {
146 // Old-style kernels should appear in the end of the list
188 for (clang::DeclContext::lookup_iterator I = R.begin(), E = R.end();
292 EE = mNeedExportTypes.end();
321 if (mUsedByReducePragmaFns.find(FD) != mUsedByReducePragmaFns.end())
406 E = mExportables.end();
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp197 chrono::time_point<chrono::high_resolution_clock> start, end; local
203 end = chrono::high_resolution_clock::now();
205 uint64_t cur_time = uint64_t(chrono::duration_cast<chrono::nanoseconds>(end - start).count());
284 chrono::time_point<chrono::high_resolution_clock> start, end; local
289 end = chrono::high_resolution_clock::now();
292 double iterations_per_sec = double(iterations * workers) / (chrono::duration_cast<chrono::nanoseconds>(end - start).count() / 1.0E9);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp118 ALOG_ASSERT(mPolicyCriterionTypes.find(typeName) == mPolicyCriterionTypes.end(),
130 ALOG_ASSERT(mPolicyCriterionTypes.find(typeName) != mPolicyCriterionTypes.end(),
226 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str());
227 return it != elementsMap.end() ? it->second : NULL;
235 ALOG_ASSERT(it != elementsMap.end(), "Element %s not found", name.c_str());
236 return it != elementsMap.end() ? it->second : NULL;
256 ALOG_ASSERT(mPolicyCriteria.find(name) == mPolicyCriteria.end(),
279 ALOG_ASSERT(mPolicyCriteria.find(criterionName) == mPolicyCriteria.end(),
/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java102 int end = isHorizontalDivision
105 return start + (end - start) / 2 - dividerSize / 2;
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp66 return result != mEntries.end() ? result->second.get() : nullptr;
71 return result != mEntries.end() ? result->second->texture : nullptr;
/frameworks/base/sax/java/android/sax/
H A DRootElement.java50 * public void end(String body) {
186 // Invoke end element listener.
188 current.endElementListener.end();
191 // Invoke end text element listener.
197 current.endTextElementListener.end(body);
/frameworks/base/tools/aapt/tests/
H A DPseudolocales_test.cpp31 String16 result = pseudo.start() + pseudo.text(String16(String8(input))) + pseudo.end();
43 pseudo.end();
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.cpp62 if (iter != mMap.end()) {
95 if (iter != mMap.end()) {
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DStub.h103 fixup_iterator fixup_end() { return m_FixupList.end(); }
105 const_fixup_iterator fixup_end() const { return m_FixupList.end(); }
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp189 size_t end = start + freedSize; local
191 end = (end + pagesize-1) & ~(pagesize-1);
198 if (end > free_end)
199 end = free_end;
201 end &= ~(pagesize-1);
203 if (start < end) {
205 size_t size = end-start;
/frameworks/wilhelm/src/ut/
H A DOpenSLESUT.c115 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])]; local
116 for (p = pairs; p != end; ++p) {
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1677 * @param end (end - 1) is the index of the last character in text to draw
1682 public void drawText(@NonNull String text, int start, int end, float x, float y, argument
1684 if ((start | end | (end - start) | (text.length() - end)) < 0) {
1687 native_drawText(mNativeCanvasWrapper, text, start, end, x, y, paint.mBidiFlags,
1692 * Draw the specified range of text, specified by start/end, with its
1698 * @param end (end
1704 drawText(@onNull CharSequence text, int start, int end, float x, float y, @NonNull Paint paint) argument
1802 drawTextRun(@onNull CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) argument
2122 native_drawText(long nativeCanvas, String text, int start, int end, float x, float y, int flags, long nativePaint, long nativeTypeface) argument
2127 native_drawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp99 while (it != mBuffers.end()) {
275 DiscontinuitySegment &tailSeg = *(--mDiscontinuitySegments.end());
323 while (it != mBuffers.end()) {
337 it2 != mDiscontinuitySegments.end();
392 for (it = mBuffers.begin(); it != mBuffers.end(); it++) {
423 it != mDiscontinuitySegments.end();
453 ALOGV("Detecting EOS due to near end");
486 for (it = mBuffers.begin(); it != mBuffers.end(); ++it) {
534 for (it = mBuffers.begin(), it2 = mDiscontinuitySegments.begin(); it != mBuffers.end(); ++it) {
538 // CHECK(it2 != mDiscontinuitySegments.end());
[all...]

Completed in 872 milliseconds

<<11121314151617181920>>