HomeSort by relevance Sort by last modified time
    Searched defs:thread_data (Results 1 - 9 of 9) sorted by null

  /system/extras/memory_replay/tests/
ThreadTest.cpp 37 thread_data_t* thread_data = reinterpret_cast<thread_data_t*>(data); local
38 Thread* thread = thread_data->first;
39 volatile bool* finish = thread_data->second;
50 thread_data_t thread_data = std::make_pair(&thread, &finish); local
55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0);
67 thread_data_t* thread_data = reinterpret_cast<thread_data_t*>(data); local
68 Thread* thread = thread_data->first;
69 volatile bool* finish = thread_data->second;
80 thread_data_t thread_data = std::make_pair(&thread, &finish); local
83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0)
    [all...]
  /external/curl/lib/
nwlib.c 162 libthreaddata_t *thread_data; local
167 thread_data = (libthreaddata_t *) NULL;
241 && !(err = NXKeyGetValue(key, (void **) &thread_data))
242 && !thread_data) {
250 thread_data = malloc(sizeof(libthreaddata_t));
252 if(thread_data) {
253 thread_data->_errno = 0;
254 thread_data->twentybytes = malloc(20);
256 if(!thread_data->twentybytes) {
257 free(thread_data);
    [all...]
asyn-thread.c 167 struct thread_data *td; /* for thread-self cleanup */
170 struct thread_data { struct
179 return &(((struct thread_data *)conn->async.os_specific)->tsd);
203 int init_thread_sync_data(struct thread_data * td,
270 struct thread_data *td = tsd->td;
307 struct thread_data *td = tsd->td;
340 struct thread_data *td = (struct thread_data*) async->os_specific;
380 struct thread_data *td = calloc(1, sizeof(struct thread_data));
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_ethread.c 35 static int enc_worker_hook(EncWorkerData *const thread_data, void *unused) {
36 VP9_COMP *const cpi = thread_data->cpi;
44 for (t = thread_data->start; t < tile_rows * tile_cols;
49 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col);
96 EncWorkerData *thread_data = &cpi->tile_thr_data[i]; local
102 thread_data->cpi = cpi;
105 CHECK_MEM_ERROR(cm, thread_data->td,
106 vpx_memalign(32, sizeof(*thread_data->td)));
107 vp9_zero(*thread_data->td);
110 thread_data->td->leaf_tree = NULL
134 EncWorkerData *thread_data; local
172 EncWorkerData *const thread_data = (EncWorkerData*)worker->data1; local
191 EncWorkerData *const thread_data = (EncWorkerData*)worker->data1; local
    [all...]
vp9_encoder.c 2039 EncWorkerData *const thread_data = &cpi->tile_thr_data[t]; local
    [all...]
  /external/google-breakpad/src/common/linux/tests/
crash_generator.cc 82 ThreadData* thread_data = reinterpret_cast<ThreadData*>(data); local
84 *(thread_data->thread_id_ptr) = thread_id;
85 int result = pthread_barrier_wait(thread_data->barrier);
283 ThreadData* thread_data = new ThreadData[num_threads];
302 thread_data[i].barrier = &thread_barrier;
303 thread_data[i].thread_id_ptr = GetThreadIdPointer(i);
304 if (pthread_create(&thread_data[i].thread, &thread_attributes,
305 thread_function, &thread_data[i]) != 0) {
319 delete[] thread_data;
  /external/libchrome/base/
tracked_objects.cc 413 void ThreadData::OnThreadTermination(void* thread_data) {
414 DCHECK(thread_data); // TLS should *never* call us with a NULL.
417 reinterpret_cast<ThreadData*>(thread_data)->OnThreadTerminationCleanup();
451 for (ThreadData* thread_data = my_list; thread_data;
452 thread_data = thread_data->next()) {
453 thread_data->SnapshotExecutedTasks(current_profiling_phase,
483 for (ThreadData* thread_data = my_list; thread_data;
834 ThreadData* thread_data = thread_data_list; local
    [all...]
  /system/core/libbacktrace/
backtrace_test.cpp 511 thread_t thread_data = { 0, 0, 0, nullptr }; local
513 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0);
516 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
528 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid));
536 android_atomic_acquire_store(0, &thread_data.state);
561 thread_t thread_data = { 0, 0, 0, nullptr }; local
563 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0);
566 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
568 std::unique_ptr<Backtrace> all(Backtrace::Create(getpid(), thread_data.tid));
573 std::unique_ptr<Backtrace> ign1(Backtrace::Create(getpid(), thread_data.tid))
602 thread_t thread_data = { 0, 0, 0, nullptr }; local
945 thread_t* thread_data = reinterpret_cast<thread_t*>(data); local
1028 thread_t thread_data = { 0, 0, 0, nullptr }; local
1458 thread_t thread_data = { 0, 0, 0, nullptr }; local
    [all...]
  /external/fio/
fio.h 100 struct thread_data { struct
409 extern struct thread_data *threads;
411 static inline void fio_ro_check(const struct thread_data *td, struct io_u *io_u)
418 static inline int should_fsync(struct thread_data *td)
437 extern void clear_io_state(struct thread_data *);
438 extern int fio_options_parse(struct thread_data *, char **, int, int);
440 extern int fio_cmd_option_parse(struct thread_data *, const char *, char *);
441 extern int fio_cmd_ioengine_option_parse(struct thread_data *, const char *, char *);
442 extern void fio_fill_default_options(struct thread_data *);
444 extern void fio_options_set_ioengine_opts(struct option *long_options, struct thread_data *td)
    [all...]

Completed in 1174 milliseconds