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

<<81828384858687888990>>

  /external/skia/tests/
ErrorTest.cpp 22 int *context_ptr = static_cast<int *>(context);
  /external/stlport/stlport/stl/
_move.h 30 return static_cast<typename tr1::remove_reference<T>::type&&>(t);
_pair.h 112 { return pair<_T1, _T2 const*>(__x, static_cast<_T2 const*>(__y)); }
117 { return pair<_T1 const*, _T2>(static_cast<_T1 const*>(__x), __y); }
122 return pair<_T1 const*, _T2 const*>(static_cast<_T1 const*>(__x),
123 static_cast<_T2 const*>(__y));
  /external/v8/src/
platform-freebsd.cc 89 uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis());
90 srandom(static_cast<unsigned int>(seed));
121 time_t tv = static_cast<time_t>(floor(time/msPerSecond));
132 return static_cast<double>(t->tm_gmtoff * msPerSecond -
193 unsigned int ms = static_cast<unsigned int>(milliseconds);
264 return static_cast<unsigned>(strtol(buffer, NULL, 16)); // NOLINT
354 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment())));
356 static_cast<intptr_t>(OS::AllocateAlignment()));
365 Address base = static_cast<Address>(reservation);
371 size_t prefix_size = static_cast<size_t>(aligned_base - base)
    [all...]
  /external/v8/test/cctest/
test-reloc-info.cc 62 relocation_info_size = static_cast<int>(buffer_end - writer.pos());
76 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
93 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
109 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
  /external/webrtc/src/system_wrappers/test/TestSort/
TestSort.cpp 108 double floatRand = static_cast<double>(rand()) / RAND_MAX;
116 return static_cast<Type>(floatRand * std::numeric_limits<Type>::max());
122 return static_cast<Type>((static_cast<Type>(rand()) / RAND_MAX) - 0.5);
  /external/webrtc/test/testsupport/
frame_writer_unittest.cc 54 static_cast<int>(GetFileSize(kOutputFilename)));
  /frameworks/av/include/media/stagefright/
BufferProducerWrapper.h 25 // Can't use static_cast to cast a RefBase back to an IGraphicBufferProducer,
  /frameworks/base/include/androidfw/
CursorWindow.h 131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset));
170 return static_cast<uint8_t*>(mData) + offset;
174 return static_cast<uint8_t*>(ptr) - static_cast<uint8_t*>(mData);
  /frameworks/base/native/android/
obb.cpp 35 return static_cast<AObbInfo*>(obbFile);
  /frameworks/compile/libbcc/tests/debuginfo/host-tests/
locals.cpp 31 const unsigned long l = static_cast<unsigned long>(-1.0e8f);
  /frameworks/compile/mclinker/lib/Fragment/
FragmentRef.cpp 130 RegionFragment* region_frag = static_cast<RegionFragment*>(m_pFragment);
139 Stub* stub_frag = static_cast<Stub*>(m_pFragment);
160 base = static_cast<RegionFragment*>(m_pFragment)->getRegion().getBuffer();
177 base = static_cast<const RegionFragment*>(m_pFragment)->getRegion().getBuffer();
  /frameworks/ex/variablespeed/jni/
profile_timer.h 38 static_cast<int>((endTime - startTime_) * 1000 / CLOCKS_PER_SEC));
  /frameworks/native/libs/gui/
Sensor.cpp 138 memcpy(static_cast<char*>(buffer), mName.string(), mName.length());
142 memcpy(static_cast<char*>(buffer), mVendor.string(), mVendor.length());
168 mName.setTo(static_cast<char const*>(buffer), len);
179 mVendor.setTo(static_cast<char const*>(buffer), len);
  /libcore/luni/src/main/native/
readlink.cpp 34 if (static_cast<size_t>(len) < buf.size()) {
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
chrono 325 return _ToDuration(static_cast<typename _ToDuration::rep>(__fd.count()));
336 return _ToDuration(static_cast<typename _ToDuration::rep>(
337 static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den)));
348 return _ToDuration(static_cast<typename _ToDuration::rep>(
349 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num)));
360 return _ToDuration(static_cast<typename _ToDuration::rep>(
361 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
thread.cpp 84 return static_cast<unsigned>(result);
112 ts.tv_sec = static_cast<ts_sec>(s.count());
113 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((ns-s).count());
142 {return static_cast<T*>(::operator new(__n * sizeof(T)));}
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.constructors/
ErrorCodeEnum.pass.cpp 34 return std::error_code(static_cast<int>(x), std::generic_category());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/
make_error_code.pass.cpp 23 assert(ec.value() == static_cast<int>(std::errc::operation_canceled));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/
ErrorConditionEnum.pass.cpp 23 assert(ec.value() == static_cast<int>(std::errc::not_a_directory));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.modifiers/
ErrorConditionEnum.pass.cpp 24 assert(ec.value() == static_cast<int>(std::errc::not_enough_memory));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.nonmembers/
make_error_condition.pass.cpp 23 assert(ec1.value() == static_cast<int>(std::errc::message_size));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/std.ios.manip/error.reporting/
make_error_code.pass.cpp 21 assert(ec.value() == static_cast<int>(std::io_errc::stream));
make_error_condition.pass.cpp 21 assert(ec1.value() == static_cast<int>(std::io_errc::stream));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.errors/
make_error_code.pass.cpp 23 assert(ec.value() == static_cast<int>(std::future_errc::broken_promise));

Completed in 454 milliseconds

<<81828384858687888990>>