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

<<41424344454647484950>>

  /external/llvm/include/llvm/ADT/
StringMap.h 150 unsigned KeyLength = static_cast<unsigned>(KeyEnd-KeyStart);
156 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
161 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
241 StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
243 : StringMapImpl(InitialSize, static_cast<unsigned>(sizeof(MapEntryTy))) {}
246 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
249 : StringMapImpl(InitialSize, static_cast<unsigned>(sizeof(MapEntryTy))),
253 : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {
348 static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
365 return *static_cast<MapEntryTy*>(Bucket)
    [all...]
  /external/v8/test/cctest/
test-assembler-x64.cc 105 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
109 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size));
127 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
131 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size));
159 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
163 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size));
181 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
185 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size));
209 byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
213 Assembler assm(Isolate::Current(), buffer, static_cast<int>(actual_size))
    [all...]
  /external/chromium/chrome/browser/safe_browsing/
protocol_parser_unittest.cc 24 static_cast<int>(add_chunk.length()),
77 static_cast<int>(add_chunk.length()),
108 static_cast<int>(add_chunk.length()),
170 static_cast<int>(add_chunk.length()),
197 static_cast<int>(sizeof(add_chunk)),
215 static_cast<int>(sizeof(add_chunk)),
224 static_cast<int>(sizeof(add_chunk)),
233 static_cast<int>(sizeof(add_chunk)),
254 static_cast<int>(sub_chunk.length()),
315 static_cast<int>(sub_chunk.length())
    [all...]
  /external/chromium_org/ash/shell/
app_list.cc 65 icon.eraseColor(kColors[static_cast<int>(type) % arraysize(kColors)]);
196 i < static_cast<int>(WindowTypeLauncherItem::LAST_TYPE);
199 static_cast<WindowTypeLauncherItem::Type>(i);
243 static_cast<WindowTypeLauncherItem*>(item)->Activate(event_flags);
249 static_cast<const ExampleSearchResult*>(result);
269 i < static_cast<int>(WindowTypeLauncherItem::LAST_TYPE);
272 static_cast<WindowTypeLauncherItem::Type>(i);
  /external/chromium_org/chrome/browser/ui/webui/
downloads_dom_handler_browsertest.cc 159 ASSERT_EQ(1, static_cast<int>(mock_handler_->downloads_list()->GetSize()));
189 ASSERT_EQ(1, static_cast<int>(mock_handler_->downloads_list()->GetSize()));
196 EXPECT_EQ(0, static_cast<int>(mock_handler_->downloads_list()->GetSize()));
213 ASSERT_EQ(1, static_cast<int>(mock_handler_->downloads_list()->GetSize()));
220 EXPECT_EQ(0, static_cast<int>(mock_handler_->downloads_list()->GetSize()));
230 ASSERT_EQ(1, static_cast<int>(mock_handler_->download_updated()->GetSize()));
241 EXPECT_EQ(0, static_cast<int>(mock_handler_->downloads_list()->GetSize()));
  /external/chromium_org/net/dns/
record_rdata.cc 51 const SrvRecordRdata* srv_other = static_cast<const SrvRecordRdata*>(other);
87 const ARecordRdata* a_other = static_cast<const ARecordRdata*>(other);
120 const AAAARecordRdata* a_other = static_cast<const AAAARecordRdata*>(other);
149 static_cast<const CnameRecordRdata*>(other);
177 const PtrRecordRdata* ptr_other = static_cast<const PtrRecordRdata*>(other);
214 const TxtRecordRdata* txt_other = static_cast<const TxtRecordRdata*>(other);
274 static_cast<const NsecRecordRdata*>(other);
  /external/chromium_org/ppapi/tests/
test_broker.cc 44 const int32_t kInvalidHandle = static_cast<int32_t>(
54 return reinterpret_cast<HANDLE>(static_cast<intptr_t>(handle));
74 const DWORD size = static_cast<DWORD>(message_len);
78 static_cast<size_t>(std::numeric_limits<ssize_t>::max()));
95 const DWORD size = static_cast<DWORD>(message_len);
99 static_cast<size_t>(std::numeric_limits<ssize_t>::max()));
206 broker_interface_ = static_cast<const PPB_BrokerTrusted*>(
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8NodeCustom.cpp 142 return wrap(static_cast<CDATASection*>(impl), creationContext, isolate);
144 return wrap(static_cast<Entity*>(impl), creationContext, isolate);
146 return wrap(static_cast<ProcessingInstruction*>(impl), creationContext, isolate);
148 return wrap(static_cast<Comment*>(impl), creationContext, isolate);
152 return wrap(static_cast<DocumentType*>(impl), creationContext, isolate);
156 return wrap(static_cast<DocumentFragment*>(impl), creationContext, isolate);
158 return wrap(static_cast<Notation*>(impl), creationContext, isolate);
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/
FEComponentTransfer.cpp 115 unsigned k = static_cast<unsigned>(c * (n - 1));
120 values[i] = static_cast<unsigned char>(val);
131 unsigned k = static_cast<unsigned>((i * n) / 255.0);
135 values[i] = static_cast<unsigned char>(val);
144 values[i] = static_cast<unsigned char>(val);
154 values[i] = static_cast<unsigned char>(val);
226 ASSERT_WITH_SECURITY_IMPLICATION(static_cast<size_t>(transferFunction[channel].type) < WTF_ARRAY_LENGTH(callEffect));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
BasicShapes.cpp 47 && static_cast<const BasicShapePolygon*>(this)->values().size() != static_cast<const BasicShapePolygon*>(other)->values().size())
74 const BasicShapeRectangle* o = static_cast<const BasicShapeRectangle*>(other);
104 const BasicShapeCircle* o = static_cast<const BasicShapeCircle*>(other);
131 const BasicShapeEllipse* o = static_cast<const BasicShapeEllipse*>(other);
162 const BasicShapePolygon* o = static_cast<const BasicShapePolygon*>(other);
204 const BasicShapeInsetRectangle* o = static_cast<const BasicShapeInsetRectangle*>(other);
  /external/chromium_org/third_party/angle_dx11/src/compiler/
