/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/ |
print.cpp | 32 clr::reset::operator const char*() { return "\x1b[0m"; } 34 clr::grey::operator const char*() { return "\x1b[1;30m"; } 36 clr::red::operator const char*() { return "\x1b[31m"; } 38 clr::green::operator const char*() { return "\x1b[32m"; } 40 clr::yellow::operator const char*() { return "\x1b[33m"; } 42 clr::blue::operator const char*() { return "\x1b[34m"; } 50 clr::reset::operator const char*() { 60 clr::grey::operator const char*() { 70 clr::red::operator const char*() { 80 clr::green::operator const char*() { [all...] |
/external/clang/test/PCH/ |
cxx-method.cpp | 8 S::operator char *() { return 0; } 10 S::operator const char *() { return 0; }
|
/external/clang/test/OpenMP/ |
parallel_num_threads_codegen.cpp | 20 operator char() { return a; } 35 char a = s; 40 return a + tmain<char, 5>() + tmain<S, 1>();
|
parallel_proc_bind_codegen.cpp | 19 operator char() { return a; }
|
/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.addressof/ |
addressof.pass.cpp | 23 operator char&() 25 static char c;
|
/frameworks/av/media/mtp/ |
MtpStringBuffer.h | 41 explicit MtpStringBuffer(const char* src); 46 void set(const char* src); 55 inline operator const char*() const { return (const char *)mBuffer; }
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/specialized.algorithms/specialized.addressof/ |
addressof.pass.cpp | 23 operator char&() 25 static char c;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/specialized.algorithms/specialized.addressof/ |
addressof.pass.cpp | 23 operator char&() 25 static char c;
|
/external/clang/test/CXX/temp/temp.decls/temp.mem/ |
p5.cpp | 7 template <> A::operator char*(){ return 0; } // specialization 66 return x; // expected-error{{cannot initialize return object of type 'const char *' with an lvalue of type 'char'}} \ 71 template X0::operator const char*() const; // expected-note{{'X0::operator const char *<char>' requested here}} 78 x0c.operator const char*();
|
/external/clang/test/Modules/Inputs/stress1/ |
common.h | 4 inline char function00(char x) { return x + x; } 12 char c; 16 S00(char x) : c(x) {} 20 char method00(char x) { return x + x; } 24 operator char() { return c; } 38 S03(char); 56 template <int I, template <typename> class U> S03<U<int>[I]>::S03(char x) : S00(x) {}
|
/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}; 126 const char *intParameterPath = "/test/system/integer"; 127 const char *stringParameterPath = "/test/system/string"; 168 const char *values[] = {"a", "a", NULL}; 189 std::vector<char> names(sizeof(int) * CHAR_BIT + 1, 'a'); 191 std::vector<const char *> values(names.size()) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.fill/ |
fill_n.pass.cpp | 27 char ca[n] = {0}; 28 assert(std::fill_n(Iter(ca), n, char(1)) == std::next(Iter(ca), n)); 53 assert(std::fill_n(ia, n, static_cast<char>(1)) == std::next(ia, n)); 81 test1(char c) : c(c + 1) { } 82 char c; 90 assert(std::fill_n(test1a, n, static_cast<char>(10)) == std::next(test1a, n)); 99 char a_; 102 explicit A(char a) : a_(a) {} 103 operator unsigned char() const {return 'b';} 123 unsigned char a [all...] |
/external/eigen/bench/btl/generic_bench/ |
btl.hh | 63 BtlString(const char* str) : std::string(str) {} 65 operator const char* () const { return c_str(); } 169 char * _config;
|
/external/fonttools/Lib/fontTools/ |
afmLib.py | 14 # regular expression to parse char lines 45 "([.A-Za-z0-9_]+)" # char name 52 "([.A-Za-z0-9_]+)" # base char name 220 # write char metrics 266 def has_char(self, char): 267 return char in self._chars 320 # set char metrics 328 # del char metrics 363 char = 'A' variable 364 if afm.has_char(char) [all...] |
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ |
fill_n.pass.cpp | 30 char ca[n] = {0}; 31 assert(std::fill_n(Iter(ca), UDI(n), char(1)) == std::next(Iter(ca), n)); 56 assert(std::fill_n(ia, UDI(n), static_cast<char>(1)) == std::next(ia, n)); 84 test1(char xc) : c(xc + 1) { } 85 char c; 93 assert(std::fill_n(test1a, UDI(n), static_cast<char>(10)) == std::next(test1a, n)); 102 char a_; 105 explicit A(char a) : a_(a) {} 106 operator unsigned char() const {return 'b';} 126 unsigned char a [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.modifying.operations/alg.fill/ |
fill_n.pass.cpp | 30 char ca[n] = {0}; 31 assert(std::fill_n(Iter(ca), UDI(n), char(1)) == std::next(Iter(ca), n)); 56 assert(std::fill_n(ia, UDI(n), static_cast<char>(1)) == std::next(ia, n)); 84 test1(char c) : c(c + 1) { } 85 char c; 93 assert(std::fill_n(test1a, UDI(n), static_cast<char>(10)) == std::next(test1a, n)); 102 char a_; 105 explicit A(char a) : a_(a) {} 106 operator unsigned char() const {return 'b';} 126 unsigned char a [all...] |
/system/core/libutils/include/utils/ |
String8.h | 52 explicit String8(const char* o); 53 explicit String8(const char* o, size_t numChars); 64 static String8 format(const char* fmt, ...) __attribute__((format (printf, 1, 2))); 65 static String8 formatV(const char* fmt, va_list args); 67 inline const char* c_str() const; 68 inline const char* string() const; 84 status_t setTo(const char* other); 85 status_t setTo(const char* other, size_t numChars); 91 status_t append(const char* other); 92 status_t append(const char* other, size_t numChars) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
comutil.h | 53 BSTR WINAPI ConvertStringToBSTR(const char *pSrc); 54 char *WINAPI ConvertBSTRToString(BSTR pSrc); 61 _bstr_t(const char *s); 67 _bstr_t &operator=(const char *s); 72 friend _bstr_t operator+(const char *s1,const _bstr_t &s2); 76 operator const char *() const; 77 operator char *() const; 95 Data_t(const char *s); 103 operator const char *() const; 106 const char *GetString() const [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
bgenType.py | 186 char = Type("char", "c")
variable 197 # For input, this is easy. For output, and for other uses of char *,
199 stringptr = InputOnlyType("char*", "s")
|
/external/libcxx/test/support/ |
filesystem_test_helper.hpp | 181 static char to_hex(int ch) { 182 return ch < 10 ? static_cast<char>('0' + ch) 183 : static_cast<char>('a' + (ch - 10)); 186 static char random_hex_char() { 203 static const char* env_path = LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT; 242 char* fs_root = std::getenv("LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT"); 269 const char* s; 274 operator const char* () const { return s; }
|
/external/python/cpython2/Tools/bgen/bgen/ |
bgenType.py | 186 char = Type("char", "c") variable 197 # For input, this is easy. For output, and for other uses of char *, 199 stringptr = InputOnlyType("char*", "s")
|
/external/harfbuzz_ng/src/ |
hb-open-type-private.hh | 64 { return * reinterpret_cast<const Type*> ((const char *) P + offset); } 67 { return * reinterpret_cast<Type*> ((char *) P + offset); } 145 static const char _Null##Type[sizeof (Type) + 1] = data; /* +1 is for nul-termination in data */ \ 199 inline const char *get_name (void) { return "SANITIZE"; } 242 const char *p = (const char *) base; 256 const char *p = (const char *) base; 281 const char *p = (const char *) base [all...] |
/external/skia/src/core/ |
SkTraceEvent.h | 20 // By default, const char* argument values are assumed to have long-lived scope 21 // and will not be copied. Use this macro to force a const char* to be copied. 70 // the unsigned char is non-zero, tracing is enabled. If tracing is enabled, 76 // TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group) 88 // char phase, 90 // const char* name, 93 // const char** arg_names, 96 // unsigned char flags) 103 // const char* name, 137 // even when the unsigned char* points to garbage data (which may be the cas [all...] |
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 34 #define char macro 119 char
|
/external/clang/test/SemaCXX/ |
conversion-function.cpp | 78 operator const char *() const; 81 C::operator const char*() const { return 0; } 84 const char* v = c; 95 operator char(); // expected-note {{candidate function}} 101 char ch = a; // OK. calls Yb::operator char(); 130 A1(const char *); 279 typedef unsigned char uint8; 289 operator const char*() const { return reinterpret_cast<const char*>(ptr); [all...] |