Searched defs:count (Results 1 - 25 of 79) sorted by relevance

1234

/art/runtime/arch/
H A Dmemcmp16.cc22 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count) { argument
23 for (size_t i = 0; i < count; i++) {
35 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { argument
36 return MemCmp16(s0, s1, count);
H A Dmemcmp16.h35 extern "C" uint32_t __memcmp16(const uint16_t* s0, const uint16_t* s1, size_t count);
41 static inline int32_t MemCmp16(const uint16_t* s0, const uint16_t* s1, size_t count) { argument
42 for (size_t i = 0; i < count; i++) {
50 extern "C" int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count);
60 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count);
H A Dmemcmp16_test.cc37 int32_t memcmp16_compare(const uint16_t* s0, const uint16_t* s1, size_t count) { argument
38 for (size_t i = 0; i < count; i++) {
/art/test/023-many-interfaces/
H A Diface-gen.c11 static int createFiles(int count) argument
16 for (i = 0; i < count; i++) {
35 for (i = 0; i < count; i++) {
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",");
39 for (i = 1; i < count; i += 2) {
/art/test/004-ReferenceMap/
H A Dstack_walk_refmap_jni.cc274 extern "C" JNIEXPORT jint JNICALL Java_Main_refmap(JNIEnv*, jobject, jint count) { argument
280 return count + 1;
/art/test/303-verification-stress/
H A Dclasses-gen.c11 static int createFiles(int count, int array_size) argument
17 for (i = 0; i < count; i++) {
46 for (i = 0; i < count; i++) {
/art/compiler/dex/
H A Dmir_field_info.cc33 MirIFieldLoweringInfo* field_infos, size_t count) {
36 DCHECK_NE(count, 0u);
37 for (auto it = field_infos, end = field_infos + count; it != end; ++it) {
55 for (auto it = field_infos, end = field_infos + count; it != end; ++it) {
77 MirSFieldLoweringInfo* field_infos, size_t count) {
80 DCHECK_NE(count, 0u);
81 for (auto it = field_infos, end = field_infos + count; it != end; ++it) {
102 for (auto it = field_infos, end = field_infos + count; it != end; ++it) {
31 Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit, MirIFieldLoweringInfo* field_infos, size_t count) argument
75 Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit, MirSFieldLoweringInfo* field_infos, size_t count) argument
H A Dmir_method_info.cc31 MirMethodLoweringInfo* method_infos, size_t count) {
34 DCHECK_NE(count, 0u);
35 for (auto it = method_infos, end = method_infos + count; it != end; ++it) {
57 for (auto it = method_infos, end = method_infos + count; it != end; ++it) {
29 Resolve(CompilerDriver* compiler_driver, const DexCompilationUnit* mUnit, MirMethodLoweringInfo* method_infos, size_t count) argument
H A Dmir_graph_test.cc58 void DoPrepareBasicBlocks(const BBDef* defs, size_t count) { argument
61 ASSERT_LT(3u, count); // null, entry, exit and at least one bytecode block.
65 for (size_t i = 0u; i != count; ++i) {
100 cu_.mir_graph->num_blocks_ = count;
101 ASSERT_EQ(count, cu_.mir_graph->block_list_.Size());
108 template <size_t count>
109 void PrepareBasicBlocks(const BBDef (&defs)[count]) {
110 DoPrepareBasicBlocks(defs, count);
130 void DoCheckOrder(const BasicBlockId* ids, size_t count) { argument
131 ASSERT_EQ(count, cu
142 DoCheckLoopEnds(const uint16_t* ends, size_t count) argument
[all...]
/art/runtime/
H A Dbarrier.cc24 Barrier::Barrier(int count) argument
25 : count_(count),
39 void Barrier::Init(Thread* self, int count) { argument
41 SetCountLocked(self, count);
48 // Increment the count. If it becomes zero after the increment
52 // Pass function is called by the last thread, the count will
68 void Barrier::SetCountLocked(Thread* self, int count) { argument
69 count_ = count;
76 CHECK(!count_) << "Attempted to destroy barrier with non zero count";
H A Dindenter.h29 Indenter(std::streambuf* out, char text, size_t count) argument
30 : indent_next_(true), out_sbuf_(out), text_(text), count_(count) {}
H A Dnth_caller_visitor.h31 count(0), caller(NULL) {}
44 if (count == n) {
48 count++;
55 size_t count; member in struct:art::NthCallerVisitor
H A Dnative_bridge_art_interface.cc67 uint32_t count = 0; local
71 if (count < method_count) {
72 methods[count].name = m->GetName();
73 methods[count].signature = m->GetShorty();
74 methods[count].fnPtr = const_cast<void*>(m->GetNativeMethod());
75 count++;
84 if (count < method_count) {
85 methods[count].name = m->GetName();
86 methods[count].signature = m->GetShorty();
87 methods[count]
[all...]
H A Dthread_pool_test.cc29 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} argument
64 AtomicInteger count(0);
67 thread_pool.AddTask(self, new CountTask(&count));
73 EXPECT_EQ(num_tasks, count.LoadSequentiallyConsistent());
79 AtomicInteger count(0);
82 thread_pool.AddTask(self, new CountTask(&count));
86 EXPECT_EQ(0, count.LoadSequentiallyConsistent());
98 while (count.LoadSequentiallyConsistent() != num_tasks &&
107 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, in argument
[all...]
H A Dbarrier_test.cc79 // At this point each thread should have passed through the barrier. The first count should be
99 CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks) argument
101 count_(count),
126 AtomicInteger count(0);
130 thread_pool.AddTask(self, new CheckPassTask(&barrier, &count, num_sub_tasks));
137 EXPECT_EQ(count.LoadRelaxed(), expected_total_tasks);
/art/runtime/base/
H A Dhex_dump.cc71 size_t count = std::min(byte_count, 16 - gap); local
72 // CHECK_NE(count, 0U);
73 // CHECK_LE(count + gap, 16U);
82 for (i = gap ; i < count + gap; i++) {
104 byte_count -= count;
105 offset += count;
/art/test/004-StackWalk/
H A Dstack_walk_jni.cc103 extern "C" JNIEXPORT jint JNICALL Java_Main_stackmap(JNIEnv*, jobject, jint count) { argument
105 CHECK_EQ(count, 0);
112 return count + 1;
115 extern "C" JNIEXPORT jint JNICALL Java_Main_refmap2(JNIEnv*, jobject, jint count) { argument
123 return count + 1;
/art/test/109-suspend-check/src/
H A DMain.java78 int count = 100000; field in class:InfiniteForLoop
/art/compiler/optimizing/
H A Dliveness_test.cc32 size_t count,
36 for (size_t i = 0; i < count; ++i) {
30 DumpBitVector(BitVector* vector, std::ostream& buffer, size_t count, const char* prefix) argument
/art/test/050-sync-test/src/
H A DMain.java118 int count = mCount;
128 count++;
129 mCount = count;
137 private static int count = 0; field in class:SleepyThread
143 setName("thread#" + count);
144 count++;
/art/test/003-omnibus-opcodes/src/
H A DArray.java187 static void checkNegAlloc(int count) { argument
193 ints = new int[count];
200 strings = new String[count];
/art/runtime/gc/accounting/
H A Dspace_bitmap_test.cc138 size_t count = 0; variable
139 SimpleCounter c(&count); variable
155 EXPECT_EQ(count, manual);
/art/runtime/jdwp/
H A Djdwp_event.h37 int count; member in struct:art::JDWP::JdwpEventMod::__anon98
38 } count; member in union:art::JDWP::JdwpEventMod
/art/runtime/native/
H A Djava_lang_System.cc47 // The API is defined in terms of length, but length is somewhat overloaded so we use count.
48 const jint count = length; local
76 if (UNLIKELY(srcPos < 0) || UNLIKELY(dstPos < 0) || UNLIKELY(count < 0) ||
77 UNLIKELY(srcPos > srcArray->GetLength() - count) ||
78 UNLIKELY(dstPos > dstArray->GetLength() - count)) {
83 count);
100 dstArray->AsByteSizedArray()->Memmove(dstPos, srcArray->AsByteSizedArray(), srcPos, count);
105 dstArray->AsShortSizedArray()->Memmove(dstPos, srcArray->AsShortSizedArray(), srcPos, count);
110 dstArray->AsIntArray()->Memmove(dstPos, srcArray->AsIntArray(), srcPos, count);
115 dstArray->AsLongArray()->Memmove(dstPos, srcArray->AsLongArray(), srcPos, count);
157 System_arraycopyTUnchecked(JNIEnv* env, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
171 System_arraycopyCharUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
177 System_arraycopyByteUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
183 System_arraycopyShortUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
189 System_arraycopyIntUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
195 System_arraycopyLongUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
201 System_arraycopyFloatUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
207 System_arraycopyDoubleUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
213 System_arraycopyBooleanUnchecked(JNIEnv* env, jclass, jobject javaSrc, jint srcPos, jobject javaDst, jint dstPos, jint count) argument
[all...]
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc89 uint16_t& count = *reinterpret_cast<uint16_t*>(context); local
90 ++count;
104 * (2b) thread count

Completed in 2630 milliseconds

1234