HomeSort by relevance Sort by last modified time
    Searched refs:To (Results 1 - 25 of 1683) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/protobuf/src/google/protobuf/stubs/
casts.h 16 // contributors may be used to endorse or promote products derived from
21 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
41 // for upcasting in the type hierarchy (i.e. casting a pointer to Foo
42 // to a pointer to SuperclassOfFoo or casting a pointer to Foo to
43 // a const pointer to Foo).
47 // argument type convertable to a target type
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
casts.h 16 // contributors may be used to endorse or promote products derived from
21 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
41 // for upcasting in the type hierarchy (i.e. casting a pointer to Foo
42 // to a pointer to SuperclassOfFoo or casting a pointer to Foo to
43 // a const pointer to Foo).
47 // argument type convertable to a target type
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
Casting.h 26 // Define a template that can be specialized by smart pointers to reflect the
33 // An accessor to get the real value...
44 // The core of the implementation of isa<X> is here; To and From should be
45 // the names of classes. This template can be specialized to customize the
47 template <typename To, typename From>
50 return To::classof(&Val);
54 template <typename To, typename From> struct isa_impl_cl {
56 return isa_impl<To, From>::doit(Val);
60 template <typename To, typename From> struct isa_impl_cl<To, const From>
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/util/collections/
ListUtil.java 14 * However, we want to keep Mockito dependencies minimal.
15 * In Java8 we should be able to get rid of this class.
29 public static <From, To> LinkedList<To> convert(Collection<From> collection, Converter<From, To> converter) {
30 LinkedList<To> converted = new LinkedList<To>();
41 public interface Converter<From, To> {
42 To convert(From from);
  /external/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Casting.h 28 // Define a template that can be specialized by smart pointers to reflect the
35 // An accessor to get the real value...
50 // The core of the implementation of isa<X> is here; To and From should be
51 // the names of classes. This template can be specialized to customize the
53 template <typename To, typename From, typename Enabler = void>
56 return To::classof(&Val);
61 template <typename To, typename From>
63 To, From, typename std::enable_if<std::is_base_of<To, From>::value>::type> {
67 template <typename To, typename From> struct isa_impl_cl
    [all...]
  /frameworks/base/core/java/android/animation/
BidirectionalTypeConverter.java 10 * Unless required by applicable law or agreed to in writing, software
19 * Abstract base class used convert type T to another type V and back again. This
22 * animation is supplied to animators.
33 * Does a conversion from the target type back to the source type. The subclass
35 * values will need to be read for an animation.
36 * @param value The Object to convert.
42 * Returns the inverse of this converter, where the from and to classes are reversed.
43 * The inverted converter uses this convert to call {@link #convertBack(Object)} for
46 * @return The inverse of this converter, where the from and to classes are reversed.
55 private static class InvertedConverter<From, To> extends BidirectionalTypeConverter<From, To>
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/
FuzzerRandom.h 25 intptr_t operator()(intptr_t From, intptr_t To) {
26 assert(From < To);
27 intptr_t RangeSize = To - From + 1;
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/
FuzzerRandom.h 25 intptr_t operator()(intptr_t From, intptr_t To) {
26 assert(From < To);
27 intptr_t RangeSize = To - From + 1;
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/
FuzzerRandom.h 25 intptr_t operator()(intptr_t From, intptr_t To) {
26 assert(From < To);
27 intptr_t RangeSize = To - From + 1;
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/
FuzzerRandom.h 25 intptr_t operator()(intptr_t From, intptr_t To) {
26 assert(From < To);
27 intptr_t RangeSize = To - From + 1;
  /external/v8/tools/clang/rewrite_to_chrome_style/tests/
function-templates-expected.cc 7 template <typename To, typename From>
12 template <typename To, typename From>
13 To SafeCast(From value) {
14 if (!IsInBounds<To>(value))
16 return static_cast<To>(value);
38 template <typename To, typename From>
39 To bitwise_cast(From from) {
40 static_assert(sizeof(To) == sizeof(From), "msg");
41 return reinterpret_cast<To>(from);
54 // |hasOverflowed| below should be rewritten to |HasOverflowed
    [all...]
function-templates-original.cc 7 template<typename To, typename From>
12 template<typename To, typename From>
13 To safeCast(From value) {
14 if (!isInBounds<To>(value))
16 return static_cast<To>(value);
38 template<typename To, typename From>
39 To bitwise_cast(From from) {
40 static_assert(sizeof(To) == sizeof(From), "msg");
41 return reinterpret_cast<To>(from);
54 // |hasOverflowed| below should be rewritten to |HasOverflowed
    [all...]
  /frameworks/ml/nn/tools/test_generator/tests/P_explicit/
explicit_add.mod.py 5 model = model.RawAdd(i1, i1).To(i0)
6 model = model.RawAdd(i0, i1).To(i2)
  /external/sfntly/cpp/src/sfntly/port/
type.h 10 * Unless required by applicable law or agreed to in writing, software
31 // Definitions to avoid ICU redefinition issue
59 // A macro to disallow the copy constructor and operator= functions.
68 template<typename To, typename From>
69 inline To implicit_cast(From const &f) {
73 template<typename To, typename From> // use like this: down_cast<T*>(foo);
74 inline To down_cast(From* f) { // so we only accept pointers
75 // Ensures that To is a sub-type of From *. This test is here only
84 implicit_cast<From*, To>(0);
90 // The following code is the only place for RTTI. It is done so to allo
    [all...]
  /frameworks/ml/nn/tools/test_generator/tests/P_weird/
weird_add.mod.py 10 model = model.Operation("ADD", i1, i2, b0).To(tmp)
11 model = model.Operation("ADD", tmp, i2, b0).To(tmp2)
12 model = model.Operation("ADD", tmp2, i4, b0).To(o3)
  /prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/
FuzzerRandom.h 24 intptr_t operator()(intptr_t From, intptr_t To) {
25 assert(From < To);
26 intptr_t RangeSize = To - From + 1;

Completed in 1053 milliseconds

1 2 3 4 5 6 7 8 91011>>