glslang.l 192 0[xX]{H}+ { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
193 0{O}+ { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
194 {D}+ { yylval->lex.i = static_cast<int>(strtol(yytext, 0, 0)); return INTCONSTANT; }
196 {D}+{E} { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
197 {D}+"."{D}*({E})? { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
198 "."{D}+({E})? { yylval->lex.f = static_cast<float>(atof_dot(yytext)); return FLOATCONSTANT; }
275 TVariable* variable = static_cast<TVariable*>(symbol);
  /external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/
IndexDataManager.cpp 61 const GLubyte *in = static_cast<const GLubyte*>(input);
62 GLushort *out = static_cast<GLushort*>(output);
97 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex);
101 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex);
105 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex);
135 if (gl::ComputeTypeSize(type) * count + offset > static_cast<GLsizei>(storage->getSize()))
140 indices = static_cast<const GLubyte*>(storage->getData()) + offset;
  /external/chromium_org/ui/gfx/
vector2d_unittest.cc 166 static_cast<double>(v0) * v0 + static_cast<double>(v1) * v1;
169 EXPECT_EQ(static_cast<float>(length_squared), vector.LengthSquared());
170 EXPECT_EQ(static_cast<float>(length), vector.Length());
190 static_cast<double>(v0) * v0 + static_cast<double>(v1) * v1;
194 EXPECT_FLOAT_EQ(static_cast<float>(length), vector.Length());
  /external/clang/test/CXX/over/over.over/
p2-resolve-single-template-id.cpp 79 { static_cast<void>(one); }
81 { static_cast<void>(oneT<int>); }
84 { static_cast<void>(two); } // expected-error {{address of overloaded function 'two' cannot be static_cast to type 'void'}}
86 { static_cast<void>(twoT<int>); }
98 { (void) static_cast<void (*)(int)>(two); } //ok
120 { static_cast<void>(cant_resolve<int>); } // expected-error {{address of overload}}
  /frameworks/rs/
rsProgramVertex.cpp 49 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
78 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
96 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
114 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(
132 float *f = static_cast<float *>(
142 float *f = static_cast<float *>(
218 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D(rsc, mDefaultAlloc.get()));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
__std_stream 124 __extbuf[__i] = static_cast<char>(__c);
128 __1buf = static_cast<char_type>(__extbuf[0]);
151 __extbuf[__nread] = static_cast<char>(__c);
158 __1buf = static_cast<char_type>(__extbuf[0]);
202 __extbuf[0] = static_cast<char>(__last_consumed_);
295 size_t __nmemb = static_cast<size_t>(__extbe - __extbuf);
323 size_t __nmemb = static_cast<size_t>(__extbe - __extbuf);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
min_allocator.h 62 explicit min_pointer(min_pointer<void> p) : ptr_(static_cast<T*>(p.ptr_)) {}
133 explicit min_pointer(min_pointer<const void> p) : ptr_(static_cast<const T*>(p.ptr_)) {}
198 return !static_cast<bool>(x);
206 return !static_cast<bool>(x);
214 return static_cast<bool>(x);
222 return static_cast<bool>(x);
238 return pointer(static_cast<T*>(::operator new(n*sizeof(T))));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/
min_allocator.h 62 explicit min_pointer(min_pointer<void> p) : ptr_(static_cast<T*>(p.ptr_)) {}
133 explicit min_pointer(min_pointer<const void> p) : ptr_(static_cast<const T*>(p.ptr_)) {}
198 return !static_cast<bool>(x);
206 return !static_cast<bool>(x);
214 return static_cast<bool>(x);
222 return static_cast<bool>(x);
238 return pointer(static_cast<T*>(::operator new(n*sizeof(T))));
  /packages/inputmethods/PinyinIME/jni/share/
dictbuilder.cpp 43 s1 = static_cast<const SingleCharItem*>(p1);
44 s2 = static_cast<const SingleCharItem*>(p2);
70 s1 = static_cast<const SingleCharItem*>(p1);
71 s2 = static_cast<const SingleCharItem*>(p2);
118 return static_cast<int>(((const LemmaEntry*)p2)->freq) -
119 static_cast<int>(((const LemmaEntry*)p1)->freq);
267 found = static_cast<char16*>(
586 bool dt_success = construct_subset(static_cast<void*>(lma_nodes_le0_),
648 node->son_1st_off_l = static_cast<uint16>(offset);
649 node->son_1st_off_h = static_cast<unsigned char>(offset >> 16)
    [all...]
spellingtable.cpp 34 if ('\0' == (static_cast<const RawSpelling*>(p1))->str[0])
37 if ('\0' == (static_cast<const RawSpelling*>(p2))->str[0])
40 return strcmp((static_cast<const RawSpelling*>(p1))->str,
41 (static_cast<const RawSpelling*>(p2))->str);
282 static_cast<char>((unsigned char)score);
291 average_score_ = static_cast<uint8>(average_score);
305 return static_cast<float>(score_amplifier_);
  /external/chromium_org/cc/resources/
resource_provider_unittest.cc 149 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
174 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
199 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
203 ASSERT_EQ(static_cast<unsigned>(GL_UNSIGNED_BYTE), type);
219 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
223 ASSERT_EQ(static_cast<unsigned>(GL_UNSIGNED_BYTE), type);
231 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
246 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
260 ASSERT_EQ(static_cast<unsigned>(GL_TEXTURE_2D), target);
316 const uint8_t* src = static_cast<const uint8_t*>(pixels)
    [all...]
  /external/chromium_org/base/debug/
trace_event.h 441 "value", static_cast<int>(value))
445 "value", static_cast<int>(value))
456 value1_name, static_cast<int>(value1_val), \
457 value2_name, static_cast<int>(value2_val))
462 value1_name, static_cast<int>(value1_val), \
463 value2_name, static_cast<int>(value2_val))
476 "value", static_cast<int>(value))
480 "value", static_cast<int>(value))
495 value1_name, static_cast<int>(value1_val), \
496 value2_name, static_cast<int>(value2_val)
    [all...]
  /external/chromium_org/chrome/browser/metrics/
