Browse Source

Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.

leo 3 years ago
parent
commit
980edcd330

+ 2 - 2
contrib/libs/jemalloc/spinlock.h

@@ -7,9 +7,9 @@ typedef volatile intptr_t spinlock_t;
 #define SPIN_L AllocAcquireAdaptiveLock
 #define SPIN_L AllocAcquireAdaptiveLock
 #define SPIN_U AllocReleaseAdaptiveLock
 #define SPIN_U AllocReleaseAdaptiveLock
 
 
-#define    _SPINLOCK_INITIALIZER 0
+#define    _SPINLOCK_INITIALIZER 0 
 #define _SPINUNLOCK(_lck)     SPIN_U(_lck)
 #define _SPINUNLOCK(_lck)     SPIN_U(_lck)
-#define    _SPINLOCK(_lck)       SPIN_L(_lck)
+#define    _SPINLOCK(_lck)       SPIN_L(_lck) 
 
 
 #if defined(__cplusplus)
 #if defined(__cplusplus)
 extern "C" {
 extern "C" {

+ 6 - 6
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().
  *               This value must be freed with g_free().
  **/
  **/
 static gunichar *
 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;
   gint j, charlen;
   gunichar *result;
   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);
   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 *
 static gchar *
 g_ucs4_to_utf8 (const gunichar * str,
 g_ucs4_to_utf8 (const gunichar * str,
 		glong len,
 		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;
   gint result_length;
   gchar *result = NULL;
   gchar *result = NULL;
@@ -975,7 +975,7 @@ stringprep_unichar_to_utf8 (uint32_t c, char *outbuf)
 uint32_t *
 uint32_t *
 stringprep_utf8_to_ucs4 (const char *str, ssize_t len, size_t * items_written)
 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,
 stringprep_ucs4_to_utf8 (const uint32_t * str, ssize_t len,
 			 size_t * items_read, size_t * items_written)
 			 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); 
 }
 }
 
 
 /**
 /**

+ 3 - 3
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
 /* When compiling with the MSVC compiler, it is sometimes necessary to include
 a "calling convention" before exported function names. (This is secondhand
 a "calling convention" before exported function names. (This is secondhand
 information; I know nothing about MSVC myself). For example, something like
 information; I know nothing about MSVC myself). For example, something like
-
+ 
   void __cdecl function(....)
   void __cdecl function(....)
 
 
 might be needed. In order so make this easy, all the exported functions have
 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
 #ifndef PCRE_CALL_CONVENTION
 #define PCRE_CALL_CONVENTION
 #define PCRE_CALL_CONVENTION
-#endif
-
+#endif 
+ 
 /* We need to have types that specify unsigned 8, 16 and 32-bit integers. We
 /* 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
 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
 part of "configure") because PCRE is often cross-compiled for use on other

+ 3 - 3
contrib/libs/pcre/ya.make

@@ -29,10 +29,10 @@ NO_COMPILER_WARNINGS()
 
 
 NO_RUNTIME()
 NO_RUNTIME()
 
 
-CFLAGS(
+CFLAGS( 
     GLOBAL -DPCRE_STATIC
     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
 # JIT adds ≈108KB to binary size which may be critical for mobile and embedded devices binary distributions
 DEFAULT(ARCADIA_PCRE_ENABLE_JIT yes)
 DEFAULT(ARCADIA_PCRE_ENABLE_JIT yes)

+ 1 - 1
contrib/libs/pire/pire/fsm.h

@@ -250,7 +250,7 @@ namespace Pire {
 	};
 	};
 
 
 	template<class Scanner>
 	template<class Scanner>
-	void BuildScanner(const Fsm& fsm, Scanner& r)
+	void BuildScanner(const Fsm& fsm, Scanner& r) 
 	{
 	{
 		TSet<size_t> dead;
 		TSet<size_t> dead;
 		if (Scanner::DeadFlag)
 		if (Scanner::DeadFlag)

+ 1 - 1
contrib/libs/pire/pire/glue.h

@@ -97,7 +97,7 @@ private:
 				return ind;
 				return ind;
 			}
 			}
 		}
 		}
-		return (size_t)-1;
+		return (size_t)-1; 
 	}
 	}
 
 
 	static size_t Hash(const key_type& st) {
 	static size_t Hash(const key_type& st) {

+ 1 - 1
contrib/libs/pire/pire/scanners/common.h

@@ -59,7 +59,7 @@ namespace Pire {
 			, PtrSize(sizeof(void*))
 			, PtrSize(sizeof(void*))
 			, MaxWordSize(sizeof(Impl::MaxSizeWord))
 			, MaxWordSize(sizeof(Impl::MaxSizeWord))
 			, Type(type)
 			, Type(type)
-			, HdrSize((ui32)hdrsize)
+			, HdrSize((ui32)hdrsize) 
 		{}
 		{}
 
 
 		void Validate(ui32 type, size_t hdrsize) const
 		void Validate(ui32 type, size_t hdrsize) const

+ 1 - 1
contrib/libs/pire/pire/scanners/loaded.h

@@ -194,7 +194,7 @@ public:
 
 
 		size_t shift = (newState - oldState) * StateSize();
 		size_t shift = (newState - oldState) * StateSize();
 		Transition tr;
 		Transition tr;
-		tr.shift = (ui32)shift;
+		tr.shift = (ui32)shift; 
 		tr.action = action;
 		tr.action = action;
 		m_jumps[TransitionIndex(oldState, c)] = tr;
 		m_jumps[TransitionIndex(oldState, c)] = tr;
 	}
 	}

+ 1 - 1
contrib/tools/bison/gnulib/platform/win64/config.h

@@ -911,7 +911,7 @@
 /* #undef HAVE_SLEEP */
 /* #undef HAVE_SLEEP */
 
 
 /* Define to 1 if you have the `snprintf' function. */
 /* Define to 1 if you have the `snprintf' function. */
