• Home
  • Raw
  • Download

Lines Matching +full:vc +full:- +full:vars

103 // GLIBC-related macros.
264 // Mach-O supports sections (albeit with small names), but doesn't have
265 // vars at the beginning and end. Instead you should call the function
276 #include <mach-o/dyld.h>
277 #include <mach-o/getsect.h>
283 for (int i = _dyld_image_count() - 1; i >= 0; --i) { in AssignAttributeStartEnd()
328 if (end) return end - s; in strnlen()
339 #elif defined(OS_CYGWIN) // Cygwin-specific behavior.
344 // It's probably possible to support 64-bit, but the #defines will need checked.
345 #error "Cygwin is currently only 32-bit."
362 // memrchr is used in a few places, but it's linux-specific.
365 reinterpret_cast<const unsigned char *>(bytes) + len - 1; in memrchr()
367 for (; cursor >= bytes; --cursor) { in memrchr()
382 // GCC-specific features
390 // <http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Function-Attributes.html>.
392 // N.B.: As the GCC manual states, "[s]ince non-static C++ methods
451 // Tell the compiler to use "initial-exec" mode for a thread-local variable.
453 #define ATTRIBUTE_INITIAL_EXEC __attribute__((tls_model("initial-exec")))
456 // should be a non-null pointer, or that all pointer arguments should
457 // be non-null.
459 // Note: As the GCC manual states, "[s]ince non-static C++ methods
464 // For non-static class member functions, the implicit "this" argument
480 // If no arguments are provided, then all pointer arguments should be non-null.
516 // If you are adding this attribute, please cc dynamic-tools@ on the cl.
530 #ifndef HAVE_ATTRIBUTE_SECTION // may have been pre-set to 0, e.g. for Darwin
554 // a no-op on ELF but not on Mach-O.
577 // Support for aligning the stack on 32-bit x86.
599 // both defs and decls, and with GCC-style attributes, MSVC declspec, and C++11
625 // k8 rev E and later: skip L2, can go to either of the 2-ways in L1
633 // prefetch is a no-op for this target. Feel free to add more sections above.
639 // with the platforms team (platforms-servers@) before introducing any changes
645 // checks constant-ness _before_ inlining. This leads to compilation errors in prefetch()
654 // Note that this version of prefetch() cannot verify constant-ness of hint. in prefetch()
697 // the absence of better information (ie. -fprofile-arcs).
710 // is likely to be not-taken.
895 // MSVC is a little hyper-active in its warnings
932 // VC++ doesn't understand "uint"
938 // VC++ doesn't understand "ssize_t"
954 // Wrap Microsoft _snprintf/_vsnprintf calls so they nul-terminate on buffer
964 str[size - 1] = '\0';
1009 // ----- BEGIN VC++ STUBS & FAKE DEFINITIONS ---------------------------------
1022 case _FPCLASS_NZ: // Negative zero ( -0)
1026 case _FPCLASS_NINF: // Negative infinity ( -INF)
1034 case _FPCLASS_NN: // Negative normalized non-zero
1035 case _FPCLASS_PN: // Positive normalized non-zero
1068 if (float_point_class == _FPCLASS_NINF) return -1;
1098 // ----- END VC++ STUBS & FAKE DEFINITIONS ----------------------------------
1109 // gethostbyname() *is* thread-safe for Windows native threads. It is also
1110 // safe on Mac OS X and iOS, where it uses thread-local storage, even though the
1112 // http://lists.apple.com/archives/Darwin-dev/2006/May/msg00008.html
1114 // gethostbyname() is not thread-safe. So disallow its use. People
1119 // Define the namespace for pre-C++11 functors for hash_map and hash_set.
1136 // http://msdn.microsoft.com/en-us/library/6x7w9f6z(v=vs.100).aspx
1157 // Our STL-like classes use __STD.
1175 // It is possible to implement all of these these using constant-length memcpy
1185 // AddressSanitizer will treat it as a 3-byte access to the range 05:07 and
1187 // ThreadSanitizer will also treat this as a 3-byte access to 05:07 and will
1192 // For all three tools, replacing an unaligned access with a tool-specific
1237 // x86 and x86-64 can perform unaligned loads/stores directly;
1256 // ARMv7 and newer support native unaligned accesses, but only of 16-bit
1257 // and 32-bit values (not 64-bit); older versions either raise a fatal signal,
1261 // sub-architectures. Newer gcc (>= 4.6) set an __ARM_FEATURE_ALIGNED #define,
1280 uint8 dummy; // To make the size non-power-of-two.
1285 uint8 dummy; // To make the size non-power-of-two.
1292 ((reinterpret_cast<const ::base::internal::Unaligned16Struct *>(_p))->value)
1294 ((reinterpret_cast<const ::base::internal::Unaligned32Struct *>(_p))->value)
1297 ((reinterpret_cast< ::base::internal::Unaligned16Struct *>(_p))->value = \
1300 ((reinterpret_cast< ::base::internal::Unaligned32Struct *>(_p))->value = \
1358 // use C++-only syntax. This #ifdef can be removed if/when the macros are fixed.
1410 #define DDEPTH_SIZEOF_MEMBER(t, f) sizeof(((t *)4096)->f)
1413 (reinterpret_cast<char *>(&reinterpret_cast<t *>(16)->f) - \
1424 // gcc-4.7 and clang-3.1 (2011-12-13). __cplusplus was defined to 1
1435 // undefined otherwise. Do NOT define it to 0 -- that causes
1442 // to get a char-pointer to the first instruction of the function func.
1462 // builds, though for some pre-C++11 toolchains we fall back to using
1478 // Fall back on our home-grown implementation, with its limitations.
1489 // condition expressions that contain unparenthesized top-level commas;
1496 __LINE__)[bool(expr) ? 1 : -1] DDEPTH_ATTRIBUTE_UNUSED // NOLINT