Searched defs:attr (Results 1 - 25 of 803) sorted by relevance

1234567891011>>

/external/bison/lib/
H A Dspawnattr_destroy.c24 posix_spawnattr_destroy (posix_spawnattr_t *attr) argument
H A Dspawnattr_init.c26 posix_spawnattr_init (posix_spawnattr_t *attr) argument
30 memset (attr, '\0', sizeof (*attr));
H A Dspawnattr_setflags.c35 posix_spawnattr_setflags (posix_spawnattr_t *attr, short int flags) argument
42 attr->_flags = flags;
H A Dspawnattr_setsigmask.c26 posix_spawnattr_setsigmask (posix_spawnattr_t *attr, argument
30 memcpy (&attr->_ss, sigmask, sizeof (sigset_t));
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_attr_destroy.c42 pthread_attr_destroy (pthread_attr_t * attr) argument
49 * attr
57 * 1) Does not affect threads created with 'attr'.
60 * 0 successfully destroyed attr,
61 * EINVAL 'attr' is invalid.
66 if (ptw32_is_attr (attr) != 0)
74 (*attr)->valid = 0;
75 free (*attr);
76 *attr = NULL;
H A Dptw32_is_attr.c41 ptw32_is_attr (const pthread_attr_t * attr) argument
43 /* Return 0 if the attr object is valid, non-zero otherwise. */
45 return (attr == NULL ||
46 *attr == NULL || (*attr)->valid != PTW32_ATTR_VALID);
H A Dpthread_attr_getdetachstate.c42 pthread_attr_getdetachstate (const pthread_attr_t * attr, int *detachstate) argument
47 * 'attr' will run detached.
50 * attr
67 * 'attr' will run detached.
74 * EINVAL 'attr' is invalid
79 if (ptw32_is_attr (attr) != 0 || detachstate == NULL)
84 *detachstate = (*attr)->detachstate;
H A Dpthread_attr_getinheritsched.c42 pthread_attr_getinheritsched (const pthread_attr_t * attr, int *inheritsched) argument
44 if (ptw32_is_attr (attr) != 0 || inheritsched == NULL)
49 *inheritsched = (*attr)->inheritsched;
H A Dpthread_attr_getschedparam.c42 pthread_attr_getschedparam (const pthread_attr_t * attr, argument
45 if (ptw32_is_attr (attr) != 0 || param == NULL)
50 memcpy (param, &(*attr)->param, sizeof (*param));
H A Dpthread_attr_getschedpolicy.c42 pthread_attr_getschedpolicy (const pthread_attr_t * attr, int *policy) argument
44 if (ptw32_is_attr (attr) != 0 || policy == NULL)
H A Dpthread_attr_getscope.c46 pthread_attr_getscope (const pthread_attr_t * attr, int *contentionscope) argument
49 *contentionscope = (*attr)->contentionscope;
H A Dpthread_attr_getstackaddr.c46 pthread_attr_getstackaddr (const pthread_attr_t * attr, void **stackaddr) argument
51 * on which threads created with 'attr' will run.
54 * attr
63 * on which threads created with 'attr' will run.
76 * EINVAL 'attr' is invalid
84 if (ptw32_is_attr (attr) != 0)
89 *stackaddr = (*attr)->stackaddr;
H A Dpthread_attr_getstacksize.c46 pthread_attr_getstacksize (const pthread_attr_t * attr, size_t * stacksize) argument
51 * which threads created with 'attr' will run.
54 * attr
64 * which threads created with 'attr' will run.
77 * EINVAL 'attr' is invalid
85 if (ptw32_is_attr (attr) != 0)
91 *stacksize = (*attr)->stacksize;
H A Dpthread_attr_init.c42 pthread_attr_init (pthread_attr_t * attr) argument
50 * attr
62 * 0 successfully initialized attr,
63 * ENOMEM insufficient memory for attr.
70 if (attr == NULL)
114 *attr = attr_result;
H A Dpthread_attr_setdetachstate.c42 pthread_attr_setdetachstate (pthread_attr_t * attr, int detachstate) argument
47 * 'attr' will run detached.
50 * attr
66 * 'attr' will run detached.
73 * EINVAL 'attr' or 'detachstate' is invalid
78 if (ptw32_is_attr (attr) != 0)
89 (*attr)->detachstate = detachstate;
H A Dpthread_attr_setinheritsched.c42 pthread_attr_setinheritsched (pthread_attr_t * attr, int inheritsched) argument
44 if (ptw32_is_attr (attr) != 0)
55 (*attr)->inheritsched = inheritsched;
H A Dpthread_attr_setschedparam.c42 pthread_attr_setschedparam (pthread_attr_t * attr, argument
47 if (ptw32_is_attr (attr) != 0 || param == NULL)
61 memcpy (&(*attr)->param, param, sizeof (*param));
H A Dpthread_attr_setschedpolicy.c42 pthread_attr_setschedpolicy (pthread_attr_t * attr, int policy) argument
44 if (ptw32_is_attr (attr) != 0)
H A Dpthread_attr_setscope.c46 pthread_attr_setscope (pthread_attr_t * attr, int contentionscope) argument
52 (*attr)->contentionscope = contentionscope;
H A Dpthread_attr_setstackaddr.c42 pthread_attr_setstackaddr (pthread_attr_t * attr, void *stackaddr) argument
46 * Threads created with 'attr' will run on the stack
51 * attr
59 * Threads created with 'attr' will run on the stack
76 * EINVAL 'attr' is invalid
84 if (ptw32_is_attr (attr) != 0)
89 (*attr)->stackaddr = stackaddr;
H A Dpthread_attr_setstacksize.c42 pthread_attr_setstacksize (pthread_attr_t * attr, size_t stacksize) argument
47 * which threads created with 'attr' will run.
50 * attr
59 * which threads created with 'attr' will run.
76 * EINVAL 'attr' is invalid or stacksize too
95 if (ptw32_is_attr (attr) != 0)
101 (*attr)->stacksize = stacksize;
H A Dpthread_barrierattr_destroy.c42 pthread_barrierattr_destroy (pthread_barrierattr_t * attr) argument
50 * attr
59 * 1) Does not affect barrieres created using 'attr'
62 * 0 successfully released attr,
63 * EINVAL 'attr' is invalid.
70 if (attr == NULL || *attr == NULL)
76 pthread_barrierattr_t ba = *attr;
78 *attr = NULL;
H A Dpthread_barrierattr_getpshared.c42 pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr, argument
47 * Determine whether barriers created with 'attr' can be
51 * attr
65 * Mutexes creatd with 'attr' can be shared between
77 * EINVAL 'attr' is invalid,
84 if ((attr != NULL && *attr != NULL) && (pshared != NULL))
86 *pshared = (*attr)->pshared;
H A Dpthread_barrierattr_init.c42 pthread_barrierattr_init (pthread_barrierattr_t * attr) argument
50 * attr
62 * 0 successfully initialized attr,
63 * ENOMEM insufficient memory for attr.
82 *attr = ba;
H A Dpthread_barrierattr_setpshared.c42 pthread_barrierattr_setpshared (pthread_barrierattr_t * attr, int pshared) argument
46 * Barriers created with 'attr' can be shared between
51 * attr
64 * Mutexes creatd with 'attr' can be shared between
78 * EINVAL 'attr' or pshared is invalid,
86 if ((attr != NULL && *attr != NULL) &&
110 (*attr)->pshared = pshared;

Completed in 196 milliseconds

1234567891011>>