HomeSort by relevance Sort by last modified time
    Searched defs:thread_data (Results 1 - 16 of 16) 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/fio/t/
memlock.c 6 static struct thread_data { struct
12 struct thread_data *td = data;
read-to-pipe-async.c 59 struct thread_data { struct
73 struct thread_data thread;
83 struct thread_data thread;
233 static void thread_exiting(struct thread_data *thread)
462 static void init_thread(struct thread_data *thread)
471 static void exit_thread(struct thread_data *thread,
  /bionic/tests/
leak_test.cpp 130 struct thread_data { pthread_barrier_t* barrier; pid_t* tid; } threads[kThreadCount] = {}; struct
140 thread_data* data = static_cast<thread_data*>(ptr);
  /external/curl/lib/
nwlib.c 162 libthreaddata_t *thread_data; local
167 thread_data = (libthreaddata_t *) NULL;
242 && !(err = NXKeyGetValue(key, (void **) &thread_data))
243 && !thread_data) {
251 thread_data = malloc(sizeof(libthreaddata_t));
253 if(thread_data) {
254 thread_data->_errno = 0;
255 thread_data->twentybytes = malloc(20);
257 if(!thread_data->twentybytes) {
258 free(thread_data);
    [all...]
asyn-thread.c 166 struct thread_data *td; /* for thread-self cleanup */
169 struct thread_data { struct
178 return &(((struct thread_data *)conn->async.os_specific)->tsd);
202 int init_thread_sync_data(struct thread_data * td,
273 struct thread_data *td = tsd->td;
313 struct thread_data *td = tsd->td;
346 struct thread_data *td = (struct thread_data*) async->os_specific;
386 struct thread_data *td = calloc(1, sizeof(struct thread_data));
    [all...]
  /bionic/libc/malloc_debug/
RecordData.cpp 100 ThreadData* thread_data = reinterpret_cast<ThreadData*>(data); local
102 thread_data->count++;
105 if (thread_data->count == 4) {
108 thread_data->record_data->AddEntryOnly(thread_data->entry);
109 delete thread_data;
111 pthread_setspecific(thread_data->record_data->key(), data);
211 ThreadData* thread_data = new ThreadData(this, new ThreadCompleteEntry()); local
212 pthread_setspecific(key_, thread_data);
  /external/libvpx/libvpx/vp9/encoder/
vp9_multi_thread.c 272 EncWorkerData *thread_data; local
273 thread_data = &cpi->tile_thr_data[i];
274 thread_data->thread_id = i;
277 thread_data->tile_completion_status[tile_col] = 0;
vp9_ethread.c 39 EncWorkerData *const thread_data = (EncWorkerData *)arg1; local
40 VP9_COMP *const cpi = thread_data->cpi;
48 for (t = thread_data->start; t < tile_rows * tile_cols;
53 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col);
103 EncWorkerData *thread_data = &cpi->tile_thr_data[i]; local
109 thread_data->cpi = cpi;
112 CHECK_MEM_ERROR(cm, thread_data->td,
113 vpx_memalign(32, sizeof(*thread_data->td)));
114 vp9_zero(*thread_data->td);
117 thread_data->td->leaf_tree = NULL
154 EncWorkerData *const thread_data = (EncWorkerData *)worker->data1; local
183 EncWorkerData *thread_data; local
218 EncWorkerData *const thread_data = (EncWorkerData *)worker->data1; local
464 EncWorkerData *thread_data; local
547 EncWorkerData *thread_data; local
621 EncWorkerData *thread_data; local
656 EncWorkerData *const thread_data = (EncWorkerData *)worker->data1; local
    [all...]
vp9_encoder.c 2407 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/mesa3d/src/gallium/drivers/llvmpipe/
lp_rast_priv.h 101 struct lp_jit_thread_data thread_data; member in struct:lp_rasterizer_task
267 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
280 &task->thread_data,
  /external/libchrome/base/
tracked_objects.cc 471 void ThreadData::OnThreadTermination(void* thread_data) {
472 DCHECK(thread_data); // TLS should *never* call us with a NULL.
475 reinterpret_cast<ThreadData*>(thread_data)->OnThreadTerminationCleanup();
511 for (ThreadData* thread_data = my_list; thread_data;
512 thread_data = thread_data->next()) {
513 thread_data->SnapshotExecutedTasks(current_profiling_phase,
544 for (ThreadData* thread_data = my_list; thread_data;
853 ThreadData* thread_data = first_retired_thread_data_; local
869 ThreadData* thread_data = thread_data_list; local
    [all...]
  /system/chre/host/msm/daemon/
chre_daemon.cc 599 struct reverse_monitor_thread_data *thread_data = local
608 pthread_mutex_lock(&thread_data->mutex);
609 pthread_cond_wait(&thread_data->cond, &thread_data->mutex);
610 pthread_mutex_unlock(&thread_data->mutex);
  /system/core/libbacktrace/
backtrace_test.cpp 565 thread_t thread_data = { 0, 0, 0, nullptr }; local
567 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0);
570 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
582 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid));
590 android_atomic_acquire_store(0, &thread_data.state);
615 thread_t thread_data = { 0, 0, 0, nullptr }; local
617 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0);
620 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
622 std::unique_ptr<Backtrace> all(Backtrace::Create(getpid(), thread_data.tid));
627 std::unique_ptr<Backtrace> ign1(Backtrace::Create(getpid(), thread_data.tid))
656 thread_t thread_data = { 0, 0, 0, nullptr }; local
994 thread_t* thread_data = reinterpret_cast<thread_t*>(data); local
1077 thread_t thread_data = { 0, 0, 0, nullptr }; local
    [all...]
  /external/fio/
fio.h 143 struct thread_data { struct
165 struct thread_data *parent;
500 extern struct thread_data *threads;
502 static inline void fio_ro_check(const struct thread_data *td, struct io_u *io_u)
509 static inline int should_fsync(struct thread_data *td)
528 extern void clear_io_state(struct thread_data *, int);
529 extern int fio_options_parse(struct thread_data *, char **, int);
532 extern int fio_cmd_option_parse(struct thread_data *, const char *, char *);
533 extern int fio_cmd_ioengine_option_parse(struct thread_data *, const char *, char *);
534 extern void fio_fill_default_options(struct thread_data *);
    [all...]

Completed in 714 milliseconds