/system/extras/tests/bionic/libc/other/ |
test_thread_max.c | 43 pthread_attr_t attr; local 45 pthread_attr_init(&attr); 46 pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_DETACHED ); 47 pthread_attr_setstacksize( &attr, 16*4096 ); 53 if (pthread_create( &thread, &attr, thread_func, (void*)(long)count ) < 0) {
|
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/ |
SDL_QuartzGL.m | 67 NSOpenGLPixelFormatAttribute attr[32]; 80 attr[i++] = NSOpenGLPFAFullScreen; 88 attr[i++] = NSOpenGLPFAColorSize; 89 attr[i++] = colorBits; 91 attr[i++] = NSOpenGLPFADepthSize; 92 attr[i++] = this->gl_config.depth_size; 95 attr[i++] = NSOpenGLPFADoubleBuffer; 99 attr[i++] = NSOpenGLPFAStereo; 103 attr[i++] = NSOpenGLPFAStencilSize; 104 attr[i++] = this->gl_config.stencil_size [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/share/gdb/python/gdb/ |
prompt.py | 26 def _prompt_object_attr(func, what, attr, nattr): 28 if attr is None: 29 attr = nattr 34 if hasattr(obj, attr): 35 result = getattr(obj, attr) 40 return '<no attribute %s on current %s>' % (attr, what) 42 def _prompt_frame(attr): 44 return _prompt_object_attr(gdb.selected_frame, 'frame', attr, 'name') 46 def _prompt_thread(attr): 48 return _prompt_object_attr(gdb.selected_thread, 'thread', attr, 'num' [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/share/gdb/python/gdb/ |
prompt.py | 26 def _prompt_object_attr(func, what, attr, nattr): 28 if attr is None: 29 attr = nattr 34 if hasattr(obj, attr): 35 result = getattr(obj, attr) 40 return '<no attribute %s on current %s>' % (attr, what) 42 def _prompt_frame(attr): 44 return _prompt_object_attr(gdb.selected_frame, 'frame', attr, 'name') 46 def _prompt_thread(attr): 48 return _prompt_object_attr(gdb.selected_thread, 'thread', attr, 'num' [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_vs_ppc.c | 104 uint attr; local 107 for (attr = 0; attr < base->info.num_inputs; attr++) { 112 if (attr==0) 114 vert, attr, vIn[0], vIn[1], vIn[2], vIn[3]); 116 inputs_soa[attr][0][vert] = vIn[attr * 4 + 0]; 117 inputs_soa[attr][1][vert] = vIn[attr * 4 + 1] [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs_ppc.c | 104 uint attr; local 107 for (attr = 0; attr < base->info.num_inputs; attr++) { 112 if (attr==0) 114 vert, attr, vIn[0], vIn[1], vIn[2], vIn[3]); 116 inputs_soa[attr][0][vert] = vIn[attr * 4 + 0]; 117 inputs_soa[attr][1][vert] = vIn[attr * 4 + 1] [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
x509_att.c | 122 X509_ATTRIBUTE *attr) 141 if ((new_attr=X509_ATTRIBUTE_dup(attr)) == NULL) 160 X509_ATTRIBUTE *attr; local 162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); 163 if(!attr) return 0; 164 ret = X509at_add1_attr(x, attr); 165 X509_ATTRIBUTE_free(attr); 173 X509_ATTRIBUTE *attr; local 175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); 176 if(!attr) return 0 186 X509_ATTRIBUTE *attr; local [all...] |
/external/openssl/crypto/x509/ |
x509_att.c | 122 X509_ATTRIBUTE *attr) 141 if ((new_attr=X509_ATTRIBUTE_dup(attr)) == NULL) 160 X509_ATTRIBUTE *attr; local 162 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); 163 if(!attr) return 0; 164 ret = X509at_add1_attr(x, attr); 165 X509_ATTRIBUTE_free(attr); 173 X509_ATTRIBUTE *attr; local 175 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); 176 if(!attr) return 0 186 X509_ATTRIBUTE *attr; local [all...] |
/external/elfutils/tests/ |
show-die-info.c | 272 Dwarf_Attribute attr; local 277 if (dwarf_attr (die, DW_AT_low_pc, &attr) == NULL 278 || dwarf_formaddr (&attr, &addr2) != 0 281 else if (! dwarf_hasform (&attr, DW_FORM_addr)) 283 else if (dwarf_whatform (&attr) != DW_FORM_addr) 285 else if (dwarf_whatattr (&attr) != DW_AT_low_pc) 286 puts ("************* DW_AT_low_pc attr failed ************"); 290 Dwarf_Attribute attr; local 294 if (dwarf_attr (die, DW_AT_high_pc, &attr) == NULL 295 || dwarf_formaddr (&attr, &addr2) != 308 Dwarf_Attribute attr; local 336 Dwarf_Attribute attr; local 365 Dwarf_Attribute attr; local 394 Dwarf_Attribute attr; local 424 Dwarf_Attribute attr; local 453 Dwarf_Attribute attr; local 463 Dwarf_Attribute attr; local [all...] |
/external/chromium_org/tools/deep_memory_profiler/tests/ |
range_dict_tests.py | 44 for begin, end, attr in ranges.iter_range(20, 40): 45 result.append({'begin': begin, 'end':end, 'attr':attr.get()}) 47 {'begin': 20, 'end': 40, 'attr': 0}, 55 for begin, end, attr in ranges.iter_range(20, 20): 56 result.append({'begin': begin, 'end':end, 'attr':attr.get()}) 62 for begin, end, attr in ranges.iter_range(20, 30): 63 attr.set(12) 64 for begin, end, attr in ranges.iter_range(30, 40) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyDrawParams.java | 73 public void updateParams(final int keyHeight, final KeyVisualAttributes attr) { 74 if (attr == null) { 78 if (attr.mTypeface != null) { 79 mTypeface = attr.mTypeface; 83 attr.mLetterSize, attr.mLetterRatio, mLetterSize); 85 attr.mLabelSize, attr.mLabelRatio, mLabelSize); 86 mLargeLabelSize = selectTextSize(keyHeight, attr.mLargeLabelRatio, mLargeLabelSize); 87 mLargeLetterSize = selectTextSize(keyHeight, attr.mLargeLetterRatio, mLargeLetterSize) [all...] |
/external/elfutils/libdw/ |
dwarf_getattrs.c | 96 Dwarf_Attribute attr; 100 get_uleb128 (attr.code, attrp); 101 get_uleb128 (attr.form, attrp); 104 if (attr.code == 0 && attr.form == 0) 112 attr.valp = (unsigned char *) die_addr; 113 attr.cu = die->cu; 116 if (callback (&attr, arg) != DWARF_CB_OK) 123 if (attr.form != 0) 125 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form [all...] |
/external/valgrind/main/drd/tests/ |
pth_detached.c | 43 pthread_attr_t attr; local 48 pthread_attr_init(&attr); 49 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 50 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 52 pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + 4096); 58 pthread_create(&thread, &attr, thread_func1, NULL); 61 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); 62 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 67 pthread_create(&thread, &attr, thread_func2, NULL); 69 pthread_attr_destroy(&attr); [all...] |
pth_detached_sem.c | 48 pthread_attr_t attr; local 55 pthread_attr_init(&attr); 56 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 57 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 59 pthread_attr_setstacksize(&attr, 16384); 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); 68 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); 69 assert(pthread_attr_getdetachstate(&attr, &detachstate) == 0); 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]); 76 pthread_attr_destroy(&attr); [all...] |
recursive_mutex.c | 39 pthread_mutexattr_t attr; local 42 pthread_mutexattr_init(&attr); 43 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); 44 pthread_mutex_init(&m, &attr); 45 pthread_mutexattr_destroy(&attr); 53 pthread_mutexattr_t attr; local 56 pthread_mutexattr_init(&attr); 57 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP); 58 pthread_mutex_init(&m, &attr); 59 pthread_mutexattr_destroy(&attr); [all...] |
/system/extras/tests/bionic/libc/common/ |
test_pthread_rwlock.c | 110 static void do_test_rwlock_rd1(pthread_rwlockattr_t *attr) 115 TZERO(pthread_rwlock_init(lock, attr)); 121 static void do_test_rwlock_wr1(pthread_rwlockattr_t *attr) 126 TZERO(pthread_rwlock_init(lock, attr)); 132 static void set_rwlockattr_shared(pthread_rwlockattr_t *attr, int shared) 135 TZERO(pthread_rwlockattr_setpshared(attr, shared)); 137 TZERO(pthread_rwlockattr_getpshared(attr, &newshared)); 145 pthread_rwlockattr_t attr[1]; local 152 TZERO(pthread_rwlockattr_init(attr)); 154 set_rwlockattr_shared(attr, PTHREAD_PROCESS_PRIVATE) 208 pthread_rwlockattr_t attr[1]; local 322 pthread_rwlockattr_t attr[1]; local [all...] |
/development/ndk/sources/android/libportable/arch-mips/ |
pthread.c | 71 PTHREAD_WRAPPER(pthread_attr_init, (pthread_attr_t *attr), (attr), "(attr:%p)"); 73 PTHREAD_WRAPPER(pthread_attr_destroy, (pthread_attr_t *attr), (attr), "(attr:%p)"); 75 PTHREAD_WRAPPER(pthread_attr_setdetachstate, (pthread_attr_t *attr, int state), (attr, state), 76 "(attr:%p, state:%d)"); 78 PTHREAD_WRAPPER(pthread_attr_getdetachstate, (pthread_attr_t const *attr, int *state) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlelement.cc | 93 XmlAttr* attr; local 96 for (attr = elt.first_attr_; attr; attr = attr->NextAttr()) { 97 newAttr = new XmlAttr(*attr); 175 const std::string XmlElement::Attr(const StaticQName& name) const { 176 XmlAttr* attr; local 177 for (attr = first_attr_; attr; attr = attr->next_attr_) 185 XmlAttr* attr; local 194 XmlAttr* attr; local 203 XmlAttr* attr; local 212 XmlAttr* attr; local 230 XmlAttr* attr; local 466 XmlAttr* attr; local 498 XmlAttr* attr; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_draw_feedback.c | 113 GLuint attr, i; local 149 for (attr = 1; attr < vp->num_inputs; attr++) { 150 const GLubyte *start = arrays[vp->index_to_input[attr]]->Ptr; 158 for (attr = 0; attr < vp->num_inputs; attr++) { 159 const GLuint mesaAttr = vp->index_to_input[attr]; 171 vbuffers[attr].buffer = NULL [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_draw_feedback.c | 113 GLuint attr, i; local 149 for (attr = 1; attr < vp->num_inputs; attr++) { 150 const GLubyte *start = arrays[vp->index_to_input[attr]]->Ptr; 158 for (attr = 0; attr < vp->num_inputs; attr++) { 159 const GLuint mesaAttr = vp->index_to_input[attr]; 171 vbuffers[attr].buffer = NULL [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec_eval.c | 36 static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr ) 38 assert(attr < Elements(exec->eval.map1)); 39 exec->eval.map1[attr].map = NULL; 42 static void clear_active_eval2( struct vbo_exec_context *exec, GLuint attr ) 44 assert(attr < Elements(exec->eval.map2)); 45 exec->eval.map2[attr].map = NULL; 48 static void set_active_eval1( struct vbo_exec_context *exec, GLuint attr, GLuint dim, 51 assert(attr < Elements(exec->eval.map1)); 52 if (!exec->eval.map1[attr].map) { 53 exec->eval.map1[attr].map = map 71 GLuint attr; local 144 GLuint attr; local 189 GLuint attr; local [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_eval.c | 36 static void clear_active_eval1( struct vbo_exec_context *exec, GLuint attr ) 38 assert(attr < Elements(exec->eval.map1)); 39 exec->eval.map1[attr].map = NULL; 42 static void clear_active_eval2( struct vbo_exec_context *exec, GLuint attr ) 44 assert(attr < Elements(exec->eval.map2)); 45 exec->eval.map2[attr].map = NULL; 48 static void set_active_eval1( struct vbo_exec_context *exec, GLuint attr, GLuint dim, 51 assert(attr < Elements(exec->eval.map1)); 52 if (!exec->eval.map1[attr].map) { 53 exec->eval.map1[attr].map = map 71 GLuint attr; local 144 GLuint attr; local 189 GLuint attr; local [all...] |
/external/chromium_org/third_party/libusb/src/libusb/os/ |
threads_posix.c | 33 int usbi_mutex_init_recursive(pthread_mutex_t *mutex, pthread_mutexattr_t *attr) 37 if (!attr) { 38 attr = &stack_attr; 45 err = pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE); 49 err = pthread_mutex_init(mutex, attr); 52 if (attr == &stack_attr)
|
/bionic/libc/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |
/development/ndk/platforms/android-9/include/ |
pthread.h | 114 int pthread_attr_init(pthread_attr_t * attr); 115 int pthread_attr_destroy(pthread_attr_t * attr); 117 int pthread_attr_setdetachstate(pthread_attr_t * attr, int state); 118 int pthread_attr_getdetachstate(pthread_attr_t const * attr, int * state); 120 int pthread_attr_setschedpolicy(pthread_attr_t * attr, int policy); 121 int pthread_attr_getschedpolicy(pthread_attr_t const * attr, int * policy); 123 int pthread_attr_setschedparam(pthread_attr_t * attr, struct sched_param const * param); 124 int pthread_attr_getschedparam(pthread_attr_t const * attr, struct sched_param * param); 126 int pthread_attr_setstacksize(pthread_attr_t * attr, size_t stack_size); 127 int pthread_attr_getstacksize(pthread_attr_t const * attr, size_t * stack_size) [all...] |