Home
last modified time | relevance | path

Searched refs:__nb (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/include/
D__locale1330 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const;
1339 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1341 for (; __nb < __ne; ++__nb, ++__s)
1342 *__s = *__nb;
1359 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1363 while (__nb < __ne && __r != error)
1368 const char* __nn = __nb;
1369 __r = do_in(__mb, __nb, __ne - __nb > __sz ? __nb+__sz : __ne, __nn,
1371 if (__r == codecvt_base::error || __nn == __nb)
1375 __nb = __nn;
[all …]
Ddeque2371 size_type __nb = __recommend_blocks(__n + __base::__map_.empty());
2374 __back_capacity = _VSTD::min(__back_capacity, __nb); // don't take more than you need
2375 __nb -= __back_capacity; // number of blocks need to allocate
2376 // If __nb == 0, then we have sufficient capacity.
2377 if (__nb == 0)
2387 // Else if __nb <= __map_.capacity() - __map_.size() then we need to allocate __nb buffers
2388 else if (__nb <= __base::__map_.capacity() - __base::__map_.size())
2392 … for (; __nb > 0; --__nb, __base::__start_ += __base::__block_size - (__base::__map_.size() == 1))
2398 for (; __nb > 0; --__nb, ++__back_capacity)
2409 // Else need to allocate __nb buffers, *and* we need to reallocate __map_.
[all …]
Dlocale1113 static char* __identify_padding(char* __nb, char* __ne,
1121 static void __widen_and_group_int(char* __nb, char* __np, char* __ne,
1124 static void __widen_and_group_float(char* __nb, char* __np, char* __ne,
1131 __num_put<_CharT>::__widen_and_group_int(char* __nb, char* __np, char* __ne,
1140 __ct.widen(__nb, __ne, __ob);
1141 __oe = __ob + (__ne - __nb);
1146 char* __nf = __nb;
1172 reverse(__ob + (__nf - __nb), __oe);
1177 __op = __ob + (__np - __nb);
1182 __num_put<_CharT>::__widen_and_group_float(char* __nb, char* __np, char* __ne,
[all …]
/external/libcxx/src/
Dlocale.cpp4496 __num_put_base::__identify_padding(char* __nb, char* __ne, in __identify_padding() argument
4502 if (__nb[0] == '-' || __nb[0] == '+') in __identify_padding()
4503 return __nb+1; in __identify_padding()
4504 if (__ne - __nb >= 2 && __nb[0] == '0' in __identify_padding()
4505 && (__nb[1] == 'x' || __nb[1] == 'X')) in __identify_padding()
4506 return __nb+2; in __identify_padding()
4514 return __nb; in __identify_padding()
5440 __time_put::__do_put(char* __nb, char*& __ne, const tm* __tm, in __do_put() argument
5446 size_t n = strftime_l(__nb, countof(__nb, __ne), fmt, __tm, __loc_); in __do_put()
5447 __ne = __nb + n; in __do_put()
[all …]