HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 176 - 200 of 13262) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/pdf/
draw_utils.cc 17 return static_cast<uint8>(pixel & 0xFF);
21 return static_cast<uint8>((pixel >> 8) & 0xFF);
25 return static_cast<uint8>((pixel >> 16) & 0xFF);
29 return static_cast<uint8>((pixel >> 24) & 0xFF);
33 return (static_cast<uint32_t>(alpha) << 24) |
34 (static_cast<uint32_t>(red) << 16) |
35 (static_cast<uint32_t>(green) << 8) |
36 static_cast<uint32_t>(blue);
40 double new_channel = start - (static_cast<double>(start) - end) * ratio;
45 return static_cast<uint8>(new_channel + 0.5)
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
fake_var_dictionary_interface.cc 32 EXPECT_NE(static_cast<FakeVarData*>(NULL), data);
33 EXPECT_NE(static_cast<FakeVarData*>(NULL), key_data);
50 EXPECT_NE(static_cast<FakeVarData*>(NULL), data);
51 EXPECT_NE(static_cast<FakeVarData*>(NULL), key_data);
64 EXPECT_NE(static_cast<FakeVarData*>(NULL), data);
65 EXPECT_NE(static_cast<FakeVarData*>(NULL), key_data);
79 EXPECT_NE(static_cast<FakeVarData*>(NULL), data);
80 EXPECT_NE(static_cast<FakeVarData*>(NULL), key_data);
91 EXPECT_NE(static_cast<FakeVarData*>(NULL), data);
  /external/chromium_org/third_party/angle/src/libGLESv2/
VertexAttribute.h 67 return static_cast<T>(mArrayEnabled ? GL_TRUE : GL_FALSE);
69 return static_cast<T>(mSize);
71 return static_cast<T>(mStride);
73 return static_cast<T>(mType);
75 return static_cast<T>(mNormalized ? GL_TRUE : GL_FALSE);
77 return static_cast<T>(mBoundBuffer.id());
79 return static_cast<T>(mDivisor);
81 return static_cast<T>(mPureInteger ? GL_TRUE : GL_FALSE);
84 return static_cast<T>(0);
  /external/chromium_org/third_party/webrtc/base/
httpcommon-inl.h 35 const CTYPE* path = strchrn(val, len, static_cast<CTYPE>('/'));
46 if (const CTYPE* at = strchrn(val, len, static_cast<CTYPE>('@'))) {
51 if (const CTYPE* colon = strchrn(val, len, static_cast<CTYPE>(':'))) {
55 port_ = static_cast<uint16>(::strtoul(colon + 1, NULL, 10));
65 const CTYPE* query = strchrn(val, len, static_cast<CTYPE>('?'));
72 path_.assign(1, static_cast<CTYPE>('/'));
74 ASSERT(val[0] == static_cast<CTYPE>('/'));
116 if ((pos > query_.length()) || (static_cast<CTYPE>('=') != query_[pos-1]))
119 std::string::size_type end = query_.find(static_cast<CTYPE>('&'), pos);
safe_conversions.h 39 // checked_cast<> is analogous to static_cast<> for numeric types,
45 return static_cast<Dst>(value);
48 // saturated_cast<> is analogous to static_cast<> for numeric types, except
55 return static_cast<Dst>(value);
59 return static_cast<Dst>(value);
74 return static_cast<Dst>(value);
  /external/chromium_org/ui/gfx/android/
shared_device_display_info.cc 152 display_height_ = static_cast<int>(display_height);
153 display_width_ = static_cast<int>(display_width);
154 physical_display_height_ = static_cast<int>(physical_display_height);
155 physical_display_width_ = static_cast<int>(physical_display_width);
156 bits_per_pixel_ = static_cast<int>(bits_per_pixel);
157 bits_per_component_ = static_cast<int>(bits_per_component);
158 dip_scale_ = static_cast<double>(dip_scale);
159 smallest_dip_width_ = static_cast<int>(smallest_dip_width);
160 rotation_degrees_ = static_cast<int>(rotation_degrees);
  /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),
  /system/core/include/log/
log_read.h 70 return (tv_sec == static_cast<uint32_t>(T.tv_sec))
71 && (tv_nsec == static_cast<uint32_t>(T.tv_nsec));
79 return (tv_sec < static_cast<uint32_t>(T.tv_sec))
80 || ((tv_sec == static_cast<uint32_t>(T.tv_sec))
81 && (tv_nsec < static_cast<uint32_t>(T.tv_nsec)));
89 return (tv_sec > static_cast<uint32_t>(T.tv_sec))
90 || ((tv_sec == static_cast<uint32_t>(T.tv_sec))
91 && (tv_nsec > static_cast<uint32_t>(T.tv_nsec)));
140 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec;
  /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...]
  /external/chromium_org/mojo/system/
