/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 164 byte[] last = null, data = null; in readTextFile() 166 if (last != null) rolled = true; in readTextFile() 167 byte[] tmp = last; last = data; data = tmp; in readTextFile() 172 if (last == null && len <= 0) return ""; in readTextFile() 173 if (last == null) return new String(data, 0, len); in readTextFile() 176 System.arraycopy(last, len, last, 0, last.length - len); in readTextFile() 177 System.arraycopy(data, 0, last, last.length - len, len); in readTextFile() 179 if (ellipsis == null || !rolled) return new String(last); in readTextFile() 180 return ellipsis + new String(last); in readTextFile()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vlc_decode.cpp | 875 pTcoef->last = (uint) tab->last; //(tab->val >> 16) & 1; in VlcDecTCOEFIntra() 922 pTcoef->last = (uint)tab->last; //(tab->val >> 16) & 1; in VlcDecTCOEFIntra() 926 if ((pTcoef->last == 0 && pTcoef->run > 14) || (pTcoef->last == 1 && pTcoef->run > 20)) in VlcDecTCOEFIntra() 930 pTcoef->level = pTcoef->level + intra_max_level[pTcoef->last][pTcoef->run]; in VlcDecTCOEFIntra() 974 pTcoef->last = (uint)tab->last; //(tab->val >> 16) & 1; in VlcDecTCOEFIntra() 979 if (pTcoef->last) in VlcDecTCOEFIntra() 1002 pTcoef->last = code >> 7; in VlcDecTCOEFIntra() 1057 pTcoef->last = (uint)tab->last; //(tab->val >> 12) & 1; in VlcDecTCOEFInter() 1100 pTcoef->last = (uint)tab->last; //(tab->val >> 12) & 1; in VlcDecTCOEFInter() 1103 if ((pTcoef->last == 0 && pTcoef->run > 26) || (pTcoef->last == 1 && pTcoef->run > 40)) in VlcDecTCOEFInter() [all …]
|
D | vlc_dequant.cpp | 69 int last, return_status; in VlcDequantMpegIntraBlock() local 117 last = 1;/* 11/1/2000 let it slips undetected, just like in VlcDequantMpegIntraBlock() 125 last = run_level.last; in VlcDequantMpegIntraBlock() 131 last = 1; in VlcDequantMpegIntraBlock() 162 while (!last); in VlcDequantMpegIntraBlock() 395 int last, return_status; in VlcDequantMpegInterBlock() local 422 last = 1;/* 11/1/2000 let it slips undetected, just like in VlcDequantMpegInterBlock() 430 last = run_level.last; in VlcDequantMpegInterBlock() 436 last = 1; in VlcDequantMpegInterBlock() 463 while (!last); in VlcDequantMpegInterBlock() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode.h | 24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 34 Int PutCoeff_Intra_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 35 Int PutRunCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 36 Int PutRunCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 37 Int PutLevelCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream); 38 Int PutLevelCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | armVCM4P2_PutVLCBits.c | 108 OMX_U8 last = 0, first = 1, fMode; in armVCM4P2_PutVLCBits() local 128 last = 0; in armVCM4P2_PutVLCBits() 154 last, in armVCM4P2_PutVLCBits() 168 last = 1; in armVCM4P2_PutVLCBits() 193 last, in armVCM4P2_PutVLCBits()
|
D | omxVCM4P2_DecodeVLCZigzag_Inter.c | 79 OMX_U8 last,start = 0; in omxVCM4P2_DecodeVLCZigzag_Inter() local 96 &last, in omxVCM4P2_DecodeVLCZigzag_Inter() 112 if (last == 0) in omxVCM4P2_DecodeVLCZigzag_Inter()
|
D | armVCM4P2_DecodeVLCZigzag_intra.c | 80 OMX_U8 last = 0; in armVCM4P2_DecodeVLCZigzag_Intra() local 120 &last, in armVCM4P2_DecodeVLCZigzag_Intra() 136 if (last == 0) in armVCM4P2_DecodeVLCZigzag_Intra()
|
D | armVCM4P2_FillVLCBuffer.c | 71 OMX_U8 last, in armVCM4P2_FillVLCBuffer() argument 103 armPackBits(ppBitStream, pBitOffset, (OMX_U32)last, 1); in armVCM4P2_FillVLCBuffer() 142 armPackBits(ppBitStream, pBitOffset, (OMX_U32)last, 1); in armVCM4P2_FillVLCBuffer()
|
D | armVCM4P2_FillVLDBuffer.c | 51 OMX_U8 last, in armVCM4P2_FillVLDBuffer() argument 73 if (last == 1) in armVCM4P2_FillVLDBuffer()
|
/frameworks/ex/variablespeed/jni/ |
D | macros.h | 31 ForwardIterator min_element(ForwardIterator first, ForwardIterator last) { in min_element() argument 33 if (first == last) return last; in min_element() 34 while (++first != last) in min_element()
|
/frameworks/base/libs/hwui/ |
D | PathRenderer.cpp | 123 const Vertex* last = &(perimeter[perimeter.size() - 1]); in getStrokeVerticesFromPerimeter() local 125 vec2 lastNormal(current->position[1] - last->position[1], in getStrokeVerticesFromPerimeter() 126 last->position[0] - current->position[0]); in getStrokeVerticesFromPerimeter() 145 last = current; in getStrokeVerticesFromPerimeter() 211 const Vertex* last = &(perimeter[perimeter.size() - 1]); in getFillVerticesFromPerimeterAA() local 213 vec2 lastNormal(current->position[1] - last->position[1], in getFillVerticesFromPerimeterAA() 214 last->position[0] - current->position[0]); in getFillVerticesFromPerimeterAA() 237 last = current; in getFillVerticesFromPerimeterAA() 286 const Vertex* last = &(vertices[0]); in getStrokeVerticesFromUnclosedVerticesAA() local 288 vec2 lastNormal(current->position[1] - last->position[1], in getStrokeVerticesFromUnclosedVerticesAA() [all …]
|
/frameworks/base/services/common_time/ |
D | utils.cpp | 88 Entry* last = NULL; in internalLog() local 91 last = &(mRingBuffer[(mWr + mSize - 1) % mSize]); in internalLog() 94 if ((NULL != last) && !last->s.compare(s)) { in internalLog() 95 gettimeofday(&(last->last_ts), NULL); in internalLog() 96 ++last->count; in internalLog()
|
/frameworks/base/core/java/android/content/ |
D | ContentUris.java | 85 String last = contentUri.getLastPathSegment(); in parseId() local 86 return last == null ? -1 : Long.parseLong(last); in parseId()
|
/frameworks/compile/mclinker/lib/CodeGen/ |
D | SectLinker.cpp | 314 if (info.attrFactory().last().isStatic()) { in initializeInputTree() 362 info.attrFactory().last().setWholeArchive(); in initializeInputTree() 365 info.attrFactory().last().unsetWholeArchive(); in initializeInputTree() 368 info.attrFactory().last().setAsNeeded(); in initializeInputTree() 371 info.attrFactory().last().unsetAsNeeded(); in initializeInputTree() 374 info.attrFactory().last().setAddNeeded(); in initializeInputTree() 377 info.attrFactory().last().unsetAddNeeded(); in initializeInputTree() 380 info.attrFactory().last().setStatic(); in initializeInputTree() 383 info.attrFactory().last().setDynamic(); in initializeInputTree()
|
/frameworks/native/include/utils/ |
D | List.h | 222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument 223 for ( ; first != last; ++first) in insert() 238 iterator erase(iterator first, iterator last) { in erase() argument 239 while (first != last) in erase() 241 return iterator(last); in erase() 274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument 277 while (first != last) { in distance()
|
/frameworks/av/media/libmedia/ |
D | autodetect.cpp | 21 uint16_t last; member 857 if (ch >= range->first && ch <= range->last) in charMatchesEncoding() 859 if (ch > range->last) in charMatchesEncoding()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListGetSelectedViewTest.java | 58 View last = mListView.getChildAt(1); in testGetSelectedView() local 59 TouchUtils.clickView(this, last); in testGetSelectedView()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | AttributeFactory.h | 60 AttributeProxy& last(); 61 const AttributeProxy& last() const;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListener.java | 66 int last = firstCell + cellCount - 1; in onScroll() local 67 mText.setText("Showing " + firstCell + "-" + last + "/" + itemCount); in onScroll()
|
/frameworks/compile/mclinker/lib/MC/ |
D | AttributeFactory.cpp | 62 AttributeProxy& AttributeFactory::last() in last() function in AttributeFactory 67 const AttributeProxy& AttributeFactory::last() const in last() function in AttributeFactory
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelView.java | 115 MotionEventCopy last = null; in computeCurrentVelocity() local 122 if (last != null) { in computeCurrentVelocity() 123 final float dt = (float) (event.t - last.t) / timebase; in computeCurrentVelocity() 124 final float dx = (event.x - last.x); in computeCurrentVelocity() 125 final float dy = (event.y - last.y); in computeCurrentVelocity() 139 last = event; in computeCurrentVelocity()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RecurrenceProcessorTest.java | 72 String last) throws Exception { in verifyRecurrence() argument 155 if (last != null && last.length() > 0) { in verifyRecurrence() 157 expectedLast.parse(last); in verifyRecurrence() 163 Log.i(TAG, "Expected: " + last + "; Actual: " + lastStr); in verifyRecurrence() 168 + " expected=" + last in verifyRecurrence()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 103 int last = layout.getLineEnd(linebot); in action() local 105 ClickableSpan[] candidates = buffer.getSpans(first, last, ClickableSpan.class); in action() 119 if (selStart > last) in action()
|
/frameworks/support/volley/src/com/android/volley/ |
D | VolleyLog.java | 152 long last = mMarkers.get(mMarkers.size() - 1).time; in getTotalDuration() local 153 return last - first; in getTotalDuration()
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 767 CallbackRecord last = callbacks; in extractDueCallbacksLocked() local 768 CallbackRecord next = last.next; in extractDueCallbacksLocked() 771 last.next = null; in extractDueCallbacksLocked() 774 last = next; in extractDueCallbacksLocked()
|