HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 301 - 325 of 12557) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/
future_status.pass.cpp 23 static_assert(static_cast<int>(std::future_status::ready) == 0, "");
24 static_assert(static_cast<int>(std::future_status::timeout) == 1, "");
25 static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
launch.pass.cpp 25 static_assert(static_cast<int>(std::launch::any) ==
26 (static_cast<int>(std::launch::async) | static_cast<int>(std::launch::deferred)), "");
41 static_assert(static_cast<int>(std::launch::async) == 1, "");
42 static_assert(static_cast<int>(std::launch::deferred) == 2, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
op_bool.pass.cpp 24 assert(static_cast<bool>(lk0) == false);
26 assert(static_cast<bool>(lk1) == true);
28 assert(static_cast<bool>(lk1) == false);
  /system/core/include/utils/
Flattenable.h 63 *static_cast<T*>(buffer) = value;
70 value = *static_cast<T const*>(buffer);
110 return static_cast<T const*>(this)->T::getFlattenedSize();
114 return static_cast<T const*>(this)->T::getFdCount();
119 return static_cast<T const*>(this)->T::flatten(buffer, size, fds, count);
124 return static_cast<T*>(this)->T::unflatten(buffer, size, fds, count);
152 return static_cast<T const*>(this)->T::isFixedSize();
156 return static_cast<T const*>(this)->T::getFlattenedSize();
160 return static_cast<T const*>(this)->T::flatten(buffer, size);
164 return static_cast<T*>(this)->T::unflatten(buffer, size)
    [all...]
  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_format_autogen.h 18 return static_cast<uint32>(sizeof(ValueType)); // NOLINT
31 static_cast<ValueType*>(cmd)->Init(_texture);
52 return static_cast<uint32>(sizeof(ValueType)); // NOLINT
66 static_cast<ValueType*>(cmd)->Init(_program, _shader);
90 return static_cast<uint32>(sizeof(ValueType)); // NOLINT
111 static_cast<ValueType*>(
146 return static_cast<uint32>(sizeof(ValueType)); // NOLINT
162 static_cast<ValueType*>(cmd)->Init(_program, _index, _name_bucket_id);
189 return static_cast<uint32>(sizeof(ValueType)); // NOLINT
203 static_cast<ValueType*>(cmd)->Init(_target, _buffer)
    [all...]
  /external/chromium_org/content/child/
browser_font_resource_trusted.cc 104 *run_len = static_cast<int32_t>(text_.size());
141 static_cast<WebFontDescription::GenericFamily>(f + 1)
148 COMPILE_ASSERT(static_cast<int>(WebFontDescription::Weight100) ==
149 static_cast<int>(PP_BROWSERFONT_TRUSTED_WEIGHT_100),
151 COMPILE_ASSERT(static_cast<int>(WebFontDescription::Weight900) ==
152 static_cast<int>(PP_BROWSERFONT_TRUSTED_WEIGHT_900),
208 result.size = static_cast<float>(prefs.default_fixed_font_size);
210 result.size = static_cast<float>(prefs.default_font_size);
213 result.size = static_cast<float>(font.size);
218 result.weight = static_cast<WebFontDescription::Weight>(font.weight)
    [all...]
  /art/compiler/utils/arm/
assembler_arm.cc 92 os << "Register[" << static_cast<int>(rhs) << "]";
100 os << "s" << static_cast<int>(rhs);
102 os << "SRegister[" << static_cast<int>(rhs) << "]";
110 os << "d" << static_cast<int>(rhs);
112 os << "DRegister[" << static_cast<int>(rhs) << "]";
126 os << "Condition[" << static_cast<int>(rhs) << "]";
146 int32_t encoding = static_cast<int32_t>(cond) << kConditionShift |
148 static_cast<int32_t>(opcode) << kOpcodeShift |
150 static_cast<int32_t>(rn) << kRnShift |
151 static_cast<int32_t>(rd) << kRdShift
    [all...]
  /external/chromium_org/ui/gfx/
color_utils.cc 44 return static_cast<int>(result * 255 + .5);
80 int luma = static_cast<int>((0.3 * SkColorGetR(color)) +
93 double r = static_cast<double>(SkColorGetR(c)) / 255.0;
94 double g = static_cast<double>(SkColorGetG(c)) / 255.0;
95 double b = static_cast<double>(SkColorGetB(c)) / 255.0;
178 double r = static_cast<double>(SkColorGetR(result));
179 double g = static_cast<double>(SkColorGetG(result));
180 double b = static_cast<double>(SkColorGetB(result));
191 static_cast<int>(r),
192 static_cast<int>(g)
    [all...]
  /external/chromium_org/ppapi/tests/
test_char_set.cc 21 char_set_interface_ = static_cast<const PPB_CharSet_Dev*>(
23 char_set_trusted_interface_ = static_cast<const PPB_CharSet_Trusted*>(
55 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
66 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
73 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
82 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
94 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
103 instance_->pp_instance(), &utf16[0], static_cast<uint32_t>(utf16.size()),
128 &utf16[0], static_cast<uint32_t>(utf16.size()), "latin1",
139 &utf16[0], static_cast<uint32_t>(utf16.size()), "latin1"
    [all...]
  /art/compiler/utils/mips/
assembler_mips.cc 41 os << "d" << static_cast<int>(rhs);
43 os << "DRegister[" << static_cast<int>(rhs) << "]";
58 static_cast<int32_t>(rs) << kRsShift |
59 static_cast<int32_t>(rt) << kRtShift |
60 static_cast<int32_t>(rd) << kRdShift |
70 static_cast<int32_t>(rs) << kRsShift |
71 static_cast<int32_t>(rt) << kRtShift |
88 static_cast<int32_t>(ft) << kFtShift |
89 static_cast<int32_t>(fs) << kFsShift |
90 static_cast<int32_t>(fd) << kFdShift
    [all...]
  /external/chromium/webkit/glue/
webvideoframe_impl.cc 17 static_cast<WebVideoFrameImpl*>(web_video_frame);
52 return static_cast<WebVideoFrame::SurfaceType>(video_frame_->type());
58 return static_cast<WebVideoFrame::Format>(video_frame_->format());
82 return static_cast<int>(video_frame_->stride(plane));
88 return static_cast<const void*>(video_frame_->data(plane));
  /external/chromium_org/ash/system/chromeos/managed/
tray_locally_managed_user_unittest.cc 69 static_cast<test::TestSystemTrayDelegate*>(
74 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification);
75 EXPECT_EQ(static_cast<int>(message_center::SYSTEM_PRIORITY),
83 ASSERT_NE(static_cast<message_center::Notification*>(NULL), notification);
84 EXPECT_EQ(static_cast<int>(message_center::SYSTEM_PRIORITY),
  /external/chromium_org/base/posix/
unix_domain_socket_linux_unittest.cc 36 fds[1], static_cast<uint8_t*>(NULL), 0U, static_cast<int*>(NULL),
42 ASSERT_EQ(static_cast<int>(request.size()),
72 UnixDomainSocket::SendRecvMsg(fds[1], static_cast<uint8_t*>(NULL),
73 0U, static_cast<int*>(NULL), request));
  /external/chromium_org/chrome/browser/chromeos/drive/
job_queue.cc 24 DCHECK_LT(accepted_priority, static_cast<int>(queue_.size()));
43 DCHECK_LT(priority, static_cast<int>(queue_.size()));
49 DCHECK_LT(priority, static_cast<int>(queue_.size()));
64 static_cast<int>(pending),
65 static_cast<int>(running_.size()));
  /external/chromium_org/chrome/browser/signin/
signin_manager_factory.cc 30 return static_cast<SigninManagerBase*>(
37 return static_cast<SigninManagerBase*>(
44 return static_cast<SigninManager*>(
50 return static_cast<SigninManager*>(
97 Profile* profile = static_cast<Profile*>(context);
  /external/chromium_org/mojo/public/bindings/lib/
bindings_serialization.cc 27 *offset = static_cast<uint64_t>(p_obj - p_slot);
37 const uint8_t* data = static_cast<const uint8_t*>(ptr);
50 handle->set_value(static_cast<MojoHandle>(handles->size() - 1));
53 handle->set_value(static_cast<MojoHandle>(-1));
59 if (handle->value() == static_cast<MojoHandle>(-1)) {
  /external/chromium_org/mojo/public/tests/
system_core_unittest.cc 18 EXPECT_NE(static_cast<MojoTimeTicks>(0), start)
41 buffer_size = static_cast<uint32_t>(sizeof(buffer));
69 buffer_size = static_cast<uint32_t>(sizeof(hello));
83 buffer_size = static_cast<uint32_t>(sizeof(buffer));
89 EXPECT_EQ(static_cast<uint32_t>(sizeof(hello)), buffer_size);
  /external/chromium_org/net/base/
upload_bytes_element_reader_unittest.cc 37 static_cast<int>(buf.size()),
48 static_cast<int>(buf.size()),
62 static_cast<int>(bytes_.size()),
75 static_cast<int>(buf.size()),
87 static_cast<int>(buf.size()),
  /external/chromium_org/printing/
print_settings_initializer_gtk.cc 26 base::string16 name(base::UTF8ToUTF16(static_cast<const char*>(
49 static_cast<int>(page_width_in_pixel),
50 static_cast<int>(page_height_in_pixel));
52 static_cast<int>(kLeftMarginInInch * dpi),
53 static_cast<int>(kTopMarginInInch * dpi),
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
frametovalues.cpp 31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
32 unsigned char* grayPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(grayBuffer));
48 *(grayPtr+idx) = static_cast<unsigned char>(gray);
57 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
58 unsigned char* rgbPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(rgbBuffer));
  /external/chromium/net/disk_cache/
file_win.cc 46 actual_bytes = static_cast<DWORD>(net::ERR_CACHE_READ_FAILURE);
51 data->callback_->OnFileIOComplete(static_cast<int>(actual_bytes));
60 context_.overlapped.Offset = static_cast<DWORD>(offset);
128 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
134 DWORD size = static_cast<DWORD>(buffer_len);
145 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
151 DWORD size = static_cast<DWORD>(buffer_len);
173 DWORD size = static_cast<DWORD>(buffer_len);
213 DWORD size = static_cast<DWORD>(buffer_len);
237 DWORD size = static_cast<DWORD>(length)
    [all...]
  /external/chromium_org/net/disk_cache/
file_win.cc 49 actual_bytes = static_cast<DWORD>(net::ERR_CACHE_READ_FAILURE);
54 data->callback_->OnFileIOComplete(static_cast<int>(actual_bytes));
63 context_.overlapped.Offset = static_cast<DWORD>(offset);
131 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
137 DWORD size = static_cast<DWORD>(buffer_len);
148 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
154 DWORD size = static_cast<DWORD>(buffer_len);
176 DWORD size = static_cast<DWORD>(buffer_len);
216 DWORD size = static_cast<DWORD>(buffer_len);
240 DWORD size = static_cast<DWORD>(length)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPathSegListSource.cpp 48 pathSegType = static_cast<SVGPathSegType>(m_segment->pathSegType());
56 SVGPathSegType pathSegType = static_cast<SVGPathSegType>(m_segment->pathSegType());
65 SVGPathSegSingleCoordinate* moveTo = static_cast<SVGPathSegSingleCoordinate*>(m_segment.get());
74 SVGPathSegSingleCoordinate* lineTo = static_cast<SVGPathSegSingleCoordinate*>(m_segment.get());
83 SVGPathSegLinetoHorizontal* horizontal = static_cast<SVGPathSegLinetoHorizontal*>(m_segment.get());
92 SVGPathSegLinetoVertical* vertical = static_cast<SVGPathSegLinetoVertical*>(m_segment.get());
101 SVGPathSegCurvetoCubic* cubic = static_cast<SVGPathSegCurvetoCubic*>(m_segment.get());
112 SVGPathSegCurvetoCubicSmooth* cubicSmooth = static_cast<SVGPathSegCurvetoCubicSmooth*>(m_segment.get());
122 SVGPathSegCurvetoQuadratic* quadratic = static_cast<SVGPathSegCurvetoQuadratic*>(m_segment.get());
132 SVGPathSegSingleCoordinate* quadraticSmooth = static_cast<SVGPathSegSingleCoordinate*>(m_segment.get())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/properties/
SVGAnimatedListPropertyTearOff.h 45 static_cast<ListPropertyTearOff*>(m_baseVal.get())->clearAnimatedProperty();
47 static_cast<ListPropertyTearOff*>(m_animVal.get())->clearAnimatedProperty();
54 return static_cast<ListProperty*>(m_baseVal.get());
61 return static_cast<ListProperty*>(m_animVal.get());
71 return static_cast<ListPropertyTearOff*>(m_baseVal.get())->findItem(static_cast<ListItemTearOff*>(property));
78 static_cast<ListPropertyTearOff*>(m_baseVal.get())->removeItemFromList(itemIndex, shouldSynchronizeWrappers);
90 return static_cast<ListProperty*>(m_animVal.get())->values();
109 ListProperty* animVal = static_cast<ListProperty*>(this->animVal());
123 ListProperty* animVal = static_cast<ListProperty*>(m_animVal.get())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
GamepadController.cpp 76 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap))
94 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap))
112 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap))
130 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap))
133 if (buttons < 0 || buttons >= static_cast<int>(blink::WebGamepad::buttonsLengthCap))
147 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap))
150 if (button < 0 || button >= static_cast<int>(blink::WebGamepad::buttonsLengthCap))
165 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap))
168 if (axes < 0 || axes >= static_cast<int>(blink::WebGamepad::axesLengthCap))
182 if (index < 0 || index >= static_cast<int>(blink::WebGamepads::itemsLengthCap)
    [all...]

Completed in 1530 milliseconds

<<11121314151617181920>>