Home
last modified time | relevance | path

Searched refs:npos (Results 1 – 25 of 50) sorted by relevance

12

/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/experimental/bits/
Dstring_view.tcc57 return __pos <= this->_M_len ? __pos : npos; in find()
67 return npos; in find()
75 size_type __ret = npos; in find()
103 return npos; in rfind()
120 return npos; in rfind()
136 return npos; in find_first_of()
157 return npos; in find_last_of()
169 return npos; in find_first_not_of()
180 return npos; in find_first_not_of()
201 return npos; in find_last_not_of()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
Dstring_view.tcc53 return __pos <= this->_M_len ? __pos : npos; in find()
63 return npos; in find()
71 size_type __ret = npos; in find()
99 return npos; in rfind()
116 return npos; in rfind()
133 return npos; in find_first_of()
155 return npos; in find_last_of()
168 return npos; in find_first_not_of()
179 return npos; in find_first_not_of()
201 return npos; in find_last_not_of()
[all …]
Dbasic_string.h101 static const size_type npos = static_cast<size_type>(-1); in _GLIBCXX_VISIBILITY() local
456 _M_construct(__start, __start + __str._M_limit(__pos, npos)); in _GLIBCXX_VISIBILITY()
516 { _M_construct(__s, __s ? __s + traits_type::length(__s) : __s+npos); } in _GLIBCXX_VISIBILITY()
1238 append(const basic_string& __str, size_type __pos, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1335 append(const _Tp& __svt, size_type __pos, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1403 assign(const basic_string& __str, size_type __pos, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1507 assign(const _Tp& __svt, size_type __pos, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1655 size_type __pos2, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1773 size_type __pos2, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1798 erase(size_type __pos = 0, size_type __n = npos) in _GLIBCXX_VISIBILITY()
[all …]
Dbasic_string.tcc54 basic_string<_CharT, _Traits, _Alloc>::npos; member in std::basic_string<_CharT, _Traits, _Alloc>
491 _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4;
500 basic_string<_CharT, _Traits, _Alloc>::npos;
628 __str._M_data() + __str._M_limit(__pos, npos)
665 __s + npos, __a), __a)
1195 return __pos <= __size ? __pos : npos; in find()
1197 return npos; in find()
1210 return npos; in find()
1218 return npos; in find()
1226 size_type __ret = npos; in find()
[all …]
/dragonfly/usr.bin/cut/
HDcut.c214 static size_t npos; in needpos() local
218 if (n > npos) { in needpos()
219 oldnpos = npos; in needpos()
220 if (npos == 0) in needpos()
221 npos = n; in needpos()
222 while (n > npos) in needpos()
223 npos *= 2; in needpos()
224 if ((positions = realloc(positions, npos)) == NULL) in needpos()
226 memset((char *)positions + oldnpos, 0, npos - oldnpos); in needpos()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/
Dvstring.tcc44 __versa_string<_CharT, _Traits, _Alloc, _Base>::npos; member in __gnu_cxx::__versa_string<_CharT, _Traits, _Alloc, _Base>
277 return __pos <= __size ? __pos : npos; in find()
287 return npos; in find()
296 size_type __ret = npos; in find()
328 return npos; in rfind()
346 return npos; in rfind()
363 return npos; in find_first_of()
385 return npos; in find_last_of()
398 return npos; in find_first_not_of()
410 return npos; in find_first_not_of()
[all …]
Dvstring.h81 static const size_type npos = static_cast<size_type>(-1); in _GLIBCXX_VISIBILITY() local
177 size_type __n = npos) in _GLIBCXX_VISIBILITY()
219 __s + npos, __a) { } in _GLIBCXX_VISIBILITY()
1173 erase(size_type __pos = 0, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1738 rfind(const __versa_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1768 rfind(const _CharT* __s, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1785 rfind(_CharT __c, size_type __pos = npos) const _GLIBCXX_NOEXCEPT; in _GLIBCXX_VISIBILITY()
1862 find_last_of(const __versa_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1892 find_last_of(const _CharT* __s, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1911 find_last_of(_CharT __c, size_type __pos = npos) const _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/
Dvstring.tcc45 __versa_string<_CharT, _Traits, _Alloc, _Base>::npos; member in __gnu_cxx::__versa_string<_CharT, _Traits, _Alloc, _Base>
277 return __pos <= __size ? __pos : npos; in find()
287 return npos; in find()
296 size_type __ret = npos; in find()
328 return npos; in rfind()
346 return npos; in rfind()
363 return npos; in find_first_of()
385 return npos; in find_last_of()
398 return npos; in find_first_not_of()
410 return npos; in find_first_not_of()
[all …]
Dvstring.h82 static const size_type npos = static_cast<size_type>(-1); in _GLIBCXX_VISIBILITY() local
182 size_type __n = npos) in _GLIBCXX_VISIBILITY()
224 __s + npos, __a) { } in _GLIBCXX_VISIBILITY()
1096 erase(size_type __pos = 0, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1595 rfind(const __versa_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1625 rfind(const _CharT* __s, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1642 rfind(_CharT __c, size_type __pos = npos) const _GLIBCXX_NOEXCEPT; in _GLIBCXX_VISIBILITY()
1719 find_last_of(const __versa_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1749 find_last_of(const _CharT* __s, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1768 find_last_of(_CharT __c, size_type __pos = npos) const _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
Dbasic_string.tcc53 _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4;
62 basic_string<_CharT, _Traits, _Alloc>::npos; member in std::basic_string<_CharT, _Traits, _Alloc>
217 __s + npos, __a), __a) in basic_string()
746 return __pos <= __size ? __pos : npos; in find()
756 return npos; in find()
764 size_type __ret = npos; in find()
795 return npos; in rfind()
812 return npos; in rfind()
827 return npos; in find_first_of()
848 return npos; in find_last_of()
[all …]
Dbasic_string.h282 static const size_type npos = static_cast<size_type>(-1); in _GLIBCXX_VISIBILITY()
460 size_type __n = npos); in _GLIBCXX_VISIBILITY()
1359 erase(size_type __pos = 0, size_type __n = npos) in _GLIBCXX_VISIBILITY()
1888 rfind(const basic_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1918 rfind(const _CharT* __s, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
1935 rfind(_CharT __c, size_type __pos = npos) const _GLIBCXX_NOEXCEPT; in _GLIBCXX_VISIBILITY()
2013 find_last_of(const basic_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
2043 find_last_of(const _CharT* __s, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
2062 find_last_of(_CharT __c, size_type __pos = npos) const _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
2139 find_last_not_of(const basic_string& __str, size_type __pos = npos) const in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/experimental/
Dstring_view91 static constexpr size_type npos = size_type(-1);
168 return (npos - sizeof(size_type) - sizeof(void*))
276 substr(size_type __pos = 0, size_type __n = npos) const
337 rfind(basic_string_view __str, size_type __pos = npos) const noexcept
341 rfind(_CharT __c, size_type __pos = npos) const noexcept;
347 rfind(const _CharT* __str, size_type __pos = npos) const noexcept
367 size_type __pos = npos) const noexcept
371 find_last_of(_CharT __c, size_type __pos=npos) const noexcept
378 find_last_of(const _CharT* __str, size_type __pos = npos) const noexcept
402 size_type __pos = npos) const noexcept
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
Dstring_view88 static constexpr size_type npos = size_type(-1);
159 return (npos - sizeof(size_type) - sizeof(void*))
245 substr(size_type __pos = 0, size_type __n = npos) const noexcept(false)
304 rfind(basic_string_view __str, size_type __pos = npos) const noexcept
308 rfind(_CharT __c, size_type __pos = npos) const noexcept;
314 rfind(const _CharT* __str, size_type __pos = npos) const noexcept
334 size_type __pos = npos) const noexcept
338 find_last_of(_CharT __c, size_type __pos=npos) const noexcept
346 find_last_of(const _CharT* __str, size_type __pos = npos) const noexcept
370 size_type __pos = npos) const noexcept
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/debug/
Dstring70 using _Base::npos;
83 : _Base(__str, 0, _Base::npos, __str.get_allocator())
89 size_type __n = _Base::npos,
555 erase(size_type __pos = 0, size_type __n = _Base::npos)
757 rfind(const basic_string& __str, size_type __pos = _Base::npos) const
769 rfind(const _CharT* __s, size_type __pos = _Base::npos) const
776 rfind(_CharT __c, size_type __pos = _Base::npos) const _GLIBCXX_NOEXCEPT
804 size_type __pos = _Base::npos) const _GLIBCXX_NOEXCEPT
815 find_last_of(const _CharT* __s, size_type __pos = _Base::npos) const
822 find_last_of(_CharT __c, size_type __pos = _Base::npos) const
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/debug/
Dstring75 using _Base::npos;
122 size_type __n = _Base::npos,
590 erase(size_type __pos = 0, size_type __n = _Base::npos)
800 rfind(const basic_string& __str, size_type __pos = _Base::npos) const
812 rfind(const _CharT* __s, size_type __pos = _Base::npos) const
819 rfind(_CharT __c, size_type __pos = _Base::npos) const _GLIBCXX_NOEXCEPT
847 size_type __pos = _Base::npos) const _GLIBCXX_NOEXCEPT
858 find_last_of(const _CharT* __s, size_type __pos = _Base::npos) const
865 find_last_of(_CharT __c, size_type __pos = _Base::npos) const
894 size_type __pos = _Base::npos) const
[all …]
/dragonfly/contrib/mdocml/
HDroff.c1256 int npos; /* position in numeric expression */ in roff_expand() local
1547 npos = esct[1] - '1'; in roff_expand()
1548 if (npos >= 0 && npos <= 8) { in roff_expand()
1549 res = npos < ctx->argc ? in roff_expand()
1550 ctx->argv[npos] : ""; in roff_expand()
1563 for (npos = 0; npos < ctx->argc; npos++) { in roff_expand()
1564 if (npos) in roff_expand()
1568 asz += strlen(ctx->argv[npos]); in roff_expand()
1582 for (npos = 0; npos < ctx->argc; npos++) { in roff_expand()
1583 if (npos) in roff_expand()
[all …]
/dragonfly/contrib/binutils-2.27/gold/
HDversion.cc56 if (pos != std::string::npos) in print_version()
HDmain.cc100 if (slash != std::string::npos) in write_debug_script()
/dragonfly/contrib/binutils-2.34/gold/
HDversion.cc56 if (pos != std::string::npos) in print_version()
HDmain.cc100 if (slash != std::string::npos) in write_debug_script()
/dragonfly/bin/pax/
HDtables.h165 off_t npos; /* position in file where this dir name starts */ member
HDtables.c1130 if ((dblk.npos = lseek(dirfd, 0L, SEEK_CUR)) < 0) { in add_dir()
1180 if (lseek(dirfd, dblk.npos, SEEK_SET) < 0) in proc_dir()
1184 if (lseek(dirfd, dblk.npos, SEEK_SET) < 0) in proc_dir()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/profile/
Dbitset68 __n = (std::basic_string<_CharT, _Traits, _Alloc>::npos))
89 = std::basic_string<_CharT>::npos,
/dragonfly/contrib/wpa_supplicant/src/ap/
HDdrv_callbacks.c548 u8 *npos; in hostapd_notif_assoc() local
550 npos = owe_assoc_req_process(hapd, sta, in hostapd_notif_assoc()
554 if (npos) in hostapd_notif_assoc()
555 p = npos; in hostapd_notif_assoc()
556 if (!npos && in hostapd_notif_assoc()
564 if (!npos || reason != WLAN_STATUS_SUCCESS) in hostapd_notif_assoc()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/profile/
Dbitset114 __n = (std::basic_string<_CharT, _Traits, _Alloc>::npos))
135 = std::basic_string<_CharT>::npos,

12