/frameworks/rs/driver/runtime/ |
D | rs_f16_math.c | 32 short hx, ix; in frexp() local 36 ix = hx & 0x7fff; in frexp() 39 if (ix >= 0x7c00 || ix == 0) return x; // NaN, infinity or zero in frexp() 40 if (ix <= 0x0400) { in frexp() 45 ix = hx & 0x7fff; in frexp() 51 *eptr += (ix >> 10) - 14; in frexp() 62 short hx, ix; in ilogb() local 69 for (hx <<= 5, ix = -14; hx > 0; hx <<= 1) in ilogb() 70 ix -= 1; in ilogb() 71 return ix; in ilogb() [all …]
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 91 def is_free(self, ix): argument 92 while ix >= len(self.pred): 94 return self.pred[ix] != -1 96 def use(self, ix): argument 97 if self.pred[ix] is None: 98 self.first = self.succ[ix] 100 self.succ[self.pred[ix]] = self.succ[ix] 101 if self.succ[ix] is None: 102 self.last = self.pred[ix] 104 self.pred[self.succ[ix]] = self.pred[ix] [all …]
|
/frameworks/av/media/libstagefright/codec2/vndk/include/util/ |
D | C2ParamUtils.h | 117 for (size_t ix = 0; ix < name.size(); ++ix) { in camelCaseToDashed() local 122 if (isupper(name[ix])) { in camelCaseToDashed() 124 name.insert(ix++, 1, '-'); in camelCaseToDashed() 125 word_start = ix; in camelCaseToDashed() 127 name[ix] = tolower(name[ix]); in camelCaseToDashed() 129 } else if (islower(name[ix])) { in camelCaseToDashed() 130 if (type == kDigit && ix > 0) { in camelCaseToDashed() 131 name.insert(ix++, 1, '-'); in camelCaseToDashed() 132 word_start = ix; in camelCaseToDashed() 133 } else if (type == kUpper && ix > word_start + 1) { in camelCaseToDashed() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | AStringUtils.cpp | 32 size_t ix = 0, globIx = 0; in MatchesGlob() local 41 ix = globIx; in MatchesGlob() 55 if (ix + len > strLen) { in MatchesGlob() 62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { in MatchesGlob() 63 ++ix; in MatchesGlob() 65 if (ix + len > strLen) { in MatchesGlob() 68 ix += len; in MatchesGlob() 73 return ix == strLen; in MatchesGlob()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 69 int ix = 0; in intersectSortedDistinctRanges() local 72 while (ix < one.length && in intersectSortedDistinctRanges() 73 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges() 74 ++ix; in intersectSortedDistinctRanges() 76 while (ix < one.length && in intersectSortedDistinctRanges() 77 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges() 78 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 79 ++ix; in intersectSortedDistinctRanges() 81 if (ix == one.length) { in intersectSortedDistinctRanges() 84 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges() [all …]
|
D | SubtitleTrack.java | 169 private void removeRunsByEndTimeIndex(int ix) { in removeRunsByEndTimeIndex() argument 170 Run run = mRunsByEndTime.valueAt(ix); in removeRunsByEndTimeIndex() 185 mRunsByEndTime.removeAt(ix); in removeRunsByEndTimeIndex() 192 for(int ix = size - 1; ix >= 0; ix--) { in finalize() 193 removeRunsByEndTimeIndex(ix); in finalize() 631 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs); 632 if (ix >= 0) { 634 assert(this == runsByEndTime.valueAt(ix)); 636 runsByEndTime.removeAt(ix); 638 runsByEndTime.setValueAt(ix, mNextRunAtEndTimeMs);
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 146 for (size_t ix = 0; ix < mCaps.size(); ix++) { in getSupportedMimes() local 147 mimes->push_back(mCaps.keyAt(ix)); in getSupportedMimes() 153 ssize_t ix = getCapabilityIndex(mime); in getCapabilitiesFor() local 154 if (ix >= 0) { in getCapabilitiesFor() 155 return mCaps.valueAt(ix); in getCapabilitiesFor() 204 for (size_t ix = 0; ix < mCaps.size(); ix++) { in getCapabilityIndex() local 205 if (mCaps.keyAt(ix).equalsIgnoreCase(mime)) { in getCapabilityIndex() 206 return ix; in getCapabilityIndex() 230 ssize_t ix = mInfo->getCapabilityIndex(mime); in addMime() local 231 if (ix >= 0) { in addMime() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | OMXUtils.cpp | 87 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { in initFromV1() local 88 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX in initFromV1() 89 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { in initFromV1() 101 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { in initFromV1() local 102 mPlane[ix].mOffset = image.mPlane[ix].mOffset; in initFromV1() 103 mPlane[ix].mColInc = image.mPlane[ix].mColInc; in initFromV1() 104 mPlane[ix].mRowInc = image.mPlane[ix].mRowInc; in initFromV1() 105 mPlane[ix].mHorizSubsampling = (int32_t)image.mPlane[ix].mHorizSubsampling; in initFromV1() 106 mPlane[ix].mVertSubsampling = (int32_t)image.mPlane[ix].mVertSubsampling; in initFromV1()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | gmed_n.cpp | 188 Word16 i, j, ix = 0; in gmed_n() local 207 ix = j; in gmed_n() 210 *(tmp2 + ix) = -32768; in gmed_n() 211 *(tmp + i) = ix; in gmed_n()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local 232 ix = 0; in ACELP_2t64_fx() 256 ix = i0; in ACELP_2t64_fx() 269 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ in ACELP_2t64_fx() 271 if (sign[ix] > 0) in ACELP_2t64_fx() 273 code[ix] = 512; /* codeword in Q9 format */ in ACELP_2t64_fx() 274 p0 = h - ix; in ACELP_2t64_fx() 277 code[ix] = -512; in ACELP_2t64_fx() 279 p0 = h_inv - ix; in ACELP_2t64_fx()
|
D | c4t64fx.c | 112 Word16 * ix, /* (o) position of pulse 1 */ 140 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; in ACELP_4t64_fx() local 572 ix = ind[0] = pos_max[ipos[0]]; in ACELP_4t64_fx() 574 ps = dn[ix] + dn[iy]; in ACELP_4t64_fx() 575 i = ix >> 2; /* ix / STEP */ in ACELP_4t64_fx() 582 if (sign[ix] < 0) in ACELP_4t64_fx() 583 p0 = h_inv - ix; in ACELP_4t64_fx() 585 p0 = h - ix; in ACELP_4t64_fx() 606 ix = ind[0] = pos_max[ipos[0]]; in ACELP_4t64_fx() 610 ps = add1(add1(add1(dn[ix], dn[iy]), dn[i]), dn[j]); in ACELP_4t64_fx() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c4_17pf.cpp | 399 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_4i40() local 466 ix = ipos[1]; in search_4i40() 507 ix = i1; in search_4i40() 510 i1 = ix; in search_4i40() 524 ix = ipos[2]; in search_4i40() 565 ix = i2; in search_4i40() 568 i2 = ix; in search_4i40() 580 ix = ipos[3]; in search_4i40() 620 ix = i3; in search_4i40() 644 *(p_codvec) = ix; in search_4i40()
|
D | c3_14pf.cpp | 385 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_3i40() local 454 ix = ipos[1]; in search_3i40() 497 ix = i1; in search_3i40() 500 i1 = ix; in search_3i40() 514 ix = ipos[2]; in search_3i40() 555 ix = i2; in search_3i40() 558 i2 = ix; in search_3i40()
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.cpp | 228 ssize_t ix = result; in wordStart() local 229 U16_NEXT(mText, ix, mCurrent, c); in wordStart() 236 result = ix; in wordStart() 248 ssize_t ix = result; in wordEnd() local 249 U16_PREV(mText, mLast, ix, c); in wordEnd() 255 result = ix; in wordEnd()
|
/frameworks/base/core/java/android/text/style/ |
D | DrawableMarginSpan.java | 46 int ix = (int)x; in drawLeadingMargin() local 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
|
/frameworks/base/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 143 int ix = val.indexOf(ch); in onKeyDown() local 145 if (ix >= 0) { in onKeyDown() 146 ix = (ix + 1) % (val.length()); in onKeyDown() 148 content.replace(selStart, selEnd, val, ix, ix + 1); in onKeyDown()
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 424 size_t ix = 0; in RetrieveAttributes() local 425 uint32_t cur_xml_attr = xml_parser->getAttributeNameResID(ix); in RetrieveAttributes() 442 while (ix < xml_attr_count && cur_ident > cur_xml_attr) { in RetrieveAttributes() 443 ix++; in RetrieveAttributes() 444 cur_xml_attr = xml_parser->getAttributeNameResID(ix); in RetrieveAttributes() 447 if (ix < xml_attr_count && cur_ident == cur_xml_attr) { in RetrieveAttributes() 448 xml_parser->getAttributeValue(ix, &value); in RetrieveAttributes() 449 ix++; in RetrieveAttributes() 450 cur_xml_attr = xml_parser->getAttributeNameResID(ix); in RetrieveAttributes()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | geometry.cpp | 131 const Point& Quad::point(int ix) const { in point() 132 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds"); in point() 133 return points_[ix]; in point()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 171 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 173 pt1[0] = x + ix; in getRaster()
|
D | BitmapShader_Delegate.java | 177 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 179 pt1[0] = x + ix; in getRaster()
|
D | RadialGradient_Delegate.java | 178 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 180 pt1[0] = x + ix; in getRaster()
|
D | LinearGradient_Delegate.java | 187 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 189 pt1[0] = x + ix; in getRaster()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirGen.h | 429 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) { 430 accum += cos(ix*w)*static_cast<double>(*coef++); 686 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) { 688 if (CC_LIKELY(ix)) { 689 double x = static_cast<double>(ix);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.cpp | 132 const Point& Quad::point(int ix) const { in point() 133 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds"); in point() 134 return points_[ix]; in point()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 228 for (size_t ix = 0; ix < ARRAY_SIZE(advancedFeatures); ix++) { in findCodecByType() local 229 if (details->findInt32(advancedFeatures[ix], &required) && in findCodecByType()
|