/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 827 // count the number of dynsym to hash 1214 // count the number of dynsym to hash 1276 size_t count = 0; local 1295 ++count; 1298 if (count == 0) 1301 bucket[idx] = hashedidx - count; 2696 /// getHashBucketCount - calculate hash bucket count.
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 213 uint64_t count = size / align_frag.getValueSize(); local 216 std::memset(out_offset, align_frag.getValue(), count);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsGOT.cpp | 136 // FIXME: (simon) Do not count local entries for non-pic. 137 size_t count = it->m_GlobalNum + it->m_LocalNum; local 138 for (size_t i = 0; i < count; ++i) 243 if (m_InputLocalSymbols.count(entry)) 248 if (m_MergedLocalSymbols.count(entry)) { 266 if (m_InputGlobalSymbols.count(&pInfo)) 269 if (m_MergedGlobalSymbols.count(&pInfo)) { 322 if (it->m_Inputs.count(&pInput))
|
H A D | MipsPLT.cpp | 131 size_t count = 0; local 158 uint64_t gotEntryAddr = pGOTPLT.getEntryAddr(count++);
|
/frameworks/compile/mclinker/unittests/ |
H A D | HashTableTest.cpp | 156 int count; local 159 count = hashTable->erase(key); 160 EXPECT_EQ(1, count); 204 int count; local 207 count = hashTable->erase(key); 208 EXPECT_EQ(1, count); 319 int count = 0; local 322 count++; 324 ASSERT_EQ(16, count);
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | CompositeCursorAdapter.java | 40 int count; field in class:CompositeCursorAdapter.Partition 59 return count == 0; 173 int count; 175 count = 0; 177 count = cursor.getCount(); 180 if (count != 0 || partition.showIfEmpty) { 181 count++; 184 partition.count = count; 185 mCount += count; [all...] |
/frameworks/ex/common/tests/src/com/android/common/widget/ |
H A D | CompositeCursorAdapterTest.java | 250 private Cursor makeCursor(String name, int count) { argument 252 for (int i = 0; i < count; i++) {
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 407 int count = GetTimeScaler()->RetrieveSamples( local 409 if (count <= 0) { 410 LOGD("error: count was %d", count); 413 frameCount += count; 430 int count = GetTimeScaler()->InjectSamples(injectBuffer_, framesToInject); local 431 if (count <= 0) { 432 LOGD("error: count was %d", count); 435 decodeBuffer_.AdvanceHeadPointerShorts(count * channel [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | GraphemeBreak.cpp | 25 bool GraphemeBreak::isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, argument 33 if (offset <= start || offset >= start + count) { 44 U16_NEXT(buf, offset, count, c2); 100 size_t GraphemeBreak::getTextRunCursor(const uint16_t* buf, size_t start, size_t count, argument 104 if (offset < start + count) { 109 while (!isGraphemeBreak(buf, start, count, offset)) { 119 while (!isGraphemeBreak(buf, start, count, offset)) { 124 if (!isGraphemeBreak(buf, start, count, offset)) {
|
H A D | Layout.cpp | 77 const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) 78 : mStart(start), mCount(count), mId(collection->getId()), mStyle(style), 519 void Layout::doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, argument 531 mAdvances.resize(count, 0); 564 int32_t endRun = std::min(startRun + lengthRun, int32_t(start + count)); 583 doLayoutRunCached(buf, start, count, bufSize, isRtl, &ctx, start); 588 void Layout::doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, argument 594 for (size_t iter = start; iter < start + count; iter = wordend) { 596 size_t wordcount = std::min(start + count, wordend) - iter; 604 size_t end = start + count; 76 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument 616 doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t bufStart) argument 652 doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx) argument [all...] |
/frameworks/compile/libbcc/include/bcc/Renderscript/ |
H A D | RSInfo.h | 58 uint32_t count; member in struct:bcc::rsinfo::ListHeader
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | InputFile.cpp | 26 ssize_t InputFile::read(void *pBuf, size_t count) { argument 31 if ((count <= 0) || (pBuf == NULL)) { 33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf); 37 while (count > 0) { 38 ssize_t read_size = ::read(mFD, pBuf, count);
|
H A D | OutputFile.cpp | 30 ssize_t OutputFile::write(const void *pBuf, size_t count) { argument 35 if ((count <= 0) || (pBuf == NULL)) { 37 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf); 41 while (count > 0) { 42 ssize_t write_size = ::write(mFD, pBuf, count);
|
H A D | sha1.h | 11 uint32_t count[2]; member in struct:__anon1069
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 718 ssize_t count = 0; local 748 count += res; 756 count++; 764 return count; 994 int count; local 1033 count = assetAaptDir->slurpFullTree(bundle, assetRoot, group, 1035 if (count < 0) { 1036 totalCount = count; 1039 if (count > 0) { 1042 totalCount += count; 1165 status_t count = 0; local 1246 int count = 0; local [all...] |
H A D | Command.cpp | 160 int count, i; local 172 count = zip->getNumEntries(); 173 for (i = 0; i < count; i++) {
|
H A D | Package.cpp | 61 int count; local 112 count = processAssets(bundle, zip, outputSet); 113 if (count < 0) { 116 result = count; 121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s"); 124 count = processJarFiles(bundle, zip); 125 if (count < 0) { 128 result = count; 133 printf("Included %d file%s from jar/zip files.\n", count, (coun 220 ssize_t count = 0; local 407 size_t count = 0; local 431 ssize_t count = 0; local [all...] |
H A D | ResourceTable.cpp | 2685 if (configSrcMap.count(defaultLocale) == 0) { 2729 configSrcMap.count(defaultLocale) == 0) { 3227 const size_t count = libs.size(); local 3234 libHeader->header.size = htodl(sizeof(*libHeader) + (sizeof(ResTable_lib_entry) * count)); 3235 libHeader->count = htodl(count); 3238 for (size_t i = 0; i < count; i++) { 3674 mapHeader.count = htodl(N); 3956 printf("Internal error: remaining private symbol count mismatch\n");
|
H A D | WorkQueue.cpp | 82 size_t count = mWorkUnits.size(); local 83 for (size_t i = 0; i < count; i++) { 107 size_t count = mWorkThreads.size(); local 108 for (size_t i = 0; i < count; i++) {
|
H A D | ZipFile.cpp | 177 int count = mEntries.size(); local 179 while (--count >= 0) 180 delete mEntries[count]; 649 size_t count; local 654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); 657 if (count == 0) 660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); 662 if (fwrite(tmpBuf, 1, count, dstFp) != count) { 663 ALOGD("fwrite %d bytes failed\n", (int) count); 679 size_t count; local 705 size_t count; local 901 int i, count; local 953 int i, count; local [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/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 533 /*package*/ static void native_drawPoints(long nativeCanvas, float[] pts, int offset, int count, argument 555 final float[] pts, final int offset, final int count, 561 for (int i = 0; i < count; i += 4) { 845 /*package*/ static void native_drawText(long nativeCanvas, char[] text, int index, int count, argument 847 drawText(nativeCanvas, text, index, count, startX, startY, flags == Canvas.DIRECTION_RTL, 855 int count = end - start; 856 char[] buffer = TemporaryBuffer.obtain(count); 859 native_drawText(nativeCanvas, buffer, 0, count, x, y, flags, paint, typeface); 866 int count = end - start; 867 char[] buffer = TemporaryBuffer.obtain(count); 554 native_drawLines(long nativeCanvas, final float[] pts, final int offset, final int count, long nativePaint) argument 874 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long paint, long typeface) argument 881 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument 956 drawText(long nativeCanvas, final char[] text, final int index, final int count, final float startX, final float startY, final boolean isRtl, long paint, final long typeface) argument [all...] |
H A D | Paint_Delegate.java | 600 int count, int bidiFlags) { 607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags); 624 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) { 632 int inc = count > 0 ? 1 : -1; 635 for (int i = index; i != index + count; i += inc, measureIndex++) { 655 // and we need to return a count, we simply return measureIndex; 955 char[] text, int index, int count, int bidiFlags, float[] widths) { 958 for (int i = 0; i< count; i++) { 973 RectF bounds = delegate.measureText(text, index, count, widths, 0, bidiFlags); 993 char[] text, int index, int count, in 599 native_measureText(Paint thisPaint, char[] text, int index, int count, int bidiFlags) argument 623 native_breakText(long nativePaint, long nativeTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument 954 native_getTextWidths(long native_object, long native_typeface, char[] text, int index, int count, int bidiFlags, float[] widths) argument 992 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument 1046 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument 1069 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument 1199 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument 1205 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | AndroidBidi_Delegate.java | 35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, argument 56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir); 58 for (int i = 0; i < count; ++i)
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 32 private int count; field in class:UnsafeByteSequence 39 return count; 47 count = 0; 51 if (count + length >= bytes.length) { 52 byte[] newBytes = new byte[(count + length) * 2]; 53 System.arraycopy(bytes, 0, newBytes, 0, count); 56 System.arraycopy(buffer, offset, bytes, count, length); 57 count += length; 61 if (count == bytes.length) { 62 byte[] newBytes = new byte[count * [all...] |