/external/rust/android-crates-io/crates/merge/tests/ |
D | derive.rs | 16 struct S { in test_one_option_field() struct 17 field1: Option<usize>, in test_one_option_field() 20 impl S { in test_one_option_field() impl 21 pub fn new(field1: Option<usize>) -> S { in test_one_option_field() 35 struct S { in test_two_option_fields() struct 36 field1: Option<usize>, in test_two_option_fields() 37 field2: Option<usize>, in test_two_option_fields() 40 impl S { in test_two_option_fields() impl 41 pub fn new(field1: Option<usize>, field2: Option<usize>) -> S { in test_two_option_fields() 138 struct S { in test_skip_valid() struct [all …]
|
/external/clang/test/SemaTemplate/ |
D | instantiation-depth-defarg.cpp | 3 template<int N> struct S { struct 4 typedef typename S<N-1>::type type; argument 12 template<> struct S<0> { struct 16 // Incrementally instantiate up to S<2048>. argument 17 template struct S<128>; variable 18 template struct S<256>; variable 19 template struct S<384>; variable 20 template struct S<512>; variable 21 template struct S<640>; variable 22 template struct S<768>; variable [all …]
|
/external/clang/lib/AST/ |
D | StmtProfile.cpp | 71 void StmtProfiler::VisitStmt(const Stmt *S) { in VisitStmt() 82 void StmtProfiler::VisitDeclStmt(const DeclStmt *S) { in VisitDeclStmt() 88 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt() 92 void StmtProfiler::VisitCompoundStmt(const CompoundStmt *S) { in VisitCompoundStmt() 96 void StmtProfiler::VisitSwitchCase(const SwitchCase *S) { in VisitSwitchCase() 100 void StmtProfiler::VisitCaseStmt(const CaseStmt *S) { in VisitCaseStmt() 104 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt() 108 void StmtProfiler::VisitLabelStmt(const LabelStmt *S) { in VisitLabelStmt() 113 void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { in VisitAttributedStmt() 118 void StmtProfiler::VisitIfStmt(const IfStmt *S) { in VisitIfStmt() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | mangle-local-classes-nested.cpp | 16 struct S { in L1() struct 17 void L2() { in L1() 19 struct S { in L1() struct 20 void L3a() {} in L1() 25 struct S { in L1() struct 26 void L3b() {} in L1() 35 struct S { in L1() struct 36 void L2() { in L1() 38 struct S { in L1() struct 39 void L3c() {} in L1() [all …]
|
D | cxx11-unrestricted-union.cpp | 30 struct S { struct 49 S::S() {} in S() argument 56 S::S(const S&) {} in S() argument 63 S::S(S&&) {} in S() argument 67 S &S::operator=(const S&) { return *this; } in operator =() 69 S &S::operator=(S &&) { return *this; } in operator =() argument
|
/external/clang/test/CodeGenObjC/ |
D | block-var-layout.m | 5 struct S { struct 6 int i1; 7 id o1; 11 } v1; 12 int i3; 13 id o3; 17 void x(id y) {} 18 void y(int a) {} 20 extern id opaque_id(); 45 // FIXME: do these really have to be named L_OBJC_CLASS_NAME_xxx? argument [all …]
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.merge/ |
D | inplace_merge.pass.cpp | 25 struct S { struct 26 S() : i_(0) {} in S() function 27 S(int i) : i_(i) {} in S() argument 29 S(const S& rhs) : i_(rhs.i_) {} in S() function 30 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 32 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 33 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 34 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 36 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 37 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
D | inplace_merge_comp.pass.cpp | 35 struct S { struct 36 S() : i_(0) {} in S() argument 37 S(int i) : i_(i) {} in S() function 39 S(const S& rhs) : i_(rhs.i_) {} in S() function 40 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 42 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 43 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 44 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 46 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 47 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument [all …]
|
/external/clang/test/CodeGenObjCXX/ |
D | block-var-layout.mm | 9 struct S { struct 10 int i1; 11 id o1; 15 } v1; 16 int i3; 17 id o3; 21 void x(id y) {} 22 void y(int a) {} 24 extern id opaque_id(); 26 void f() { [all …]
|
/external/cronet/stable/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.merge/ |
D | inplace_merge.pass.cpp | 27 struct S { struct 28 S() : i_(0) {} in S() argument 29 S(int i) : i_(i) {} in S() argument 31 S(const S& rhs) : i_(rhs.i_) {} in S() argument 32 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 34 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 35 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 36 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 38 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 39 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
D | inplace_merge_comp.pass.cpp | 35 struct S { struct 36 S() : i_(0) {} in S() function 37 S(int i) : i_(i) {} in S() function 39 S(const S& rhs) : i_(rhs.i_) {} in S() function 40 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 42 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 43 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 44 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 46 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 47 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument [all …]
|
/external/cronet/tot/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.merge/ |
D | inplace_merge.pass.cpp | 27 struct S { struct 28 S() : i_(0) {} in S() argument 29 S(int i) : i_(i) {} in S() argument 31 S(const S& rhs) : i_(rhs.i_) {} in S() function 32 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() function 34 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 35 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 36 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 38 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 39 bool operator ==(const S& rhs) const { return i_ == rhs.i_; } in operator ==() argument [all …]
|
D | inplace_merge_comp.pass.cpp | 35 struct S { struct 36 S() : i_(0) {} in S() function 37 S(int i) : i_(i) {} in S() function 39 S(const S& rhs) : i_(rhs.i_) {} in S() function 40 S( S&& rhs) : i_(rhs.i_) { rhs.i_ = -1; } in S() argument 42 S& operator =(const S& rhs) { i_ = rhs.i_; return *this; } in operator =() argument 43 S& operator =( S&& rhs) { i_ = rhs.i_; rhs.i_ = -2; assert(this != &rhs); return *this; } in operator =() argument 44 S& operator =(int i) { i_ = i; return *this; } in operator =() argument 46 bool operator <(const S& rhs) const { return i_ < rhs.i_; } in operator <() argument 47 bool operator >(const S& rhs) const { return i_ > rhs.i_; } in operator >() argument [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | move.fail.cpp | 23 struct S { struct 24 constexpr S() : v_(0) {} in S() function 25 S(int v) : v_(v) {} in S() argument 26 constexpr S(const S &rhs) : v_(rhs.v_) {} // not trivially moveable in S() function 27 constexpr S(const S &&rhs) : v_(rhs.v_) {} // not trivially moveable in S() function 34 static_assert (!std::is_trivially_move_constructible_v<S>, "" ); in main() argument
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/ |
D | p4.cpp | 3 struct S { struct 4 typedef struct A {} A; // expected-note {{previous definition is here}} 5 typedef struct B B; 6 typedef A A; // expected-error {{redefinition of 'A'}} 8 struct C { }; 9 typedef struct C OtherC; 10 typedef OtherC C; 12 typedef struct D { } D2; 13 typedef D2 D;
|
/external/rust/android-crates-io/crates/tungstenite/src/ |
D | server.rs | 23 pub fn accept_with_config<S: Read + Write>( in accept_with_config() 26 ) -> Result<WebSocket<S>, HandshakeError<ServerHandshake<S, NoCallback>>> { in accept_with_config() 36 pub fn accept<S: Read + Write>( in accept() 38 ) -> Result<WebSocket<S>, HandshakeError<ServerHandshake<S, NoCallback>>> { in accept() 50 pub fn accept_hdr_with_config<S: Read + Write, C: Callback>( in accept_hdr_with_config() 54 ) -> Result<WebSocket<S>, HandshakeError<ServerHandshake<S, C>>> { in accept_hdr_with_config() 63 pub fn accept_hdr<S: Read + Write, C: Callback>( in accept_hdr() 66 ) -> Result<WebSocket<S>, HandshakeError<ServerHandshake<S, C>>> { in accept_hdr()
|
/external/stg/test_cases/diff_tests/qualified/ |
D | mutant_qualifier_typedef_array.0.c | 8 struct S { struct 23 void fun(struct S * s) { (void) s; } in fun() argument
|
D | mutant_qualifier_typedef_array.1.c | 8 struct S { struct 23 void fun(struct S * s) { (void) s; } in fun() argument
|
/external/stg/test_cases/info_tests/qualified/ |
D | mutant_qualifier_typedef_array.c | 8 struct S { struct 23 void fun(struct S * s) { (void) s; } in fun() argument
|
/external/clang/test/SemaObjCXX/ |
D | delay-parsing-cplusfuncs.mm | 9 struct S { struct 14 S(); argument 15 S(MyClass *O1, MyClass *O2); field 16 S(MyClass *O1); argument 27 int S::bar(MyClass * myObject) { argument
|
/external/clang/test/Parser/ |
D | cxx-ambig-init-templ.cpp | 7 struct S { struct 12 int k5 = T1 < b, &S::operator=(int); // expected-error {{extra qualification}} argument 16 int k9 = T3 < a < b, c >> (d), e5 = 1 > (e4); 17 int k10 = 0 < T3 < a < b, c >> (d 20 int k11 = 0 < 1, c<3>::*ptr; 21 int k12 = e < 0, int a<b<c>::* >(), e11; 47 static constexpr int (S::*f3_test)(int) = &S::f3; argument 78 template<int, int &(S::*)(int)> struct T2 { static const int val = 0; }; argument 101 struct S { struct 106 template<typename, typename> struct X { operator int(); }; [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | SymbolDumper.cpp | 62 DictScope S(W, "LocalVariableAddrRange"); in printLocalVariableAddrRange() local 73 ListScope S(W, "LocalVariableAddrGap"); in printLocalVariableAddrGap() local 89 DictScope S(W, "BlockStart"); in visitBlockSym() local 105 DictScope S(W, "Thunk32"); in visitThunk32Sym() local 117 DictScope S(W, "Trampoline"); in visitTrampolineSym() local 127 DictScope S(W, "Section"); in visitSectionSym() local 142 DictScope S(W, "COFF Group"); in visitCoffGroupSym() local 154 DictScope S(W, "BPRelativeSym"); in visitBPRelativeSym() local 163 DictScope S(W, "BuildInfo"); in visitBuildInfoSym() local 170 DictScope S(W, "CallSiteInfo"); in visitCallSiteInfoSym() local [all …]
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | swap.pass.cpp | 19 struct S { struct 21 S() : i(0) {} in S() argument 22 S(int j) : i(j) {} in S() argument 23 S * operator& () { assert(false); return this; } in operator &() argument 24 S const * operator& () const { assert(false); return this; } in operator &() argument 41 typedef std::pair<int, S> P1; in main() argument
|
/external/lua/src/ |
D | lundump.c | 40 static l_noret error (LoadState *S, const char *why) { in error() 50 #define loadVector(S,b,n) loadBlock(S,b,(n)*sizeof((b)[0])) argument 52 static void loadBlock (LoadState *S, void *b, size_t size) { in loadBlock() 58 #define loadVar(S,x) loadVector(S,&x,1) argument 61 static lu_byte loadByte (LoadState *S) { in loadByte() 69 static size_t loadUnsigned (LoadState *S, size_t limit) { in loadUnsigned() 83 static size_t loadSize (LoadState *S) { in loadSize() 88 static int loadInt (LoadState *S) { in loadInt() 93 static lua_Number loadNumber (LoadState *S) { in loadNumber() 100 static lua_Integer loadInteger (LoadState *S) { in loadInteger() [all …]
|
/external/clang/test/CXX/special/class.init/class.base.init/ |
D | p9-0x.cpp | 3 struct S { struct 7 S() {} in S() argument 8 S(int a) : n(a) {} in S() function 9 S(int a, int b) : n(a), m(b) {} in S() function 23 S a; argument
|