/frameworks/native/vulkan/api/templates/ |
D | vulkan_common.tmpl | 10 …ss" }}{{if GetAnnotation $.Type "internal"}}struct {{end}}{{Macro "StructName" $.Type}}{{end}} 11 {{define "Type.Pseudonym" }}{{$.Type.Name}}{{end}} 12 {{define "Type.Enum" }}{{$.Type.Name}}{{end}} 13 {{define "Type.StaticArray"}}{{Node "Type" $.Type.ValueType}}{{end}} 14 …}}{{if $.Type.Const}}{{Node "ConstType" $.Type.To}}{{else}}{{Node "Type" $.Type.To}}{{end}}*{{end}} 15 {{define "Type.Slice" }}{{Log "%T %+v" $.Node $.Node}}{{Node "Type" $.Type.To}}*{{end}} 16 {{define "Type#bool" }}bool{{end}} 17 {{define "Type#int" }}int{{end}} 18 {{define "Type#uint" }}unsigned int{{end}} 19 {{define "Type#s8" }}int8_t{{end}} [all …]
|
D | vk_xml.tmpl | 119 …<type{{if $e.Entries}} requires="{{$bits}}"{{end}} category="bitmask">typedef <type>VkFlags</type>… 122 {{end}} 123 {{end}} 124 {{end}} 134 {{end}} 141 {{end}} 142 {{end}} 143 {{end}} 152 {{end}} 153 {{end}} [all …]
|
D | asciidoc.tmpl | 2 {{if not (Global "AsciiDocPath")}}{{Global "AsciiDocPath" "../../doc/specs/vulkan/"}}{{end}} 22 {{end}} 23 {{end}} 30 {{end}} 31 {{end}} 38 {{end}} 39 {{end}} 40 {{end}} 55 {{end}} 65 {{end}} [all …]
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityIterators.java | 62 protected int[] getRange(int start, int end) { in getRange() argument 63 if (start < 0 || end < 0 || start == end) { in getRange() 67 mSegment[1] = end; in getRange() 118 final int end = mImpl.following(start); in following() local 119 if (end == BreakIterator.DONE) { in following() 122 return getRange(start, end); in following() 134 int end = offset; in preceding() local 135 if (end > textLegth) { in preceding() 136 end = textLegth; in preceding() 138 while (!mImpl.isBoundary(end)) { in preceding() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeFinder_test.cpp | 53 const int end = arraysize(kSortedAttributes); in TEST() local 54 MockAttributeFinder finder(kSortedAttributes, end); in TEST() 63 EXPECT_EQ(end, finder.Find(0x7f010002)); in TEST() 67 const int end = arraysize(kSortedAttributes); in TEST() local 68 MockAttributeFinder finder(kSortedAttributes, end); in TEST() 71 EXPECT_EQ(end, finder.Find(0x7f010002)); in TEST() 81 const int end = arraysize(kSortedAttributes); in TEST() local 82 MockAttributeFinder finder(kSortedAttributes, end); in TEST() 87 EXPECT_EQ(end, finder.Find(0x01010003)); in TEST() 89 EXPECT_EQ(end, finder.Find(0x01010005)); in TEST() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | BidiUtilsTest.cpp | 38 EXPECT_NE(bidiText.end(), it); in TEST() 42 EXPECT_EQ(bidiText.end(), it); in TEST() 47 EXPECT_NE(bidiText.end(), it); in TEST() 51 EXPECT_EQ(bidiText.end(), it); in TEST() 56 EXPECT_NE(bidiText.end(), it); in TEST() 60 EXPECT_EQ(bidiText.end(), it); in TEST() 65 EXPECT_NE(bidiText.end(), it); in TEST() 69 EXPECT_EQ(bidiText.end(), it); in TEST() 74 EXPECT_NE(bidiText.end(), it); in TEST() 78 EXPECT_EQ(bidiText.end(), it); in TEST() [all …]
|
D | FontCollectionItemizeTest.cpp | 78 EXPECT_EQ(result[i].end, resultWithRunMax[i].end); in itemize() 126 EXPECT_EQ(5, runs[0].end); in TEST() 134 EXPECT_EQ(5, runs[0].end); in TEST() 142 EXPECT_EQ(5, runs[0].end); in TEST() 150 EXPECT_EQ(5, runs[0].end); in TEST() 160 EXPECT_EQ(5, runs[0].end); in TEST() 168 EXPECT_EQ(5, runs[0].end); in TEST() 178 EXPECT_EQ(2, runs[0].end); in TEST() 192 EXPECT_EQ(2, runs[0].end); in TEST() 199 EXPECT_EQ(2, runs[0].end); in TEST() [all …]
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 200 int end = getSelectionEnd(text); in moveUp() local 202 if (start != end) { in moveUp() 203 int min = Math.min(start, end); in moveUp() 204 int max = Math.max(start, end); in moveUp() 214 int line = layout.getLineForOffset(end); in moveUp() 218 text, layout, line, end, -1 /* direction */, false /* extend */); in moveUp() 220 } else if (end != 0) { in moveUp() 232 private static void setSelectionAndMemory(Spannable text, Layout layout, int line, int end, in setSelectionAndMemory() argument 247 float h = layout.getPrimaryHorizontal(end); in setSelectionAndMemory() 249 newMemory = end; in setSelectionAndMemory() [all …]
|
D | SpannableStringBuilder.java | 59 public SpannableStringBuilder(CharSequence text, int start, int end) { in SpannableStringBuilder() argument 60 int srclen = end - start; in SpannableStringBuilder() 68 TextUtils.getChars(text, start, end, mText, 0); in SpannableStringBuilder() 81 Object[] spans = sp.getSpans(start, end, Object.class); in SpannableStringBuilder() 94 if (st > end - start) in SpannableStringBuilder() 95 st = end - start; in SpannableStringBuilder() 99 if (en > end - start) in SpannableStringBuilder() 100 en = end - start; in SpannableStringBuilder() 185 int end = mSpanEnds[i]; in moveGapTo() local 198 if (end > mGapStart) in moveGapTo() [all …]
|
D | SpannableStringInternal.java | 31 int start, int end, boolean ignoreNoCopySpan) { in SpannableStringInternal() argument 32 if (start == 0 && end == source.length()) in SpannableStringInternal() 35 mText = source.toString().substring(start, end); in SpannableStringInternal() 43 copySpans((SpannableStringInternal) source, start, end, ignoreNoCopySpan); in SpannableStringInternal() local 45 copySpans((Spanned) source, start, end, ignoreNoCopySpan); in SpannableStringInternal() local 56 /* package */ SpannableStringInternal(CharSequence source, int start, int end) { in SpannableStringInternal() argument 57 this(source, start, end, false /* ignoreNoCopySpan */); in SpannableStringInternal() 68 private void copySpans(Spanned src, int start, int end, boolean ignoreNoCopySpan) { in copySpans() argument 69 Object[] spans = src.getSpans(start, end, Object.class); in copySpans() 81 if (en > end) in copySpans() [all …]
|
D | InputFilter.java | 50 public CharSequence filter(CharSequence source, int start, int end, in filter() argument 75 public CharSequence filter(CharSequence source, int start, int end, in filter() argument 77 final CharSequence wrapper = new CharSequenceWrapper(source, start, end); in filter() 80 final int length = end - start; in filter() 111 CharSequenceWrapper(CharSequence source, int start, int end) { in CharSequenceWrapper() argument 114 mEnd = end; in CharSequenceWrapper() 115 mLength = end - start; in CharSequenceWrapper() 129 public CharSequence subSequence(int start, int end) { in subSequence() argument 130 if (start < 0 || end < 0 || end > mLength || start > end) { in subSequence() 133 return new CharSequenceWrapper(mSource, mStart + start, mStart + end); in subSequence() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ASessionDescription.cpp | 207 char *end; in getFormatType() local 208 unsigned long x = strtoul(lastSpacePos + 1, &end, 10); in getFormatType() 209 CHECK_GT(end, lastSpacePos + 1); in getFormatType() 210 CHECK_EQ(*end, '\0'); in getFormatType() 241 char *end; in getDimensions() local 242 *width = strtoul(s, &end, 10); in getDimensions() 243 CHECK_GT(end, s); in getDimensions() 244 CHECK_EQ(*end, '-'); in getDimensions() 246 s = end + 1; in getDimensions() 247 *height = strtoul(s, &end, 10); in getDimensions() [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | Util.cpp | 44 const StringPiece::const_iterator end = std::end(str); in SplitAndTransform() local 48 current = std::find(start, end, sep); in SplitAndTransform() 52 std::transform(part.begin(), part.end(), part.begin(), f); in SplitAndTransform() 55 } while (current != end); in SplitAndTransform() 87 const char* end = start + str.length(); in TrimLeadingWhitespace() local 89 while (start != end && isspace(*start)) { in TrimLeadingWhitespace() 92 return StringPiece(start, end - start); in TrimLeadingWhitespace() 101 const char* end = start + str.length(); in TrimTrailingWhitespace() local 103 while (end != start && isspace(*(end - 1))) { in TrimTrailingWhitespace() 104 end--; in TrimTrailingWhitespace() [all …]
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | MeasuredText.java | 81 @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in getWidth() 84 Preconditions.checkArgument(0 <= end && end <= mChars.length, in getWidth() 85 "end(" + end + ") must be 0 <= end <= " + mChars.length); in getWidth() 86 Preconditions.checkArgument(start <= end, in getWidth() 87 "start(" + start + ") is larger than end(" + end + ")"); in getWidth() 88 return nGetWidth(mNativePtr, start, end); in getWidth() 107 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() 111 Preconditions.checkArgument(0 <= end && end <= mChars.length, in getBounds() 112 "end(" + end + ") must be 0 <= end <= " + mChars.length); in getBounds() 113 Preconditions.checkArgument(start <= end, in getBounds() [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | code-generator.tmpl | 17 ¶{{end}} 52 {{end}} 53 {{end}} 62 {{end}} 63 {{end}} 80 ¶{{end}} 116 {{end}} 132 {{end}} 133 {{end}} 150 {{end}} [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 196 private void addSpellCheckSpan(Editable editable, int start, int end) { in addSpellCheckSpan() argument 199 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in addSpellCheckSpan() 218 public void spellCheck(int start, int end) { in spellCheck() argument 220 Log.d(TAG, "Start spell-checking: " + start + ", " + end); in spellCheck() 228 end = mTextView.getText().length(); in spellCheck() 245 spellParser.parse(start, end); in spellCheck() 260 spellParser.parse(start, end); in spellCheck() 278 final int end = editable.getSpanEnd(spellCheckSpan); in spellCheck() local 285 if (selectionStart == end + 1 in spellCheck() 287 mCurrentLocale, Character.codePointBefore(editable, end + 1))) { in spellCheck() [all …]
|
D | MultiAutoCompleteTextView.java | 96 int end = getSelectionEnd(); in performFiltering() local 97 int start = mTokenizer.findTokenStart(text, end); in performFiltering() 99 performFiltering(text, start, end, keyCode); in performFiltering() 121 int end = getSelectionEnd(); in enoughToFilter() local 122 if (end < 0 || mTokenizer == null) { in enoughToFilter() 126 int start = mTokenizer.findTokenStart(text, end); in enoughToFilter() 128 if (end - start >= getThreshold()) { in enoughToFilter() 151 int end = mTokenizer.findTokenEnd(e, start); in performValidation() local 153 CharSequence sub = e.subSequence(start, end); in performValidation() 171 protected void performFiltering(CharSequence text, int start, int end, in performFiltering() argument [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLLogWrapper.java | 84 private void end() { in end() method in GLLogWrapper 1180 end(); in glActiveTexture() 1189 end(); in glAlphaFunc() 1198 end(); in glAlphaFuncx() 1207 end(); in glBindTexture() 1216 end(); in glBlendFunc() 1225 end(); in glClear() 1237 end(); in glClearColor() 1249 end(); in glClearColorx() 1258 end(); in glClearDepthf() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | ProductFilter.cpp | 26 const ResourceConfigValueIter end, IDiagnostics* diag) { in SelectProductToKeep() argument 27 ResourceConfigValueIter default_product_iter = end; in SelectProductToKeep() 28 ResourceConfigValueIter selected_product_iter = end; in SelectProductToKeep() 30 for (ResourceConfigValueIter iter = begin; iter != end; ++iter) { in SelectProductToKeep() 32 if (products_.find(config_value->product) != products_.end()) { in SelectProductToKeep() 33 if (selected_product_iter != end) { in SelectProductToKeep() 45 return end; in SelectProductToKeep() 53 if (default_product_iter != end) { in SelectProductToKeep() 64 return end; in SelectProductToKeep() 72 if (default_product_iter == end) { in SelectProductToKeep() [all …]
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 89 if (aidIt != UidMap::sAidToUidMapping.end()) { in tryMatchString() 93 return packageNames.find(str_match) != packageNames.end(); in tryMatchString() 101 const vector<FieldValue>& values, int start, int end, int depth) { in matchesSimple() argument 107 if (start >= end) { in matchesSimple() 113 int newEnd = end; in matchesSimple() 116 for (int i = start; i < end; i++) { in matchesSimple() 130 end = newEnd; in matchesSimple() 146 for (int i = start; i < end; i++) { in matchesSimple() 151 end = i; in matchesSimple() 155 ranges.push_back(std::make_pair(start, end)); in matchesSimple() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | serialization.h | 349 return std::accumulate(v.begin(), v.end(), GetEncodingSize(EncodeType(v)), 360 v.begin(), v.end(), GetEncodingSize(EncodeType(v)), 373 v.begin(), v.end(), GetEncodingSize(EncodeType(v)), 383 return std::accumulate(v.begin(), v.end(), GetEncodingSize(EncodeType(v)), 392 return std::accumulate(v.begin(), v.end(), GetEncodingSize(EncodeType(v)), 1091 const void*& end, size_t size) { 1092 while (AdvancePointer(start, size) > end) { 1093 auto remaining_size = PointerDistance(end, start); 1100 std::tie(start, end) = reader->GetNextReadBufferSection(); 1101 if (start == end) [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2199 public float measureText(String text, int start, int end) { in measureText() argument 2203 if ((start | end | (end - start) | (text.length() - end)) < 0) { in measureText() 2207 if (text.length() == 0 || start == end) { in measureText() 2212 start, end, start, end, mBidiFlags, null, 0)); in measureText() 2216 final float w = nGetTextAdvances(mNativePaint, text, start, end, start, end, mBidiFlags, in measureText() 2243 public float measureText(CharSequence text, int start, int end) { in measureText() argument 2247 if ((start | end | (end - start) | (text.length() - end)) < 0) { in measureText() 2251 if (text.length() == 0 || start == end) { in measureText() 2255 return measureText((String)text, start, end); in measureText() 2259 return measureText(text.toString(), start, end); in measureText() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 130 long end = getTime(time, mSchedule.endHour, mSchedule.endMinute); in isInSchedule() local 131 if (end <= start) { in isInSchedule() 132 end = addDays(end, 1); in isInSchedule() 134 return isInSchedule(-1, time, start, end) || isInSchedule(0, time, start, end); in isInSchedule() 145 long end = getTime(alarm, mSchedule.endHour, mSchedule.endMinute); in isAlarmInSchedule() local 146 if (end <= start) { in isAlarmInSchedule() 147 end = addDays(end, 1); in isAlarmInSchedule() 149 return (isInSchedule(-1, alarm, start, end) in isAlarmInSchedule() 150 && isInSchedule(-1, now, start, end)) in isAlarmInSchedule() 151 || (isInSchedule(0, alarm, start, end) in isAlarmInSchedule() [all …]
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | AndroidDistinguishedNameParser.java | 37 private int end; field in AndroidDistinguishedNameParser 77 end = pos; in nextAT() 99 if ((end - beg > 4) && (chars[beg + 3] == '.') in nextAT() 106 return new String(chars, beg, end - beg); in nextAT() 113 end = beg; in quotedAV() 125 chars[end] = getEscaped(); in quotedAV() 128 chars[end] = chars[pos]; in quotedAV() 131 end++; in quotedAV() 139 return new String(chars, beg, end - beg); in quotedAV() 157 end = pos; in hexAV() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataForUidLoaderTest.java | 70 final long end = System.currentTimeMillis(); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() local 71 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 79 mLoader.recordUsage(start, end); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 81 verify(mNetworkStatsManager).queryDetailsForUid(mNetworkTemplate, start, end, uid); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 83 mNetworkTemplate, start, end, uid, TAG_NONE, STATE_FOREGROUND); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 88 final long end = System.currentTimeMillis(); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() local 89 final long start = end - (DateUtils.WEEK_IN_MILLIS * 4); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 95 mLoader.recordUsage(start, end); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 97 mNetworkTemplate, start, end, uid, TAG_NONE, STATE_FOREGROUND); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 102 final long end = System.currentTimeMillis(); in recordUsage_multipleUids_shouldQueryNetworkDetailsForEachUid() local [all …]
|