Searched defs:count (Results 126 - 150 of 430) sorted by last modified time

1234567891011>>

/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp827 // 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 DHexagonLDBackend.cpp213 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 DMipsGOT.cpp136 // 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 DMipsPLT.cpp131 size_t count = 0; local
158 uint64_t gotEntryAddr = pGOTPLT.getEntryAddr(count++);
/frameworks/compile/mclinker/unittests/
H A DHashTableTest.cpp156 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 DCompositeCursorAdapter.java40 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 DCompositeCursorAdapterTest.java250 private Cursor makeCursor(String name, int count) { argument
252 for (int i = 0; i < count; i++) {
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc407 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 DGraphemeBreak.cpp25 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 DLayout.cpp77 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 DRSInfo.h58 uint32_t count; member in struct:bcc::rsinfo::ListHeader
/frameworks/compile/libbcc/lib/Support/
H A DInputFile.cpp26 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 DOutputFile.cpp30 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 Dsha1.h11 uint32_t count[2]; member in struct:__anon1069
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp718 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 DCommand.cpp160 int count, i; local
172 count = zip->getNumEntries();
173 for (i = 0; i < count; i++) {
H A DPackage.cpp61 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 DResourceTable.cpp2685 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 DWorkQueue.cpp82 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 DZipFile.cpp177 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 Doptions_test.cpp23 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 DCanvas_Delegate.java533 /*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 DPaint_Delegate.java600 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 DAndroidBidi_Delegate.java35 /*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 DUnsafeByteSequence.java32 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...]

Completed in 6970 milliseconds

1234567891011>>