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

<<11121314151617181920>>

  /prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/
__debug 105 const iterator* __j = static_cast<const iterator*>(__i);
106 _Cont* _Cp = static_cast<_Cont*>(__c_);
115 const iterator* __j = static_cast<const iterator*>(__i);
116 _Cont* _Cp = static_cast<_Cont*>(__c_);
125 const iterator* __j = static_cast<const iterator*>(__i);
126 _Cont* _Cp = static_cast<_Cont*>(__c_);
135 const iterator* __j = static_cast<const iterator*>(__i);
136 _Cont* _Cp = static_cast<_Cont*>(__c_);
174 __c_node* __n = __insert_c(static_cast<void*>(__c));
  /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)));
152 return static_cast<uint64_t>(tv_sec) * NS_PER_SEC + tv_nsec;
  /external/v8/src/runtime/
runtime-atomics.cc 213 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval);
220 T result = LoadSeqCst(static_cast<T*>(buffer) + index);
229 StoreSeqCst(static_cast<T*>(buffer) + index, value);
238 T result = AddSeqCst(static_cast<T*>(buffer) + index, value);
247 T result = SubSeqCst(static_cast<T*>(buffer) + index, value);
256 T result = AndSeqCst(static_cast<T*>(buffer) + index, value);
265 T result = OrSeqCst(static_cast<T*>(buffer) + index, value);
274 T result = XorSeqCst(static_cast<T*>(buffer) + index, value);
283 T result = ExchangeSeqCst(static_cast<T*>(buffer) + index, value);
304 uint8_t result = CompareExchangeSeqCst(static_cast<uint8_t*>(buffer) + index
    [all...]
  /external/v8/src/wasm/
encoder.cc 47 byte out = static_cast<byte>(val & 0x7f);
88 return static_cast<uint16_t>(locals_.size() - 1);
108 local_indices_.push_back(local_indices[i] + static_cast<uint32_t>(size));
114 body_.push_back(static_cast<byte>(opcode));
119 body_.push_back(static_cast<byte>(opcode));
125 body_.push_back(static_cast<byte>(opcode));
126 local_indices_.push_back(static_cast<uint32_t>(body_.size()) - 1);
132 return static_cast<uint32_t>(body_.size()) - 1;
191 sig.AddReturn(static_cast<LocalType>(return_type_));
194 sig.AddParam(static_cast<LocalType>(e->params_[i]))
    [all...]
  /external/clang/test/SemaObjCXX/
objcbridge-static-cast.mm 30 return static_cast<NSString *>(cf); // expected-error {{CF object of type 'CFTestingRef' (aka '__CFError *') is bridged to 'NSTesting', which is not an Objective-C class}} \
56 (void)static_cast<NSString *>(cf); // expected-warning {{'CFErrorRef2' (aka '__CFErrorRef *') bridges to NSError, not 'NSString'}} \
60 (void)static_cast<NSError *>(cf); // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer type 'NSError *' requires a bridged cast}} \
63 (void)static_cast<MyError*>(cf); // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer type 'MyError *' requires a bridged cast}} \
67 (void)static_cast<NSUColor *>(cf2); // expected-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Objective-C pointer type 'NSUColor *' requires a bridged cast}} \
70 (void)static_cast<CFErrorRef>(ns); // expected-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka '__CFErrorRef *') requires a bridged cast}} \
73 (void)static_cast<CFErrorRef>(str); // expected-warning {{'NSString' cannot bridge to 'CFErrorRef' (aka '__CFErrorRef *')}} \\
77 (void)static_cast<Class>(cf); // expected-warning {{'CFErrorRef2' (aka '__CFErrorRef *') bridges to NSError, not 'Class'}} \\
81 (void)static_cast<CFErrorRef>(c); // expected-warning {{'Class' cannot bridge to 'CFErrorRef' (aka '__CFErrorRef *}} \\
89 (void)static_cast<id>(cf); // expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objecti (…)
    [all...]
  /external/libchrome/base/numerics/
safe_math_impl.h 120 return !!(static_cast<typename UnsignedIntegerForSize<T>::type>(x) >>
140 UnsignedDst ux = static_cast<UnsignedDst>(x);
141 UnsignedDst uy = static_cast<UnsignedDst>(y);
154 return static_cast<T>(uresult);
163 UnsignedDst ux = static_cast<UnsignedDst>(x);
164 UnsignedDst uy = static_cast<UnsignedDst>(y);
177 return static_cast<T>(uresult);
191 static_cast<IntermediateType>(x) * static_cast<IntermediateType>(y);
193 return static_cast<T>(tmp)
    [all...]
  /external/libcxx/src/
debug.cpp 129 size_t hc = hash<const void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
150 if (__csz_ + 1 > static_cast<size_t>(__cend_ - __cbeg_))
152 size_t nc = __next_prime(2*static_cast<size_t>(__cend_ - __cbeg_) + 1);
153 __c_node** cbeg = static_cast<__c_node**>(calloc(nc, sizeof(void*)));
176 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
179 static_cast<__c_node*>(malloc(sizeof(__c_node)));
200 size_t hi = hash<void*>()(__i) % static_cast<size_t>(__iend_ - __ibeg_);
233 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
264 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
290 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_)
    [all...]
  /external/libweave/third_party/chromium/base/numerics/
safe_math_impl.h 119 return !!(static_cast<typename UnsignedIntegerForSize<T>::type>(x) >>
139 UnsignedDst ux = static_cast<UnsignedDst>(x);
140 UnsignedDst uy = static_cast<UnsignedDst>(y);
153 return static_cast<T>(uresult);
162 UnsignedDst ux = static_cast<UnsignedDst>(x);
163 UnsignedDst uy = static_cast<UnsignedDst>(y);
176 return static_cast<T>(uresult);
190 static_cast<IntermediateType>(x) * static_cast<IntermediateType>(y);
192 return static_cast<T>(tmp)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
debug.cpp 129 size_t hc = hash<const void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
150 if (__csz_ + 1 > static_cast<size_t>(__cend_ - __cbeg_))
152 size_t nc = __next_prime(2*static_cast<size_t>(__cend_ - __cbeg_) + 1);
153 __c_node** cbeg = static_cast<__c_node**>(calloc(nc, sizeof(void*)));
176 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
179 static_cast<__c_node*>(malloc(sizeof(__c_node)));
200 size_t hi = hash<void*>()(__i) % static_cast<size_t>(__iend_ - __ibeg_);
233 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
264 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_);
290 size_t hc = hash<void*>()(__c) % static_cast<size_t>(__cend_ - __cbeg_)
    [all...]
  /external/opencv3/modules/stitching/src/
warpers.cpp 143 projector_.mapBackward(static_cast<float>(u), static_cast<float>(v), x, y);
204 projector_.mapForward(0, static_cast<float>(src_size.height - 1), u, v);
208 projector_.mapForward(static_cast<float>(src_size.width - 1), 0, u, v);
212 projector_.mapForward(static_cast<float>(src_size.width - 1), static_cast<float>(src_size.height - 1), u, v);
216 dst_tl.x = static_cast<int>(tl_uf);
217 dst_tl.y = static_cast<int>(tl_vf);
218 dst_br.x = static_cast<int>(br_uf);
219 dst_br.y = static_cast<int>(br_vf)
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
bind_handler.hpp 43 handler_(static_cast<const Arg1&>(arg1_));
123 handler_(static_cast<const Arg1&>(arg1_),
124 static_cast<const Arg2&>(arg2_));
209 handler_(static_cast<const Arg1&>(arg1_),
210 static_cast<const Arg2&>(arg2_),
211 static_cast<const Arg3&>(arg3_));
302 handler_(static_cast<const Arg1&>(arg1_),
303 static_cast<const Arg2&>(arg2_),
304 static_cast<const Arg3&>(arg3_),
305 static_cast<const Arg4&>(arg4_))
    [all...]
  /frameworks/native/libs/ui/
Gralloc1On0Adapter.cpp 79 static_cast<int32_t>(GRALLOC1_LAST_ADAPTER_FUNCTION);
86 static_cast<gralloc1_function_descriptor_t>(intDescriptor);
184 *outSize = static_cast<uint32_t>(actualLength);
187 static_cast<uint32_t>(mCachedDump.size()));
241 int usage = static_cast<int>(descriptor->producerUsage) |
242 static_cast<int>(descriptor->consumerUsage);
248 static_cast<int>(descriptor->width),
249 static_cast<int>(descriptor->height), descriptor->format,
347 static_cast<gralloc1_producer_usage_t>(graphicBuffer->getUsage()));
349 static_cast<gralloc1_consumer_usage_t>(graphicBuffer->getUsage()))
    [all...]
  /external/opencv3/modules/cudev/test/