thread_watcher_unittest.cc 467 EXPECT_GT(io_watcher_->ping_sent_, static_cast<uint64>(0));
468 EXPECT_GT(io_watcher_->pong_received_, static_cast<uint64>(0));
471 EXPECT_GE(io_watcher_->saved_ping_sequence_number_, static_cast<uint64>(0));
476 EXPECT_GT(io_watcher_->success_response_, static_cast<uint64>(0));
477 EXPECT_EQ(io_watcher_->failed_response_, static_cast<uint64>(0));
511 EXPECT_EQ(io_watcher_->success_response_, static_cast<uint64>(0));
512 EXPECT_GT(io_watcher_->failed_response_, static_cast<uint64>(0));
541 EXPECT_GT(db_watcher_->ping_sent_, static_cast<uint64>(0));
542 EXPECT_GT(db_watcher_->pong_received_, static_cast<uint64>(0));
543 EXPECT_GE(db_watcher_->ping_sequence_number_, static_cast<uint64>(0))
    [all...]
  /external/chromium_org/net/base/
upload_data_stream_unittest.cc 170 ASSERT_EQ(static_cast<int>(kTestDataSize),
204 ASSERT_EQ(static_cast<int>(kTestDataSize),
269 EXPECT_EQ(static_cast<int>(kTestDataSize * 2),
275 EXPECT_EQ(static_cast<int>(kTestDataSize*2),
309 EXPECT_EQ(static_cast<int>(kTestDataSize * 2), read_callback.WaitForResult());
314 EXPECT_EQ(static_cast<int>(kTestDataSize*2),
322 ASSERT_EQ(static_cast<int>(kTestDataSize),
464 ASSERT_EQ(static_cast<int>(kTestDataSize), bytes_read); // Not an error.
505 EXPECT_EQ(static_cast<int>(kTestDataSize),
514 EXPECT_EQ(static_cast<int>(kTestDataSize), read_callback2.WaitForResult())
    [all...]
  /external/clang/lib/ARCMigrate/
TransformActions.cpp 609 delete static_cast<TransformActionsImpl*>(Impl);
613 static_cast<TransformActionsImpl*>(Impl)->startTransaction();
617 return static_cast<TransformActionsImpl*>(Impl)->commitTransaction();
621 static_cast<TransformActionsImpl*>(Impl)->abortTransaction();
626 static_cast<TransformActionsImpl*>(Impl)->insert(loc, text);
631 static_cast<TransformActionsImpl*>(Impl)->insertAfterToken(loc, text);
635 static_cast<TransformActionsImpl*>(Impl)->remove(range);
639 static_cast<TransformActionsImpl*>(Impl)->removeStmt(S);
643 static_cast<TransformActionsImpl*>(Impl)->replace(range, text);
648 static_cast<TransformActionsImpl*>(Impl)->replace(range, replacementRange)
    [all...]

Completed in 890 milliseconds

<<41424344454647484950>>