Searched refs:mmaped (Results 1 - 18 of 18) sorted by relevance

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/
H A D1-1.c155 /* We will place the child pid in a mmaped file */
157 void * mmaped; local
177 mmaped = mmap(NULL, sysconf(_SC_PAGESIZE), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
178 if (mmaped == MAP_FAILED)
181 /* Set the sharedpid pointer to this mmaped area */
182 sharedpid = (pid_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_exit/
H A D6-1.c205 /* We will place the test data in a mmaped file */
208 void * mmaped; local
237 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
238 if (mmaped == MAP_FAILED)
241 ctl = (int *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_trylock/
H A D1-2.c200 /* We will place the test data in a mmaped file */
203 void * mmaped; local
232 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
233 if (mmaped == MAP_FAILED)
236 td = (testdata_t *) mmaped;
H A D2-1.c180 /* We will place the test data in a mmaped file */
183 void * mmaped; local
212 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
213 if (mmaped == MAP_FAILED)
216 td = (testdata_t *) mmaped;
H A D4-2.c201 /* We will place the test data in a mmaped file */
204 void * mmaped; local
233 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
234 if (mmaped == MAP_FAILED)
237 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/
H A D1-2.c309 /* We will place the test data in a mmaped file */
312 void * mmaped; local
342 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
343 if (mmaped == MAP_FAILED)
346 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_timedwait/
H A D2-4.c307 /* We will place the test data in a mmaped file */
310 void * mmaped; local
339 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
340 if (mmaped == MAP_FAILED)
343 td = (testdata_t *) mmaped;
H A D2-7.c313 /* We will place the test data in a mmaped file */
316 void * mmaped; local
345 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
346 if (mmaped == MAP_FAILED)
349 td = (testdata_t *) mmaped;
H A D4-2.c256 /* We will place the test data in a mmaped file */
259 void * mmaped; local
288 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
289 if (mmaped == MAP_FAILED)
292 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_wait/
H A D2-2.c292 /* We will place the test data in a mmaped file */
295 void * mmaped; local
324 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
325 if (mmaped == MAP_FAILED)
328 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_timedwait/
H A Dstress1.c399 /* We will place the test data in a mmaped file */
402 void * mmaped; local
432 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
433 if (mmaped == MAP_FAILED)
436 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/stress/threads/pthread_cond_wait/
H A Dstress1.c389 /* We will place the test data in a mmaped file */
392 void * mmaped; local
422 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
423 if (mmaped == MAP_FAILED)
426 td = (testdata_t *) mmaped;
/haiku-fatelf/src/system/libroot/posix/glibc/locale/
H A Dlocaleinfo.h52 int mmaped; /* If nonzero the data is mmaped. */ member in struct:locale_data
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/
H A D1-2.c344 /* We will place the test data in a mmaped file */
347 void * mmaped; local
377 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
378 if (mmaped == MAP_FAILED)
381 td = (testdata_t *) mmaped;
H A D2-3.c335 /* We will place the test data in a mmaped file */
338 void * mmaped; local
368 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
369 if (mmaped == MAP_FAILED)
372 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/
H A D2-1.c346 /* We will place the test data in a mmaped file */
349 void * mmaped; local
379 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
380 if (mmaped == MAP_FAILED)
383 td = (testdata_t *) mmaped;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/
H A D1-3.c618 void * mmaped; local
651 mmaped = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
652 if (mmaped == MAP_FAILED)
655 gd = (globaldata_t *) mmaped;
839 ret = munmap(mmaped, sz);
/haiku-fatelf/headers/private/libroot/locale/
H A DLocaleBackend.h60 int mmaped; member in struct:BPrivate::Libroot::LocaleNumericDataBridge::GlibcNumericLocale

Completed in 153 milliseconds