Home
last modified time | relevance | path

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

/external/libcxx/include/
D__locale1286 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const;
1295 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1297 for (; __nb < __ne; ++__nb, ++__s)
1298 *__s = *__nb;
1315 operator()(_OutputIterator __s, const char* __nb, const char* __ne) const
1319 while (__nb < __ne && __r != error)
1324 const char* __nn = __nb;
1325 __r = do_in(__mb, __nb, __ne - __nb > __sz ? __nb+__sz : __ne, __nn,
1327 if (__r == codecvt_base::error || __nn == __nb)
1331 __nb = __nn;
[all …]
Ddeque2361 size_type __nb = __recommend_blocks(__n + __base::__map_.empty());
2364 __back_capacity = _VSTD::min(__back_capacity, __nb); // don't take more than you need
2365 __nb -= __back_capacity; // number of blocks need to allocate
2366 // If __nb == 0, then we have sufficient capacity.
2367 if (__nb == 0)
2377 // Else if __nb <= __map_.capacity() - __map_.size() then we need to allocate __nb buffers
2378 else if (__nb <= __base::__map_.capacity() - __base::__map_.size())
2382 … for (; __nb > 0; --__nb, __base::__start_ += __base::__block_size - (__base::__map_.size() == 1))
2388 for (; __nb > 0; --__nb, ++__back_capacity)
2399 // Else need to allocate __nb buffers, *and* we need to reallocate __map_.
[all …]
Dlocale1059 static char* __identify_padding(char* __nb, char* __ne,
1067 static void __widen_and_group_int(char* __nb, char* __np, char* __ne,
1070 static void __widen_and_group_float(char* __nb, char* __np, char* __ne,
1077 __num_put<_CharT>::__widen_and_group_int(char* __nb, char* __np, char* __ne,
1086 __ct.widen(__nb, __ne, __ob);
1087 __oe = __ob + (__ne - __nb);
1092 char* __nf = __nb;
1118 reverse(__ob + (__nf - __nb), __oe);
1123 __op = __ob + (__np - __nb);
1128 __num_put<_CharT>::__widen_and_group_float(char* __nb, char* __np, char* __ne,
[all …]
/external/libcxx/src/
Dlocale.cpp4484 __num_put_base::__identify_padding(char* __nb, char* __ne, in __identify_padding() argument
4490 if (__nb[0] == '-' || __nb[0] == '+') in __identify_padding()
4491 return __nb+1; in __identify_padding()
4492 if (__ne - __nb >= 2 && __nb[0] == '0' in __identify_padding()
4493 && (__nb[1] == 'x' || __nb[1] == 'X')) in __identify_padding()
4494 return __nb+2; in __identify_padding()
4502 return __nb; in __identify_padding()
5428 __time_put::__do_put(char* __nb, char*& __ne, const tm* __tm, in __do_put() argument
5434 size_t n = strftime_l(__nb, countof(__nb, __ne), fmt, __tm, __loc_); in __do_put()
5435 __ne = __nb + n; in __do_put()
[all …]