raw_shared_buffer_unittest.cc 34 int* stuff = static_cast<int*>(mapping->base());
36 stuff[i] = static_cast<int>(i) + kFudge;
50 int* stuff1 = static_cast<int*>(mapping1->base());
52 EXPECT_EQ(static_cast<int>(i) + kFudge, stuff1[i]) << i;
58 int* stuff2 = static_cast<int*>(mapping2->base());
59 EXPECT_EQ(static_cast<int>(kNumInts / 2) + kFudge, stuff2[0]);
60 EXPECT_EQ(static_cast<int>(kNumInts / 2) + 1 + kFudge, stuff2[1]);
82 int* stuff = static_cast<int*>(mapping->base());
85 int i = static_cast<int>(j) + 1;
156 ASSERT_EQ('\0', static_cast<char*>(mapping->base())[j]
    [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...]
  /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/lldb/source/Interpreter/
OptionValue.cpp 35 case OptionValue::eTypeBoolean: return static_cast<OptionValueBoolean *>(this)->GetCurrentValue();
36 case OptionValue::eTypeSInt64: return static_cast<OptionValueSInt64 *>(this)->GetCurrentValue();
37 case OptionValue::eTypeUInt64: return static_cast<OptionValueUInt64 *>(this)->GetCurrentValue();
62 return static_cast<OptionValueBoolean *>(this);
70 return static_cast<const OptionValueBoolean *>(this);
79 return static_cast<OptionValueFileSpec *>(this);
88 return static_cast<const OptionValueFileSpec *>(this);
97 return static_cast<OptionValueFileSpecList *>(this);
106 return static_cast<const OptionValueFileSpecList *>(this);
115 return static_cast<OptionValueArch *>(this)
    [all...]
  /art/runtime/arch/arm64/
registers_arm64.cc 42 os << "XRegister[" << static_cast<int>(rhs) << "]";
51 os << "WRegister[" << static_cast<int>(rhs) << "]";
58 os << "d" << static_cast<int>(rhs);
60 os << "DRegister[" << static_cast<int>(rhs) << "]";
67 os << "s" << static_cast<int>(rhs);
69 os << "SRegister[" << static_cast<int>(rhs) << "]";
  /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/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,
67 m->WriteInt(static_cast<int>(p.pixel_format));
81 r->pixel_format = static_cast<VideoPixelFormat>(pixel_format);
  /external/chromium_org/mojo/gles2/
gles2_support_impl.cc 78 delete static_cast<GLES2Context*>(context);
84 GLES2Context* client = static_cast<GLES2Context*>(context);
96 static_cast<GLES2Context*>(context)->RequestAnimationFrames();
100 static_cast<GLES2Context*>(context)->CancelAnimationFrames();
104 return static_cast<GLES2Context*>(context)->interface();
108 return static_cast<GLES2Context*>(context)->context_support();
  /external/chromium_org/mojo/tools/
message_generator.cc 26 base::StringAppendF(&result, "0X%.2X\n", static_cast<int>(piece.data()[i]));
34 CHECK_EQ(static_cast<int>(hex_message.size()),
36 static_cast<int>(hex_message.size())));
42 internal::MessageBuilder builder(static_cast<uint32_t>(21),
43 static_cast<size_t>(4));
44 char* data = static_cast<char*>(builder.buffer()->Allocate(4));
  /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));
  /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/v8/src/
zone-inl.h 70 CHECK(std::numeric_limits<int>::max() / static_cast<int>(sizeof(T)) > length);
71 return static_cast<T*>(New(length * sizeof(T)));
96 return zone->New(static_cast<int>(size));
101 return zone_->New(static_cast<int>(size));
107 return zone->New(static_cast<int>(size));
113 return zone->New(static_cast<int>(size));
  /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);

Completed in 481 milliseconds

1 2 3 4 5 6 78 91011>>