-#define HAVE_SNPRINTF 1
+#define HAVE_SNPRINTF 1 
 
 
 /* Define if the return value of the snprintf function is the number of of
 /* Define if the return value of the snprintf function is the number of of
    bytes (excluding the terminating NUL) that would have been produced if the
    bytes (excluding the terminating NUL) that would have been produced if the

+ 6 - 6
contrib/tools/bison/gnulib/platform/win64/math.h

@@ -34,8 +34,8 @@
 #define _GL_M4_MATH_H
 #define _GL_M4_MATH_H
 
 
 #if _MSC_VER >= 1800 // [
 #if _MSC_VER >= 1800 // [
-#else // ] _MSC_VER >= 1600 [
-
+#else // ] _MSC_VER >= 1600 [ 
+ 
 #ifndef _GL_INLINE_HEADER_BEGIN
 #ifndef _GL_INLINE_HEADER_BEGIN
  #error "Please include config.h first."
  #error "Please include config.h first."
 #endif
 #endif
@@ -1289,7 +1289,7 @@ _GL_WARN_ON_USE (frexpf, "frexpf is unportable - "
      If x is zero: mantissa = x, exp = 0.
      If x is zero: mantissa = x, exp = 0.
      If x is infinite or NaN: mantissa = x, exp unspecified.
      If x is infinite or NaN: mantissa = x, exp unspecified.
    Store exp in *EXPPTR and return mantissa.  */
    Store exp in *EXPPTR and return mantissa.  */
-#if 0
+#if 0 
 # if 1
 # if 1
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #   define frexp rpl_frexp
 #   define frexp rpl_frexp
@@ -1314,7 +1314,7 @@ _GL_WARN_ON_USE (frexp, "frexp is unportable - "
      If x is zero: mantissa = x, exp = 0.
      If x is zero: mantissa = x, exp = 0.
      If x is infinite or NaN: mantissa = x, exp unspecified.
      If x is infinite or NaN: mantissa = x, exp unspecified.
    Store exp in *EXPPTR and return mantissa.  */
    Store exp in *EXPPTR and return mantissa.  */
-#if 0
+#if 0 
 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 #  undef frexpl
 #  undef frexpl
 #  define frexpl rpl_frexpl
 #  define frexpl rpl_frexpl
@@ -2593,7 +2593,7 @@ _GL_WARN_REAL_FLOATING_DECL (signbit);
 
 
 _GL_INLINE_HEADER_END
 _GL_INLINE_HEADER_END
 
 
-#endif
-
+#endif 
+ 
 #endif /* _GL_M4_MATH_H */
 #endif /* _GL_M4_MATH_H */
 #endif /* _GL_M4_MATH_H */
 #endif /* _GL_M4_MATH_H */

Some files were not shown because too many files changed in this diff