HomeSort by relevance Sort by last modified time
    Searched defs:thread_data (Results 1 - 13 of 13) 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...]
  /bionic/tests/
leak_test.cpp 124 struct thread_data { pthread_barrier_t* barrier; pid_t* tid; }; struct
127 thread_data* td = new thread_data{&barrier, &tids[i]};
129 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;
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 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,
269 struct thread_data *td = tsd->td;
309 struct thread_data *td = tsd->td;
342 struct thread_data *td = (struct thread_data*) async->os_specific;
382 struct thread_data *td = calloc(1, sizeof(struct thread_data));
    [all...]
  /bionic/libc/malloc_debug/
RecordData.cpp 107 ThreadData* thread_data = reinterpret_cast<ThreadData*>(data); local
109 thread_data->count++;
112 if (thread_data->count == 4) {
115 thread_data->record_data->AddEntryOnly(thread_data->entry);
116 delete thread_data;
118 pthread_setspecific(thread_data->record_data->key(), data);
221 ThreadData* thread_data = new ThreadData(this, new ThreadCompleteEntry()); local
222 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 38 static int enc_worker_hook(EncWorkerData *const thread_data, void *unused) {
39 VP9_COMP *const cpi = thread_data->cpi;
47 for (t = thread_data->start; t < tile_rows * tile_cols;
52 vp9_encode_tile(cpi, thread_data->td, tile_row, tile_col);
95 EncWorkerData *thread_data = &cpi->tile_thr_data[i]; local
101 thread_data->cpi = cpi;
104 CHECK_MEM_ERROR(cm, thread_data->td,
105 vpx_memalign(32, sizeof(*thread_data->td)));
106 vp9_zero(*thread_data->td);
109 thread_data->td->leaf_tree = NULL
146 EncWorkerData *const thread_data = (EncWorkerData *)worker->data1; local
175 EncWorkerData *thread_data; local
210 EncWorkerData *const thread_data = (EncWorkerData *)worker->data1; local
453 EncWorkerData *thread_data; local
536 EncWorkerData *thread_data; local
609 EncWorkerData *thread_data; local
644 EncWorkerData *const thread_data = (EncWorkerData *)worker->data1; local
    [all...]
vp9_encoder.c 2433 EncWorkerData *const thread_data = &cpi->tile_thr_data[t]; local
    [all...]
  /system/chre/host/msm/daemon/
chre_daemon.cc 194 struct reverse_monitor_thread_data *thread_data = local
203 pthread_mutex_lock(&thread_data->mutex);
204 pthread_cond_wait(&thread_data->cond, &thread_data->mutex);
205 pthread_mutex_unlock(&thread_data->mutex);
  /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 404 void ThreadData::OnThreadTermination(void* thread_data) {
405 DCHECK(thread_data); // TLS should *never* call us with a NULL.
408 reinterpret_cast<ThreadData*>(thread_data)->OnThreadTerminationCleanup();
442 for (ThreadData* thread_data = my_list; thread_data;
443 thread_data = thread_data->next()) {
444 thread_data->SnapshotExecutedTasks(current_profiling_phase,
474 for (ThreadData* thread_data = my_list; thread_data;
794 ThreadData* thread_data = thread_data_list; local
    [all...]
  /system/core/libbacktrace/
backtrace_test.cpp 514 thread_t thread_data = { 0, 0, 0, nullptr }; local
516 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0);
519 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
531 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid));
539 android_atomic_acquire_store(0, &thread_data.state);
564 thread_t thread_data = { 0, 0, 0, nullptr }; local
566 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0);
569 ASSERT_TRUE(WaitForNonZero(&thread_data.state, 2));
571 std::unique_ptr<Backtrace> all(Backtrace::Create(getpid(), thread_data.tid));
576 std::unique_ptr<Backtrace> ign1(Backtrace::Create(getpid(), thread_data.tid))
605 thread_t thread_data = { 0, 0, 0, nullptr }; local
933 thread_t* thread_data = reinterpret_cast<thread_t*>(data); local
1016 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 441 milliseconds