HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 351 - 375 of 7695) sorted by null

<<11121314151617181920>>

  /art/runtime/interpreter/
safe_math.h 39 unsigned_biggest_T val1 = static_cast<unsigned_biggest_T>(static_cast<biggest_T>(a));
40 unsigned_biggest_T val2 = static_cast<unsigned_biggest_T>(b);
41 return static_cast<biggest_T>(Op<unsigned_biggest_T>()(val1, val2));
  /external/clang/test/Analysis/
delayed-template-parsing-crash.cpp 10 return static_cast<typename remove_reference<T>::type&&>(arg);
  /external/clang/test/CodeGenCXX/
move-assignment.cpp 18 b1 = static_cast<B&&>(b2);
  /external/clang/test/SemaCXX/
old-style-cast.cpp 7 long y = static_cast<long>(12);
  /external/clang/test/SemaObjCXX/
reserved-keyword-methods.mm 24 macro(static_cast) \
  /external/libchrome/base/
rand_util.cc 22 uint64_t range = static_cast<uint64_t>(max) - min + 1;
26 static_cast<int>(min + static_cast<int64_t>(base::RandGenerator(range)));
46 double result = ldexp(static_cast<double>(random_bits), -1 * kBits);
  /external/libcxx/include/
__debug 109 const iterator* __j = static_cast<const iterator*>(__i);
110 _Cont* _Cp = static_cast<_Cont*>(__c_);
119 const iterator* __j = static_cast<const iterator*>(__i);
120 _Cont* _Cp = static_cast<_Cont*>(__c_);
129 const iterator* __j = static_cast<const iterator*>(__i);
130 _Cont* _Cp = static_cast<_Cont*>(__c_);
139 const iterator* __j = static_cast<const iterator*>(__i);
140 _Cont* _Cp = static_cast<_Cont*>(__c_);
178 __c_node* __n = __insert_c(static_cast<void*>(__c));
  /external/libcxx/test/std/experimental/any/any.nonmembers/any.cast/
const_correctness.fail.cpp 32 any_cast<TestType &>(static_cast<any const&>(a)); // expected-note {{requested here}}
33 any_cast<TestType &&>(static_cast<any const&>(a)); // expected-note {{requested here}}
36 any_cast<TestType2 &>(static_cast<any const&&>(a)); // expected-note {{requested here}}
37 any_cast<TestType2 &&>(static_cast<any const&&>(a)); // expected-note {{requested here}}
  /external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
nullopt_t.pass.cpp 41 assert(static_cast<bool>(opt) == false);
46 assert(static_cast<bool>(opt) == false);
54 assert(static_cast<bool>(opt) == false);
63 assert(static_cast<bool>(opt) == false);
  /external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/
const_T.pass.cpp 58 static_assert(static_cast<bool>(opt) == true, "");
72 static_assert(static_cast<bool>(opt) == true, "");
86 assert(static_cast<bool>(opt) == true);
93 static_assert(static_cast<bool>(opt) == true, "");
  /external/libweave/src/notification/
xmpp_stream_parser.cc 35 auto self = static_cast<XmppStreamParser*>(user_data);
47 auto self = static_cast<XmppStreamParser*>(user_data);
54 auto self = static_cast<XmppStreamParser*>(user_data);
55 self->OnCharData(std::string{content, static_cast<size_t>(length)});
  /external/libweave/third_party/chromium/base/
rand_util.cc 22 uint64_t range = static_cast<uint64_t>(max) - min + 1;
26 static_cast<int>(min + static_cast<int64_t>(base::RandGenerator(range)));
46 double result = ldexp(static_cast<double>(random_bits), -1 * kBits);
  /external/llvm/include/llvm/Object/
COFFYAML.h 25 uint32_t Ret = static_cast<uint32_t>(a) | static_cast<uint32_t>(b);
26 return static_cast<Characteristics>(Ret);
31 uint32_t Ret = static_cast<uint32_t>(a) | static_cast<uint32_t>(b);
32 return static_cast<SectionCharacteristics>(Ret);
37 uint16_t Ret = static_cast<uint16_t>(a) | static_cast<uint16_t>(b);
38 return static_cast<DLLCharacteristics>(Ret);
  /external/opencv3/samples/cpp/
detect_blob.cpp 24 String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minArea))->str();
25 String sup = static_cast<ostringstream*>(&(ostringstream() << pAct.maxArea))->str();
30 String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minCircularity))->str();
31 String sup = static_cast<ostringstream*>(&(ostringstream() << pAct.maxCircularity))->str();
39 String inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.blobColor))->str();
47 String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minConvexity))->str();
48 String sup = static_cast<ostringstream*>(&(ostringstream() << pAct.maxConvexity))->str();
56 String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minInertiaRatio))->str();
57 String sup = static_cast<ostringstream*>(&(ostringstream() << pAct.maxInertiaRatio))->str();
  /external/opencv3/samples/cpp/tutorial_code/ShapeDescriptors/
