Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 25 of 1719) sorted by relevance

12345678910>>...69

/external/chromium_org/third_party/sqlite/src/test/
Dcast.test14 # $Id: cast.test,v 1.10 2008/11/06 15:33:04 drh Exp $
20 ifcapable !cast {
28 do_test cast-1.1 {
31 do_test cast-1.2 {
34 do_test cast-1.3 {
37 do_test cast-1.4 {
40 do_test cast-1.5 {
43 do_test cast-1.6 {
46 do_test cast-1.7 {
49 do_test cast-1.8 {
[all …]
/external/chromium_org/media/cast/test/
Dsender.cc65 media::cast::AudioSenderConfig GetAudioSenderConfig() { in GetAudioSenderConfig()
66 media::cast::AudioSenderConfig audio_config; in GetAudioSenderConfig()
72 audio_config.codec = media::cast::CODEC_AUDIO_OPUS; in GetAudioSenderConfig()
82 media::cast::VideoSenderConfig GetVideoSenderConfig() { in GetVideoSenderConfig()
83 media::cast::VideoSenderConfig video_config; in GetVideoSenderConfig()
98 video_config.codec = media::cast::CODEC_VIDEO_VP8; in GetVideoSenderConfig()
117 media::cast::CastTransportStatus status) { in UpdateCastTransportStatus()
122 const scoped_refptr<media::cast::CastEnvironment>& cast_environment, in LogRawEvents()
123 const std::vector<media::cast::PacketEvent>& packet_events, in LogRawEvents()
124 const std::vector<media::cast::FrameEvent>& frame_events) { in LogRawEvents()
[all …]
/external/eigen/test/
Dmixingtypes.cpp40 Mat_d md = mf.template cast<double>(); in mixingtypes()
42 Mat_cd mcd = mcf.template cast<complex<double> >(); in mixingtypes()
44 Vec_d vd = vf.template cast<double>(); in mixingtypes()
46 Vec_cd vcd = vcf.template cast<complex<double> >(); in mixingtypes()
63 VERIFY_IS_APPROX(vf * scf , vf.template cast<complex<float> >() * scf); in mixingtypes()
64 VERIFY_IS_APPROX(scd * vd, scd * vd.template cast<complex<double> >()); in mixingtypes()
71 VERIFY_IS_APPROX(vcf.dot(vf), vcf.dot(vf.template cast<complex<float> >())); in mixingtypes()
74 VERIFY_IS_APPROX(vf.asDiagonal() * mcf, vf.template cast<complex<float> >().asDiagonal() * mcf); in mixingtypes()
75 VERIFY_IS_APPROX(vcd.asDiagonal() * md, vcd.asDiagonal() * md.template cast<complex<double> >()); in mixingtypes()
76 VERIFY_IS_APPROX(mcf * vf.asDiagonal(), mcf * vf.template cast<complex<float> >().asDiagonal()); in mixingtypes()
[all …]
/external/chromium_org/chrome/common/
Dcast_messages.h20 media::cast::EncodedFrame::Dependency,
21 media::cast::EncodedFrame::DEPENDENCY_LAST)
22 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::Codec,
23 media::cast::CODEC_LAST)
24 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastTransportStatus,
25 media::cast::CAST_TRANSPORT_STATUS_LAST)
26 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent,
27 media::cast::kNumOfLoggingEvents)
28 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType,
29 media::cast::EVENT_MEDIA_TYPE_LAST)
[all …]
/external/chromium_org/chrome/renderer/media/
Dcast_transport_sender_ipc.h21 : public media::cast::CastTransportSender {
26 const media::cast::CastTransportStatusCallback& status_cb,
27 const media::cast::BulkRawEventsCallback& raw_events_cb);
33 const media::cast::CastTransportRtpConfig& config,
34 const media::cast::RtcpCastMessageCallback& cast_message_cb,
35 const media::cast::RtcpRttCallback& rtt_cb) OVERRIDE;
37 const media::cast::CastTransportRtpConfig& config,
38 const media::cast::RtcpCastMessageCallback& cast_message_cb,
39 const media::cast::RtcpRttCallback& rtt_cb) OVERRIDE;
41 const media::cast::EncodedFrame& frame) OVERRIDE;
[all …]
Dcast_session_delegate.cc24 using media::cast::AudioSenderConfig;
25 using media::cast::CastEnvironment;
26 using media::cast::CastSender;
27 using media::cast::VideoSenderConfig;
65 const media::cast::CreateVideoEncodeAcceleratorCallback& create_vea_cb, in StartVideo()
66 const media::cast::CreateVideoEncodeMemoryCallback& in StartVideo()
98 new media::cast::RawEventSubscriberBundle(cast_environment_)); in StartUDP()
134 media::cast::EncodingEventSubscriber* subscriber = in GetEventLogsAndReset()
141 media::cast::proto::LogMetadata metadata; in GetEventLogsAndReset()
142 media::cast::FrameEventList frame_events; in GetEventLogsAndReset()
[all …]
Dcast_session_delegate.h31 namespace cast {
49 media::cast::AudioFrameInput>&)> AudioFrameInputAvailableCallback;
51 media::cast::VideoFrameInput>&)> VideoFrameInputAvailableCallback;
71 void StartAudio(const media::cast::AudioSenderConfig& config,
75 void StartVideo(const media::cast::VideoSenderConfig& config,
78 const media::cast::CreateVideoEncodeAcceleratorCallback&
80 const media::cast::CreateVideoEncodeMemoryCallback&
94 media::cast::CastInitializationStatus result) const;
98 media::cast::CastTransportStatus status);
101 void LogRawEvents(const std::vector<media::cast::PacketEvent>& packet_events,
[all …]
Dcast_transport_sender_ipc.cc20 const media::cast::CastTransportStatusCallback& status_cb, in CastTransportSenderIPC()
21 const media::cast::BulkRawEventsCallback& raw_events_cb) in CastTransportSenderIPC()
37 const media::cast::CastTransportRtpConfig& config, in InitializeAudio()
38 const media::cast::RtcpCastMessageCallback& cast_message_cb, in InitializeAudio()
39 const media::cast::RtcpRttCallback& rtt_cb) { in InitializeAudio()
46 const media::cast::CastTransportRtpConfig& config, in InitializeVideo()
47 const media::cast::RtcpCastMessageCallback& cast_message_cb, in InitializeVideo()
48 const media::cast::RtcpRttCallback& rtt_cb) { in InitializeVideo()
55 const media::cast::EncodedFrame& frame) { in InsertFrame()
84 media::cast::CastTransportStatus status) { in OnNotifyStatusChange()
[all …]
/external/clang/test/SemaObjCXX/
Dobjcbridge-static-cast.mm31 …pected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C pointer ty…
32 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
33 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFTestin…
57 …ected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer t…
58 … // expected-note {{__bridge with C-style cast to convert directly (no change in ownership)}} \
59 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR…
60 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer …
61 … // expected-note {{use __bridge with C-style cast to convert directly (no change in ownership)}} \
62 …// expected-note {{use __bridge_transfer with C-style cast to transfer ownership of a +1 'CFErrorR…
63 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer …
[all …]
Dobjcbridge-attribute.mm31 …pected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C pointer ty…
57 …ected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer t…
60 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer …
63 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer …
66 …ted-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Objective-C pointer…
69 …pected-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka '_…
73 …pected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '…
77 …expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointe…
81 …expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__C…
88 …/ expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C point…
[all …]
Dobjcbridge-attribute-arc.mm31 …pected-error {{cast of C pointer type 'CFTestingRef' (aka '__CFError *') to Objective-C pointer ty…
57 …ected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer t…
60 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer …
63 …pected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointer …
66 …ted-error {{cast of C pointer type 'CFUColor2Ref' (aka '__CFUPrimeColor *') to Objective-C pointer…
69 …pected-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka '_…
73 …pected-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka '…
77 …expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *') to Objective-C pointe…
81 …expected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka '__C…
88 …/ expected-error {{cast of C pointer type 'CFErrorRef' (aka '__CFErrorRef *') to Objective-C point…
[all …]
/external/llvm/lib/IR/
DInstruction.cpp105 cast<FPMathOperator>(this)->setHasUnsafeAlgebra(B); in setHasUnsafeAlgebra()
112 cast<FPMathOperator>(this)->setHasNoNaNs(B); in setHasNoNaNs()
119 cast<FPMathOperator>(this)->setHasNoInfs(B); in setHasNoInfs()
127 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); in setHasNoSignedZeros()
135 cast<FPMathOperator>(this)->setHasAllowReciprocal(B); in setHasAllowReciprocal()
143 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
149 return cast<FPMathOperator>(this)->hasUnsafeAlgebra(); in hasUnsafeAlgebra()
155 return cast<FPMathOperator>(this)->hasNoNaNs(); in hasNoNaNs()
161 return cast<FPMathOperator>(this)->hasNoInfs(); in hasNoInfs()
167 return cast<FPMathOperator>(this)->hasNoSignedZeros(); in hasNoSignedZeros()
[all …]
/external/llvm/test/Transforms/InstSimplify/
Dcall.ll109 br i1 %cmp, label %cast.end, label %cast.notnull
111 cast.notnull: ; preds = %entry
113 br label %cast.end
115 cast.end: ; preds = %cast.notnull, %entry
116 %cast.result = phi i8* [ %add.ptr, %cast.notnull ], [ null, %entry ]
117 ret i8* %cast.result
120 ; CHECK: br i1 false, label %cast.end, label %cast.notnull
132 br i1 %cmp, label %cast.end, label %cast.notnull
134 cast.notnull: ; preds = %entry
136 br label %cast.end
[all …]
/external/eigen/blas/
Ddouble.cpp26 …if(*incx==1 && *incy==1) return (vector(x,*n).cast<double>().cwiseProduct(vector(y,*n).cast<dou… in BLASFUNC()
27 … if(*incx>0 && *incy>0) return (vector(x,*n,*incx).cast<double>().cwiseProduct(vector(y,*n,*incy). in BLASFUNC()
28 … && *incy>0) return (vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(vector(y,*n,*incy). in BLASFUNC()
29 …ncx>0 && *incy<0) return (vector(x,*n,*incx).cast<double>().cwiseProduct(vector(y,*n,-*incy).rever… in BLASFUNC()
30 …ncy<0) return (vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(vector(y,*n,-*incy).rever… in BLASFUNC()
/external/chromium_org/media/cast/net/
DDEPS2 "-media/cast",
3 "+media/cast/cast_config.h",
4 "+media/cast/cast_defines.h",
5 "+media/cast/cast_environment.h",
6 "+media/cast/common",
7 "+media/cast/logging",
8 "+media/cast/net",
14 "+media/cast/test",
/external/clang/lib/Analysis/
DThreadSafetyLogical.cpp50 return RNeg ? RightOrOperator(cast<And>(RHS)) in implies()
51 : RightAndOperator(cast<And>(RHS)); in implies()
57 return RNeg ? RightAndOperator(cast<Or>(RHS)) in implies()
58 : RightOrOperator(cast<Or>(RHS)); in implies()
62 return implies(LHS, LNeg, cast<Not>(RHS)->exp(), !RNeg); in implies()
75 return LNeg ? LeftAndOperator(cast<And>(LHS)) in implies()
76 : LeftOrOperator(cast<And>(LHS)); in implies()
82 return LNeg ? LeftOrOperator(cast<Or>(LHS)) in implies()
83 : LeftAndOperator(cast<Or>(LHS)); in implies()
87 return implies(cast<Not>(LHS)->exp(), !LNeg, RHS, RNeg); in implies()
[all …]
/external/chromium_org/v8/src/
Dobjects-debug.cc21 Smi::cast(this)->SmiVerify(); in ObjectVerify()
23 HeapObject::cast(this)->HeapObjectVerify(); in ObjectVerify()
46 String::cast(this)->StringVerify(); in HeapObjectVerify()
52 Symbol::cast(this)->SymbolVerify(); in HeapObjectVerify()
55 Map::cast(this)->MapVerify(); in HeapObjectVerify()
59 HeapNumber::cast(this)->HeapNumberVerify(); in HeapObjectVerify()
62 FixedArray::cast(this)->FixedArrayVerify(); in HeapObjectVerify()
65 FixedDoubleArray::cast(this)->FixedDoubleArrayVerify(); in HeapObjectVerify()
68 ConstantPoolArray::cast(this)->ConstantPoolArrayVerify(); in HeapObjectVerify()
71 ByteArray::cast(this)->ByteArrayVerify(); in HeapObjectVerify()
[all …]
Dobjects-printer.cc27 Smi::cast(this)->SmiPrint(os); in Print()
29 HeapObject::cast(this)->HeapObjectPrint(os); in Print()
44 String::cast(this)->StringPrint(os); in HeapObjectPrint()
50 Symbol::cast(this)->SymbolPrint(os); in HeapObjectPrint()
53 Map::cast(this)->MapPrint(os); in HeapObjectPrint()
56 HeapNumber::cast(this)->HeapNumberPrint(os); in HeapObjectPrint()
60 HeapNumber::cast(this)->HeapNumberPrint(os); in HeapObjectPrint()
64 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(os); in HeapObjectPrint()
67 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(os); in HeapObjectPrint()
70 FixedArray::cast(this)->FixedArrayPrint(os); in HeapObjectPrint()
[all …]
/external/chromium_org/third_party/skia/third_party/lua/src/
Dlopcodes.h89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0)))
91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP))))
93 #define getarg(i,pos,size) (cast(int, ((i)>>pos) & MASK1(size,0)))
95 ((cast(Instruction, v)<<pos)&MASK1(size,pos))))
113 #define SETARG_sBx(i,b) SETARG_Bx((i),cast(unsigned int, (b)+MAXARG_sBx))
116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \
117 | (cast(Instruction, a)<<POS_A) \
118 | (cast(Instruction, b)<<POS_B) \
119 | (cast(Instruction, c)<<POS_C))
121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \
[all …]
/external/chromium_org/remoting/webapp/js_proto/
Dchrome_proto.js407 chrome.cast = {};
410 chrome.cast.AutoJoinPolicy = function() {};
413 chrome.cast.AutoJoinPolicy.PAGE_SCOPED;
416 chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED;
419 chrome.cast.AutoJoinPolicy.TAB_AND_ORIGIN_SCOPED;
422 chrome.cast.DefaultActionPolicy = function() {};
425 chrome.cast.DefaultActionPolicy.CAST_THIS_TAB;
428 chrome.cast.DefaultActionPolicy.CREATE_SESSION;
431 chrome.cast.Error = function() {};
434 chrome.cast.ReceiverAvailability = function() {};
[all …]
/external/chromium_org/chrome/browser/media/
Dcast_transport_host_filter.cc19 namespace cast { namespace
48 media::cast::CastTransportStatus status) { in NotifyStatusChange()
54 const std::vector<media::cast::PacketEvent>& packet_events, in SendRawEvents()
55 const std::vector<media::cast::FrameEvent>& frame_events) { in SendRawEvents()
71 const media::cast::RtcpCastMessage& cast_message) { in SendCastMessage()
91 scoped_ptr<media::cast::CastTransportSender> sender = in OnNew()
92 media::cast::CastTransportSender::Create( in OnNew()
109 media::cast::CastTransportSender* sender = in OnDelete()
128 const media::cast::CastTransportRtpConfig& config) { in OnInitializeAudio()
129 media::cast::CastTransportSender* sender = in OnInitializeAudio()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp342 const CStyleCastExpr* CastExpr1 = cast<CStyleCastExpr>(Stmt1); in isIdenticalStmt()
343 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); in isIdenticalStmt()
348 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); in isIdenticalStmt()
349 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
355 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); in isIdenticalStmt()
356 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); in isIdenticalStmt()
373 const DoStmt *DStmt1 = cast<DoStmt>(Stmt1); in isIdenticalStmt()
374 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); in isIdenticalStmt()
385 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); in isIdenticalStmt()
386 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dbitcast-vec-uniform.ll26 %cast = bitcast i64 -1 to <2 x float>
27 ret <2 x float> %cast
35 %cast = bitcast i128 -1 to <2 x double>
36 ret <2 x double> %cast
43 %cast = bitcast i32 -1 to <1 x float>
44 ret <1 x float> %cast
51 %cast = bitcast <1 x i32 ><i32 -1> to float
52 ret float %cast
59 %cast = bitcast <2 x i32 ><i32 -1, i32 -1> to double
60 ret double %cast
[all …]
/external/llvm/include/llvm/IR/
DIntrinsicInst.h54 return isa<CallInst>(V) && classof(cast<CallInst>(V)); in classof()
73 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
84 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(1)); } in getVariable()
91 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
102 return cast<ConstantInt>( in getOffset()
105 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(2)); } in getVariable()
112 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof()
129 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(3))); in getAlignmentCst()
137 return cast<ConstantInt>(const_cast<Value*>(getArgOperand(4))); in getVolatileCst()
144 return cast<PointerType>(getRawDest()->getType())->getAddressSpace(); in getDestAddressSpace()
[all …]
/external/clang/test/SemaObjC/
Dobjcbridge-attribute-arc.m44 …ted-error {{cast of C pointer type 'CFTestingRef' (aka 'struct __CFError *') to Objective-C pointe…
70 …ed-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C point…
73 …ed-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C point…
76 …ed-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C point…
79 …-error {{cast of C pointer type 'CFUColor2Ref' (aka 'union __CFUPrimeColor *') to Objective-C poin…
82 …ted-error {{cast of Objective-C pointer type 'NSError *' to C pointer type 'CFErrorRef' (aka 'stru…
86 …ed-error {{cast of Objective-C pointer type 'NSString *' to C pointer type 'CFErrorRef' (aka 'stru…
90 …cted-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErrorRef *') to Objective-C poi…
94 …ected-error {{cast of Objective-C pointer type 'Class' to C pointer type 'CFErrorRef' (aka 'struct…
101 …pected-error {{cast of C pointer type 'CFErrorRef' (aka 'struct __CFErrorRef *') to Objective-C po…
[all …]

12345678910>>...69