Home
last modified time | relevance | path

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

/external/libcxx/include/
D__locale1278 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const;
1287 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1289 for (; __nb < __ne; ++__nb, ++__s)
1290 *__s = *__nb;
1307 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1311 while (__nb < __ne && __r != error)
1316 const char* __nn = __nb;
1317 __r = do_in(__mb, __nb, __ne - __nb > __sz ? __nb+__sz : __ne, __nn,
1319 if (__r == codecvt_base::error || __nn == __nb)
1323 __nb = __nn;
[all …]
Ddeque2324 size_type __nb = __recommend_blocks(__n + __base::__map_.empty());
2327 __back_capacity = _VSTD::min(__back_capacity, __nb); // don't take more than you need
2328 __nb -= __back_capacity; // number of blocks need to allocate
2329 // If __nb == 0, then we have sufficient capacity.
2330 if (__nb == 0)
2340 // Else if __nb <= __map_.capacity() - __map_.size() then we need to allocate __nb buffers
2341 else if (__nb <= __base::__map_.capacity() - __base::__map_.size())
2345 … for (; __nb > 0; --__nb, __base::__start_ += __base::__block_size - (__base::__map_.size() == 1))
2351 for (; __nb > 0; --__nb, ++__back_capacity)
2362 // Else need to allocate __nb buffers, *and* we need to reallocate __map_.
[all …]
Dlocale1212 static char* __identify_padding(char* __nb, char* __ne,
1220 static void __widen_and_group_int(char* __nb, char* __np, char* __ne,
1223 static void __widen_and_group_float(char* __nb, char* __np, char* __ne,
1230 __num_put<_CharT>::__widen_and_group_int(char* __nb, char* __np, char* __ne,
1239 __ct.widen(__nb, __ne, __ob);
1240 __oe = __ob + (__ne - __nb);
1245 char* __nf = __nb;
1271 reverse(__ob + (__nf - __nb), __oe);
1276 __op = __ob + (__np - __nb);
1281 __num_put<_CharT>::__widen_and_group_float(char* __nb, char* __np, char* __ne,
[all …]
/external/libcxx/src/
Dlocale.cpp4502 __num_put_base::__identify_padding(char* __nb, char* __ne, in __identify_padding() argument
4508 if (__nb[0] == '-' || __nb[0] == '+') in __identify_padding()
4509 return __nb+1; in __identify_padding()
4510 if (__ne - __nb >= 2 && __nb[0] == '0' in __identify_padding()
4511 && (__nb[1] == 'x' || __nb[1] == 'X')) in __identify_padding()
4512 return __nb+2; in __identify_padding()
4520 return __nb; in __identify_padding()
5482 __time_put::__do_put(char* __nb, char*& __ne, const tm* __tm, in __do_put() argument
5488 size_t n = strftime_l(__nb, countof(__nb, __ne), fmt, __tm, __loc_); in __do_put()
5489 __ne = __nb + n; in __do_put()
[all …]