/bionic/libc/bionic/ |
pthread_attr.cpp | 39 int pthread_attr_init(pthread_attr_t* attr) { 40 attr->flags = 0; 41 attr->stack_base = NULL; 42 attr->stack_size = DEFAULT_THREAD_STACK_SIZE; 43 attr->guard_size = PAGE_SIZE; 44 attr->sched_policy = SCHED_NORMAL; 45 attr->sched_priority = 0; 49 int pthread_attr_destroy(pthread_attr_t* attr) { 50 memset(attr, 0x42, sizeof(pthread_attr_t)); 54 int pthread_attr_setdetachstate(pthread_attr_t* attr, int state) [all...] |
/external/elfutils/libdw/ |
dwarf_formref_die.c | 59 dwarf_formref_die (attr, die_mem) 60 Dwarf_Attribute *attr; 63 if (attr == NULL) 67 if (attr->form == DW_FORM_ref_addr) 71 uint8_t ref_size = (attr->cu->version == 2 72 ? attr->cu->address_size 73 : attr->cu->offset_size); 76 offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp); 78 offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp) [all...] |
dwarf_formsdata.c | 60 dwarf_formsdata (attr, return_sval) 61 Dwarf_Attribute *attr; 64 if (attr == NULL) 69 switch (attr->form) 72 *return_sval = *attr->valp; 76 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 80 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 84 *return_sval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp) [all...] |
dwarf_formudata.c | 60 dwarf_formudata (attr, return_uval) 61 Dwarf_Attribute *attr; 64 if (attr == NULL) 69 switch (attr->form) 72 *return_uval = *attr->valp; 76 *return_uval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 80 *return_uval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 84 *return_uval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp) [all...] |
dwarf_formflag.c | 60 dwarf_formflag (attr, return_bool) 61 Dwarf_Attribute *attr; 64 if (attr == NULL) 67 if (unlikely (attr->form != DW_FORM_flag)) 73 *return_bool = *attr->valp != 0;
|
dwarf_attr_integrate.c | 65 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, search_name, result); local 66 if (attr != NULL) 67 return attr; 69 attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, result); 70 if (attr == NULL) 71 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, result); 72 if (attr == NULL) 75 die = INTUSE(dwarf_formref_die) (attr, &die_mem);
|
/external/valgrind/main/drd/tests/ |
pth_mutex_reinit.c | 15 pthread_mutexattr_t attr; local 17 pthread_mutexattr_init(&attr); 18 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL); 19 pthread_mutex_init(&m, &attr); 20 pthread_mutexattr_destroy(&attr); 24 pthread_mutexattr_init(&attr); 25 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); 26 pthread_mutex_init(&m, &attr); 27 pthread_mutexattr_destroy(&attr);
|
pth_process_shared_mutex.c | 16 pthread_mutexattr_t attr; local 18 pthread_mutexattr_init(&attr); 19 pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED); 20 pthread_mutex_init(&mutex, &attr); 21 pthread_mutexattr_destroy(&attr);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
pthread_attr_getschedparam.c | 42 pthread_attr_getschedparam (const pthread_attr_t * attr, 45 if (ptw32_is_attr (attr) != 0 || param == NULL) 50 memcpy (param, &(*attr)->param, sizeof (*param));
|
pthread_attr_getstackaddr.c | 46 pthread_attr_getstackaddr (const pthread_attr_t * attr, void **stackaddr) 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;
|
pthread_attr_getstacksize.c | 46 pthread_attr_getstacksize (const pthread_attr_t * attr, size_t * stacksize) 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;
|
pthread_attr_setdetachstate.c | 42 pthread_attr_setdetachstate (pthread_attr_t * attr, int detachstate) 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;
|
pthread_attr_setinheritsched.c | 42 pthread_attr_setinheritsched (pthread_attr_t * attr, int inheritsched) 44 if (ptw32_is_attr (attr) != 0) 55 (*attr)->inheritsched = inheritsched;
|
pthread_attr_setstacksize.c | 42 pthread_attr_setstacksize (pthread_attr_t * attr, size_t stacksize) 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;
|
pthread_attr_getschedpolicy.c | 42 pthread_attr_getschedpolicy (const pthread_attr_t * attr, int *policy) 44 if (ptw32_is_attr (attr) != 0 || policy == NULL)
|
pthread_attr_getscope.c | 46 pthread_attr_getscope (const pthread_attr_t * attr, int *contentionscope) 49 *contentionscope = (*attr)->contentionscope;
|
pthread_barrierattr_setpshared.c | 42 pthread_barrierattr_setpshared (pthread_barrierattr_t * attr, int pshared) 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;
|
/external/chromium_org/third_party/skia/include/svg/ |
SkSVGAttribute.h | 27 #define SVG_ATTRIBUTE(attr) { #attr, SK_OFFSETOF(BASE_CLASS, f_##attr) } 30 #define SVG_ATTRIBUTE(attr) { #attr } 34 #define SVG_ADD_ATTRIBUTE(attr) \ 35 if (f_##attr.size() > 0) \ 36 parser._addAttributeLen(#attr, f_##attr.c_str(), f_##attr.size() [all...] |
/external/skia/include/svg/ |
SkSVGAttribute.h | 27 #define SVG_ATTRIBUTE(attr) { #attr, SK_OFFSETOF(BASE_CLASS, f_##attr) } 30 #define SVG_ATTRIBUTE(attr) { #attr } 34 #define SVG_ADD_ATTRIBUTE(attr) \ 35 if (f_##attr.size() > 0) \ 36 parser._addAttributeLen(#attr, f_##attr.c_str(), f_##attr.size() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cd.py | 22 for attr in cdattrs: 24 print 'touching: ', attr 25 getattr(cd, attr)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cd.py | 22 for attr in cdattrs: 24 print 'touching: ', attr 25 getattr(cd, attr)
|
/external/elfutils/tests/ |
run-show-abbrev.sh | 33 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0 34 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2 35 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4 36 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6 37 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8 38 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10 39 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12 41 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19 42 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21 43 abbrev[19]: attr[2]: code = 3, form = 8, offset = 2 [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
apple_visual.c | 71 CGLPixelFormatAttribute attr[MAX_ATTR]; local 78 attr[numattr++] = kCGLPFAOpenGLProfile; 79 attr[numattr++] = kCGLOGLPVersion_3_2_Core; 86 attr[numattr++] = kCGLPFAOffScreen; 87 attr[numattr++] = kCGLPFAColorSize; 88 attr[numattr++] = 32; 93 attr[numattr++] = kCGLPFARendererID; 94 attr[numattr++] = kCGLRendererGenericFloatID; 101 attr[numattr++] = kCGLPFAAccelerated; 109 attr[numattr++] = kCGLPFAClosestPolicy [all...] |
/external/mesa3d/src/glx/apple/ |
apple_visual.c | 71 CGLPixelFormatAttribute attr[MAX_ATTR]; local 78 attr[numattr++] = kCGLPFAOpenGLProfile; 79 attr[numattr++] = kCGLOGLPVersion_3_2_Core; 86 attr[numattr++] = kCGLPFAOffScreen; 87 attr[numattr++] = kCGLPFAColorSize; 88 attr[numattr++] = 32; 93 attr[numattr++] = kCGLPFARendererID; 94 attr[numattr++] = kCGLRendererGenericFloatID; 101 attr[numattr++] = kCGLPFAAccelerated; 109 attr[numattr++] = kCGLPFAClosestPolicy [all...] |
/external/bison/lib/ |
spawnattr_destroy.c | 24 posix_spawnattr_destroy (posix_spawnattr_t *attr)
|