HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 1351 - 1375 of 12288) sorted by null

<<51525354555657585960>>

  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/
future 82 { return error_code(static_cast<int>(__errc), future_category()); }
87 { return error_condition(static_cast<int>(__errc), future_category()); }
133 return static_cast<launch>(
134 static_cast<int>(__x) & static_cast<int>(__y));
139 return static_cast<launch>(
140 static_cast<int>(__x) | static_cast<int>(__y));
145 return static_cast<launch>(
146 static_cast<int>(__x) ^ static_cast<int>(__y))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestObject.cpp 381 v8SetReturnValue(info, static_cast<double>(imp->longLongAttr()));
410 v8SetReturnValue(info, static_cast<double>(imp->unsignedLongLongAttr()));
    [all...]
  /external/chromium_org/content/browser/browser_plugin/
browser_plugin_host_browsertest.cc 324 WebContentsImpl* embedder_web_contents = static_cast<WebContentsImpl*>(
326 RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>(
350 test_embedder_ = static_cast<TestBrowserPluginEmbedder*>(
354 test_guest_manager_ = static_cast<TestBrowserPluginGuestManager*>(
365 WebContentsImpl* test_guest_web_contents = static_cast<WebContentsImpl*>(
367 test_guest_ = static_cast<TestBrowserPluginGuest*>(
449 static_cast<TestBrowserPluginEmbedder*>(
450 static_cast<WebContentsImpl*>(shell()->web_contents())->
479 static_cast<TestBrowserPluginEmbedder*>(
491 RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>
    [all...]
  /external/chromium_org/content/browser/renderer_host/java/
java_bound_object.cc 178 jstring java_string = static_cast<jstring>(
198 char* buffer = static_cast<char*>(malloc(length));
240 const int64 limit = (GG_INT64_C(1) << 63) - static_cast<uint64>(1 << 10);
250 return static_cast<jlong>(intermediate);
257 intermediate = std::min(intermediate, static_cast<double>(kint32max));
258 intermediate = std::max(intermediate, static_cast<double>(kint32min));
259 return static_cast<jint>(intermediate);
278 static_cast<jbyte>(RoundDoubleToInt(NPVARIANT_TO_DOUBLE(variant))) :
279 static_cast<jbyte>(NPVARIANT_TO_INT32(variant));
286 static_cast<jchar>(NPVARIANT_TO_INT32(variant))
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/
future 80 { return error_code(static_cast<int>(__errc), future_category()); }
85 { return error_condition(static_cast<int>(__errc), future_category()); }
134 return static_cast<launch>(
135 static_cast<int>(__x) & static_cast<int>(__y));
140 return static_cast<launch>(
141 static_cast<int>(__x) | static_cast<int>(__y));
146 return static_cast<launch>(
147 static_cast<int>(__x) ^ static_cast<int>(__y))
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/
future 80 { return error_code(static_cast<int>(__errc), future_category()); }
85 { return error_condition(static_cast<int>(__errc), future_category()); }
134 return static_cast<launch>(
135 static_cast<int>(__x) & static_cast<int>(__y));
140 return static_cast<launch>(
141 static_cast<int>(__x) | static_cast<int>(__y));
146 return static_cast<launch>(
147 static_cast<int>(__x) ^ static_cast<int>(__y))
    [all...]
  /external/chromium_org/base/strings/
string_piece_unittest.cc 147 temp += static_cast<typename TypeParam::value_type>(0);
151 ASSERT_EQ(a[6], static_cast<typename TypeParam::value_type>('g'));
152 ASSERT_EQ(b[0], static_cast<typename TypeParam::value_type>('a'));
153 ASSERT_EQ(c[2], static_cast<typename TypeParam::value_type>('z'));
154 ASSERT_EQ(f[3], static_cast<typename TypeParam::value_type>('\0'));
155 ASSERT_EQ(f[5], static_cast<typename TypeParam::value_type>('5'));
157 ASSERT_EQ(*d.data(), static_cast<typename TypeParam::value_type>('f'));
158 ASSERT_EQ(d.data()[5], static_cast<typename TypeParam::value_type>('r'));
161 ASSERT_EQ(*a.begin(), static_cast<typename TypeParam::value_type>('a'));
162 ASSERT_EQ(*(b.begin() + 2), static_cast<typename TypeParam::value_type>('c'))
    [all...]
  /external/chromium_org/chrome/installer/test/
alternate_version_generator.cc 107 return ChromeVersion(static_cast<ULONGLONG>(high) << 32 |
108 static_cast<ULONGLONG>(low));
114 return ChromeVersion(static_cast<ULONGLONG>(c[0]) << 48 |
115 static_cast<ULONGLONG>(c[1]) << 32 |
116 static_cast<ULONGLONG>(c[2]) << 16 |
117 static_cast<ULONGLONG>(c[3]));
122 WORD major() const { return static_cast<WORD>(version_ >> 48); }
123 WORD minor() const { return static_cast<WORD>(version_ >> 32); }
124 WORD build() const { return static_cast<WORD>(version_ >> 16); }
125 WORD patch() const { return static_cast<WORD>(version_);
    [all...]
  /external/chromium_org/content/browser/
site_instance_impl_unittest.cc 233 scoped_ptr<WebContentsImpl> web_contents(static_cast<WebContentsImpl*>(
295 scoped_refptr<SiteInstanceImpl> instance(static_cast<SiteInstanceImpl*>(
301 scoped_refptr<SiteInstanceImpl> instance2(static_cast<SiteInstanceImpl*>(
312 scoped_refptr<SiteInstanceImpl> instance(static_cast<SiteInstanceImpl*>(
402 static_cast<SiteInstanceImpl*>(
409 static_cast<SiteInstanceImpl*>(
432 static_cast<SiteInstanceImpl*>(
476 static_cast<SiteInstanceImpl*>(
484 static_cast<SiteInstanceImpl*>(
506 static_cast<SiteInstanceImpl*>
    [all...]
  /external/chromium_org/ipc/
ipc_message_utils.cc 43 base::StringPrintf("[%02X]", static_cast<unsigned char>(data[i])));
48 static_cast<unsigned>(data.size() - kMaxBytesToLog)));
98 static_cast<const base::BinaryValue*>(value);
99 m->WriteData(binary->GetBuffer(), static_cast<int>(binary->GetSize()));
104 static_cast<const base::DictionaryValue*>(value);
106 WriteParam(m, static_cast<int>(dict->size()));
116 const base::ListValue* list = static_cast<const base::ListValue*>(value);
117 WriteParam(m, static_cast<int>(list->GetSize()));
299 l->append(base::Int64ToString(static_cast<int64>(p)));
303 l->append(base::Uint64ToString(static_cast<uint64>(p)))
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/demo/earth/
earth.cc 65 return static_cast<float>(c & 0xFF) * kOneOver255;
69 return static_cast<float>((c & 0xFF00) >> 8) * kOneOver255;
73 return static_cast<float>((c & 0xFF0000) >> 16) * kOneOver255;
110 float f = static_cast<float>(i) / kArcCosineTableSize;
121 int ix = static_cast<int>(x);
122 float fx = static_cast<float>(ix);
174 return static_cast<uint32_t>(x * 255.0f);
394 float y1 = (static_cast<float>(y - offset_y) / min_dim) * 2.0f - 1.0f;
407 float x1 = (static_cast<float>(x - offset_x) * oowidth) * 2.0f - 1.0f;
470 int tx = static_cast<int>(u * base_tex_->width)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
LayoutUnit.h 70 LayoutUnit(float value) { m_value = clampTo<float>(value * kFixedPointDenominator, static_cast<float>(INT_MIN), static_cast<float>(INT_MAX)); }
71 LayoutUnit(double value) { m_value = clampTo<double>(value * kFixedPointDenominator, static_cast<double>(INT_MIN), static_cast<double>(INT_MAX)); }
95 float toFloat() const { return static_cast<float>(m_value) / kFixedPointDenominator; }
96 double toDouble() const { return static_cast<double>(m_value) / kFixedPointDenominator; }
100 if (static_cast<int>(floatValue * kFixedPointDenominator) == m_value)
125 m_value = static_cast<int>(value);
220 return value <= static_cast<unsigned>(std::numeric_limits<int>::max()) / kFixedPointDenominator;
238 if (value >= static_cast<unsigned>(intMaxForLayoutUnit)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
AutoTableLayout.cpp 229 float percent = min(static_cast<float>(m_layoutStruct[i].effectiveLogicalWidth.percent()), remainingPercent);
230 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon);
240 maxWidth = max<int>(maxWidth, static_cast<int>(min(maxNonPercent, static_cast<float>(tableMaxWidth))));
241 maxWidth = max<int>(maxWidth, static_cast<int>(min(maxPercent, static_cast<float>(tableMaxWidth))));
344 maxLogicalWidth = max(maxLogicalWidth, static_cast<int>(max(spanMaxLogicalWidth, cellMaxLogicalWidth) * 100 / cellLogicalWidth.percent()));
356 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) / totalWidth;
372 int cellLogicalWidth = max(m_layoutStruct[pos].effectiveMinLogicalWidth, static_cast<int>(cellMinLogicalWidth * m_layoutStruct[pos].logicalWidth.value() / fixedWidth));
385 int columnMinLogicalWidth = static_cast<int>(percent * cellMinLogicalWidth / totalPercent)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
stun.cc 101 length_ += static_cast<uint16>(attr_length + 4);
118 return static_cast<const StunAddressAttribute*>(GetAttribute(type));
123 return static_cast<const StunUInt32Attribute*>(GetAttribute(type));
127 return static_cast<const StunUInt64Attribute*>(GetAttribute(type));
131 return static_cast<const StunByteStringAttribute*>(GetAttribute(type));
135 return static_cast<const StunErrorCodeAttribute*>(
140 return static_cast<const StunUInt16ListAttribute*>(
207 static_cast<uint16>(new_adjusted_len));
242 int msg_len_for_hmac = static_cast<int>(
303 int msg_len_for_crc32 = static_cast<int>
    [all...]
  /art/compiler/trampolines/
trampoline_compiler.cc 31 UniquePtr<ArmAssembler> assembler(static_cast<ArmAssembler*>(Assembler::Create(kArm)));
59 UniquePtr<MipsAssembler> assembler(static_cast<MipsAssembler*>(Assembler::Create(kMips)));
88 UniquePtr<X86Assembler> assembler(static_cast<X86Assembler*>(Assembler::Create(kX86)));
  /art/compiler/utils/mips/
managed_register_mips.cc 91 os << "Core: " << static_cast<int>(AsCoreRegister());
95 os << "FRegister: " << static_cast<int>(AsFRegister());
97 os << "DRegister: " << static_cast<int>(AsDRegister());
  /art/compiler/utils/x86/
managed_register_x86.cc 110 os << "XMM: " << static_cast<int>(AsXmmRegister());
112 os << "X87: " << static_cast<int>(AsX87Register());
114 os << "CPU: " << static_cast<int>(AsCpuRegister());
  /external/chromium/android/ui/base/l10n/
l10n_util.cc 69 mClassRef = static_cast<jclass>(env->NewGlobalRef(localClass));
75 jstring result = static_cast<jstring>(env->CallStaticObjectMethod(mClassRef, getLocalisedString, message_id));
105 jstring locale_jstr = static_cast<jstring>(env->CallObjectMethod(locale_jobj, to_string));
  /external/chromium/base/threading/
thread_local_unittest.cc 90 EXPECT_EQ(static_cast<ThreadLocalTesterBase*>(NULL), tls_val);
96 EXPECT_EQ(static_cast<ThreadLocalTesterBase*>(NULL), tls_val);
118 EXPECT_EQ(static_cast<ThreadLocalTesterBase*>(NULL), tls_val);
  /external/chromium/chrome/browser/chromeos/options/
network_config_view.cc 35 new WifiConfigView(this, static_cast<WifiNetwork*>(network));
38 new VPNConfigView(this, static_cast<VirtualNetwork*>(network));
60 GTK_WINDOW(static_cast<const WidgetGtk*>(GetWidget())->GetNativeView());
  /external/chromium/chrome/browser/extensions/
extension_tts_api_win.cc 70 speech_synthesizer_->SetRate(static_cast<int32>(rate * 20 - 10));
78 base::IntToString16(static_cast<int>(pitch * 20 - 10));
85 speech_synthesizer_->SetVolume(static_cast<uint16>(volume * 100));
  /external/chromium/chrome/browser/
language_order_table_model.cc 27 for (int i = 0; i < static_cast<int>(languages_vector.size()); i++) {
101 if (index <= 0 || index >= static_cast<int>(languages_.size()))
115 return static_cast<int>(languages_.size());
  /external/chromium/chrome/browser/net/
quoted_printable.cc 69 output->append(1, kHexTable[static_cast<int>((c >> 4) & 0xF)]);
70 output->append(1, kHexTable[static_cast<int>(c & 0x0F)]);
111 char r = static_cast<char>(((i1 << 4) & 0xF0) | (i2 & 0x0F));
  /external/chromium/chrome/browser/ui/cocoa/location_bar/
ev_bubble_decoration.mm 42 return [NSColor colorWithCalibratedRed:static_cast<float>(rr)/255.0
43 green:static_cast<float>(gg)/255.0
44 blue:static_cast<float>(bb)/255.0
  /external/chromium/chrome/browser/ui/cocoa/
view_id_util_browsertest.mm 79 CheckViewID(static_cast<ViewID>(i), true);
106 CheckViewID(static_cast<ViewID>(VIEW_ID_TAB_0 + i), false);
109 CheckViewID(static_cast<ViewID>(VIEW_ID_TAB_0 + i), true);

Completed in 1060 milliseconds

<<51525354555657585960>>