diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 13f84424ed9975f6827d9786087c6fe6ea265cda (patch) | |
tree | b94acc282c49a5de96b9e3e19feead21736f3273 /library/cpp | |
parent | 35f29a67a6b8e50e1826c837330086049114c5ba (diff) | |
download | ydb-13f84424ed9975f6827d9786087c6fe6ea265cda.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
53 files changed, 118 insertions, 118 deletions
diff --git a/library/cpp/archive/yarchive.cpp b/library/cpp/archive/yarchive.cpp index 1becc3e5da..fdd53a3b0c 100644 --- a/library/cpp/archive/yarchive.cpp +++ b/library/cpp/archive/yarchive.cpp @@ -1,10 +1,10 @@ #include "yarchive.h" #include <util/generic/algorithm.h> -#include <util/generic/hash.h> +#include <util/generic/hash.h> #include <util/generic/utility.h> -#include <util/generic/vector.h> -#include <util/generic/yexception.h> +#include <util/generic/vector.h> +#include <util/generic/yexception.h> #include <util/memory/blob.h> #include <util/memory/tempbuf.h> #include <util/stream/input.h> diff --git a/library/cpp/archive/yarchive.h b/library/cpp/archive/yarchive.h index 8120bcb940..048bb64d22 100644 --- a/library/cpp/archive/yarchive.h +++ b/library/cpp/archive/yarchive.h @@ -3,7 +3,7 @@ #include "models_archive_reader.h" #include <util/generic/fwd.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> class IInputStream; diff --git a/library/cpp/cgiparam/cgiparam.h b/library/cpp/cgiparam/cgiparam.h index 87d1ab0ad4..74ecb2b43d 100644 --- a/library/cpp/cgiparam/cgiparam.h +++ b/library/cpp/cgiparam/cgiparam.h @@ -3,7 +3,7 @@ #include <library/cpp/iterator/iterate_values.h> #include <util/generic/iterator_range.h> -#include <util/generic/map.h> +#include <util/generic/map.h> #include <util/generic/strbuf.h> #include <util/generic/string.h> diff --git a/library/cpp/charset/codepage_ut.cpp b/library/cpp/charset/codepage_ut.cpp index c3ac3ac478..4c6021c569 100644 --- a/library/cpp/charset/codepage_ut.cpp +++ b/library/cpp/charset/codepage_ut.cpp @@ -5,7 +5,7 @@ #include <library/cpp/testing/unittest/registar.h> #include <util/charset/utf8.h> -#include <util/system/yassert.h> +#include <util/system/yassert.h> #if defined(_MSC_VER) #pragma warning(disable : 4309) /*truncation of constant value*/ diff --git a/library/cpp/charset/ya.make b/library/cpp/charset/ya.make index 7565566bf0..fa404b14e2 100644 --- a/library/cpp/charset/ya.make +++ b/library/cpp/charset/ya.make @@ -1,22 +1,22 @@ LIBRARY() OWNER(alzobnin) - -SRCS( + +SRCS( generated/cp_data.cpp generated/encrec_data.cpp - codepage.cpp - cp_encrec.cpp + codepage.cpp + cp_encrec.cpp doccodes.cpp iconv.cpp recyr.hh recyr_int.hh ci_string.cpp wide.cpp -) - +) + PEERDIR( contrib/libs/libiconv ) -END() +END() diff --git a/library/cpp/containers/atomizer/atomizer.h b/library/cpp/containers/atomizer/atomizer.h index 5e40f47ab9..b37e68ede7 100644 --- a/library/cpp/containers/atomizer/atomizer.h +++ b/library/cpp/containers/atomizer/atomizer.h @@ -2,8 +2,8 @@ #include <library/cpp/containers/str_map/str_map.h> -#include <util/generic/vector.h> -#include <util/generic/utility.h> +#include <util/generic/vector.h> +#include <util/generic/utility.h> #include <utility> #include <cstdio> diff --git a/library/cpp/containers/comptrie/comptrie_trie.h b/library/cpp/containers/comptrie/comptrie_trie.h index 40ec1e52b3..6e3167e896 100644 --- a/library/cpp/containers/comptrie/comptrie_trie.h +++ b/library/cpp/containers/comptrie/comptrie_trie.h @@ -562,7 +562,7 @@ TCompactTrieHolder<T, D, S>::TCompactTrieHolder(IInputStream& is, size_t len) : Storage(new char[len]) { if (is.Load(Storage.Get(), len) != len) { - ythrow yexception() << "bad data load"; + ythrow yexception() << "bad data load"; } TBase::Init(Storage.Get(), len); } diff --git a/library/cpp/containers/comptrie/comptrie_ut.cpp b/library/cpp/containers/comptrie/comptrie_ut.cpp index 74bee09b5d..a28ea2322b 100644 --- a/library/cpp/containers/comptrie/comptrie_ut.cpp +++ b/library/cpp/containers/comptrie/comptrie_ut.cpp @@ -7,7 +7,7 @@ #include <util/charset/wide.h> #include <util/generic/algorithm.h> #include <util/generic/buffer.h> -#include <util/generic/map.h> +#include <util/generic/map.h> #include <util/generic/vector.h> #include <util/generic/ptr.h> #include <util/generic/ylimits.h> diff --git a/library/cpp/containers/str_map/str_map.h b/library/cpp/containers/str_map/str_map.h index 31b00d1b99..58b365d5bd 100644 --- a/library/cpp/containers/str_map/str_map.h +++ b/library/cpp/containers/str_map/str_map.h @@ -1,8 +1,8 @@ #pragma once #include <util/memory/segmented_string_pool.h> -#include <util/generic/map.h> -#include <util/generic/hash.h> +#include <util/generic/map.h> +#include <util/generic/hash.h> #include <util/generic/buffer.h> #include <util/str_stl.h> // less<> and equal_to<> for const char* #include <utility> diff --git a/library/cpp/coroutine/listener/listen.cpp b/library/cpp/coroutine/listener/listen.cpp index 3d4e711d1d..d925a2d4b4 100644 --- a/library/cpp/coroutine/listener/listen.cpp +++ b/library/cpp/coroutine/listener/listen.cpp @@ -5,7 +5,7 @@ #include <util/network/ip.h> #include <util/network/address.h> -#include <util/generic/ylimits.h> +#include <util/generic/ylimits.h> #include <util/generic/intrlist.h> using namespace NAddr; @@ -110,7 +110,7 @@ private: C_ = Parent_->E_->Create<TOneSocketListener, &TOneSocketListener::Run>(this, "listen_job"); } } - + inline const IRemoteAddr* Addr() const noexcept { return Addr_.Get(); } @@ -259,9 +259,9 @@ public: if (it != L_.End()) { delete &*it; - } + } } - + private: TContExecutor* const E_; ICallBack* const Cb_; @@ -318,14 +318,14 @@ void TContListener::Bind(const TNetworkAddress& addr) { void TContListener::Stop() noexcept { Impl_.Destroy(); } - + void TContListener::StopListenAddr(const IRemoteAddr& addr) { CheckImpl(Impl_)->StopListenAddr(addr); -} - +} + void TContListener::StopListenAddr(const TIpAddress& addr) { return StopListenAddr(TIPv4Addr(addr)); -} +} void TContListener::StopListenAddr(const TNetworkAddress& addr) { for (TNetworkAddress::TIterator it = addr.Begin(); it != addr.End(); ++it) { diff --git a/library/cpp/coroutine/listener/listen.h b/library/cpp/coroutine/listener/listen.h index 3a89cd3ecc..ae4d67c1cf 100644 --- a/library/cpp/coroutine/listener/listen.h +++ b/library/cpp/coroutine/listener/listen.h @@ -1,6 +1,6 @@ #pragma once -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <util/generic/ylimits.h> struct TIpAddress; @@ -112,7 +112,7 @@ public: void StopListenAddr(const NAddr::IRemoteAddr& addr); void StopListenAddr(const TIpAddress& addr); void StopListenAddr(const TNetworkAddress& addr); - + template <class T> inline void StartListenAddr(const T& addr) { Bind(addr); diff --git a/library/cpp/deprecated/kmp/kmp.cpp b/library/cpp/deprecated/kmp/kmp.cpp index d02074c94a..d3ca452e4e 100644 --- a/library/cpp/deprecated/kmp/kmp.cpp +++ b/library/cpp/deprecated/kmp/kmp.cpp @@ -1,6 +1,6 @@ #include "kmp.h" -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> TKMPMatcher::TKMPMatcher(const char* patternBegin, const char* patternEnd) : Pattern(patternBegin, patternEnd) diff --git a/library/cpp/deprecated/kmp/kmp.h b/library/cpp/deprecated/kmp/kmp.h index a7f72eece6..757d15fa8d 100644 --- a/library/cpp/deprecated/kmp/kmp.h +++ b/library/cpp/deprecated/kmp/kmp.h @@ -1,8 +1,8 @@ #pragma once -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <util/generic/string.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> #include <util/generic/yexception.h> template <typename T> diff --git a/library/cpp/deprecated/mapped_file/mapped_file.h b/library/cpp/deprecated/mapped_file/mapped_file.h index 45859ed65a..460080ab12 100644 --- a/library/cpp/deprecated/mapped_file/mapped_file.h +++ b/library/cpp/deprecated/mapped_file/mapped_file.h @@ -1,9 +1,9 @@ #pragma once #include <util/generic/flags.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <util/generic/string.h> -#include <util/generic/utility.h> +#include <util/generic/utility.h> #include <util/generic/yexception.h> #include <util/system/align.h> #include <util/system/file.h> diff --git a/library/cpp/deprecated/mapped_file/ut/mapped_file_ut.cpp b/library/cpp/deprecated/mapped_file/ut/mapped_file_ut.cpp index afbd5b3358..786e82e479 100644 --- a/library/cpp/deprecated/mapped_file/ut/mapped_file_ut.cpp +++ b/library/cpp/deprecated/mapped_file/ut/mapped_file_ut.cpp @@ -15,4 +15,4 @@ Y_UNIT_TEST_SUITE(TMappedFileTest) { NFs::Remove(FileName_); } -}; +}; diff --git a/library/cpp/deprecated/split/split_iterator.h b/library/cpp/deprecated/split/split_iterator.h index 0eacc29228..558b905d55 100644 --- a/library/cpp/deprecated/split/split_iterator.h +++ b/library/cpp/deprecated/split/split_iterator.h @@ -6,11 +6,11 @@ #include <util/string/builder.h> #include <util/system/yassert.h> -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/strbuf.h> #include <util/generic/string.h> -#include <util/generic/vector.h> -#include <util/generic/yexception.h> +#include <util/generic/vector.h> +#include <util/generic/yexception.h> #include <cstdio> diff --git a/library/cpp/digest/old_crc/crc.h b/library/cpp/digest/old_crc/crc.h index 4a3ce6d05e..5088fed403 100644 --- a/library/cpp/digest/old_crc/crc.h +++ b/library/cpp/digest/old_crc/crc.h @@ -1,6 +1,6 @@ #pragma once -#include <util/system/defaults.h> +#include <util/system/defaults.h> #define CRC16INIT 0 #define CRC32INIT 0 diff --git a/library/cpp/digest/sfh/sfh.h b/library/cpp/digest/sfh/sfh.h index 372938654c..288552c8f3 100644 --- a/library/cpp/digest/sfh/sfh.h +++ b/library/cpp/digest/sfh/sfh.h @@ -1,6 +1,6 @@ #pragma once -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/system/unaligned_mem.h> inline ui32 SuperFastHash(const void* d, size_t l) noexcept { diff --git a/library/cpp/execprofile/profile.cpp b/library/cpp/execprofile/profile.cpp index d05de20203..7001cd73a1 100644 --- a/library/cpp/execprofile/profile.cpp +++ b/library/cpp/execprofile/profile.cpp @@ -15,8 +15,8 @@ #include <dlfcn.h> #include <util/system/platform.h> -#include <util/generic/hash.h> -#include <util/generic/map.h> +#include <util/generic/hash.h> +#include <util/generic/map.h> #include <util/generic/noncopyable.h> #include <util/generic/algorithm.h> #include <util/generic/vector.h> diff --git a/library/cpp/getopt/small/opt2.cpp b/library/cpp/getopt/small/opt2.cpp index 0cdc774e78..f5913e9238 100644 --- a/library/cpp/getopt/small/opt2.cpp +++ b/library/cpp/getopt/small/opt2.cpp @@ -2,8 +2,8 @@ #include <util/generic/hash.h> #include <util/generic/utility.h> -#include <util/generic/yexception.h> -#include <util/str_stl.h> +#include <util/generic/yexception.h> +#include <util/str_stl.h> #include <stdio.h> #include <errno.h> @@ -37,7 +37,7 @@ void Opt2::EatArgv(const char* optspec, const char* long_alias) { optspec++; } if (*optspec == '-') - ythrow yexception() << "Flag '-' can not be used in Opt2's optspec"; + ythrow yexception() << "Flag '-' can not be used in Opt2's optspec"; // step 1 - parse optspec for (const char* s = optspec; *s; s++) { if (SpecsMap[(ui8)*s]) @@ -50,7 +50,7 @@ void Opt2::EatArgv(const char* optspec, const char* long_alias) { if (s[1] == ':') { Specs.back().HasArg = true; if (s[2] == ':') - ythrow yexception() << "Opt2 does not accept optional parameters (e.g. \"a::\") in optspec"; + ythrow yexception() << "Opt2 does not accept optional parameters (e.g. \"a::\") in optspec"; s++; } } diff --git a/library/cpp/getopt/small/opt2.h b/library/cpp/getopt/small/opt2.h index 4d9d943237..11767fd94a 100644 --- a/library/cpp/getopt/small/opt2.h +++ b/library/cpp/getopt/small/opt2.h @@ -1,8 +1,8 @@ #pragma once -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/string.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> // simplified options parser // No 'optional argument' (e.g. "a::" in spec.) support; diff --git a/library/cpp/getopt/small/ygetopt.cpp b/library/cpp/getopt/small/ygetopt.cpp index 1f52827f74..735071c2cd 100644 --- a/library/cpp/getopt/small/ygetopt.cpp +++ b/library/cpp/getopt/small/ygetopt.cpp @@ -2,8 +2,8 @@ #include "ygetopt.h" #include <util/generic/string.h> -#include <util/generic/vector.h> -#include <util/generic/yexception.h> +#include <util/generic/vector.h> +#include <util/generic/yexception.h> class TGetOpt::TImpl: public TSimpleRefCount<TImpl> { public: diff --git a/library/cpp/getopt/small/ygetopt.h b/library/cpp/getopt/small/ygetopt.h index 615d3dd18e..0d5b7371ff 100644 --- a/library/cpp/getopt/small/ygetopt.h +++ b/library/cpp/getopt/small/ygetopt.h @@ -1,7 +1,7 @@ #pragma once #include <util/generic/fwd.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> class TGetOpt { public: diff --git a/library/cpp/getopt/ya.make b/library/cpp/getopt/ya.make index 6df23b22b2..e5a0fa62dc 100644 --- a/library/cpp/getopt/ya.make +++ b/library/cpp/getopt/ya.make @@ -1,15 +1,15 @@ LIBRARY() - + OWNER(pg) - + PEERDIR( library/cpp/getopt/small library/cpp/svnversion library/cpp/build_info ) -SRCS( +SRCS( GLOBAL print.cpp -) - -END() +) + +END() diff --git a/library/cpp/http/fetch/http_socket.cpp b/library/cpp/http/fetch/http_socket.cpp index 1524ef04a8..b8261febc9 100644 --- a/library/cpp/http/fetch/http_socket.cpp +++ b/library/cpp/http/fetch/http_socket.cpp @@ -40,7 +40,7 @@ static int gcry_pthread_mutex_init(void** priv) { int err = 0; try { - TMutex* lock = new TMutex; + TMutex* lock = new TMutex; *priv = lock; } catch (...) { err = -1; @@ -50,19 +50,19 @@ static int gcry_pthread_mutex_init(void** priv) { } static int gcry_pthread_mutex_destroy(void** lock) { - delete static_cast<TMutex*>(*lock); + delete static_cast<TMutex*>(*lock); return 0; } static int gcry_pthread_mutex_lock(void** lock) { - static_cast<TMutex*>(*lock)->Acquire(); + static_cast<TMutex*>(*lock)->Acquire(); return 0; } static int gcry_pthread_mutex_unlock(void** lock) { - static_cast<TMutex*>(*lock)->Release(); + static_cast<TMutex*>(*lock)->Release(); return 0; } diff --git a/library/cpp/http/fetch/httpzreader.h b/library/cpp/http/fetch/httpzreader.h index 68eb00853d..105102b7d1 100644 --- a/library/cpp/http/fetch/httpzreader.h +++ b/library/cpp/http/fetch/httpzreader.h @@ -279,17 +279,17 @@ protected: case 0: return ret; case ENOMEM: - ythrow yexception() << "SCompressedHttpReader: not enough memory"; + ythrow yexception() << "SCompressedHttpReader: not enough memory"; case EINVAL: ythrow yexception() << "SCompressedHttpReader: zlib error: " << ZMsg(); case ENOTSUP: - ythrow yexception() << "SCompressedHttpReader: unsupported compression method"; + ythrow yexception() << "SCompressedHttpReader: unsupported compression method"; case EFAULT: - ythrow zlib_exception() << "SCompressedHttpReader: " << ZMsg(); + ythrow zlib_exception() << "SCompressedHttpReader: " << ZMsg(); case E2BIG: - ythrow zlib_exception() << "SCompressedHttpReader: Content exceeds maximum length"; + ythrow zlib_exception() << "SCompressedHttpReader: Content exceeds maximum length"; default: - ythrow yexception() << "SCompressedHttpReader: unknown error"; + ythrow yexception() << "SCompressedHttpReader: unknown error"; } } }; diff --git a/library/cpp/http/io/chunk.cpp b/library/cpp/http/io/chunk.cpp index 6975d9eac1..86a5085fa7 100644 --- a/library/cpp/http/io/chunk.cpp +++ b/library/cpp/http/io/chunk.cpp @@ -8,7 +8,7 @@ static inline size_t ParseHex(const TString& s) { if (s.empty()) { - ythrow yexception() << "can not parse chunk length(empty string)"; + ythrow yexception() << "can not parse chunk length(empty string)"; } size_t ret = 0; @@ -228,7 +228,7 @@ void TChunkedOutput::DoWrite(const void* buf, size_t len) { if (Impl_.Get()) { Impl_->Write(buf, len); } else { - ythrow yexception() << "can not write to finished stream"; + ythrow yexception() << "can not write to finished stream"; } } diff --git a/library/cpp/http/io/chunk.h b/library/cpp/http/io/chunk.h index 88d89fafda..8f0927d1a5 100644 --- a/library/cpp/http/io/chunk.h +++ b/library/cpp/http/io/chunk.h @@ -2,7 +2,7 @@ #include <util/stream/output.h> #include <util/generic/maybe.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> class THttpHeaders; diff --git a/library/cpp/http/io/headers.h b/library/cpp/http/io/headers.h index a71793d1c6..2dc1916f71 100644 --- a/library/cpp/http/io/headers.h +++ b/library/cpp/http/io/headers.h @@ -3,7 +3,7 @@ #include <util/generic/string.h> #include <util/generic/strbuf.h> #include <util/generic/deque.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> #include <util/string/cast.h> class IInputStream; diff --git a/library/cpp/http/io/stream.h b/library/cpp/http/io/stream.h index 78ca4fc814..95b7b61b41 100644 --- a/library/cpp/http/io/stream.h +++ b/library/cpp/http/io/stream.h @@ -4,10 +4,10 @@ #include <util/stream/output.h> #include <util/generic/maybe.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <util/generic/string.h> #include <util/generic/strbuf.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <util/generic/array_ref.h> class TSocket; diff --git a/library/cpp/http/misc/httpdate.cpp b/library/cpp/http/misc/httpdate.cpp index 4a3031bbf4..c5d3f2892c 100644 --- a/library/cpp/http/misc/httpdate.cpp +++ b/library/cpp/http/misc/httpdate.cpp @@ -35,7 +35,7 @@ #include <cstring> #include <ctime> -#include <util/system/compat.h> /* stricmp */ +#include <util/system/compat.h> /* stricmp */ #include <util/system/yassert.h> #include "httpdate.h" #include <util/datetime/base.h> diff --git a/library/cpp/http/misc/httpreqdata.h b/library/cpp/http/misc/httpreqdata.h index 16e59c4d78..ee5fc0dccf 100644 --- a/library/cpp/http/misc/httpreqdata.h +++ b/library/cpp/http/misc/httpreqdata.h @@ -4,12 +4,12 @@ #include <util/str_stl.h> -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/string/cast.h> #include <library/cpp/cgiparam/cgiparam.h> #include <util/network/address.h> #include <util/network/socket.h> -#include <util/generic/hash.h> +#include <util/generic/hash.h> #include <util/system/yassert.h> #include <util/generic/string.h> #include <util/datetime/base.h> diff --git a/library/cpp/http/server/http.h b/library/cpp/http/server/http.h index b292d38f27..fbf7901446 100644 --- a/library/cpp/http/server/http.h +++ b/library/cpp/http/server/http.h @@ -6,8 +6,8 @@ #include <util/thread/pool.h> #include <library/cpp/http/io/stream.h> #include <util/memory/blob.h> -#include <util/generic/ptr.h> -#include <util/generic/vector.h> +#include <util/generic/ptr.h> +#include <util/generic/vector.h> #include <util/system/atomic.h> class IThreadFactory; diff --git a/library/cpp/logger/backend.h b/library/cpp/logger/backend.h index d088726d6d..6cd051c1ed 100644 --- a/library/cpp/logger/backend.h +++ b/library/cpp/logger/backend.h @@ -2,7 +2,7 @@ #include "priority.h" -#include <util/generic/noncopyable.h> +#include <util/generic/noncopyable.h> #include <cstddef> diff --git a/library/cpp/logger/file.h b/library/cpp/logger/file.h index 10b4cd0c20..6c80a98d30 100644 --- a/library/cpp/logger/file.h +++ b/library/cpp/logger/file.h @@ -3,7 +3,7 @@ #include "backend.h" #include <util/generic/fwd.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> class TFileLogBackend: public TLogBackend { public: diff --git a/library/cpp/logger/log_ut.cpp b/library/cpp/logger/log_ut.cpp index 8de46f17f5..3c135cdb3b 100644 --- a/library/cpp/logger/log_ut.cpp +++ b/library/cpp/logger/log_ut.cpp @@ -5,10 +5,10 @@ #include <util/system/fs.h> #include <util/system/rwlock.h> #include <util/system/yield.h> -#include <util/memory/blob.h> +#include <util/memory/blob.h> #include <util/stream/file.h> #include <util/generic/string.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> class TLogTest: public TTestBase { UNIT_TEST_SUITE(TLogTest); diff --git a/library/cpp/logger/thread.h b/library/cpp/logger/thread.h index 65f7a88e87..c42b9542d4 100644 --- a/library/cpp/logger/thread.h +++ b/library/cpp/logger/thread.h @@ -2,7 +2,7 @@ #include "backend.h" -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <functional> diff --git a/library/cpp/messagebus/coreconn.h b/library/cpp/messagebus/coreconn.h index fca228d82e..dda64fabcd 100644 --- a/library/cpp/messagebus/coreconn.h +++ b/library/cpp/messagebus/coreconn.h @@ -10,11 +10,11 @@ #include <util/datetime/base.h> #include <util/generic/algorithm.h> -#include <util/generic/list.h> +#include <util/generic/list.h> #include <util/generic/map.h> #include <util/generic/set.h> #include <util/generic/string.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> #include <util/network/address.h> #include <util/network/ip.h> #include <util/network/poller.h> diff --git a/library/cpp/mime/types/mime.cpp b/library/cpp/mime/types/mime.cpp index 706d776b24..12c67ea506 100644 --- a/library/cpp/mime/types/mime.cpp +++ b/library/cpp/mime/types/mime.cpp @@ -1,7 +1,7 @@ #include "mime.h" #include <util/system/defaults.h> -#include <util/generic/hash.h> +#include <util/generic/hash.h> #include <util/generic/strbuf.h> #include <util/generic/singleton.h> #include <util/generic/yexception.h> diff --git a/library/cpp/on_disk/chunks/chunked_helpers.h b/library/cpp/on_disk/chunks/chunked_helpers.h index 5fa96afdca..3078db573c 100644 --- a/library/cpp/on_disk/chunks/chunked_helpers.h +++ b/library/cpp/on_disk/chunks/chunked_helpers.h @@ -1,11 +1,11 @@ #pragma once -#include <util/generic/vector.h> +#include <util/generic/vector.h> #include <util/generic/buffer.h> #include <util/generic/hash_set.h> #include <util/generic/cast.h> #include <util/generic/ymath.h> -#include <util/memory/blob.h> +#include <util/memory/blob.h> #include <util/stream/buffer.h> #include <util/stream/mem.h> #include <util/system/unaligned_mem.h> diff --git a/library/cpp/packers/ut/packers_ut.cpp b/library/cpp/packers/ut/packers_ut.cpp index 18ce2150d1..72fee42dd4 100644 --- a/library/cpp/packers/ut/packers_ut.cpp +++ b/library/cpp/packers/ut/packers_ut.cpp @@ -6,7 +6,7 @@ #include <util/charset/wide.h> #include <util/generic/algorithm.h> #include <util/generic/buffer.h> -#include <util/generic/map.h> +#include <util/generic/map.h> #include <util/generic/vector.h> #include <util/generic/ptr.h> #include <util/generic/ylimits.h> diff --git a/library/cpp/regex/pcre/regexp.cpp b/library/cpp/regex/pcre/regexp.cpp index 575c09cee4..407eab0960 100644 --- a/library/cpp/regex/pcre/regexp.cpp +++ b/library/cpp/regex/pcre/regexp.cpp @@ -30,7 +30,7 @@ private: Pmatch[MatchPos].rm_eo = MatchBuf[2 * i + 1]; MatchPos++; if (MatchPos >= NMATCHES) { - ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; + ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; } } } @@ -47,7 +47,7 @@ private: NMATCHES); /* number of elements in the output vector */ if (rc == 0) { - ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; + ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; } return rc; @@ -161,10 +161,10 @@ public: int Exec(const char* str, regmatch_t pmatch[], int eflags, int nmatches) const { if (!RegExpr) { - ythrow yexception() << "Regular expression is not compiled"; + ythrow yexception() << "Regular expression is not compiled"; } if (!str) { - ythrow yexception() << "Empty string is passed to TRegExBaseImpl::Exec"; + ythrow yexception() << "Empty string is passed to TRegExBaseImpl::Exec"; } if ((eflags & REGEXP_GLOBAL) == 0) { return regexec(&Preg, str, nmatches, pmatch, eflags); diff --git a/library/cpp/regex/pcre/regexp.h b/library/cpp/regex/pcre/regexp.h index bc610bd2f3..af415be70c 100644 --- a/library/cpp/regex/pcre/regexp.h +++ b/library/cpp/regex/pcre/regexp.h @@ -2,9 +2,9 @@ #include <sys/types.h> -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/string.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <contrib/libs/pcre/pcre.h> #include <contrib/libs/pcre/pcreposix.h> diff --git a/library/cpp/regex/pcre/ya.make b/library/cpp/regex/pcre/ya.make index d34911f103..e997f0751c 100644 --- a/library/cpp/regex/pcre/ya.make +++ b/library/cpp/regex/pcre/ya.make @@ -1,20 +1,20 @@ LIBRARY() OWNER(g:util) - -PEERDIR( - contrib/libs/pcre + +PEERDIR( + contrib/libs/pcre contrib/libs/pcre/pcre16 contrib/libs/pcre/pcre32 library/cpp/containers/stack_array -) - -SRCS( +) + +SRCS( pcre.cpp - regexp.cpp -) - -END() + regexp.cpp +) + +END() RECURSE_FOR_TESTS( benchmark diff --git a/library/cpp/streams/bzip2/bzip2.h b/library/cpp/streams/bzip2/bzip2.h index 2322277ef6..90ec70195f 100644 --- a/library/cpp/streams/bzip2/bzip2.h +++ b/library/cpp/streams/bzip2/bzip2.h @@ -2,8 +2,8 @@ #include <util/stream/input.h> #include <util/stream/output.h> -#include <util/generic/ptr.h> -#include <util/generic/yexception.h> +#include <util/generic/ptr.h> +#include <util/generic/yexception.h> #define BZIP_BUF_LEN (8 * 1024) #define BZIP_COMPRESSION_LEVEL 6 diff --git a/library/cpp/streams/lz/lz.cpp b/library/cpp/streams/lz/lz.cpp index b65bb3ed96..cee653c2ba 100644 --- a/library/cpp/streams/lz/lz.cpp +++ b/library/cpp/streams/lz/lz.cpp @@ -1,12 +1,12 @@ #include "lz.h" -#include <util/system/yassert.h> +#include <util/system/yassert.h> #include <util/system/byteorder.h> #include <util/memory/addstorage.h> #include <util/generic/buffer.h> -#include <util/generic/utility.h> +#include <util/generic/utility.h> #include <util/generic/singleton.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <util/stream/mem.h> #include <contrib/libs/lz4/lz4.h> diff --git a/library/cpp/streams/lz/lz.h b/library/cpp/streams/lz/lz.h index 3a2eaad88b..e3ede3796c 100644 --- a/library/cpp/streams/lz/lz.h +++ b/library/cpp/streams/lz/lz.h @@ -2,8 +2,8 @@ #include <util/stream/output.h> #include <util/stream/input.h> -#include <util/generic/ptr.h> -#include <util/generic/yexception.h> +#include <util/generic/ptr.h> +#include <util/generic/yexception.h> /** * @file diff --git a/library/cpp/string_utils/base64/base64.h b/library/cpp/string_utils/base64/base64.h index f778a6425a..e60233f6db 100644 --- a/library/cpp/string_utils/base64/base64.h +++ b/library/cpp/string_utils/base64/base64.h @@ -1,6 +1,6 @@ #pragma once -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/strbuf.h> #include <util/generic/string.h> diff --git a/library/cpp/string_utils/url/url.cpp b/library/cpp/string_utils/url/url.cpp index 85f4ac5d69..e3f4be758c 100644 --- a/library/cpp/string_utils/url/url.cpp +++ b/library/cpp/string_utils/url/url.cpp @@ -7,10 +7,10 @@ #include <util/string/strip.h> #include <util/charset/unidata.h> // for ToLower -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/algorithm.h> #include <util/generic/hash_set.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <util/generic/singleton.h> #include <cstdlib> diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h index 44517a0092..99742fd376 100644 --- a/library/cpp/testing/unittest/registar.h +++ b/library/cpp/testing/unittest/registar.h @@ -6,7 +6,7 @@ #include <util/generic/hash.h> #include <util/generic/intrlist.h> #include <util/generic/map.h> -#include <util/generic/ptr.h> +#include <util/generic/ptr.h> #include <util/generic/set.h> #include <util/generic/typetraits.h> #include <util/generic/vector.h> diff --git a/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp b/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp index 3b5203194a..df8d3a3e86 100644 --- a/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp +++ b/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp @@ -3,7 +3,7 @@ #include <util/stream/output.h> #include <util/system/atomic.h> -#include <util/generic/vector.h> +#include <util/generic/vector.h> #include "task_scheduler.h" diff --git a/library/cpp/uri/other.cpp b/library/cpp/uri/other.cpp index b23a5b68a9..aab42db0a5 100644 --- a/library/cpp/uri/other.cpp +++ b/library/cpp/uri/other.cpp @@ -1,7 +1,7 @@ #include "other.h" #include <util/string/util.h> -#include <util/system/yassert.h> +#include <util/system/yassert.h> /********************************************************/ /********************************************************/ diff --git a/library/cpp/uri/uri.cpp b/library/cpp/uri/uri.cpp index 56a9a4e5ef..89a08e3c2e 100644 --- a/library/cpp/uri/uri.cpp +++ b/library/cpp/uri/uri.cpp @@ -3,7 +3,7 @@ #include <util/string/cast.h> #include <util/string/util.h> -#include <util/system/yassert.h> +#include <util/system/yassert.h> namespace NUri { TState::EParsed TUri::CheckHost(const TStringBuf& host) { |