Searched defs:cast (Results 1 - 25 of 48) sorted by relevance

12

/external/webkit/Source/WebCore/bindings/cpp/
H A DWebNativeEventListener.h35 static const WebNativeEventListener* cast(const WebCore::EventListener* listener) function in class:WebNativeEventListener
/external/clang/test/PCH/
H A Dcxx-chain-function-template.cpp9 T cast(U u) { function
14 cast<float>(1);
22 cast<CXXRecordDecl>(1.0f);
28 cast<CXXRecordDecl>(1.0f);
/external/webkit/Source/WebCore/bindings/objc/
H A DObjCEventListener.h43 static const ObjCEventListener* cast(const EventListener* listener) function in class:WebCore::ObjCEventListener
/external/guava/guava/src/com/google/common/collect/
H A DMutableClassToInstanceMap.java63 cast(key, value);
69 return cast(type, put(type, value));
74 return cast(type, get(type));
77 private static <B, T extends B> T cast(Class<T> type, B value) { method in class:MutableClassToInstanceMap
78 return Primitives.wrap(type).cast(value);
H A DImmutableClassToInstanceMap.java84 mapBuilder.put(type, cast(type, value));
89 private static <B, T extends B> T cast(Class<T> type, B value) { method in class:ImmutableClassToInstanceMap.Builder
90 return Primitives.wrap(type).cast(value);
121 // Eclipse won't compile if we cast to the parameterized type.
122 ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap) map;
123 return cast;
H A DRange.java228 SortedSet<? extends C> set = cast(values);
499 private static <T> SortedSet<T> cast(Iterable<T> iterable) { method in class:Range
H A DCollections2.java140 // unsafe cast can result in a CCE from predicate.apply(), which we
181 // unsafe cast can result in a CCE from predicate.apply(), which we
340 static <T> Collection<T> cast(Iterable<T> iterable) { method in class:Collections2
H A DMultisets.java73 // Since it's unmodifiable, the covariant cast is safe
737 Multiset<? extends E> that = cast(elements);
851 @SuppressWarnings("cast")
863 @SuppressWarnings("cast")
949 static <T> Multiset<T> cast(Iterable<T> iterable) { method in class:Multisets
/external/webkit/Source/WebCore/bindings/js/
H A DJSEventListener.h38 static const JSEventListener* cast(const EventListener* listener) function in class:WebCore::JSEventListener
/external/webkit/Source/WebCore/bindings/v8/
H A DV8AbstractEventListener.h59 static const V8AbstractEventListener* cast(const EventListener* listener) function in class:WebCore::V8AbstractEventListener
66 static V8AbstractEventListener* cast(EventListener* listener) function in class:WebCore::V8AbstractEventListener
68 return const_cast<V8AbstractEventListener*>(cast(const_cast<const EventListener*>(listener)));
/external/webkit/Source/WebCore/inspector/
H A DInspectorDOMStorageResource.h56 static const InspectorDOMStorageResource* cast(const EventListener* listener) function in class:WebCore::InspectorDOMStorageResource
/external/chromium/chrome/browser/policy/
H A Dconfiguration_policy_provider_mac.cc79 bool cast = CFNumberGetValue((CFNumberRef)value.get(), local
82 if (cast)
/external/llvm/bindings/python/llvm/
H A Ddisassembler.py21 from ctypes import cast namespace
73 buf = cast(c_char_p(source), POINTER(c_ubyte))
74 out_str = cast((c_byte * 255)(), c_char_p)
95 out_str = cast((c_byte * 255)(), c_char_p)
98 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
103 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
/external/llvm/include/llvm/Support/
H A DCasting.h10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
114 // cast<x> Support Templates
120 // Calculate what type the 'cast' function should return, based on a requested
175 // This _is_ a simple type, just cast it.
185 // cast<X> - Return the argument parameter cast to the specified type. This
190 // cast<Instruction>(myVal)->getParent()
193 inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) { function in namespace:llvm
194 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
199 // cast_or_null<X> - Functionally identical to cast, excep
[all...]
/external/v8/src/
H A Dhandles.h81 template <class S> static Handle<T> cast(Handle<S> that) { function in class:v8::internal::Handle
82 T::cast(*that);
H A Dcpu-profiler.h117 static TickSampleEventRecord* cast(void* value) { function in class:v8::internal::TickSampleEventRecord
/external/webkit/Source/WebCore/bindings/gobject/
H A DGObjectEventListener.h53 static const GObjectEventListener* cast(const EventListener* listener) function in class:WebCore::GObjectEventListener
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResource.h70 Renderer* cast() function in class:WebCore::RenderSVGResource
/external/mesa3d/src/glsl/
H A Dloop_controls.cpp105 ir_rvalue *cast = local
109 iter = cast->constant_expression_value();
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DJHdf.java56 static JHdf cast(HDF hdf) { method in class:JHdf
195 JHdf jHdf = cast(hdf);
232 JHdf srcJHdf = cast(src);
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
H A DExpressionTranslator.java84 return translateUntyped(csExpression).cast(Type.STRING);
91 return translateUntyped(csExpression).cast(Type.BOOLEAN);
98 return translateUntyped(csExpression).cast(Type.INT);
105 return translateUntyped(csExpression).cast(Type.DATA);
112 return translateUntyped(csExpression).cast(Type.VAR_NAME);
119 return translateUntyped(csExpression).cast(Type.VALUE);
197 setResult(cast(Type.INT, node.getExpression()));
226 JavaExpression left = cast(Type.STRING, node.getLeft());
227 JavaExpression right = cast(Type.STRING, node.getRight());
238 JavaExpression left = cast(Typ
367 private JavaExpression cast(Type type, PExpression node) { method in class:ExpressionTranslator
[all...]
H A DJavaExpression.java33 * Simple type enumeration to allow us to compare the return types of expressions easily and cast
39 protected JavaExpression cast(JavaExpression expression) {
41 expression = expression.cast(DATA);
48 protected JavaExpression cast(JavaExpression expression) {
50 expression = expression.cast(DATA);
57 protected JavaExpression cast(JavaExpression expression) {
59 expression = expression.cast(DATA);
66 protected JavaExpression cast(JavaExpression expression) {
76 protected JavaExpression cast(JavaExpression expression) {
80 throw new JSilverCompilationException("Cannot cast t
140 protected abstract JavaExpression cast(JavaExpression expression); method in class:JavaExpression.Type
163 public JavaExpression cast(Type destType) { method in class:JavaExpression
[all...]
/external/webkit/Source/WebCore/html/
H A DImageDocument.cpp54 static const ImageEventListener* cast(const EventListener* listener) function in class:WebCore::ImageEventListener
398 if (const ImageEventListener* imageEventListener = ImageEventListener::cast(&listener))
/external/jsilver/src/org/clearsilver/jni/
H A DJniHdf.java43 static JniHdf cast(HDF hdf) { method in class:JniHdf
69 return new JniHdf(hdfptr, cast(parent));
313 JniHdf jniHdf = cast(hdf);
384 JniHdf source = cast(src);
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DCode.java162 * Use {@link #cast cast()} to perform either a <strong>numeric cast</strong> or
163 * a <strong>type cast</strong>. Interrogate the type of a value in a local
709 * Performs either a numeric cast or a type cast.
727 * cast operations. For example, to go from float to short one would first
728 * cast float to int and then int to short.
737 public void cast(Local<?> target, Local<?> source) { method in class:Code

Completed in 522 milliseconds

12