/external/chromium/chrome/browser/ui/webui/ |
sync_internals_ui_unittest.cc | 69 return static_cast<NiceMock<ProfileMock>*>(profile()); 98 .WillRepeatedly(Return(static_cast<ProfileSyncService*>(NULL))); 123 return static_cast<TestSyncInternalsUI*>(test_sync_internals_ui_buf_);
|
/external/chromium/chrome/common/extensions/ |
extension_messages.cc | 69 int val = static_cast<int>(p); 78 *p = static_cast<param_type>(val); 82 ParamTraits<int>::Log(static_cast<int>(p), l);
|
/external/chromium/crypto/ |
encryptor_openssl.cc | 93 DCHECK_EQ(EVP_CIPHER_iv_length(cipher), static_cast<int>(iv_.length())); 94 DCHECK_EQ(EVP_CIPHER_key_length(cipher), static_cast<int>(key.length())); 120 DCHECK_LE(out_len, static_cast<int>(output_size));
|
/external/chromium/testing/gtest/test/ |
gtest-linked_ptr_test.cc | 83 ASSERT_EQ(a0.get(), static_cast<A*>(NULL)); 84 ASSERT_EQ(a1.get(), static_cast<A*>(NULL)); 85 ASSERT_EQ(a2.get(), static_cast<A*>(NULL));
|
/external/chromium_org/base/debug/ |
trace_event_android.cc | 32 base::StringAppendF(&out, "-%" PRIx64, static_cast<uint64>(id)); 130 StringAppendF(&out, "-%" PRIx64, static_cast<uint64>(id)); 132 static_cast<int>(arg_values[i]), category_group);
|
/external/chromium_org/base/memory/ |
shared_memory_unittest.cc | 60 int *ptr = static_cast<int*>(memory.memory()) + id_; 114 volatile int* const ptr = static_cast<int*>(memory2.memory()); 165 ASSERT_NE(memory1.memory(), static_cast<void*>(NULL)); 166 ASSERT_NE(memory2.memory(), static_cast<void*>(NULL)); 174 char *start_ptr = static_cast<char *>(memory2.memory()); 241 char *start_ptr = static_cast<char *>(memory2.memory()); 337 int *ptr = static_cast<int*>(memories[i].memory()); 372 uint32* ptr = static_cast<uint32*>(memory.memory()); 373 ASSERT_NE(ptr, static_cast<void*>(NULL)); 384 ptr = static_cast<uint32*>(memory.memory()) [all...] |
/external/chromium_org/base/ |
safe_numerics_unittest.cc | 27 To to = static_cast<To>(i); 128 EXPECT_TRUE(IsValidNumericCast<int>(static_cast<short>(SHRT_MIN))); 130 IsValidNumericCast<unsigned short>(static_cast<short>(SHRT_MIN)));
|
/external/chromium_org/base/threading/ |
thread_local_unittest.cc | 96 EXPECT_EQ(static_cast<ThreadLocalTesterBase*>(NULL), tls_val); 102 EXPECT_EQ(static_cast<ThreadLocalTesterBase*>(NULL), tls_val); 124 EXPECT_EQ(static_cast<ThreadLocalTesterBase*>(NULL), tls_val);
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
settings_test_util.cc | 124 static_cast<ExtensionServiceInterface*>(&extension_service_); 125 return static_cast<ExtensionService*>(as_interface); 130 return new MockExtensionSystem(static_cast<Profile*>(profile));
|
/external/chromium_org/chrome/browser/extensions/ |
extension_notification_observer.cc | 100 notifications_.push_back(static_cast<chrome::NotificationType>(type)); 108 notifications_.push_back(static_cast<chrome::NotificationType>(type)); 116 notifications_.push_back(static_cast<chrome::NotificationType>(type));
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_handle.cc | 27 DCHECK_NE(static_cast<Observer*>(NULL), observer); 75 DCHECK_EQ(static_cast<PrerenderManager::PrerenderData*>(NULL), 86 DCHECK_NE(static_cast<PrerenderContents*>(NULL),
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url_service_factory.cc | 21 return static_cast<TemplateURLService*>( 33 return new TemplateURLService(static_cast<Profile*>(profile)); 49 return BuildInstanceFor(static_cast<Profile*>(profile));
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
ev_bubble_decoration.mm | 41 return [NSColor colorWithCalibratedRed:static_cast<float>(rr)/255.0 42 green:static_cast<float>(gg)/255.0 43 blue:static_cast<float>(bb)/255.0
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
view_id_util_browsertest.mm | 78 CheckViewID(static_cast<ViewID>(i), true); 107 CheckViewID(static_cast<ViewID>(VIEW_ID_TAB_0 + i), false); 111 CheckViewID(static_cast<ViewID>(VIEW_ID_TAB_0 + i), true);
|
/external/chromium_org/chrome/browser/ui/fullscreen/ |
fullscreen_controller_state_test.cc | 218 if (ShouldSkipStateAndEventPair(static_cast<State>(source), 219 static_cast<Event>(event))) 222 state_transitions_[source][destination].event = static_cast<Event>(event); 567 State state = static_cast<State>(source_int); 568 Event event1 = static_cast<Event>(event1_int); 576 Event event2 = static_cast<Event>(event2_int); 577 Event event3 = static_cast<Event>(event3_int); 612 Event event = static_cast<Event>(event_int); 780 State state = static_cast<State>(state_int); 783 Event event = static_cast<Event>(event_int) [all...] |
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
dragged_view_gtk.cc | 79 static_cast<int>(i) == drag_data_->source_tab_index()); 168 DCHECK(from <= static_cast<int>(drag_data_->size())); 169 DCHECK(to <= static_cast<int>(drag_data_->size())); 175 int width = non_mini_tab_count * static_cast<int>(floor(normal_width_ + 0.5)) 199 static_cast<int>(drag_data_->size()) - 1) { 232 static_cast<int>(delta_x * animation->GetCurrentValue()); 292 return attached_ ? value : static_cast<int>(value * kScalingFactor); 325 cairo_scale(cairo_context, static_cast<double>(size.width()), 326 static_cast<double>(size.height())); 347 if (static_cast<int>(i) == 0 [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
display_settings_provider_win.cc | 58 return taskbars_[static_cast<int>(alignment)].window != NULL; 74 HWND taskbar_window = taskbars_[static_cast<int>(alignment)].window; 160 DesktopBarAlignment alignment = static_cast<DesktopBarAlignment>(i);
|
docked_panel_drag_handler.cc | 19 static_cast<DockedPanelCollection*>(panel->collection()); 52 static_cast<DockedPanelCollection*>(panel->collection()); 86 static_cast<DockedPanelCollection*>(panel->collection());
|
/external/chromium_org/chrome/browser/ui/views/ |
avatar_menu_button.cc | 25 return static_cast<int>(x + 0.5); 60 static_cast<float>(dst_width) / static_cast<float>(button_icon_.width());
|
/external/chromium_org/chrome/browser/ui/views/status_icons/ |
status_tray_win_unittest.cc | 64 StatusIconWin* icon = static_cast<StatusIconWin*>(tray.CreateStatusIcon( 82 StatusIconWin* icon = static_cast<StatusIconWin*>(tray.CreateStatusIcon( 98 StatusIconWin* icon = static_cast<StatusIconWin*>(tray.CreateStatusIcon(
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
error_screen_handler.cc | 98 CallJS("setUIState", static_cast<int>(ui_state_)); 104 CallJS("setErrorState", static_cast<int>(error_state_), network); 124 OobeUI* oobe_ui = static_cast<OobeUI*>(web_ui()->GetController());
|
/external/chromium_org/chrome/browser/ui/webui/ |
metrics_handler.cc | 61 int int_value = static_cast<int>(value); 62 int int_boundary_value = static_cast<int>(boundary_value); 97 static_cast<int>(duration.InMilliseconds()));
|
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/ |
performance_monitor_handler.cc | 253 event_results->SetInteger("eventId", static_cast<int>(*iter)); 283 static_cast<int64>(time)).ToJsTime()); 326 metric_set->SetInteger("metricId", static_cast<int>(*metric_type)); 460 GetAggregationMethod(static_cast<AggregationMethod>(i)).release()); 472 results.Append(GetEventCategory(static_cast<EventCategory>(i)).release()); 491 static_cast<EventType>(static_cast<int>(event_type_double))); 514 results.Append(GetMetricCategory(static_cast<MetricCategory>(i)).release()); 533 static_cast<MetricType>(static_cast<int>(metric_type_double))) [all...] |
/external/chromium_org/chrome/common/metrics/ |
metrics_log_manager.cc | 62 static_cast<unsigned int>(last_provisional_store_index_) == 133 DCHECK_LT(static_cast<unsigned int>(last_provisional_store_index_), 150 static_cast<int>(log_size));
|
/external/chromium_org/chrome/test/chromedriver/ |
keycode_text_conversion_mac.mm | 49 CFDataRef layout_data = static_cast<CFDataRef>(TISGetInputSourceProperty( 57 static_cast<UInt16>(mac_key_code), 90 ui::KeyboardCode code = static_cast<ui::KeyboardCode>(i);
|