pointPolygonTest_demo.cpp 28 vert[0] = Point( 3*r/2, static_cast<int>(1.34*r) );
30 vert[2] = Point( 3*r/2, static_cast<int>(2.866*r) );
31 vert[3] = Point( 5*r/2, static_cast<int>(2.866*r) );
33 vert[5] = Point( 5*r/2, static_cast<int>(1.34*r) );
  /external/parameter-framework/upstream/parameter/
SelectionCriteriaDefinition.cpp 53 return static_cast<const CSelectionCriterion *>(findChild(strName));
58 return static_cast<CSelectionCriterion *>(findChild(strName));
73 static_cast<const CSelectionCriterion *>(getChild(uiChild));
90 pSelectionCriterion = static_cast<CSelectionCriterion *>(getChild(uiChild));
  /external/skia/src/utils/
SkThreadUtils_pthread.cpp 60 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(arg);
85 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData);
98 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData);
111 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData);
  /external/skia/tests/
GrMemoryPoolTest.cpp 23 fChar = static_cast<char>(v);
26 return fChar == static_cast<char>(v);
68 fDouble = static_cast<double>(v);
72 return fDouble == static_cast<double>(v) &&
87 fInt64 = static_cast<int64_t>(v);
91 return fInt64 == static_cast<int64_t>(v) &&
109 fVoidStar = reinterpret_cast<void*>(static_cast<intptr_t>(v));
114 return fVoidStar == reinterpret_cast<void*>(static_cast<intptr_t>(v)) &&
205 rec->fValue = static_cast<int>(r.nextU());
PathOpsBoundsTest.cpp 34 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(sectTests[index][0]);
36 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(sectTests[index][1]);
42 const SkPathOpsBounds& bounds1 = static_cast<const SkPathOpsBounds&>(noSectTests[index][0]);
44 const SkPathOpsBounds& bounds2 = static_cast<const SkPathOpsBounds&>(noSectTests[index][1]);
  /external/v8/src/heap/
scavenge-job.cc 23 static_cast<double>(base::Time::kMillisecondsPerSecond);
27 static_cast<size_t>(heap->tracer()->ScavengeSpeedInBytesPerMillisecond());
60 static_cast<size_t>(new_space_capacity *
97 static_cast<int>(kBytesAllocatedBeforeNextIdleTask)) {
  /external/v8/src/
startup-data-util.cc 57 startup_data->raw_size = static_cast<int>(ftell(file));
61 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data),
83 int path_separator = static_cast<int>(strlen(exec_path)) - 1;
89 int name_length = static_cast<int>(strlen(name));
  /external/v8/src/wasm/
decoder.h 42 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_),
56 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_),
66 uint16_t val = static_cast<uint16_t>(b1 << 8) | b0;
78 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_),
92 uint32_t val = static_cast<uint32_t>(b3 << 24) |
93 static_cast<uint32_t>(b2 << 16) |
94 static_cast<uint32_t>(b1 << 8) | b0;
106 TRACE(" +%d %-20s: ", static_cast<int>(pc_ - start_),
129 *length = static_cast<int>(pc_ - pos);
  /external/v8/test/cctest/compiler/
call-tester.h 35 return static_cast<bool>(r);
40 return static_cast<int32_t>(r);
45 return static_cast<uint32_t>(r);
50 return static_cast<int64_t>(r);
55 return static_cast<uint64_t>(r);
60 return static_cast<int16_t>(r);
65 return static_cast<uint16_t>(r);
70 return static_cast<int8_t>(r);
75 return static_cast<uint8_t>(r);
86 static uintptr_t Cast(R r) { return static_cast<uintptr_t>(r);
    [all...]
  /external/webrtc/webrtc/base/
safe_conversions_impl.h 128 value <= static_cast<Src>(DstLimits::max()),
129 value >= static_cast<Src>(DstLimits::max() * -1)) :
131 value <= static_cast<Src>(DstLimits::max()),
132 value >= static_cast<Src>(DstLimits::min()));
142 value <= static_cast<Src>(DstLimits::max()), true);
153 value <= static_cast<Src>(DstLimits::max()), true);
169 BASE_NUMERIC_RANGE_CHECK_RESULT(true, value >= static_cast<Src>(0)) :
171 value <= static_cast<Src>(DstLimits::max()),
172 value >= static_cast<Src>(0));
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
metric_recorder.cc 51 TotalAvailableKbps() / static_cast<uint32_t>(running_flows_.size());
148 static_cast<double>(y), algorithm_name_);
192 return static_cast<uint32_t>(plot_information_[kSendingEstimate].value);
207 int64_t lp_value = pow(static_cast<double>(std::abs(new_value)), kP);
222 static_cast<int64_t>(GetAvailablePerFlowKbps());
225 static_cast<int64_t>(GetSendingEstimateKbps()) -
264 double optimal_bitrate_per_flow_kbps = static_cast<double>(
289 100.0 * static_cast<double>(average_bitrate_kbps) /
310 static_cast<double>(sum_delays_ms_) / num_packets_received_;
380 return static_cast<double>(8 * sum_throughput_bytes_ / duration_ms)
    [all...]

Completed in 421 milliseconds

<<11121314151617181920>>