test_warp.cu 76 mapx.at<float>(j,i) = static_cast<float>(i);
77 mapy.at<float>(j,i) = static_cast<float>(mapx.rows - j);
80 mapx.at<float>(j,i) = static_cast<float>(mapx.cols - i);
81 mapy.at<float>(j,i) = static_cast<float>(j);
84 mapx.at<float>(j,i) = static_cast<float>(mapx.cols - i);
85 mapy.at<float>(j,i) = static_cast<float>(mapx.rows - j);
154 mapx.at<float>(y, x) = static_cast<float>(x / 2);
155 mapy.at<float>(y, x) = static_cast<float>(y / 2);
207 M.at<float>(0, 0) = std::cos(angle); M.at<float>(0, 1) = -std::sin(angle); M.at<float>(0, 2) = static_cast<float>(srcSize.width / 2);
223 Mat M = createAffineTransfomMatrix(size, static_cast<float>(CV_PI / 4), false)
    [all...]
  /external/pdfium/testing/
embedder_test.cpp 71 UNSUPPORT_INFO* info = static_cast<UNSUPPORT_INFO*>(this);
123 file_access_.m_FileLen = static_cast<unsigned long>(file_length_);
185 IPDF_JSPLATFORM* platform = static_cast<IPDF_JSPLATFORM*>(this);
190 FPDF_FORMFILLINFO* formfillinfo = static_cast<FPDF_FORMFILLINFO*>(this);
246 int width = static_cast<int>(FPDF_GetPageWidth(page));
247 int height = static_cast<int>(FPDF_GetPageHeight(page));
282 EmbedderTest* test = static_cast<EmbedderTest*>(info);
292 EmbedderTest* test = static_cast<EmbedderTest*>(platform);
300 EmbedderTest* test = static_cast<EmbedderTest*>(info);
306 EmbedderTest* test = static_cast<EmbedderTest*>(info)
    [all...]
  /external/webrtc/talk/media/base/
