/frameworks/base/services/net/java/android/net/util/ |
H A D | IpUtils.java | 46 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 D | StringPool.h | 194 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 D | EhFrameHdr.cpp | 84 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 D | GNUArchiveReader.cpp | 133 } // 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 D | GroupCmd.cpp | 50 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 D | MipsPLT.cpp | 67 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 D | Region_test.cpp | 34 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 D | CameraParameters2.cpp | 189 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 D | AMPEG4ElementaryAssembler.cpp | 77 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 D | Canvas.cpp | 95 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 D | CalendarTracker.java | 127 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 D | PseudolocaleGenerator.cpp | 43 // 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 D | slang_rs_context.cpp | 76 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 D | binderThroughputTest.cpp | 197 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 D | ParameterManagerWrapper.cpp | 118 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 D | DockedDividerUtils.java | 102 int end = isHorizontalDivision 105 return start + (end - start) / 2 - dividerSize / 2;
|
/frameworks/base/libs/hwui/ |
H A D | AssetAtlas.cpp | 66 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 D | RootElement.java | 50 * 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 D | Pseudolocales_test.cpp | 31 String16 result = pseudo.start() + pseudo.text(String16(String8(input))) + pseudo.end(); 43 pseudo.end();
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlActionExecutor.cpp | 62 if (iter != mMap.end()) { 95 if (iter != mMap.end()) {
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | Stub.h | 103 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 D | MemoryDealer.cpp | 189 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 D | OpenSLESUT.c | 115 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 D | Canvas.java | 1677 * @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 D | AnotherPacketSource.cpp | 99 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...] |