Home
last modified time | relevance | path

Searched refs:_repr (Results 1 – 3 of 3) sorted by relevance

/src/contrib/kyua/utils/fs/
H A Dpath.cpp91 _repr(normalize(text)) in path()
102 return _repr.c_str(); in c_str()
112 return _repr; in str()
124 const std::string::size_type end_pos = _repr.rfind('/'); in branch_path()
130 return fs::path(_repr.substr(0, end_pos)); in branch_path()
140 const std::string::size_type beg_pos = _repr.rfind('/'); in leaf_name()
143 return _repr; in leaf_name()
145 return _repr.substr(beg_pos + 1); in leaf_name()
166 return _repr[0] == '/'; in is_absolute()
194 if (_repr == "/") in ncomponents()
[all …]
H A Dpath.hpp57 std::string _repr; member in utils::fs::path
/src/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c893 #define NV_WRITE_INT(_widen, _repr, _swap) do { \ in bhnd_nvram_sprom_write_offset() argument
895 scratch._repr[1] = (_widen)value; \ in bhnd_nvram_sprom_write_offset()
899 scratch._repr[1] <<= shift; \ in bhnd_nvram_sprom_write_offset()
901 scratch._repr[1] >>= -shift; \ in bhnd_nvram_sprom_write_offset()
902 scratch._repr[1] &= mask; \ in bhnd_nvram_sprom_write_offset()
905 scratch._repr[1] = _swap(scratch._repr[1]); \ in bhnd_nvram_sprom_write_offset()
909 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
919 scratch._repr[0] &= ~_swap(mask << shift); \ in bhnd_nvram_sprom_write_offset()
921 scratch._repr[0] &= ~_swap(mask >> (-shift)); \ in bhnd_nvram_sprom_write_offset()
922 scratch._repr[0] |= scratch._repr[1]; \ in bhnd_nvram_sprom_write_offset()
[all …]