HomeSort by: relevance | last modified time | path
    Searched defs:threads (Results 1 - 25 of 29) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/
pipe_barrier_test.c 32 * The test succeeds if no thread exits before all the other threads reach
50 static thrd_t threads[NUM_THREADS]; variable
117 threads[i] = u_thread_create(thread_function, (void *) &thread_ids[i]);
121 thrd_join(threads[i], NULL);
  /xsrc/external/mit/MesaLib/dist/src/util/tests/sparse_array/
multi_threaded.c 30 #include "c11/threads.h"
58 thrd_t threads[NUM_THREADS]; local
60 int ret = thrd_create(&threads[i], test_thread, &arr);
65 int ret = thrd_join(threads[i], NULL);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/
pipe_barrier_test.c 32 * The test succeeds if no thread exits before all the other threads reach
50 static thrd_t threads[NUM_THREADS]; variable
117 threads[i] = u_thread_create(thread_function, (void *) &thread_ids[i]);
121 thrd_join(threads[i], NULL);
  /xsrc/external/mit/fontconfig/dist/test/
test-crbug1004254.c 90 pthread_t threads[NTEST]; local
100 result = pthread_create (&threads[i], NULL, run_test_in_thread,
110 pthread_join(threads[j], NULL);
test-pthread.c 73 pthread_t threads[NTHR]; local
77 printf("Creating %d threads\n",NTHR);
83 result = pthread_create(&threads[i],NULL,run_test_in_thread,
94 pthread_join(threads[j],NULL);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_cs_tpool.h 48 thrd_t threads[LP_MAX_THREADS]; member in struct:lp_cs_tpool
lp_rast_priv.h 121 /** The scene currently being rasterized by the threads */
128 thrd_t threads[LP_MAX_THREADS]; member in struct:lp_rasterizer
130 /** For synchronizing the rasterization threads */
  /xsrc/external/mit/pixman/dist/test/
thread-test.c 7 printf ("Skipped thread-test - pthreads or Windows Threads not supported\n");
22 #define THREADS 16
151 uint32_t dest[THREADS * DEST_WIDTH];
152 info_t info[THREADS] = { { 0 } };
155 pthread_t threads[THREADS]; local
156 void *retvals[THREADS];
158 HANDLE hThreadArray[THREADS];
159 DWORD dwThreadIdArray[THREADS];
162 uint32_t crc32s[THREADS], crc32
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/util/
u_queue.h 208 simple_mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */
212 thrd_t *threads; member in struct:util_queue
216 unsigned num_threads; /* decreasing this number will terminate threads */
247 /* Adjust the number of active threads. The new number of threads can't be
248 * greater than the initial number of threads at the creation of the queue,
261 return queue->threads != NULL;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
lp_rast_priv.h 121 /** The scene currently being rasterized by the threads */
128 thrd_t threads[LP_MAX_THREADS]; member in struct:lp_rasterizer
130 /** For synchronizing the rasterization threads */
  /xsrc/external/mit/MesaLib.old/dist/src/util/
u_queue.h 204 mtx_t finish_lock; /* for util_queue_finish and protects threads/num_threads */
208 thrd_t *threads; member in struct:util_queue
212 unsigned num_threads; /* decreasing this number will terminate threads */
239 /* Adjust the number of active threads. The new number of threads can't be
240 * greater than the initial number of threads at the creation of the queue,
253 return queue->threads != NULL;
  /xsrc/external/mit/mesa-demos/dist/src/wgl/
sharedtex_mt.c 448 /* Wait for all threads to initialize otherwise wglShareLists will fail */
511 HANDLE threads[MAX_WINDOWS]; local
533 threads[i] = CreateThread(NULL, 0, threadRunner, &tia[i], 0, &id);
549 switch (MsgWaitForMultipleObjects(NumWindows, threads, TRUE, 1, QS_ALLINPUT)) {
wglthreads.c 31 * -n <num threads> Number of threads to create (default is 2)
46 * has input focus is signalled to change the texture. The other threads
348 /* tell all threads to exit */
407 * we'll call this once for each thread, before the threads are created.
510 /* Wait for all threads to initialize otherwise wglShareLists will fail */
527 printf(" -n NUMTHREADS Number of threads to create\n");
573 printf("wglthreads: Forcing single-threaded, no other threads will be created.\n");
593 HANDLE threads[MAX_WINTHREADS]; local
595 printf("wglthreads: creating threads\n")
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
sna_threads.c 54 } *threads; variable in typeref:struct:thread
61 /* Disable all signals in the slave threads as X uses them for IO */
150 DBG(("%s: creating a thread pool of %d threads\n",
153 threads = malloc (sizeof(threads[0])*max_threads);
154 if (threads == NULL)
158 pthread_mutex_init(&threads[n].mutex, NULL);
159 pthread_cond_init(&threads[n].cond, NULL);
161 threads[n].func = NULL;
162 threads[n].arg = NULL
    [all...]
sna_trapezoids.c 382 struct rasterize_traps_thread threads[num_threads]; local
385 threads[0].ptr = scratch->devPrivate.ptr;
386 threads[0].stride = scratch->devKind;
387 threads[0].traps = traps;
388 threads[0].ntrap = ntrap;
389 threads[0].bounds = bounds;
390 threads[0].format = format;
398 threads[n] = threads[0];
399 threads[n].ptr += (y - bounds.y1) * threads[n].stride
    [all...]
sna_trapezoids_mono.c 893 struct mono_span_thread threads[num_threads]; local
896 DBG(("%s: using %d threads for mono span compositing %dx%d\n",
901 threads[0].sna = mono.sna;
902 threads[0].op = &mono.op;
903 threads[0].traps = traps;
904 threads[0].ntrap = ntrap;
905 threads[0].extents = mono.clip.extents;
906 threads[0].clip = &mono.clip;
907 threads[0].dx = dx;
908 threads[0].dy = dy
    [all...]
sna_trapezoids_imprecise.c 1967 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1988 struct span_thread threads[num_threads]; local
1991 DBG(("%s: using %d threads for span compositing %dx%d\n",
1996 threads[0].sna = sna;
1997 threads[0].op = &tmp;
1998 threads[0].traps = traps;
1999 threads[0].ntrap = ntrap;
2000 threads[0].extents = clip.extents;
2001 threads[0].clip = &clip;
2002 threads[0].dx = dx
2762 struct inplace_x8r8g8b8_thread threads[num_threads]; local
3026 struct inplace_thread threads[num_threads]; local
3845 struct tristrip_thread threads[num_threads]; local
    [all...]
sna_trapezoids_precise.c 1912 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1933 struct span_thread threads[num_threads]; local
1936 DBG(("%s: using %d threads for span compositing %dx%d\n",
1941 threads[0].sna = sna;
1942 threads[0].op = &tmp;
1943 threads[0].traps = traps;
1944 threads[0].ntrap = ntrap;
1945 threads[0].extents = clip.extents;
1946 threads[0].clip = &clip;
1947 threads[0].dx = dx
2152 struct mask_thread threads[num_threads]; local
2772 struct inplace_x8r8g8b8_thread threads[num_threads]; local
3039 struct inplace_thread threads[num_threads]; local
3186 struct mask_thread threads[num_threads]; local
3450 struct tristrip_thread threads[num_threads]; local
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
sna_threads.c 54 } *threads; variable in typeref:struct:thread
61 /* Disable all signals in the slave threads as X uses them for IO */
150 DBG(("%s: creating a thread pool of %d threads\n",
153 threads = malloc (sizeof(threads[0])*max_threads);
154 if (threads == NULL)
158 pthread_mutex_init(&threads[n].mutex, NULL);
159 pthread_cond_init(&threads[n].cond, NULL);
161 threads[n].func = NULL;
162 threads[n].arg = NULL
    [all...]
sna_trapezoids.c 382 struct rasterize_traps_thread threads[num_threads]; local
385 threads[0].ptr = scratch->devPrivate.ptr;
386 threads[0].stride = scratch->devKind;
387 threads[0].traps = traps;
388 threads[0].ntrap = ntrap;
389 threads[0].bounds = bounds;
390 threads[0].format = format;
398 threads[n] = threads[0];
399 threads[n].ptr += (y - bounds.y1) * threads[n].stride
    [all...]
sna_trapezoids_mono.c 834 struct mono_span_thread threads[num_threads]; local
837 DBG(("%s: using %d threads for mono span compositing %dx%d\n",
842 threads[0].sna = mono.sna;
843 threads[0].op = &mono.op;
844 threads[0].traps = traps;
845 threads[0].ntrap = ntrap;
846 threads[0].extents = mono.clip.extents;
847 threads[0].clip = &mono.clip;
848 threads[0].dx = dx;
849 threads[0].dy = dy
    [all...]
sna_trapezoids_imprecise.c 1930 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1951 struct span_thread threads[num_threads]; local
1954 DBG(("%s: using %d threads for span compositing %dx%d\n",
1959 threads[0].sna = sna;
1960 threads[0].op = &tmp;
1961 threads[0].traps = traps;
1962 threads[0].ntrap = ntrap;
1963 threads[0].extents = clip.extents;
1964 threads[0].clip = &clip;
1965 threads[0].dx = dx
2799 struct inplace_x8r8g8b8_thread threads[num_threads]; local
3067 struct inplace_thread threads[num_threads]; local
3887 struct tristrip_thread threads[num_threads]; local
    [all...]
sna_trapezoids_precise.c 1874 DBG(("%s: using %d threads\n", __FUNCTION__, num_threads));
1895 struct span_thread threads[num_threads]; local
1898 DBG(("%s: using %d threads for span compositing %dx%d\n",
1903 threads[0].sna = sna;
1904 threads[0].op = &tmp;
1905 threads[0].traps = traps;
1906 threads[0].ntrap = ntrap;
1907 threads[0].extents = clip.extents;
1908 threads[0].clip = &clip;
1909 threads[0].dx = dx
2114 struct mask_thread threads[num_threads]; local
2813 struct inplace_x8r8g8b8_thread threads[num_threads]; local
3084 struct inplace_thread threads[num_threads]; local
3231 struct mask_thread threads[num_threads]; local
3496 struct tristrip_thread threads[num_threads]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_target.h 180 threads = info->prop.cp.numThreads[0] *
183 if (threads == 0)
184 threads = info->target >= NVISA_GK104_CHIPSET ? 1024 : 512;
186 threads = 32; // doesn't matter, just not too big.
264 uint32_t threads; member in class:nv50_ir::Target
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
nv50_ir_target.h 178 threads = info->prop.cp.numThreads[0] *
181 if (threads == 0)
182 threads = info->target >= NVISA_GK104_CHIPSET ? 1024 : 512;
184 threads = 32; // doesn't matter, just not too big.
262 uint32_t threads; member in class:nv50_ir::Target

Completed in 32 milliseconds

1 2