| /external/google-breakpad/src/client/linux/minidump_writer/ |
| linux_dumper.h | 76 // Parse the data for |threads| and |mappings|. 82 // Suspend/resume all threads in the given process. 91 const wasteful_vector<pid_t> &threads() { return threads_; } function in class:google_breakpad::LinuxDumper 177 // IDs of all the threads.
|
| /external/google-breakpad/src/testing/gtest/test/ |
| gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 62 // How many threads to create? 105 // RecordProperty() should interact safely with other threads as well. 126 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 133 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 139 // Blocks until all the threads are done. 141 threads[i]->Join(); 206 // This statement should succeed, because failures in all threads are 225 // This statement should succeed, because failures in all threads ar [all...] |
| /external/googletest/googletest/test/ |
| gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 61 // How many threads to create? 104 // RecordProperty() should interact safely with other threads as well. 125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 138 // Blocks until all the threads are done. 140 threads[i]->Join(); 205 // This statement should succeed, because failures in all threads are 224 // This statement should succeed, because failures in all threads ar [all...] |
| /external/libevent/ |
| iocp-internal.h | 80 /** Number of threads ever open on the port. */ 82 /** True iff we're shutting down all the threads on this port */ 84 /** How often the threads on this port check for shutdown and other 87 /* The threads that are waiting for events. */ 88 HANDLE *threads; member in struct:event_iocp_port 89 /** Number of threads currently open on this port. */ 154 /** Create an IOCP, and launch its worker threads. Internal use only. 161 fd will happen on one of the iocp's worker threads. 166 /** Tell all threads serving an iocp to stop. Wait for up to waitMsec for all 167 the threads to finish whatever they're doing. If waitMsec is -1, wai [all...] |
| /external/libunwind/src/coredump/ |
| _UCD_internal.h | 95 struct PRSTATUS_STRUCT **threads; member in struct:UCD_info
|
| /external/libvpx/libvpx/test/ |
| invalid_file_test.cc | 29 int threads; member in struct:__anon26027::DecodeParam 34 return os << "threads: " << dp.threads << " file: " << dp.filename; 65 if (input.threads > 1) { 88 cfg.threads = input.threads;
|
| /external/libvpx/libvpx/vpx/ |
| vpx_decoder.h | 108 unsigned int threads; /**< Maximum number of threads to use, default 1 */ member in struct:vpx_codec_dec_cfg
|
| /external/libxcam/xcore/ |
| thread_pool.cpp | 126 "ThreadPool(%s) set threads failed, need stop the pool first", XCAM_STR(get_name ())); 175 UserThreadList threads; local 182 threads = _thread_list; 186 for (UserThreadList::iterator i = threads.begin (); i != threads.end (); ++i) 196 for (UserThreadList::iterator i = threads.begin (); i != threads.end (); ++i)
|
| /external/linux-kselftest/tools/testing/selftests/sync/ |
| sync_stress_consumer.c | 56 int threads; member in struct:__anon26889 112 int n = test_data_mpsc.threads; 143 /* Release the producer threads */ 145 "Failure releasing producer threads\n"); 160 pthread_t threads[n]; local 169 test_data_mpsc.threads = n; 174 pthread_create(&threads[i], NULL, (void * (*)(void *)) 182 pthread_join(threads[i], NULL);
|
| /external/ltp/testcases/kernel/fs/openfile/ |
| openfile.c | 71 void *threads(void *thread_id); 102 printf("Usage: openfile [-d] -f FILES -t THREADS\n"); 107 printf("Usage: openfile [-d] -f FILES -t THREADS\n"); 122 sprintf(msg, "%s\nCannot use %d threads", msg, numthreads); 123 sprintf(msg, "%s, used %d threads instead\n", msg, MAXTHREADS); 147 printf("Creating Reading Threads\n"); 149 /* Create threads */ 151 if (pthread_create(&th_id, NULL, threads, 160 /* Sleep until all threads are created */ 164 "error while waiting for reading threads"); 206 void *threads(void *thread_id_) function [all...] |
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_init/ |
| stress.c | 21 * -> Create some threads 83 /******** Threads function *********/ 226 pthread_t threads[N * SCALABILITY_FACTOR]; local 240 ret = pthread_create(&threads[i], NULL, threaded, (void *)i); 243 /* Stop the started threads */ 249 pthread_join(threads[i - 1], NULL); 251 UNRESOLVED(ret, "Unable to create enough threads"); 254 /* Every threads were created; we now just wait */ 256 if ((ret = pthread_join(threads[i], NULL))) {
|
| /external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/ |
| stress.c | 21 * -> Create some threads 91 /******** Threads function *********/ 182 pthread_t threads[N * SCALABILITY_FACTOR]; local 196 ret = pthread_create(&threads[i], NULL, threaded, (void *)i); 199 /* Stop the started threads */ 205 pthread_join(threads[i - 1], NULL); 207 UNRESOLVED(ret, "Unable to create enough threads"); 210 /* Every threads were created; we now just wait */ 212 if ((ret = pthread_join(threads[i], NULL))) {
|
| /external/mesa3d/src/gallium/auxiliary/util/ |
| u_queue.h | 63 pipe_thread *threads; member in struct:util_queue 96 return queue->threads != NULL;
|
| /external/protobuf/gtest/test/ |
| gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 62 // How many threads to create? 105 // RecordProperty() should interact safely with other threads as well. 126 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 133 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 139 // Blocks until all the threads are done. 141 threads[i]->Join(); 206 // This statement should succeed, because failures in all threads are 225 // This statement should succeed, because failures in all threads ar [all...] |
| /external/skqp/tools/flags/ |
| SkCommonFlags.h | 30 DECLARE_int32(threads); variable
|
| /external/tensorflow/tensorflow/core/platform/cloud/ |
| file_block_cache_test.cc | 430 // This fetcher won't respond until either `callers` threads are calling it 448 std::vector<std::unique_ptr<Thread>> threads; local 450 threads.emplace_back( 459 // The `threads` destructor blocks until the threads can be joined, once their
|
| /external/v8/testing/gtest/test/ |
| gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 61 // How many threads to create? 104 // RecordProperty() should interact safely with other threads as well. 125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 138 // Blocks until all the threads are done. 140 threads[i]->Join(); 205 // This statement should succeed, because failures in all threads are 224 // This statement should succeed, because failures in all threads ar [all...] |
| /external/valgrind/none/tests/ |
| tls.c | 90 pthread_t threads[NTESTS*2]; local 96 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); 97 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); 101 pthread_join(threads[i], NULL);
|
| /external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
| gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 61 // How many threads to create? 104 // RecordProperty() should interact safely with other threads as well. 125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 138 // Blocks until all the threads are done. 140 threads[i]->Join(); 205 // This statement should succeed, because failures in all threads are 224 // This statement should succeed, because failures in all threads ar [all...] |
| /external/webrtc/webrtc/test/channel_transport/ |
| udp_transport_unittest.cc | 111 uint8_t threads = 1; local 112 UdpTransport* transport = UdpTransport::Create(id, threads);
|
| /frameworks/base/core/tests/coretests/src/android/graphics/ |
| TypefaceTest.java | 156 final Thread[] threads = new Thread[threadCount]; local 158 threads[i] = new Thread(threadedCreater); 162 threads[i].start(); 167 threads[i].join();
|
| /frameworks/native/libs/vr/libpdx_uds/ |
| client_channel_tests.cpp | 148 // Start client threads. 151 std::vector<std::thread> threads; local 155 threads.emplace_back(worker, client_, data); 158 // Wait for threads to finish. 159 for (auto& thread : threads)
|
| /hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
| VehicleObjectPool_test.cpp | 85 // In this test we have T threads that concurrently in C cycles 94 std::vector<std::thread> threads; local 97 threads.push_back(std::thread([&poolPtr] () { 110 for (auto& t : threads) {
|
| /libcore/luni/src/test/java/tests/security/ |
| SecureRandomTest.java | 78 int threads = 2; local 79 ExecutorService executor = Executors.newFixedThreadPool(threads); 81 for (int t = 0; t < threads; t++) { 92 for (int i = 0; i < threads; i++) {
|
| /prebuilts/ndk/r16/sources/third_party/googletest/googletest/test/ |
| gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 61 // How many threads to create? 104 // RecordProperty() should interact safely with other threads as well. 125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 138 // Blocks until all the threads are done. 140 threads[i]->Join(); 205 // This statement should succeed, because failures in all threads are 224 // This statement should succeed, because failures in all threads ar [all...] |