/toolchain/binutils/binutils-2.25/ld/testsuite/ld-shared/ |
sh1.c | 132 #define const macro 136 static const char *str = "Hello, world\n"; 141 const char *s1, *s2;
|
/external/pdfium/core/include/fxcrt/ |
fx_string.h | 32 CFX_ByteStringC(const uint8_t* ptr, FX_STRSIZE size) { 37 CFX_ByteStringC(const FX_CHAR* ptr) { 38 m_Ptr = (const uint8_t*)ptr; 50 m_Ptr = (const uint8_t*)&ch; 54 CFX_ByteStringC(const FX_CHAR* ptr, FX_STRSIZE len) { 55 m_Ptr = (const uint8_t*)ptr; 59 CFX_ByteStringC(const CFX_ByteStringC& src) { 64 CFX_ByteStringC(const CFX_ByteString& src); 66 CFX_ByteStringC& operator=(const FX_CHAR* src) { 67 m_Ptr = (const uint8_t*)src [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.mem/ |
p5.cpp | 58 T x = 1; // expected-note{{variable 'x' declared const here}} 59 x = 17; // expected-error{{cannot assign to variable 'x' with const-qualified type 'const int'}} 62 template<typename T> operator T*() const; // expected-note{{explicit instantiation refers here}} 64 template<typename T> operator const T*() const { 66 return x; // expected-error{{cannot initialize return object of type 'const char *' with an lvalue of type 'char'}} \ 67 // expected-error{{cannot initialize return object of type 'const int *' with an lvalue of type 'int'}} 71 template X0::operator const char*() const; // expected-note{{'X0::operator const char *<char>' requested here} [all...] |
/external/deqp/framework/delibs/decpp/ |
deSocket.hpp | 38 SocketError (const std::string& message) : std::runtime_error(message) {} 47 void setHost (const char* host); 53 const char* getHost (void) const { return deSocketAddress_getHost(m_address); } 54 int getPort (void) const { return deSocketAddress_getPort(m_address); } 55 deSocketFamily getFamily (void) const { return deSocketAddress_getFamily(m_address); } 56 deSocketType getType (void) const { return deSocketAddress_getType(m_address); } 57 deSocketProtocol getProtocol (void) const { return deSocketAddress_getProtocol(m_address); } 60 operator const deSocketAddress* () const { return m_address; [all...] |
deAppendList.hpp | 58 void append (const ElementType& value); 60 size_t size (void) const { return m_numElements; } 65 AppendList (const AppendList<ElementType>&); 66 AppendList<ElementType>& operator= (const AppendList<ElementType>&); 70 const size_t blockNdx; 88 const size_t m_blockSize; 104 bool operator!= (const Iterator<CompatibleType>& other) const 108 bool operator== (const Iterator<CompatibleType>& other) const [all...] |
/external/eigen/Eigen/src/StlSupport/ |
details.h | 28 typedef const T* const_pointer; 30 typedef const T& const_reference; 40 aligned_allocator_indirection(const aligned_allocator_indirection& ) : EIGEN_ALIGNED_ALLOCATOR<T>() {} 41 aligned_allocator_indirection(const EIGEN_ALIGNED_ALLOCATOR<T>& ) {} 43 aligned_allocator_indirection(const aligned_allocator_indirection<U>& ) {} 45 aligned_allocator_indirection(const EIGEN_ALIGNED_ALLOCATOR<U>& ) {} 65 inline workaround_msvc_stl_support(const T& other) : T(other) {} 67 inline operator const T& () const { return *static_cast<const T*>(this); [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
resource.cpp | 33 box(const resource::point &origin, const resource::point &size) : 39 operator const pipe_box *() { 56 resource::copy(command_queue &q, const point &origin, const point ®ion, 57 resource &src_res, const point &src_origin) { 67 const point &origin, const point ®ion) { 80 resource::map_count() const { 119 const std::string &data) [all...] |
/external/parameter-framework/upstream/bindings/c/ |
Test.cpp | 50 bool empty(const char *str) 89 operator const char *() const { return getPath().c_str(); } 93 static void logCb(void *voidLogLines, PfwLogLevel level, const char *logLine) 117 const char *letterList[] = {"a", "b", "c", NULL}; 118 const char *numberList[] = {"1", "2", "3", NULL}; 119 const PfwCriterion criteria[] = { 126 const char *intParameterPath = "/test/system/integer"; 127 const char *stringParameterPath = "/test/system/string"; 162 const PfwCriterion duplicatedCriteria[] = [all...] |
/external/pdfium/xfa/src/fgas/include/ |
fx_datetime.h | 28 CFX_Unitime(const CFX_Unitime& unitime) { m_iUnitime = unitime.m_iUnitime; }
30 operator FX_UNITIME const*() const { return &m_iUnitime; }
32 operator const FX_UNITIME&() const { return m_iUnitime; }
33 CFX_Unitime& operator=(const CFX_Unitime& t) {
41 CFX_Unitime& operator+=(const CFX_Unitime& t) {
49 CFX_Unitime& operator-=(const CFX_Unitime& t) {
67 int32_t GetYear() const;
68 uint8_t GetMonth() const;
[all...] |
/external/skia/include/core/ |
SkTLazy.h | 24 explicit SkTLazy(const T* src) : fPtr(NULL) { 30 SkTLazy(const SkTLazy<T>& src) : fPtr(NULL) { 64 T* set(const T& src) { 87 bool isValid() const { return SkToBool(fPtr); } 93 T* get() const { SkASSERT(this->isValid()); return fPtr; } 99 T* getMaybeNull() const { return fPtr; } 108 * with a const pointer but provides a non-const pointer accessor. The first time the 132 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} 134 SkTCopyOnFirstWrite(const T* initial) : fObj(initial) { [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/utility/ |
value_init.hpp | 9 // 23 May 2008 (Fixed operator= const issue, added initialized_value) Niels Dekker, Fernando Cacciola 11 // 20 Feb 2009 (Fixed logical const-ness issues) Niels Dekker, Fernando Cacciola 41 // a const type: "warning C4512: assignment operator could not be generated". 82 wrapper(T const & arg) 95 wrapper * wrapper_address() const 110 initialized(initialized const & arg) 112 new (wrapper_address()) wrapper( static_cast<wrapper const &>(*(arg.wrapper_address()))); 115 explicit initialized(T const & arg) 120 initialized & operator=(initialized const & arg) 122 // Assignment is only allowed when T is non-const [all...] |
/system/core/include/utils/ |
String16.h | 54 String16(const String16& o); 55 String16(const String16& o, 58 explicit String16(const char16_t* o); 59 explicit String16(const char16_t* o, size_t len); 60 explicit String16(const String8& o); 61 explicit String16(const char* o); 62 explicit String16(const char* o, size_t len); 66 inline const char16_t* string() const; 68 size_t size() const; [all...] |
String8.h | 49 String8(const String8& o); 50 explicit String8(const char* o); 51 explicit String8(const char* o, size_t numChars); 53 explicit String8(const String16& o); 54 explicit String8(const char16_t* o); 55 explicit String8(const char16_t* o, size_t numChars); 56 explicit String8(const char32_t* o); 57 explicit String8(const char32_t* o, size_t numChars); 60 static inline const String8 empty(); 62 static String8 format(const char* fmt, ...) __attribute__((format (printf, 1, 2))) [all...] |
/external/opencv/cxcore/include/ |
cxcore.hpp | 61 CvImage( const CvImage& img ) : image(img.image), refcount(img.refcount) 66 CvImage( const char* filename, const char* imgname=0, int color=-1 ) : image(0), refcount(0) 69 CvImage( CvFileStorage* fs, const char* mapname, const char* imgname ) : image(0), refcount(0) 72 CvImage( CvFileStorage* fs, const char* seqname, int idx ) : image(0), refcount(0) 119 bool load( const char* filename, const char* imgname=0, int color=-1 ); 120 bool read( CvFileStorage* fs, const char* mapname, const char* imgname ) [all...] |
/external/e2fsprogs/e2fsck/ |
mtrace.h | 40 #undef const macro 41 #define const macro
|
/external/e2fsprogs/misc/ |
fsck.h | 11 #define const macro 69 extern char *base_device(const char *device); 70 extern const char *identify_fs(const char *fs_name, const char *fs_types); 73 extern int is_mounted(const char *file);
|
/external/eigen/bench/btl/generic_bench/ |
btl.hh | 66 BtlString(const BtlString& str) : std::string(static_cast<const std::string&>(str)) {} 67 BtlString(const std::string& str) : std::string(str) {} 68 BtlString(const char* str) : std::string(str) {} 70 operator const char* () const { return c_str(); } 86 std::vector<BtlString> split( const BtlString& delims = "\t\n ") const 113 bool endsWith(const BtlString& str) const [all...] |
/external/lzma/CPP/7zip/Common/ |
StreamObjects.h | 24 const Byte *_data;
29 void Init(const Byte *data, size_t size, IUnknown *ref = 0)
43 // void Create_BufInStream_WithReference(const void *data, size_t size, ISequentialInStream **stream);
44 void Create_BufInStream_WithNewBuf(const void *data, size_t size, ISequentialInStream **stream);
55 size_t GetCapacity() const { return _capacity; }
56 operator Byte*() const { return _buf; };
57 operator const Byte*() const { return _buf; };
70 size_t GetSize() const { return _size; }
71 const Byte *GetBuffer() const { return _buffer; } [all...] |
/external/lzma/CPP/Common/ |
MyBuffer.h | 13 void CopyToEmpty(const CBuffer &buffer)
35 CBuffer(const CBuffer &buffer): _items(0), _size(0) { CopyToEmpty(buffer); }
39 operator const T *() const { return _items; };
40 size_t Size() const { return _size; }
65 void CopyFrom(const T *data, size_t size)
87 CBuffer& operator=(const CBuffer &buffer)
96 bool operator==(const CBuffer<T>& b1, const CBuffer<T>& b2)
105 bool operator!=(const CBuffer<T>& b1, const CBuffer<T>& b2) [all...] |
MyString.h | 16 inline unsigned MyStringLen(const char *s)
23 inline void MyStringCopy(char *dest, const char *src)
28 inline char *MyStpCpy(char *dest, const char *src)
41 inline unsigned MyStringLen(const wchar_t *s)
48 inline void MyStringCopy(wchar_t *dest, const wchar_t *src)
53 int FindCharPosInString(const char *s, char c) throw();
54 int FindCharPosInString(const wchar_t *s, wchar_t c) throw();
141 bool StringsAreEqualNoCase(const wchar_t *s1, const wchar_t *s2) throw();
143 bool IsString1PrefixedByString2(const char *s1, const char *s2) throw(); [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
cuda_types.hpp | 82 __CV_CUDA_HOST_DEVICE__ size_t elemSize() const { return elem_size; } 84 __CV_CUDA_HOST_DEVICE__ operator const T*() const { return data; } 103 __CV_CUDA_HOST_DEVICE__ const T* ptr(int y = 0) const { return (const T*)( (const char*)DevPtr<T>::data + y * step); } 106 __CV_CUDA_HOST_DEVICE__ const T& operator ()(int y, int x) const { return ptr(y)[x]; } 116 explicit PtrStepSz(const PtrStepSz<U>& d) : PtrStep<T>((T*)d.data, d.step), cols(d.cols), rows(d.rows){ [all...] |
utility.hpp | 59 CV_EXPORTS void addImpl(int flag, const char* func = 0); // add implementation and function name to storage arrays 99 void my_func(const cv::Mat& m) 121 AutoBuffer(const AutoBuffer<_Tp, fixed_size>& buf); 123 AutoBuffer<_Tp, fixed_size>& operator = (const AutoBuffer<_Tp, fixed_size>& buf); 135 size_t size() const; 139 operator const _Tp* () const; 159 extern "C" typedef int (*ErrorCallback)( int status, const char* func_name, 160 const char* err_msg, const char* file_name [all...] |
/external/skia/include/utils/ |
SkRTConf.h | 23 SkRTConfBase(const char *name) : fName(name) {} 25 virtual const char *getName() const { return fName.c_str(); } 26 virtual bool isDefault() const = 0; 27 virtual void print(SkWStream *o) const = 0; 28 virtual bool equals(const SkRTConfBase *conf) const = 0; 38 SkRTConf(const char *name, const T &defaultValue, const char *description) [all...] |
/frameworks/native/include/ui/ |
TVecHelpers.h | 47 Impersonator& operator = (const TYPE& rhs) { 54 operator TYPE const& () const { 55 return reinterpret_cast<TYPE const&>(*this); 75 BASE<T>& operator += (const BASE<OTHER>& v) { 83 BASE<T>& operator -= (const BASE<OTHER>& v) { 96 BASE<T>& operator += (const BASE<T>& v) { 103 BASE<T>& operator -= (const BASE<T>& v) { 124 BASE<T> PURE operator +(const BASE<T>& lv, const BASE<RT>& rv) [all...] |
/external/llvm/include/llvm/IR/ |
Value.h | 75 const unsigned char SubclassID; // Subclass identifier (for isa/dyn_cast) 115 template <typename UseT> // UseT == 'Use' or 'const Use' 125 bool operator==(const use_iterator_impl &x) const { return U == x.U; } 126 bool operator!=(const use_iterator_impl &x) const { return !operator==(x); } 139 UseT &operator*() const { 144 UseT *operator->() const { return &operator*(); } 146 operator use_iterator_impl<const UseT>() const { [all...] |