Searched defs:sam (Results 1 - 13 of 13) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc102 struct stat_and_more sam; local
103 memset(&sam, 0xAB, sizeof(sam));
104 EXPECT_EQ(0u, internal_fstat(fd, &sam.st));
105 EXPECT_EQ(0xAB, sam.z);
106 EXPECT_NE(0xAB, sam.st.st_size);
107 EXPECT_NE(0, sam.st.st_size);
/external/chromium_org/third_party/skia/src/utils/
H A DSkFloatUtils.h149 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
150 if (kSignBitMask & sam) {
151 // sam represents a negative number.
152 return ~sam + 1;
154 // sam represents a positive number.
155 return kSignBitMask | sam;
/external/skia/src/utils/
H A DSkFloatUtils.h149 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
150 if (kSignBitMask & sam) {
151 // sam represents a negative number.
152 return ~sam + 1;
154 // sam represents a positive number.
155 return kSignBitMask | sam;
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-internal.h457 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
458 if (kSignBitMask & sam) {
459 // sam represents a negative number.
460 return ~sam + 1;
462 // sam represents a positive number.
463 return kSignBitMask | sam;
/external/chromium_org/testing/gtest/include/gtest/internal/
H A Dgtest-internal.h391 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
392 if (kSignBitMask & sam) {
393 // sam represents a negative number.
394 return ~sam + 1;
396 // sam represents a positive number.
397 return kSignBitMask | sam;
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
H A Dgtest-internal.h441 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
442 if (kSignBitMask & sam) {
443 // sam represents a negative number.
444 return ~sam + 1;
446 // sam represents a positive number.
447 return kSignBitMask | sam;
/external/gtest/include/gtest/internal/
H A Dgtest-internal.h359 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
360 if (kSignBitMask & sam) {
361 // sam represents a negative number.
362 return ~sam + 1;
364 // sam represents a positive number.
365 return kSignBitMask | sam;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h470 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
471 if (kSignBitMask & sam) {
472 // sam represents a negative number.
473 return ~sam + 1;
475 // sam represents a positive number.
476 return kSignBitMask | sam;
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h441 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
442 if (kSignBitMask & sam) {
443 // sam represents a negative number.
444 return ~sam + 1;
446 // sam represents a positive number.
447 return kSignBitMask | sam;
/external/deqp/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp356 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument
357 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
/external/deqp/modules/gles3/functional/
H A Des3fVertexTextureTests.cpp452 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } argument
453 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
454 static inline Vec4 sample (const tcu::Texture2DArray& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
455 static inline Vec4 sample (const tcu::Texture3D& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } argument
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h7319 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
7320 if (kSignBitMask & sam) {
7321 // sam represents a negative number.
7322 return ~sam + 1;
7324 // sam represents a positive number.
7325 return kSignBitMask | sam;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h7319 static Bits SignAndMagnitudeToBiased(const Bits &sam) { argument
7320 if (kSignBitMask & sam) {
7321 // sam represents a negative number.
7322 return ~sam + 1;
7324 // sam represents a positive number.
7325 return kSignBitMask | sam;

Completed in 6252 milliseconds