/external/chromium_org/third_party/WebKit/Source/web/ |
WebFontDescription.cpp | 43 genericFamily = static_cast<GenericFamily>(desc.genericFamily()); 47 weight = static_cast<Weight>(desc.weight()); 48 smoothing = static_cast<Smoothing>(desc.fontSmoothing()); 60 desc.setGenericFamily(static_cast<FontDescription::GenericFamilyType>(genericFamily)); 65 desc.setWeight(static_cast<FontWeight>(weight)); 66 desc.setFontSmoothing(static_cast<FontSmoothingMode>(smoothing));
|
WebCache.cpp | 45 to.count = static_cast<size_t>(from.count); 46 to.size = static_cast<size_t>(from.size); 47 to.liveSize = static_cast<size_t>(from.liveSize); 48 to.decodedSize = static_cast<size_t>(from.decodedSize); 56 cache->setCapacities(static_cast<unsigned>(minDeadCapacity), static_cast<unsigned>(maxDeadCapacity), static_cast<unsigned>(capacity));
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
inter_frame_delay.cc | 65 _dTS = static_cast<int64_t>((timestamp + wrapAroundsSincePrev * 66 (static_cast<int64_t>(1)<<32) - _prevTimestamp) / 90.0 + 0.5); 71 *delay = static_cast<int64_t>(currentWallClock - _prevWallClock - _dTS); 86 return static_cast<uint32_t>(_dTS); 99 if (static_cast<int32_t>(timestamp - _prevTimestamp) > 0) 107 else if (static_cast<int32_t>(_prevTimestamp - timestamp) > 0)
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_texture_storage_unittest.cc | 87 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 90 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 93 EXPECT_EQ(static_cast<GLenum>(GL_INVALID_OPERATION), glGetError()); 104 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 107 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 110 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 113 EXPECT_EQ(static_cast<GLenum>(GL_INVALID_OPERATION), glGetError()); 120 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 122 EXPECT_EQ(static_cast<GLenum>(GL_INVALID_ENUM), glGetError()); 130 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
basictypes.h | 147 #define UNUSED(x) Unused(static_cast<const void*>(&x)) 148 #define UNUSED2(x, y) Unused(static_cast<const void*>(&x)); \ 149 Unused(static_cast<const void*>(&y)) 150 #define UNUSED3(x, y, z) Unused(static_cast<const void*>(&x)); \ 151 Unused(static_cast<const void*>(&y)); \ 152 Unused(static_cast<const void*>(&z)) 153 #define UNUSED4(x, y, z, a) Unused(static_cast<const void*>(&x)); \ 154 Unused(static_cast<const void*>(&y)); \ 155 Unused(static_cast<const void*>(&z)); \ 156 Unused(static_cast<const void*>(&a) [all...] |
timing.cc | 71 return (static_cast<double>(time.tv_sec) + 72 static_cast<double>(time.tv_usec) * 1.0e-6); 78 return (static_cast<double>(time.time) + 79 static_cast<double>(time.millitm) * 1.0e-3); 84 return (static_cast<double>(TimeNanos()) / kNumNanosecsPerSec); 100 ts.tv_sec = static_cast<time_t>(sec_int); 101 ts.tv_nsec = static_cast<long>(sec_frac * 1.0e9); // NOLINT
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/ |
table.cc | 85 builder_raw = static_cast<Table::Builder*>( 89 builder_raw = static_cast<Table::Builder*>( 93 builder_raw = static_cast<Table::Builder*>( 96 builder_raw = static_cast<Table::Builder*>( 99 builder_raw = static_cast<Table::Builder*>( 102 builder_raw = static_cast<Table::Builder*>( 105 builder_raw = static_cast<Table::Builder*>( 108 builder_raw = static_cast<Table::Builder*>( 111 builder_raw = static_cast<Table::Builder*>( 114 builder_raw = static_cast<Table::Builder*> [all...] |
/external/libcxx/include/support/win32/ |
support.h | 98 return __builtin_popcount(static_cast<int>(x)); 118 return static_cast<int>((x * h01) >> 56); 130 return static_cast<int>(where); 134 if (_BitScanForward(&where, static_cast<unsigned long>(mask))) 135 return static_cast<int>(where); 137 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32))) 138 return static_cast<int>(where + 32); // Create a bit offset from the LSB. 151 return static_cast<int>(where); 160 return __builtin_ctzl(static_cast<unsigned long>(mask)); 172 return static_cast<int>(63 - where) [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
table.cc | 85 builder_raw = static_cast<Table::Builder*>( 89 builder_raw = static_cast<Table::Builder*>( 93 builder_raw = static_cast<Table::Builder*>( 96 builder_raw = static_cast<Table::Builder*>( 99 builder_raw = static_cast<Table::Builder*>( 102 builder_raw = static_cast<Table::Builder*>( 105 builder_raw = static_cast<Table::Builder*>( 108 builder_raw = static_cast<Table::Builder*>( 111 builder_raw = static_cast<Table::Builder*>( 114 builder_raw = static_cast<Table::Builder*> [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/ |
support.h | 98 return __builtin_popcount(static_cast<int>(x)); 118 return static_cast<int>((x * h01) >> 56); 130 return static_cast<int>(where); 134 if (_BitScanForward(&where, static_cast<unsigned long>(mask))) 135 return static_cast<int>(where); 137 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32))) 138 return static_cast<int>(where + 32); // Create a bit offset from the LSB. 151 return static_cast<int>(where); 160 return __builtin_ctzl(static_cast<unsigned long>(mask)); 172 return static_cast<int>(63 - where) [all...] |
/prebuilts/ndk/9/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/ |
support.h | 98 return __builtin_popcount(static_cast<int>(x)); 118 return static_cast<int>((x * h01) >> 56); 130 return static_cast<int>(where); 134 if (_BitScanForward(&where, static_cast<unsigned long>(mask))) 135 return static_cast<int>(where); 137 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32))) 138 return static_cast<int>(where + 32); // Create a bit offset from the LSB. 151 return static_cast<int>(where); 160 return __builtin_ctzl(static_cast<unsigned long>(mask)); 172 return static_cast<int>(63 - where) [all...] |
/external/chromium_org/mojo/system/ |
raw_shared_buffer_posix.cc | 41 if (static_cast<uint64_t>(num_bytes_) > 42 static_cast<uint64_t>(std::numeric_limits<off_t>::max())) { 77 if (HANDLE_EINTR(ftruncate(fd.get(), static_cast<off_t>(num_bytes_))) != 0) { 90 if (static_cast<uint64_t>(num_bytes_) > 91 static_cast<uint64_t>(std::numeric_limits<off_t>::max())) { 107 if (sb.st_size != static_cast<off_t>(num_bytes_)) { 126 DCHECK_LE(static_cast<uint64_t>(real_offset), 127 static_cast<uint64_t>(std::numeric_limits<off_t>::max())); 130 handle_.get().fd, static_cast<off_t>(real_offset)); 138 void* base = static_cast<char*>(real_base) + offset_rounding [all...] |
/frameworks/compile/mclinker/lib/Support/ |
LEB128.cpp | 38 *pBuf++ = static_cast<ByteType>(pValue); 41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f); 45 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 46 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); 47 *pBuf++ = static_cast<ByteType>((pValue >> 14) & 0x7f); 50 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 51 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); 52 *pBuf++ = static_cast<ByteType>(((pValue >> 14) & 0x7f) | 0x80); 53 *pBuf++ = static_cast<ByteType>((pValue >> 21) & 0x7f) [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream.h | [all...] |
/art/runtime/jdwp/ |
jdwp_bits.h | 40 bytes.push_back(static_cast<uint8_t>(value >> 8)); 41 bytes.push_back(static_cast<uint8_t>(value)); 45 bytes.push_back(static_cast<uint8_t>(value >> 24)); 46 bytes.push_back(static_cast<uint8_t>(value >> 16)); 47 bytes.push_back(static_cast<uint8_t>(value >> 8)); 48 bytes.push_back(static_cast<uint8_t>(value)); 52 bytes.push_back(static_cast<uint8_t>(value >> 56)); 53 bytes.push_back(static_cast<uint8_t>(value >> 48)); 54 bytes.push_back(static_cast<uint8_t>(value >> 40)); 55 bytes.push_back(static_cast<uint8_t>(value >> 32)) [all...] |
/external/chromium_org/ui/events/ozone/ |
events_ozone.cc | 14 const ui::Event* event = static_cast<const ui::Event*>(native_event); 19 const ui::Event* event = static_cast<const ui::Event*>(native_event); 24 const ui::Event* event = static_cast<const ui::Event*>(native_event); 31 static_cast<const ui::LocatedEvent*>(native_event); 44 static_cast<const ui::MouseEvent*>(native_event); 50 const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event); 56 const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event); 62 const ui::KeyEvent* event = static_cast<const ui::KeyEvent*>(native_event); 69 static_cast<const ui::MouseWheelEvent*>(native_event); 86 static_cast<const ui::TouchEvent*>(native_event) [all...] |
/external/libcxxabi/test/ |
catch_class_03.cpp | 80 assert(static_cast<C1&>(a).id_ == 4); 81 assert(static_cast<C2&>(a).id_ == 3); 82 assert(static_cast<B&>(static_cast<C1&>(a)).id_ == 2); 83 assert(static_cast<B&>(static_cast<C2&>(a)).id_ == 1); 102 assert(static_cast<const C1&>(a).id_ == 4); 103 assert(static_cast<const C2&>(a).id_ == 3); 104 assert(static_cast<const B&>(static_cast<const C1&>(a)).id_ == 2) [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerFirOps.h | 65 int16_t v = left ? static_cast<int16_t>(vRL) : static_cast<int16_t>(vRL>>16); 66 return static_cast<int32_t>((static_cast<int64_t>(in) * v) >> 16); 96 return a + static_cast<int32_t>((static_cast<int64_t>(v) * in) >> 16); 111 return a + static_cast<int32_t>((static_cast<int64_t>(v) * in) >> 32); 133 int16_t s = left ? static_cast<int16_t>(inRL) : static_cast<int16_t>(inRL>>16) [all...] |
/ndk/sources/cxx-stl/gabi++/tests/ |
catch_class_03.cpp | 80 assert(static_cast<C1&>(a).id_ == 4); 81 assert(static_cast<C2&>(a).id_ == 3); 82 assert(static_cast<B&>(static_cast<C1&>(a)).id_ == 2); 83 assert(static_cast<B&>(static_cast<C2&>(a)).id_ == 1); 102 assert(static_cast<const C1&>(a).id_ == 4); 103 assert(static_cast<const C2&>(a).id_ == 3); 104 assert(static_cast<const B&>(static_cast<const C1&>(a)).id_ == 2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
catch_class_03.cpp | 80 assert(static_cast<C1&>(a).id_ == 4); 81 assert(static_cast<C2&>(a).id_ == 3); 82 assert(static_cast<B&>(static_cast<C1&>(a)).id_ == 2); 83 assert(static_cast<B&>(static_cast<C2&>(a)).id_ == 1); 102 assert(static_cast<const C1&>(a).id_ == 4); 103 assert(static_cast<const C2&>(a).id_ == 3); 104 assert(static_cast<const B&>(static_cast<const C1&>(a)).id_ == 2) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
timing.cc | 54 return (static_cast<double>(time.tv_sec) + 55 static_cast<double>(time.tv_usec) * 1.0e-6); 61 return (static_cast<double>(time.time) + 62 static_cast<double>(time.millitm) * 1.0e-3); 67 return (static_cast<double>(TimeNanos()) / kNumNanosecsPerSec); 83 ts.tv_sec = static_cast<time_t>(sec_int); 84 ts.tv_nsec = static_cast<long>(sec_frac * 1.0e9); // NOLINT
|
/external/clang/test/CodeGenCXX/ |
devirtualize-virtual-function-calls-final.cpp | 49 return static_cast<B*>(v)->f(); 65 static_cast<A*>(d)->f(); 88 static_cast<A*>(d)->f(); 111 static_cast<A*>(d)->~A(); 136 return static_cast<bar*>(z)->f(); 151 return static_cast<B*>(c)->foo(); 185 return static_cast<RA*>(x)->f();
|
/external/clang/test/Parser/ |
cxx-casting.cpp | 27 return static_cast<double>(i); 47 (void)static_cast<::c>(&x); // expected-error{{found '<::' after a static_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}} 50 (void)static_cast<: :c>(&x); //\ 51 expected-error {{expected '<' after 'static_cast'}} \ 55 (void)static_cast<: // expected-error {{expected '<' after 'static_cast'}} \ 62 (void)static_cast LC:c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-note{{}} 64 (void)static_cast<:C c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-no (…) [all...] |
/frameworks/av/media/libeffects/testlibs/ |
AudioPeakingFilter.cpp | 70 uint32_t normFreq = static_cast<uint32_t>( 71 (static_cast<uint64_t>(millihertz) * mFrequencyFactor) >> 10); 96 static_cast<uint32_t>(mGain) << (32 - GAIN_PRECISION_BITS), 107 low = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(-halfBW + (16 << 15))) >> 16); 111 high = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(halfBW + (16 << 15))) >> 16);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1_impl/ |
functional_hash.h | 58 { return static_cast<size_t>(__val); } 103 size_t __result = static_cast<size_t>(2166136261UL); 106 __result ^= static_cast<size_t>(*__first++); 107 __result *= static_cast<size_t>(16777619UL); 120 static_cast<size_t>(14695981039346656037ULL); 123 __result ^= static_cast<size_t>(*__first++); 124 __result *= static_cast<size_t>(1099511628211ULL);
|