/external/ceres-solver/internal/ceres/ |
casts.h | 14 // used to endorse or promote products derived from this software without 18 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 48 // - Performing arithmetic conversions (int32 to int64, int to double, etc.). 51 // In general, implicit_cast can be used to convert this code 52 // To to = from; 53 // DoSomething(to); 54 // to thi [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/tools/ |
real_cast.hpp | 2 // Use, modification and distribution are subject to the 17 template <class To, class T> 18 inline To real_cast(T t) 20 return static_cast<To>(t);
|
/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...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/ |
is_convertible.hpp | 6 // Use, modification and distribution are subject to the Boost Software License, 43 // is one type convertable to another? 46 // template, almost every compiler seems to require its 49 // Thanks to Andrei Alexandrescu for the original version of the 59 // This workaround is necessary to handle when From is void 68 template< typename To > struct result_ 71 static yes_type BOOST_TT_DECL _m_check(To); 80 template< typename To > struct result_ 82 enum { value = ::boost::is_void<To>::value }; 86 template <typename From, typename 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...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/ |
sequence.hpp | 57 BOOST_STRING_TYPENAME InputT::iterator To ) 59 return Input.erase( From, To ); 73 BOOST_STRING_TYPENAME InputT::iterator To, 77 // Copy data to the container ( as much as possible ) 80 for(; InsertIt!=End && InputIt!=To; InsertIt++, InputIt++ ) 92 if ( InputIt!=To ) 95 Input.erase( InputIt, To ); 109 BOOST_STRING_TYPENAME InputT::iterator To, 113 BOOST_STRING_TYPENAME InputT::iterator At=Input.erase( From, To ); 136 BOOST_STRING_TYPENAME InputT::iterator To, [all...] |
/abi/cpp/ |
use_rtti.mk | 0 # To use RTTI, "include abi/cpp/use_rtti.mk" in your target.
|
/art/runtime/base/ |
casts.h | 10 * Unless required by applicable law or agreed to in writing, software 31 // for upcasting in the type hierarchy (i.e. casting a pointer to Foo 32 // to a pointer to SuperclassOfFoo or casting a pointer to Foo to 33 // a const pointer to Foo). 37 // argument type convertable to a target type. 47 template<typename To, typename From> 48 inline To implicit_cast(From const &f) [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...] |
/external/llvm/include/llvm/Analysis/ |
CFG.h | 30 /// Analyze the specified function to find all of the loop backedges in the 31 /// function and return them. This is a relatively cheap (compared to 34 /// The output is added to Result, as pairs of <from,to> edge info. 41 /// in the terminator instruction's list of successors. It is an error to call 46 /// edges from a block with multiple successors to a block with multiple 52 /// \brief Determine whether instruction 'To' is reachable from 'From', 55 /// Determine whether there is a path from From to To within a single function. 57 /// 'To' can not be executed. Conservatively returns true [all...] |
/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
|
/sdk/ |
release.md | 4 To run a release build that remove the SNAPSHOT qualifier, run:
|
/external/libcxx/test/libcxx/type_traits/ |
convert_to_integral.pass.cpp | 16 template <class From, class To> 27 static_assert(std::is_same<decltype(ret), To>::value, ""); 36 static_assert(std::is_same<decltype(ret), To>::value, ""); 46 static_assert(std::is_same<decltype(ret), To>::value, ""); 51 template <class From, class To> 56 static_assert(std::is_same<decltype(ret), To>::value, "");
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRCommonErrorNode.h | 17 // 3. The name of the author may not be used to endorse or promote products 21 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 48 To:(id<ANTLRToken>)stopToken 53 To:(id<ANTLRToken>)stopToken
|
ANTLRBufferedTokenStream.h | 13 // 3. The name of the author may not be used to endorse or promote products 17 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 * to consume). tokens[p] should be LT(1). p=-1 indicates need 48 * to initialize with first token. The ctor doesn't get a token. 49 * First call to LT(1) or whatever gets the first token and sets p=0; 81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex; 90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex; 91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types; 92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRCommonErrorNode.h | 17 // 3. The name of the author may not be used to endorse or promote products 21 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 48 To:(id<ANTLRToken>)stopToken 53 To:(id<ANTLRToken>)stopToken
|
ANTLRBufferedTokenStream.h | 13 // 3. The name of the author may not be used to endorse or promote products 17 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 * to consume). tokens[p] should be LT(1). p=-1 indicates need 48 * to initialize with first token. The ctor doesn't get a token. 49 * First call to LT(1) or whatever gets the first token and sets p=0; 81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex; 90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex; 91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types; 92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRCommonErrorNode.h | 17 // 3. The name of the author may not be used to endorse or promote products 21 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 48 To:(id<ANTLRToken>)stopToken 53 To:(id<ANTLRToken>)stopToken
|
ANTLRBufferedTokenStream.h | 13 // 3. The name of the author may not be used to endorse or promote products 17 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 * to consume). tokens[p] should be LT(1). p=-1 indicates need 48 * to initialize with first token. The ctor doesn't get a token. 49 * First call to LT(1) or whatever gets the first token and sets p=0; 81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex; 90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex; 91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types; 92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types [all...] |
/external/mesa3d/src/mapi/mapi/ |
sources.mak | 5 # - In default mode, mapi implements the interface defined by mapi.h. To use 8 # - In util mode, mapi provides utility functions for use with glapi. To use 11 # - In glapi mode, mapi implements the interface defined by glapi.h. To use 14 # - In bridge mode, mapi provides entry points calling into glapi. To use
|
/external/llvm/lib/IR/ |
User.cpp | 23 void User::replaceUsesOfWith(Value *From, Value *To) { 24 if (From == To) return; // Duh what? 30 if (getOperand(i) == From) { // Is This operand is pointing to oldval? 31 // The side effects of this setOperand call include linking to 32 // "To", adding "this" to the uses list of To, and 34 setOperand(i, To); // Fix it now... 43 // Allocate the array of Uses, followed by a pointer (with bottom bit set) to 75 // NumOperands reset to 0, so here we just free the User itself [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRBufferedTokenStream.h | 13 // 3. The name of the author may not be used to endorse or promote products 17 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49 * to consume). tokens[index] should be LT(1). index=-1 indicates need 50 * to initialize with first token. The ctor doesn't get a token. 51 * First call to LT(1) or whatever gets the first token and sets index=0; 84 - (AMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex; 93 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex; 94 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)types; 95 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(AMutableArray *)types [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/iterator/ |
iterator_adaptor.hpp | 36 // Used as a default template argument internally, merely to 38 // explicitly in order to specify that the default should be used. 45 template<class To> 46 struct is_convertible<use_default,To> 55 // This can be an incomplete type, as only pointers to 57 // We could have used void for this, but conversion to 58 // void* is just to easy. 67 // In order to provide interoperability between adapted constant and 87 // enable_if_convertible is used to remove those overloads from the overload 94 // enable_if_interoperable can be safely used in user code. It falls back to [all...] |