videocommon.cc 90 int test_num_pixels = static_cast<int>(width * kScaleFactors[i] *
129 new_frame_width = static_cast<int>(sqrtf(static_cast<float>(
136 *scaled_width = static_cast<int>(frame_width * scale + .5f);
137 *scaled_height = static_cast<int>(frame_height * scale + .5f);
184 float frame_aspect = static_cast<float>(frame_width * pixel_width) /
185 static_cast<float>(frame_height * pixel_height);
186 float crop_aspect = static_cast<float>(cropped_format_width) /
187 static_cast<float>(cropped_format_height);
199 frame_width = static_cast<int>((crop_aspect * frame_height
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/
send_time_history_unittest.cc 114 sent_packets.push_back(PacketInfo(0, static_cast<int64_t>(i),
115 static_cast<uint16_t>(i), kPacketSize,
118 PacketInfo(static_cast<int64_t>(i) + kTransmissionTime, 0,
119 static_cast<uint16_t>(i), kPacketSize, false));
149 PacketInfo info(0, 0, static_cast<uint16_t>(i), 0, false);
158 PacketInfo info2(0, 0, static_cast<uint16_t>(i), 0, false);
178 PacketInfo info(0, static_cast<uint16_t>(kMaxSeqNo - 2));
180 PacketInfo info2(0, static_cast<uint16_t>(kMaxSeqNo - 1));
182 PacketInfo info3(0, static_cast<uint16_t>(kMaxSeqNo));
194 PacketInfo info6(0, static_cast<uint16_t>(kMaxSeqNo - 2))
    [all...]
  /art/runtime/interpreter/
unstarted_runtime_test.cc 93 result->Set(static_cast<int32_t>(i), data.GetReference(i));
105 EXPECT_EQ(data.GetReference(i), array->Get(static_cast<int32_t>(i))) << i;
212 tmp->SetVRegLong(0, static_cast<int64_t>(reinterpret_cast<intptr_t>(base_ptr + i)));
216 EXPECT_EQ(result.GetB(), static_cast<int8_t>(base_array[i]));
235 tmp->SetVRegLong(0, static_cast<int64_t>(reinterpret_cast<intptr_t>(base_ptr + i)));
260 tmp->SetVRegLong(0, static_cast<int64_t>(reinterpret_cast<intptr_t>(base_ptr + i)));
285 tmp->SetVRegLong(0, static_cast<int64_t>(reinterpret_cast<intptr_t>(base_ptr + i)));
363 int32_t base_len = static_cast<int32_t>(strlen(base_string));
655 constexpr double ld1 = static_cast<double>((UINT64_C(1) << 53) - 1);
656 constexpr double ld2 = static_cast<double>(UINT64_C(1) << 55)
    [all...]
  /frameworks/compile/mclinker/lib/Script/
ScriptScanner.ll 184 <LDSCRIPT,EXPRESSION>"," { return static_cast<token_type>(*yytext); }
185 <LDSCRIPT,EXPRESSION>"=" { return static_cast<token_type>(*yytext); }
186 <LDSCRIPT,EXPRESSION>"?" { return static_cast<token_type>(*yytext); }
187 <LDSCRIPT,EXPRESSION>":" { return static_cast<token_type>(*yytext); }
188 <LDSCRIPT,EXPRESSION>"|" { return static_cast<token_type>(*yytext); }
189 <LDSCRIPT,EXPRESSION>"^" { return static_cast<token_type>(*yytext); }
190 <LDSCRIPT,EXPRESSION>"&" { return static_cast<token_type>(*yytext); }
191 <LDSCRIPT,EXPRESSION>"<" { return static_cast<token_type>(*yytext); }
192 <LDSCRIPT,EXPRESSION>">" { return static_cast<token_type>(*yytext); }
193 <LDSCRIPT,EXPRESSION>"+" { return static_cast<token_type>(*yytext);
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
char_traits.h 123 { return static_cast<char_type>(__c); }
127 { return static_cast<int_type>(__c); }
135 { return static_cast<int_type>(_GLIBCXX_STDIO_EOF); }
182 return static_cast<_CharT*>(__builtin_memmove(__s1, __s2,
253 return (static_cast<unsigned char>(__c1)
254 < static_cast<unsigned char>(__c2));
267 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); }
271 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); }
275 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); }
279 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n));
    [all...]
  /art/compiler/linker/
vector_output_stream.h 35 if (static_cast<size_t>(offset_) == vector_->size()) {
56 if (new_offset > static_cast<off_t>(vector_->size())) {
  /art/compiler/utils/arm64/
managed_register_arm64.h 61 return static_cast<XRegister>(id_);
66 return static_cast<WRegister>(id_ - kNumberOfXRegIds);
71 return static_cast<DRegister>(id_ - kNumberOfXRegIds - kNumberOfWRegIds);
76 return static_cast<SRegister>(id_ - kNumberOfXRegIds - kNumberOfWRegIds -
83 return static_cast<WRegister>(AsXRegister());
88 return static_cast<XRegister>(AsWRegister());
93 return static_cast<SRegister>(AsDRegister());
98 return static_cast<DRegister>(AsSRegister());
  /art/compiler/utils/mips64/
managed_register_mips64.cc 36 os << "GPU: " << static_cast<int>(AsGpuRegister());
38 os << "FpuRegister: " << static_cast<int>(AsFpuRegister());
  /art/runtime/arch/
memcmp16.cc 26 return static_cast<int32_t>(s0[i]) - static_cast<int32_t>(s1[i]);
  /art/runtime/base/
time_utils.cc 127 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000) + now.tv_nsec / UINT64_C(1000000);
131 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000) + now.tv_usec / UINT64_C(1000);
139 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000000) + now.tv_nsec / UINT64_C(1000);
143 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000000) + now.tv_usec;
151 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000000000) + now.tv_nsec;
155 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000000000) + now.tv_usec * UINT64_C(1000);
163 return static_cast<uint64_t>(now.tv_sec) * UINT64_C(1000000000) + now.tv_nsec;
173 tm.tv_nsec = ns - static_cast<uint64_t>(tm.tv_sec) * MsToNs(1000);
  /art/runtime/entrypoints/
math_entrypoints.cc 24 return static_cast<double>(l);
28 return static_cast<float>(l);

Completed in 893 milliseconds

<<11121314151617181920>>