/external/chromium_org/chrome/renderer/ |
mock_printer.cc | 26 params->content_size.SetSize(static_cast<int>((8.5 * dpi)), 27 static_cast<int>((11.0 * dpi))); 31 params->content_size.SetSize(static_cast<int>((8.0 * dpi)), 32 static_cast<int>((10.5 * dpi))); 33 params->margin_left = static_cast<int>(0.25 * dpi); 34 params->margin_top = static_cast<int>(0.25 * dpi); 36 params->content_size.SetSize(static_cast<int>((7.9 * dpi)), 37 static_cast<int>((10.4 * dpi))); 38 params->margin_left = static_cast<int>(0.30 * dpi); 39 params->margin_top = static_cast<int>(0.30 * dpi) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FELighting.cpp | 58 const static unsigned char cOpaqueAlpha = static_cast<unsigned char>(0xff); 67 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 68 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 70 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 71 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 78 int left = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); 79 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 80 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 82 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); 83 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebCryptoAlgorithm.cpp | 90 return static_cast<WebCryptoAesCbcParams*>(m_private->params.get()); 98 return static_cast<WebCryptoAesCtrParams*>(m_private->params.get()); 106 return static_cast<WebCryptoAesKeyGenParams*>(m_private->params.get()); 114 return static_cast<WebCryptoHmacParams*>(m_private->params.get()); 122 return static_cast<WebCryptoHmacKeyParams*>(m_private->params.get()); 130 return static_cast<WebCryptoRsaSsaParams*>(m_private->params.get()); 138 return static_cast<WebCryptoRsaKeyGenParams*>(m_private->params.get()); 146 return static_cast<WebCryptoAesGcmParams*>(m_private->params.get()); 154 return static_cast<WebCryptoRsaOaepParams*>(m_private->params.get());
|
/external/webrtc/src/modules/audio_processing/ |
noise_suppression_impl.cc | 67 Handle* my_handle = static_cast<Handle*>(handle(i)); 69 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)), 75 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)), 145 return WebRtcNs_Free(static_cast<Handle*>(handle)); 147 return WebRtcNsx_Free(static_cast<Handle*>(handle)); 153 return WebRtcNs_Init(static_cast<Handle*>(handle), apm_->sample_rate_hz()); 155 return WebRtcNsx_Init(static_cast<Handle*>(handle), apm_->sample_rate_hz()); 161 return WebRtcNs_set_policy(static_cast<Handle*>(handle), 164 return WebRtcNsx_set_policy(static_cast<Handle*>(handle),
|
/external/chromium_org/content/browser/speech/ |
speech_recognizer_impl_android.cc | 103 static_cast<JNIEnv*>(NULL), static_cast<jobject>(NULL))); 115 static_cast<JNIEnv*>(NULL), static_cast<jobject>(NULL))); 126 static_cast<JNIEnv*>(NULL), static_cast<jobject>(NULL))); 137 static_cast<JNIEnv*>(NULL), static_cast<jobject>(NULL))); 160 options[i], static_cast<double>(scores[i]))); 179 static_cast<JNIEnv*>(NULL), static_cast<jobject>(NULL), error)) [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...] |
/frameworks/rs/ |
rsScript.cpp | 156 Script *s = static_cast<Script *>(vs); 157 Allocation *a = static_cast<Allocation *>(va); 184 Script *s = static_cast<Script *>(vs); 193 static_cast<const Allocation *>(vain), static_cast<Allocation *>(vaout), 199 Script *s = static_cast<Script *>(vs); 205 Script *s = static_cast<Script *>(vs); 210 Script *s = static_cast<Script *>(vs); 215 Script *s = static_cast<Script *>(vs); 220 Script *s = static_cast<Script *>(vs) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
Image.cpp | 33 source = static_cast<const unsigned char*>(input) + y * inputPitch; 34 dest = static_cast<unsigned char*>(output) + y * outputPitch; 53 source = static_cast<const unsigned char*>(input) + y * inputPitch; 54 dest = static_cast<unsigned char*>(output) + y * outputPitch; 67 source = reinterpret_cast<const float*>(static_cast<const unsigned char*>(input) + y * inputPitch); 68 dest = reinterpret_cast<float*>(static_cast<unsigned char*>(output) + y * outputPitch); 87 source = reinterpret_cast<const unsigned short*>(static_cast<const unsigned char*>(input) + y * inputPitch); 88 dest = reinterpret_cast<unsigned short*>(static_cast<unsigned char*>(output) + y * outputPitch); 107 source = static_cast<const unsigned char*>(input) + y * inputPitch; 108 dest = static_cast<unsigned char*>(output) + y * outputPitch [all...] |
/external/chromium_org/base/memory/ |
aligned_memory.h | 24 // float* my_array = static_cast<float*>(AlignedAlloc(size, alignment)); 32 // static_cast<float*>(AlignedAlloc(size, alignment))); 59 void* void_data() { return static_cast<void*>(data_); } \ 61 return static_cast<const void*>(data_); \ 64 Type* data_as() { return static_cast<Type*>(void_data()); } \ 67 return static_cast<const Type*>(void_data()); \
|
/external/chromium_org/chrome/browser/metrics/ |
compression_utils.cc | 36 stream.avail_in = static_cast<uInt>(source_length); 38 stream.avail_out = static_cast<uInt>(*dest_length); 39 if (static_cast<uLong>(stream.avail_out) != *dest_length) 42 stream.zalloc = static_cast<alloc_func>(0); 43 stream.zfree = static_cast<free_func>(0); 44 stream.opaque = static_cast<voidpf>(0);
|
/external/chromium_org/chrome/browser/ui/webui/quota_internals/ |
quota_internals_types.cc | 42 // all static_cast<double> in this file. 46 dict->SetDouble("usage", static_cast<double>(usage_)); 48 dict->SetDouble("unlimitedUsage", static_cast<double>(unlimited_usage_)); 50 dict->SetDouble("quota", static_cast<double>(quota_)); 67 dict->SetDouble("usage", static_cast<double>(usage_)); 69 dict->SetDouble("quota", static_cast<double>(quota_));
|
/external/chromium_org/content/common/media/ |
media_param_traits.cc | 21 m->WriteInt(static_cast<int>(p.format())); 22 m->WriteInt(static_cast<int>(p.channel_layout())); 46 AudioParameters params(static_cast<AudioParameters::Format>(format), 47 static_cast<ChannelLayout>(channel_layout), channels, 66 m->WriteInt(static_cast<int>(p.pixel_format)); 80 r->pixel_format = static_cast<VideoPixelFormat>(pixel_format);
|
/external/chromium_org/gpu/command_buffer/service/ |
transfer_buffer_manager_unittest.cc | 54 EXPECT_NE(static_cast<void*>(NULL), registered.ptr); 60 *static_cast<int*>(registered.ptr) = 7; 61 *static_cast<int*>(buffers_[0].memory()) = 8; 62 EXPECT_EQ(8, *static_cast<int*>(registered.ptr)); 72 EXPECT_EQ(static_cast<void*>(NULL), registered.ptr); 74 EXPECT_EQ(static_cast<base::SharedMemory*>(NULL), registered.shared_memory);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebFontDescription.cpp | 44 genericFamily = static_cast<GenericFamily>(desc.genericFamily()); 48 weight = static_cast<Weight>(desc.weight()); 49 smoothing = static_cast<Smoothing>(desc.fontSmoothing()); 61 desc.setGenericFamily(static_cast<FontDescription::GenericFamilyType>(genericFamily)); 66 desc.setWeight(static_cast<FontWeight>(weight)); 67 desc.setFontSmoothing(static_cast<FontSmoothingMode>(smoothing));
|
/external/chromium_org/third_party/skia/src/utils/ |
SkThreadUtils_win.cpp | 32 SkThread_WinData* winData = static_cast<SkThread_WinData*>(data); 62 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); 79 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); 92 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); 111 if (mask & (static_cast<DWORD_PTR>(1) << currentBit)) { 121 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData);
|
/external/chromium_org/ui/gfx/android/ |
shared_device_display_info.cc | 120 display_height_ = static_cast<int>(display_height); 121 display_width_ = static_cast<int>(display_width); 122 bits_per_pixel_ = static_cast<int>(bits_per_pixel); 123 bits_per_component_ = static_cast<int>(bits_per_component); 124 dip_scale_ = static_cast<double>(dip_scale); 125 smallest_dip_width_ = static_cast<int>(smallest_dip_width);
|
/external/skia/src/utils/ |
SkThreadUtils_win.cpp | 32 SkThread_WinData* winData = static_cast<SkThread_WinData*>(data); 62 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); 79 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); 92 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData); 111 if (mask & (static_cast<DWORD_PTR>(1) << currentBit)) { 121 SkThread_WinData* winData = static_cast<SkThread_WinData*>(fData);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/ |
for_each.hpp | 79 ::execute( static_cast<iter*>(0), static_cast<LastIterator*>(0), static_cast<TransformFunc*>(0), f); 101 ::execute(static_cast<first*>(0), static_cast<last*>(0), static_cast<TransformOp*>(0), f);
|
/external/chromium_org/gpu/gles2_conform_support/egl/ |
egl.cc | 43 egl::Display* display = static_cast<egl::Display*>(dpy); 55 egl::Display* display = static_cast<egl::Display*>(dpy); 67 egl::Display* display = static_cast<egl::Display*>(dpy); 79 egl::Display* display = static_cast<egl::Display*>(dpy); 101 egl::Display* display = static_cast<egl::Display*>(dpy); 122 egl::Display* display = static_cast<egl::Display*>(dpy); 131 return EglError(error_code, static_cast<const char*>(NULL)); 143 return EglError(EGL_BAD_PARAMETER, static_cast<const char*>(NULL)); 159 egl::Display* display = static_cast<egl::Display*>(dpy); 177 egl::Display* display = static_cast<egl::Display*>(dpy) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.cc | 67 ticks = kNumNanosecsPerSec * static_cast<int64>(ts.tv_sec) + 68 static_cast<int64>(ts.tv_nsec); 94 return static_cast<uint32>(TimeNanos() / kNumNanosecsPerMillisec); 98 return static_cast<uint64>(TimeNanos() / kNumNanosecsPerMicrosec); 121 tv->tv_sec = static_cast<long>(micros / kNumMicrosecsPerSec); // NOLINT 122 tv->tv_usec = static_cast<long>(micros % kNumMicrosecsPerSec); // NOLINT 152 ASSERT(static_cast<uint32>(elapsed) < HALF); 167 return (diff >= 0 && static_cast<uint32>(diff) < HALF); 177 return (diff > 0 && static_cast<uint32>(diff) < HALF); 191 return static_cast<long>(later - earlier) [all...] |
/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...] |
/external/chromium_org/printing/ |
printing_context_mac.mm | 41 return static_cast<PrintingContext*>(new PrintingContextMac(app_locale)); 117 static_cast<PMPageFormat>([print_info_.get() PMPageFormat]); 174 static_cast<PMPrintSession>([print_info_.get() PMPrintSession]); 176 static_cast<PMPrintSettings>([print_info_.get() PMPrintSettings]); 184 static_cast<PMPrintSession>([print_info_.get() PMPrintSession]); 186 static_cast<PMPageFormat>([print_info_.get() PMPageFormat]); 196 static_cast<PMPrintSession>([print_info_.get() PMPrintSession]); 227 static_cast<PMPrintSession>([print_info_.get() PMPrintSession]); 230 static_cast<PMPageFormat>([print_info_.get() PMPageFormat]); 322 static_cast<PMPrintSettings>([print_info_.get() PMPrintSettings]) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/pat_trie_/ |
insert_join_fn_imps.hpp | 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>( 85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>( 88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>( 89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value())); 108 rec_join_prep(static_cast<const_leaf_pointer>(p_l), 109 static_cast<const_leaf_pointer>(p_r), r_bag); 114 rec_join_prep(static_cast<const_leaf_pointer>(p_l), 115 static_cast<const_internal_node_pointer>(p_r), r_bag); 122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l), 123 static_cast<const_leaf_pointer>(p_r), r_bag) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/ |
insert_join_fn_imps.hpp | 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>( 85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>( 88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>( 89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value())); 108 rec_join_prep(static_cast<const_leaf_pointer>(p_l), 109 static_cast<const_leaf_pointer>(p_r), r_bag); 114 rec_join_prep(static_cast<const_leaf_pointer>(p_l), 115 static_cast<const_internal_node_pointer>(p_r), r_bag); 122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l), 123 static_cast<const_leaf_pointer>(p_r), r_bag) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/ |
insert_join_fn_imps.hpp | 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>( 85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>( 88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>( 89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value())); 108 rec_join_prep(static_cast<const_leaf_pointer>(p_l), 109 static_cast<const_leaf_pointer>(p_r), r_bag); 114 rec_join_prep(static_cast<const_leaf_pointer>(p_l), 115 static_cast<const_internal_node_pointer>(p_r), r_bag); 122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l), 123 static_cast<const_leaf_pointer>(p_r), r_bag) [all...] |