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

1 2 3 4 5 6 7 8 91011>>

  /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);
41 template <typename To, typename From>
42 To Bitwise_cast(From from) {
43 static_assert(sizeof(To) == sizeof(From));
44 return reinterpret_cast<To>(from);
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);
41 template<typename To, typename From>
42 To bitwise_cast(From from) {
43 static_assert(sizeof(To) == sizeof(From));
44 return reinterpret_cast<To>(from);
  /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...]
  /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...]
  /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...]
  /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;
  /external/protobuf/src/google/protobuf/util/internal/
datapiece.cc 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,
61 template <typename To, typename From>
62 StatusOr<To> ValidateNumberConversion(To after, From before) {
64 MathUtil::Sign<From>(before) == MathUtil::Sign<To>(after)) {
78 template <typename To, typename From>
79 StatusOr<To> NumberConvertAndCheck(From before) {
80 if (::google::protobuf::internal::is_same<From, To>::value) return before
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/amd64/
ssa.go 17 // markMoves marks any MOVXconst ops that need to avoid clobbering flags.
107 // dest := dest(To) op src(From)
113 p.To.Type = obj.TYPE_REG
114 p.To.Reg = dest
131 // required to use the duffzero mechanism for a block of the given size.
161 p.To.Type = obj.TYPE_REG
162 p.To.Reg = r
167 p.To.Type = obj.TYPE_REG
168 p.To.Reg = r
181 p.To.Type = obj.TYPE_RE
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/amd64/
ssa.go 17 // markMoves marks any MOVXconst ops that need to avoid clobbering flags.
107 // dest := dest(To) op src(From)
113 p.To.Type = obj.TYPE_REG
114 p.To.Reg = dest
131 // required to use the duffzero mechanism for a block of the given size.
161 p.To.Type = obj.TYPE_REG
162 p.To.Reg = r
167 p.To.Type = obj.TYPE_REG
168 p.To.Reg = r
181 p.To.Type = obj.TYPE_RE
    [all...]
  /external/google-breakpad/src/testing/include/gmock/internal/
gmock-internal-utils.h 15 // contributors may be used to endorse or promote products derived from
20 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35 // Mock. They are subject to change without notice, so please DO NOT
52 // Converts an identifier name to a space-separated list of lower-case
55 // "foo_bar_123" are converted to "foo bar 123".
58 // PointeeOf<Pointer>::type is the type of a value pointed to by a
83 // This comparator allows linked_ptr to be stored in sets.
110 // Still, Google Mock is designed to work even if the user uses signed
114 // To gcc
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/mips64/
ssa.go 92 // nothing to do
109 p.To.Type = obj.TYPE_REG
110 p.To.Reg = y
113 p.To.Reg = mips.REGTMP
117 p.To.Type = obj.TYPE_REG
118 p.To.Reg = y
124 // nothing to do
133 p.To.Type = obj.TYPE_REG
134 p.To.Reg = r
136 // cannot directly load, load to TMP and mov
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/mips64/
ssa.go 92 // nothing to do
109 p.To.Type = obj.TYPE_REG
110 p.To.Reg = y
113 p.To.Reg = mips.REGTMP
117 p.To.Type = obj.TYPE_REG
118 p.To.Reg = y
124 // nothing to do
133 p.To.Type = obj.TYPE_REG
134 p.To.Reg = r
136 // cannot directly load, load to TMP and mov
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/x86/
ssa.go 17 // markMoves marks any MOVXconst ops that need to avoid clobbering flags.
104 // dest := dest(To) op src(From)
110 p.To.Type = obj.TYPE_REG
111 p.To.Reg = dest
135 p.To.Type = obj.TYPE_REG
136 p.To.Reg = r
141 p.To.Type = obj.TYPE_REG
142 p.To.Reg = r
149 p.To.Type = obj.TYPE_REG
150 p.To.Reg =
    [all...]
387.go 19 // If we don't have one of those, we need to translate
20 // all the SSE ops to equivalent 387 ops. That's what this
28 p.To.Type = obj.TYPE_REG
29 p.To.Reg = x86.REG_F0
36 p.To.Type = obj.TYPE_REG
37 p.To.Reg = x86.REG_F0
57 p.To.Type = obj.TYPE_REG
58 p.To.Reg = x86.REG_F0
63 // Push to-be-stored value on top of stack.
77 p.To.Type = obj.TYPE_ME
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/x86/
ssa.go 17 // markMoves marks any MOVXconst ops that need to avoid clobbering flags.
104 // dest := dest(To) op src(From)
110 p.To.Type = obj.TYPE_REG
111 p.To.Reg = dest
135 p.To.Type = obj.TYPE_REG
136 p.To.Reg = r
141 p.To.Type = obj.TYPE_REG
142 p.To.Reg = r
149 p.To.Type = obj.TYPE_REG
150 p.To.Reg =
    [all...]
387.go 19 // If we don't have one of those, we need to translate
20 // all the SSE ops to equivalent 387 ops. That's what this
28 p.To.Type = obj.TYPE_REG
29 p.To.Reg = x86.REG_F0
36 p.To.Type = obj.TYPE_REG
37 p.To.Reg = x86.REG_F0
57 p.To.Type = obj.TYPE_REG
58 p.To.Reg = x86.REG_F0
63 // Push to-be-stored value on top of stack.
77 p.To.Type = obj.TYPE_ME
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/mips/
ssa.go 84 // nothing to do
86 // nothing to do
108 p.To.Type = obj.TYPE_REG
109 p.To.Reg = y
112 p.To.Reg = mips.REGTMP
116 p.To.Type = obj.TYPE_REG
117 p.To.Reg = y
123 // nothing to do
132 p.To.Type = obj.TYPE_REG
133 p.To.Reg =
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/mips/
ssa.go 84 // nothing to do
86 // nothing to do
108 p.To.Type = obj.TYPE_REG
109 p.To.Reg = y
112 p.To.Reg = mips.REGTMP
116 p.To.Type = obj.TYPE_REG
117 p.To.Reg = y
123 // nothing to do
132 p.To.Type = obj.TYPE_REG
133 p.To.Reg =
    [all...]
  /external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
U.pass.cpp 39 template <class To, class From>
40 constexpr bool implicit_conversion(optional<To>&& opt, const From& v)
42 using O = optional<To>;
46 return opt && *opt == static_cast<To>(v);
49 template <class To, class Input, class Expect>
52 using O = optional<To>;
57 optional<To> opt(std::forward<Input>(in));
58 return opt && *opt == static_cast<To>(v);
  /external/nist-sip/java/gov/nist/javax/sip/parser/
ToParser.java 6 * Pursuant to title 15 Untied States Code Section 105, works of NIST
7 * employees are not subject to copyright protection in the United States
8 * and are considered to be in the public domain. As a result, a formal
9 * license is not needed to use the software.
17 * not limited to the correctness, accuracy, reliability or usefulness of
20 * Permission to use this software is contingent upon your acceptance
33 * To Header parser.
45 * @param to String to set
47 public ToParser(String to) {
58 To to = new To(); local
    [all...]
  /external/scrypt/
build-config.mk 2 # To regenerate, edit scrypt.config, then run:
3 # ./import_scrypt.sh import /path/to/scrypt-1.1.6.tar.gz

Completed in 363 milliseconds

1 2 3 4 5 6 7 8 91011>>