diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /contrib/libs | |
parent | 980edcd3304699edf9d4e4d6a656e585028e2a72 (diff) | |
download | ydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/jemalloc/spinlock.h | 4 | ||||
-rw-r--r-- | contrib/libs/libidn/nfkc.c | 12 | ||||
-rw-r--r-- | contrib/libs/pcre/pcre_internal.h | 6 | ||||
-rw-r--r-- | contrib/libs/pcre/ya.make | 6 | ||||
-rw-r--r-- | contrib/libs/pire/pire/fsm.h | 2 | ||||
-rw-r--r-- | contrib/libs/pire/pire/glue.h | 2 | ||||
-rw-r--r-- | contrib/libs/pire/pire/scanners/common.h | 2 | ||||
-rw-r--r-- | contrib/libs/pire/pire/scanners/loaded.h | 2 |
8 files changed, 18 insertions, 18 deletions
diff --git a/contrib/libs/jemalloc/spinlock.h b/contrib/libs/jemalloc/spinlock.h index 3e355a9324..93fcf10e12 100644 --- a/contrib/libs/jemalloc/spinlock.h +++ b/contrib/libs/jemalloc/spinlock.h @@ -7,9 +7,9 @@ typedef volatile intptr_t spinlock_t; #define SPIN_L AllocAcquireAdaptiveLock #define SPIN_U AllocReleaseAdaptiveLock -#define _SPINLOCK_INITIALIZER 0 +#define _SPINLOCK_INITIALIZER 0 #define _SPINUNLOCK(_lck) SPIN_U(_lck) -#define _SPINLOCK(_lck) SPIN_L(_lck) +#define _SPINLOCK(_lck) SPIN_L(_lck) #if defined(__cplusplus) extern "C" { diff --git a/contrib/libs/libidn/nfkc.c b/contrib/libs/libidn/nfkc.c index 16fc7c7ece..2bb2e62fbc 100644 --- a/contrib/libs/libidn/nfkc.c +++ b/contrib/libs/libidn/nfkc.c @@ -329,12 +329,12 @@ g_unichar_to_utf8 (gunichar c, gchar * outbuf) * This value must be freed with g_free(). **/ static gunichar * -g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written) +g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written) { gint j, charlen; gunichar *result; - gint n_chars, i; - const gchar *p = str; + gint n_chars, i; + const gchar *p = str; g_return_val_if_fail (str != NULL, NULL); @@ -440,7 +440,7 @@ g_utf8_to_ucs4_fast (const gchar * str, glong len, size_t * items_written) static gchar * g_ucs4_to_utf8 (const gunichar * str, glong len, - size_t * items_read, size_t * items_written, GError ** error) + size_t * items_read, size_t * items_written, GError ** error) { gint result_length; gchar *result = NULL; @@ -975,7 +975,7 @@ stringprep_unichar_to_utf8 (uint32_t c, char *outbuf) uint32_t * stringprep_utf8_to_ucs4 (const char *str, ssize_t len, size_t * items_written) { - return g_utf8_to_ucs4_fast (str, (glong) len, items_written); + return g_utf8_to_ucs4_fast (str, (glong) len, items_written); } /** @@ -1000,7 +1000,7 @@ char * stringprep_ucs4_to_utf8 (const uint32_t * str, ssize_t len, size_t * items_read, size_t * items_written) { - return g_ucs4_to_utf8 (str, len, items_read, items_written, NULL); + return g_ucs4_to_utf8 (str, len, items_read, items_written, NULL); } /** diff --git a/contrib/libs/pcre/pcre_internal.h b/contrib/libs/pcre/pcre_internal.h index 011a05e75a..97ff55d03b 100644 --- a/contrib/libs/pcre/pcre_internal.h +++ b/contrib/libs/pcre/pcre_internal.h @@ -174,7 +174,7 @@ PCRE_EXP_DATA_DEFN only if they are not already set. */ /* When compiling with the MSVC compiler, it is sometimes necessary to include a "calling convention" before exported function names. (This is secondhand information; I know nothing about MSVC myself). For example, something like - + void __cdecl function(....) might be needed. In order so make this easy, all the exported functions have @@ -183,8 +183,8 @@ set, we ensure here that it has no effect. */ #ifndef PCRE_CALL_CONVENTION #define PCRE_CALL_CONVENTION -#endif - +#endif + /* We need to have types that specify unsigned 8, 16 and 32-bit integers. We cannot determine these outside the compilation (e.g. by running a program as part of "configure") because PCRE is often cross-compiled for use on other diff --git a/contrib/libs/pcre/ya.make b/contrib/libs/pcre/ya.make index 085d3c28d2..85ae150697 100644 --- a/contrib/libs/pcre/ya.make +++ b/contrib/libs/pcre/ya.make @@ -29,10 +29,10 @@ NO_COMPILER_WARNINGS() NO_RUNTIME() -CFLAGS( +CFLAGS( GLOBAL -DPCRE_STATIC - -DHAVE_CONFIG_H -) + -DHAVE_CONFIG_H +) # JIT adds ≈108KB to binary size which may be critical for mobile and embedded devices binary distributions DEFAULT(ARCADIA_PCRE_ENABLE_JIT yes) diff --git a/contrib/libs/pire/pire/fsm.h b/contrib/libs/pire/pire/fsm.h index 2d7858f9e0..4dad06ca06 100644 --- a/contrib/libs/pire/pire/fsm.h +++ b/contrib/libs/pire/pire/fsm.h @@ -250,7 +250,7 @@ namespace Pire { }; template<class Scanner> - void BuildScanner(const Fsm& fsm, Scanner& r) + void BuildScanner(const Fsm& fsm, Scanner& r) { TSet<size_t> dead; if (Scanner::DeadFlag) diff --git a/contrib/libs/pire/pire/glue.h b/contrib/libs/pire/pire/glue.h index 1df1423e71..bac086f2f0 100644 --- a/contrib/libs/pire/pire/glue.h +++ b/contrib/libs/pire/pire/glue.h @@ -97,7 +97,7 @@ private: return ind; } } - return (size_t)-1; + return (size_t)-1; } static size_t Hash(const key_type& st) { diff --git a/contrib/libs/pire/pire/scanners/common.h b/contrib/libs/pire/pire/scanners/common.h index e2970c881b..de5ea0af7b 100644 --- a/contrib/libs/pire/pire/scanners/common.h +++ b/contrib/libs/pire/pire/scanners/common.h @@ -59,7 +59,7 @@ namespace Pire { , PtrSize(sizeof(void*)) , MaxWordSize(sizeof(Impl::MaxSizeWord)) , Type(type) - , HdrSize((ui32)hdrsize) + , HdrSize((ui32)hdrsize) {} void Validate(ui32 type, size_t hdrsize) const diff --git a/contrib/libs/pire/pire/scanners/loaded.h b/contrib/libs/pire/pire/scanners/loaded.h index 81ac456741..120dc403b7 100644 --- a/contrib/libs/pire/pire/scanners/loaded.h +++ b/contrib/libs/pire/pire/scanners/loaded.h @@ -194,7 +194,7 @@ public: size_t shift = (newState - oldState) * StateSize(); Transition tr; - tr.shift = (ui32)shift; + tr.shift = (ui32)shift; tr.action = action; m_jumps[TransitionIndex(oldState, c)] = tr; } |