Searched defs:cast (Results 1 - 25 of 293) sorted by last modified time

1234567891011>>

/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/protobuf/src/google/protobuf/
H A Drepeated_field.h258 static inline typename TypeHandler::Type* cast(void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
262 static inline const typename TypeHandler::Type* cast(const void* element) { function in class:google::protobuf::internal::RepeatedPtrFieldBase
622 TypeHandler::Delete(cast<TypeHandler>(elements_[i]));
638 return *cast<TypeHandler>(elements_[index]);
645 return cast<TypeHandler>(elements_[index]);
651 return cast<TypeHandler>(elements_[current_size_++]);
663 TypeHandler::Clear(cast<TypeHandler>(elements_[--current_size_]));
669 TypeHandler::Clear(cast<TypeHandler>(elements_[i]));
718 allocated_bytes += TypeHandler::SpaceUsed(*cast<TypeHandler>(elements_[i]));
726 return cast<TypeHandle
[all...]
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dasm-commons-3.3.jarMETA-INF/MANIFEST.MF org/objectweb/asm/commons/AdviceAdapter.class " package org.objectweb.asm ...
/external/mockito/src/org/mockito/internal/creation/
H A DCglibMockMaker.java22 InternalMockHandler mockitoHandler = cast(handler);
28 private InternalMockHandler cast(MockHandler handler) { method in class:CglibMockMaker
37 ((Factory) mock).setCallback(0, new MethodInterceptorFilter(cast(newHandler), settings));
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_snprintf.c454 static UINTMAX_T cast(LDOUBLE);
1107 if ((intpart = cast(ufvalue)) == UINTMAX_MAX) {
1354 cast(LDOUBLE value) function
1380 UINTMAX_T intpart = cast(value);
/external/mesa3d/src/glsl/
H A Dloop_controls.cpp105 ir_rvalue *cast = local
109 iter = cast->constant_expression_value();
/external/llvm/unittests/Support/
H A DCasting.cpp18 // Used to test illegal cast. If a cast doesn't match any of the "real" ones,
21 template <typename T> IllegalCast *cast(...) { return nullptr; } function in namespace:llvm
51 return cast<foo>(this);
110 TEST(CastingTest, cast) {
111 foo &F1 = cast<foo>(B1);
113 const foo *F3 = cast<foo>(B2);
115 const foo *F4 = cast<foo>(B2);
117 const foo &F5 = cast<foo>(B3);
119 const foo *F6 = cast<fo
[all...]
/external/llvm/bindings/python/llvm/
H A Dbit_reader.py12 from ctypes import cast namespace
H A Ddisassembler.py20 from ctypes import cast namespace
101 buf = cast(c_char_p(source), POINTER(c_ubyte))
102 out_str = cast((c_byte * 255)(), c_char_p)
123 out_str = cast((c_byte * 255)(), c_char_p)
126 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
131 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
/external/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp927 llvm::Value *cast = builder.CreatePointerCast(stringVar, local
929 builder.CreateCall(printFunct, cast);
971 llvm::Value *cast = builder.CreateBitCast(stringVar, local
973 builder.CreateCall2(&printFunct, &toPrint, cast);
/external/llvm/include/llvm/Support/
H A DCasting.h10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
138 // cast<x> Support Templates
144 // Calculate what type the 'cast' function should return, based on a requested
199 // This _is_ a simple type, just cast it.
212 // cast<X> - Return the argument parameter cast to the specified type. This
217 // cast<Instruction>(myVal)->getParent()
222 cast(const Y &Val) { function in namespace:llvm
223 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
229 inline typename cast_retty<X, Y>::ret_type cast( function in namespace:llvm
236 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dprobe-finder.c376 const char *cast)
385 if (cast && strcmp(cast, "string") != 0) {
387 tvar->type = strdup(cast);
412 if (cast && strcmp(cast, "string") == 0) { /* String type */
416 pr_warning("Failed to cast into string: "
438 pr_warning("Failed to cast into string: "
443 tvar->type = strdup(cast);
374 convert_variable_type(Dwarf_Die *vr_die, struct probe_trace_arg *tvar, const char *cast) argument
/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/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/jarjar/lib/
H A Dasm-commons-4.0.jarMETA-INF/MANIFEST.MF org/objectweb/asm/commons/AdviceAdapter.class " package org.objectweb.asm ...
/external/guava/guava/src/com/google/common/collect/
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 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 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
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 DRange.java228 SortedSet<? extends C> set = cast(values);
499 private static <T> SortedSet<T> cast(Iterable<T> iterable) { method in class:Range
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultisetNavigationTester.java58 static <T> SortedMultiset<T> cast(Multiset<T> iterable) { method in class:MultisetNavigationTester
65 sortedMultiset = cast(getMultiset());

Completed in 2576 milliseconds

1234567891011>>