Searched refs:__len (Results 1 - 25 of 39) sorted by relevance

12

/external/stlport/stlport/stl/
H A D_tempbuf.c37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) argument
39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp)))
40 __len = INT_MAX / sizeof(_Tp);
42 while (__len > 0) {
43 _Tp* __tmp = (_Tp*) malloc((size_t)__len * sizeof(_Tp));
45 return pair<_Tp*, ptrdiff_t>(__tmp, __len);
46 __len /= 2;
H A D_heap.c112 _Distance __len, _Tp __val) {
115 while (__secondChild < __len) {
122 if (__secondChild == __len) {
147 _Distance __len, _Tp __val, _Compare __comp)
151 while (__secondChild < __len) {
161 if (__secondChild == __len) {
194 _Distance __len = __last - __first;
195 _Distance __parent = (__len - 2)/2;
198 __adjust_heap(__first, __parent, __len, _Tp(*(__first + __parent)));
220 _Distance __len
111 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __len, _Tp __val) argument
146 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, _Distance __len, _Tp __val, _Compare __comp) argument
[all...]
H A D_string.c200 size_type __len = _M_compute_next_size(__n); local
201 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len);
206 this->_M_reset(__new_start, __new_finish, __new_start + __len);
266 size_type __len = _M_compute_next_size(1); local
267 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len);
274 this->_M_reset(__new_start, __new_finish, __new_start + __len);
301 size_type __len = _M_compute_next_size(__n); local
302 pointer __new_start = this->_M_start_of_storage.allocate(__len, __le
358 size_type __len = _M_compute_next_size(__n); local
374 size_type __len = (size_type)(__last - __first); local
393 const difference_type __len = __last - __first; local
423 const size_t __len = size(); local
454 const size_type __len = size(); local
470 const size_type __len = size(); local
499 const size_type __len = size(); local
543 const size_type __len = size(); local
561 const size_type __len = size(); local
[all...]
H A D_tempbuf.h49 __get_temporary_buffer(ptrdiff_t __len, _Tp*);
54 inline pair<_Tp*, ptrdiff_t> _STLP_CALL get_temporary_buffer(ptrdiff_t __len) { argument
55 return __get_temporary_buffer(__len, (_Tp*) 0);
66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { argument
67 return __get_temporary_buffer(__len, (_Tp*) 0);
H A D_vector.c87 size_type __len = _M_compute_next_size(__fill_len); local
88 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len);
102 this->_M_end_of_storage.deallocate(__new_start,__len)))
104 _M_set(__new_start, __new_finish, __new_start + __len);
110 size_type __len = _M_compute_next_size(__fill_len); local
111 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len);
118 _M_set(__new_start, __new_finish, __new_start + __len);
188 size_type __len
[all...]
H A D_string_hash.h36 size_t __len = __s.size(); local
38 for ( size_t __i = 0; __i < __len; ++__i)
H A D_num_put.c148 __copy_integer_and_fill(const _CharT* __buf, ptrdiff_t __len, argument
152 if (__len >= __wid)
153 return _STLP_STD::copy(__buf, __buf + __len, __oi);
160 __STATIC_CAST(streamsize, __wid - __len)));
164 __oi = _STLP_STD::copy(__buf, __buf + __len, __oi);
167 else if (__dir == ios_base::internal && __len != 0 &&
171 return _STLP_STD::copy(__buf + 1, __buf + __len, __oi);
173 else if (__dir == ios_base::internal && __len >= 2 &&
179 return _STLP_STD::copy(__buf + 2, __buf + __len, __oi);
183 return _STLP_STD::copy(__buf, __buf + __len, __o
203 ptrdiff_t __len = __iend - __buf; local
235 ptrdiff_t __len = __iend - __buf; local
[all...]
H A D_rope.c106 size_t __len = _S_iterator_buf_len; local
112 if (__buf_start_pos + __len <= __pos) {
113 __buf_start_pos = __pos - __len/4;
114 if (__buf_start_pos + __len > __leaf_end) {
115 __buf_start_pos = __leaf_end - __len;
118 if (__buf_start_pos + __len > __leaf_end) {
119 __len = __leaf_end - __buf_start_pos;
121 (*__fn)(__buf_start_pos - __leaf_pos, __len, __x._M_tmp_buf._M_data);
124 __x._M_buf_end = __x._M_tmp_buf._M_data + __len;
212 size_t __len local
377 _S_leaf_concat_char_iter( _RopeLeaf* __r, const _CharT* __iter, size_t __len) argument
413 _S_destr_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len) argument
825 size_t __len = __end - __begin; local
897 _S_flatten(_RopeRep* __r, size_t __start, size_t __len, _CharT* __buffer) argument
[all...]
H A D_string_sum_methods.h109 const size_type __len = __old_size + (max)(__old_size, __s_size) + 1; local
110 pointer __new_start = this->_M_start_of_storage.allocate(__len);
115 this->_M_reset(__new_start, __new_finish, __new_start + __len);
133 const size_type __len = __old_size + (max)(__old_size, __s_size) + 1; local
134 pointer __new_start = this->_M_start_of_storage.allocate(__len);
139 this->_M_reset(__new_start, __new_finish, __new_start + __len);
H A D_heap.h50 _Distance __len, _Tp __val);
69 _Distance __len, _Tp __val, _Compare __comp);
H A D_string.h306 size_type __len = __size + (max)(__n, __size) + 1; local
307 if (__len > max_size() || __len < __size)
308 __len = max_size(); // overflow
309 return __len;
473 size_type __len = _M_compute_next_size(__n); local
474 pointer __new_start = this->_M_start_of_storage.allocate(__len, __len);
479 this->_M_reset(__new_start, __new_finish, __new_start + __len);
621 size_type __len local
625 __s._M_Start() + __beg, __s._M_Start() + __beg + __len, &__s == this); local
642 size_type __len = _Traits::length(__s); local
691 size_type __len = _M_compute_next_size(__n); local
817 const size_type __len = (min) (__n, __size - __pos); local
844 const size_type __len = (min) (__n1, __size - __pos); local
861 const size_type __len = (min) (__n1, __size - __pos); local
937 const size_type __len = (min) (__n, size() - __pos); local
[all...]
H A D_bvector.h404 size_type __len = size() ? 2 * size() : _STLP_WORD_BIT; local
405 __chunk_type* __q = this->_M_bit_alloc(__len);
410 this->_M_end_of_storage._M_data = __q + _Base::_M_bits_to_chunks(__len);
457 size_type __len = size() + (max)(size(), __n); local
458 __chunk_type* __q = this->_M_bit_alloc(__len);
463 this->_M_end_of_storage._M_data = __q + _Base::_M_bits_to_chunks(__len);
639 size_type __len = _STLP_STD::distance(__first, __last); local
640 if (__len < size())
730 size_type __len = size() + (max)(size(), __n); local
731 __chunk_type* __q = this->_M_bit_alloc(__len);
751 size_type __len = size() + (max)(size(), __n); local
772 size_type __len = size() + (max)(size(), __n); local
[all...]
H A D_slist.c106 void slist<_Tp,_Alloc>::resize(size_type __len, const _Tp& __x) { argument
108 while (__cur->_M_next != 0 && __len > 0) {
109 --__len;
115 _M_insert_after_fill(__cur, __len, __x);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/
H A Drbug_core.c43 uint32_t __len = 0; local
51 PAD(__len, 8);
53 __data = (uint8_t*)MALLOC(__len);
58 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
63 if (__pos != __len) {
66 rbug_connection_send_start(__con, RBUG_OP_NOOP, __len);
67 rbug_connection_write(__con, __data, __len);
78 uint32_t __len = 0; local
86 PAD(__len, 8);
88 __data = (uint8_t*)MALLOC(__len);
114 uint32_t __len = 0; local
152 uint32_t __len = 0; local
191 uint32_t __len = 0; local
[all...]
H A Drbug_context.c43 uint32_t __len = 0; local
51 PAD(__len, 8);
53 __data = (uint8_t*)MALLOC(__len);
58 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
63 if (__pos != __len) {
66 rbug_connection_send_start(__con, RBUG_OP_CONTEXT_LIST, __len);
67 rbug_connection_write(__con, __data, __len);
79 uint32_t __len = 0; local
88 PAD(__len, 8);
90 __data = (uint8_t*)MALLOC(__len);
118 uint32_t __len = 0; local
159 uint32_t __len = 0; local
200 uint32_t __len = 0; local
245 uint32_t __len = 0; local
293 uint32_t __len = 0; local
333 uint32_t __len = 0; local
382 uint32_t __len = 0; local
435 uint32_t __len = 0; local
[all...]
H A Drbug_shader.c44 uint32_t __len = 0; local
53 PAD(__len, 8);
55 __data = (uint8_t*)MALLOC(__len);
60 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
66 if (__pos != __len) {
69 rbug_connection_send_start(__con, RBUG_OP_SHADER_LIST, __len);
70 rbug_connection_write(__con, __data, __len);
83 uint32_t __len = 0; local
93 PAD(__len, 8);
95 __data = (uint8_t*)MALLOC(__len);
125 uint32_t __len = 0; local
170 uint32_t __len = 0; local
214 uint32_t __len = 0; local
259 uint32_t __len = 0; local
[all...]
H A Drbug_texture.c43 uint32_t __len = 0; local
51 PAD(__len, 8);
53 __data = (uint8_t*)MALLOC(__len);
58 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
63 if (__pos != __len) {
66 rbug_connection_send_start(__con, RBUG_OP_TEXTURE_LIST, __len);
67 rbug_connection_write(__con, __data, __len);
79 uint32_t __len = 0; local
88 PAD(__len, 8);
90 __data = (uint8_t*)MALLOC(__len);
127 uint32_t __len = 0; local
190 uint32_t __len = 0; local
244 uint32_t __len = 0; local
298 uint32_t __len = 0; local
365 uint32_t __len = 0; local
[all...]
H A Drbug_internal.h53 PAD(__len, size); \
54 __len += size; \
60 PAD(__len, size); \
61 __len += size * name##_len; \
/external/mesa3d/src/gallium/auxiliary/rbug/
H A Drbug_core.c43 uint32_t __len = 0; local
51 PAD(__len, 8);
53 __data = (uint8_t*)MALLOC(__len);
58 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
63 if (__pos != __len) {
66 rbug_connection_send_start(__con, RBUG_OP_NOOP, __len);
67 rbug_connection_write(__con, __data, __len);
78 uint32_t __len = 0; local
86 PAD(__len, 8);
88 __data = (uint8_t*)MALLOC(__len);
114 uint32_t __len = 0; local
152 uint32_t __len = 0; local
191 uint32_t __len = 0; local
[all...]
H A Drbug_context.c43 uint32_t __len = 0; local
51 PAD(__len, 8);
53 __data = (uint8_t*)MALLOC(__len);
58 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
63 if (__pos != __len) {
66 rbug_connection_send_start(__con, RBUG_OP_CONTEXT_LIST, __len);
67 rbug_connection_write(__con, __data, __len);
79 uint32_t __len = 0; local
88 PAD(__len, 8);
90 __data = (uint8_t*)MALLOC(__len);
118 uint32_t __len = 0; local
159 uint32_t __len = 0; local
200 uint32_t __len = 0; local
245 uint32_t __len = 0; local
293 uint32_t __len = 0; local
333 uint32_t __len = 0; local
382 uint32_t __len = 0; local
435 uint32_t __len = 0; local
[all...]
H A Drbug_shader.c44 uint32_t __len = 0; local
53 PAD(__len, 8);
55 __data = (uint8_t*)MALLOC(__len);
60 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
66 if (__pos != __len) {
69 rbug_connection_send_start(__con, RBUG_OP_SHADER_LIST, __len);
70 rbug_connection_write(__con, __data, __len);
83 uint32_t __len = 0; local
93 PAD(__len, 8);
95 __data = (uint8_t*)MALLOC(__len);
125 uint32_t __len = 0; local
170 uint32_t __len = 0; local
214 uint32_t __len = 0; local
259 uint32_t __len = 0; local
[all...]
H A Drbug_texture.c43 uint32_t __len = 0; local
51 PAD(__len, 8);
53 __data = (uint8_t*)MALLOC(__len);
58 WRITE(4, uint32_t, ((uint32_t)(__len / 4)));
63 if (__pos != __len) {
66 rbug_connection_send_start(__con, RBUG_OP_TEXTURE_LIST, __len);
67 rbug_connection_write(__con, __data, __len);
79 uint32_t __len = 0; local
88 PAD(__len, 8);
90 __data = (uint8_t*)MALLOC(__len);
127 uint32_t __len = 0; local
190 uint32_t __len = 0; local
244 uint32_t __len = 0; local
298 uint32_t __len = 0; local
365 uint32_t __len = 0; local
[all...]
H A Drbug_internal.h53 PAD(__len, size); \
54 __len += size; \
60 PAD(__len, size); \
61 __len += size * name##_len; \
/external/bison/lib/
H A Dobstack.h286 int __len = (length); \
287 if (__o->chunk_limit - __o->next_free < __len) \
288 _obstack_newchunk (__o, __len); \
302 int __len = (length); \
303 if (__o->next_free + __len > __o->chunk_limit) \
304 _obstack_newchunk (__o, __len); \
305 memcpy (__o->next_free, where, __len); \
306 __o->next_free += __len; \
312 int __len = (length); \
313 if (__o->next_free + __len
[all...]
/external/compiler-rt/SDKs/linux/usr/include/sys/
H A Dmman.h44 extern int mprotect (void *__addr, size_t __len, int __prot)

Completed in 704 milliseconds

12