/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument 99 int remainLength = count; 104 if ((offset | count) < 0 || count > buffer.length - offset) {
|
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | OutputFile.h | 40 ssize_t write(const void *pBuf, size_t count);
|
/frameworks/native/libs/utils/ |
H A D | BasicHashtable.cpp | 241 void* BasicHashtableImpl::allocateBuckets(size_t count) const { 242 size_t bytes = count * mBucketSize; 245 uint32_t(bytes), uint32_t(count)); 247 for (size_t i = 0; i < count; i++) { 254 void BasicHashtableImpl::releaseBuckets(void* __restrict__ buckets, size_t count) const { 257 destroyBuckets(buckets, count); 262 void BasicHashtableImpl::destroyBuckets(void* __restrict__ buckets, size_t count) const { 264 for (size_t i = 0; i < count; i++) { 274 void* __restrict__ toBuckets, size_t count) const { 275 for (size_t i = 0; i < count; 325 size_t count = ceilf(minimumCapacity / loadFactor) + 1; local [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 54 int count = getChildCount(childPattern); 55 for (int x = 0; x < count; x++) { 112 int count = getChildCount(childPattern); 113 for (int x = 0; x < count; x++) { 131 * currently visible. The count does not include items of a scrollable list 135 * elements to count
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_mid_hor.s | 37 count RN 2 ;// bit-packed width and count values
label 71 ;// pack values to count register
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
115 SUBS count, count, #4<<28
146 SUBS count, count, # [all...] |
H A D | h264bsd_interpolate_hor_quarter.s | 38 count RN 2 label 140 ;// pack values to count register 146 MOV count, width 150 ADD count, count, tmp2, LSL #16 156 AND tmp1, count, #0x000F0000 ;// partHeight-1 157 AND tmp3, count, #0x00F00000 ;// partWidth-1 158 ADD count, count, tmp1, LSL #8 161 ADD count, coun [all...] |
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorDescriptor.java | 47 public int count; field in class:BulkCursorDescriptor 60 out.writeInt(count); 73 count = in.readInt();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListHeterogeneousTest.java | 55 int count = mListView.getAdapter().getCount(); 58 for (int i = 0; i < count - 1; i++) { 66 for (int i = 0; i < count - 1; i++) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeBuffer.java | 39 public NativeBuffer(int count) { argument 40 allocate(count * getElementSize()); 63 public int count() { method in class:NativeBuffer
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | InetAddrTest.java | 85 int count = 0; 90 count++; 98 assertEquals("Not all host lookups succeeded", 100, count);
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SQLiteContentProvider.java | 149 int count = 0; 155 count = updateInTransaction(uri, values, selection, selectionArgs); 156 if (count > 0) { 166 count = updateInTransaction(uri, values, selection, selectionArgs); 167 if (count > 0) { 172 return count; 177 int count = 0; 183 count = deleteInTransaction(uri, selection, selectionArgs); 184 if (count > 0) { 194 count [all...] |
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.h | 44 int32_t count; member in struct:android::BatteryService::Info 45 Info() : uid(0), handle(0), count(0) { } 46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
|
H A D | SensorDevice.cpp | 57 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 58 mActivationCount.setCapacity(count); 60 for (size_t i=0 ; i<size_t(count) ; i++) { 72 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local 74 snprintf(buffer, SIZE, "%d h/w sensors:\n", int(count)); 78 for (size_t i=0 ; i<size_t(count) ; i++) { 80 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ", 97 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); 98 return count; 105 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { argument [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 73 if (count + i <= buf.length) { 76 byte[] newbuf = mPool.getBuf((count + i) * 2); 77 System.arraycopy(buf, 0, newbuf, 0, count);
|
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 68 final int count = mStrokes.size(); 69 for (int i = 0; i < count; i++) { 109 final int count = strokes.size(); 111 for (int i = 0; i < count; i++) { 133 final int count = strokes.size(); 135 for (int i = 0; i < count; i++) { 150 final int count = strokes.size(); 152 for (int i = 0; i < count; i++) { 201 final int count = strokes.size(); 203 for (int i = 0; i < count; [all...] |
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | CompositeCursorAdapter.java | 38 int count; field in class:CompositeCursorAdapter.Partition 172 int count = cursor != null ? cursor.getCount() : 0; 174 if (count != 0 || mPartitions[i].showIfEmpty) { 175 count++; 178 mPartitions[i].count = count; 179 mCount += count; 240 int end = start + mPartitions[i].count; 257 int end = start + mPartitions[i].count; 277 position += mPartitions[i].count; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.cpp | 171 CLOCK CYCLES: (cycle count equation for this function) + (variable 172 used to represent cycle count for each subroutine 174 where: (cycle count variable) = cycle count for [subroutine 260 st->count = 0; 276 CLOCK CYCLES: (cycle count equation for this function) + (variable 277 used to represent cycle count for each subroutine 279 where: (cycle count variable) = cycle count for [subroutine 298 st->count [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayout.cpp | 68 jint count, jint contextCount, jint dirFlags, 71 chars, start, count, contextCount, dirFlags); 89 void TextLayout::drawTextOnPath(SkPaint* paint, const jchar* text, int count, argument 97 text, 0, count, count, bidiFlags); 67 getTextRunAdvances(SkPaint* paint, const jchar* chars, jint start, jint count, jint contextCount, jint dirFlags, jfloat* resultAdvances, jfloat* resultTotalAdvance) argument
|
H A D | TextLayoutCache.cpp | 90 const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) { 98 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags); 113 reinterpret_cast<const UChar*>(key.getText()), start, count, 145 " - start = %d, count = %d, contextCount = %d - Text = '%s'", 146 start, count, contextCount, String8(key.getText() + start, count).string()); 151 "with start = %d, count = %d, contextCount = %d, " 154 value.get(), start, count, contextCount, size, mMaxSize - mSize, 157 String8(key.getText() + start, count).string()); 162 "with start = %d, count 89 getValue(const SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument 225 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, size_t contextCount, int dirFlags) argument 349 computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags) argument 360 computeValues(const SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs, Vector<jfloat>* const outPos) argument 677 computeRunValues(const SkPaint* paint, const UChar* contextChars, size_t start, size_t count, size_t contextCount, bool isRTL, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs, Vector<jfloat>* const outPos) argument 906 getValue(const SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | AllocationThunker.java | 147 public void copy1DRangeFromUnchecked(int off, int count, int[] d) { argument 148 mN.copy1DRangeFromUnchecked(off, count, d); 150 public void copy1DRangeFromUnchecked(int off, int count, short[] d) { argument 151 mN.copy1DRangeFromUnchecked(off, count, d); 153 public void copy1DRangeFromUnchecked(int off, int count, byte[] d) { argument 154 mN.copy1DRangeFromUnchecked(off, count, d); 156 public void copy1DRangeFromUnchecked(int off, int count, float[] d) { argument 157 mN.copy1DRangeFromUnchecked(off, count, d); 160 public void copy1DRangeFrom(int off, int count, int[] d) { argument 161 mN.copy1DRangeFrom(off, count, 163 copy1DRangeFrom(int off, int count, short[] d) argument 166 copy1DRangeFrom(int off, int count, byte[] d) argument 169 copy1DRangeFrom(int off, int count, float[] d) argument 173 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument 302 createSized(RenderScript rs, Element e, int count, int usage) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | options_test.cpp | 23 int count = 0; local 24 while (expected[count] != NULL) { 25 count++; 27 if (got.size() != count) { 30 for (int i=0; i<count; i++) { 50 size_t count = got.size(); local 51 for (size_t i=0; i<count; i++) { 240 const int count = sizeof(g_tests)/sizeof(g_tests[0]); local 241 int matches[count]; 244 for (int i=0; i<count; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1283 * @param count THe number of characters to measure, beginning with start 1286 public float measureText(char[] text, int index, int count) { argument 1290 if ((index | count) < 0 || index + count > text.length) { 1294 if (text.length == 0 || count == 0) { 1298 return (float) Math.ceil(native_measureText(text, index, count, mBidiFlags)); 1303 float w = native_measureText(text, index, count, mBidiFlags); 1308 private native float native_measureText(char[] text, int index, int count, int bidiFlags); argument 1413 * @param count The number of maximum number of entries to measure. If count 1421 breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth) argument 1446 native_breakText(char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument 1549 getTextWidths(char[] text, int index, int count, float[] widths) argument 1717 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex) argument 2028 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument 2089 getTextBounds(char[] text, int index, int count, Rect bounds) argument 2142 native_getTextWidths(int native_object, char[] text, int index, int count, int bidiFlags, float[] widths) argument 2151 native_getTextRunAdvances(int native_object, char[] text, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex) argument 2163 native_getTextPath(int native_object, int bidiFlags, char[] text, int index, int count, float x, float y, int path) argument 2169 nativeGetCharArrayBounds(int nativePaint, char[] text, int index, int count, int bidiFlags, Rect bounds) argument [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorJava.cpp | 470 for (index = 0; index < pClass->count; index++) 499 ((M4OSA_NULL == pName) && (index < pClass->count)); 541 ((M4OSA_NULL == pString) && (index < pClass->count)); 585 for (index = 0; ((!gotten) && (index < pClass->count)); index++) 623 for (index = 0; ((!gotten) && (index < pClass->count)); index++) 657 for (index = 0; ((!gotten) && (index < pClass->count)); index++) 684 for (index = 0; ((!gotten) && (index < pClass->count)); index++) 701 for (index = 0; ((!gotten) && (index < pClass->count)); index++) 743 for (index = 0; index < pClass->count; index++) 789 int count, 785 videoEditJava_fieldClassFieldIds( bool* pResult, JNIEnv* pEnv, const VideoEditJava_FieldsClass* pClass, int count, VideoEditJava_FieldIds* pIds) argument 866 videoEditJava_methodClassMethodIds( bool* pResult, JNIEnv* pEnv, const VideoEditJava_MethodsClass* pClass, int count, VideoEditJava_MethodIds* pIds) argument [all...] |
/frameworks/native/include/utils/ |
H A D | BasicHashtable.h | 99 void* allocateBuckets(size_t count) const; 102 void releaseBuckets(void* __restrict__ buckets, size_t count) const; 106 void destroyBuckets(void* __restrict__ buckets, size_t count) const; 111 void* __restrict__ toBuckets, size_t count) const; 126 inline static size_t chainStart(hash_t hash, size_t count) { argument 127 return hash % count; 133 inline static size_t chainIncrement(hash_t hash, size_t count) { argument 134 return ((hash >> 7) | (hash << 25)) % (count - 1) + 1; 139 inline static size_t chainSeek(size_t index, size_t increment, size_t count) { argument 140 return (index + increment) % count; [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TableLayout.java | 211 final int count = getChildCount(); 212 for (int i = 0; i < count; i++) { 224 int count = getChildCount(); 225 for (int i = 0; i < count; i++) { 294 int count = getChildCount(); 295 for (int i = 0; i < count; i++) { 383 final int count = collapsedColumns.size(); 384 for (int i = 0; i < count; i++) { 495 final int count = getChildCount(); 496 for (int i = 0; i < count; [all...] |