/external/llvm-project/clang/test/SemaObjC/ |
D | potentially-direct-selector.m | 1 // RUN: %clang_cc1 %s -Wpotentially-direct-selector -verify 2 // RUN: %clang_cc1 %s -Wstrict-potentially-direct-selector -verify=expected,strict 68 …(void)@selector(inBase); // expected-warning{{@selector expression formed with potentially direct … 69 …(void)@selector(inBaseImpl); // expected-warning{{@selector expression formed with potentially dir… 70 …(void)@selector(inBaseCat); // expected-warning{{@selector expression formed with potentially dire… 71 …(void)@selector(inBaseCatImpl); // expected-warning{{@selector expression formed with potentially … 72 …(void)@selector(inDerived); // expected-warning{{@selector expression formed with potentially dire… 73 …(void)@selector(inDerivedImpl); // expected-warning{{@selector expression formed with potentially … 74 …(void)@selector(inDerivedCat); // expected-warning{{@selector expression formed with potentially d… 75 …(void)@selector(inDerivedCatImpl); // expected-warning{{@selector expression formed with potential… [all …]
|
D | selector-1.m | 14 …return @selector(compare:); // expected-warning {{several methods with selector 'compare:' of mism… 19 SEL s = @selector((retain)); 20 SEL s1 = @selector((meth1:)); 21 SEL s2 = @selector((retainArgument::)); 22 SEL s3 = @selector((retainArgument:::::)); 23 SEL s4 = @selector((retainArgument:with:)); 24 SEL s5 = @selector((meth1:with:with:)); 25 SEL s6 = @selector((getEnum:enum:bool:)); 26 SEL s7 = @selector((char:float:double:unsigned:short:long:)); 27 SEL s9 = @selector((:enum:bool:)); [all …]
|
D | undeclared-selector.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wundeclared-selector -verify -Wno-objc-root-class %s 20 SEL d = @selector(methodD); /* Ok */ 21 SEL e = @selector(methodE); 26 SEL e = @selector(methodE); /* Ok */ 31 SEL e = @selector(methodE); /* Ok */ 38 SEL a = @selector(methodA); /* Ok */ 39 SEL b = @selector(methodB); /* Ok */ 40 SEL c = @selector(methodC); // expected-warning {{undeclared selector 'methodC'}} 41 SEL d = @selector(methodD); /* Ok */ 42 SEL e = @selector(methodE); /* Ok */
|
D | selector-3.m | 17 a = @selector(b1ar); 18 b = @selector(bar); 28 …return @selector(length); // expected-warning {{no method with selector 'length' is implemented … 49 if ([_delegate respondsToSelector:@selector(pauseManagerDidPause:)]) 72 if( [cnx respondsToSelector:MySelector(@selector( _setQueue: ))] ) 76 if( [cnx respondsToSelector:@selector( _setQueueXX: )] ) // No warning here. 79 if( [cnx respondsToSelector:(@selector( _setQueueXX: ))] ) // No warning here. 125 SEL s = @selector(compare:); // spurious warning 134 SEL s = @selector(compare:); 149 @selector(name), [all …]
|
D | unsafe-perform-selector.m | 58 …[i performSelector: @selector(returnsStruct)]; // expected-warning {{'performSelector:' is incompa… 59 …[i performSelectorInBackground: @selector(returnsStruct) withObject:0]; // expected-warning {{'per… 60 …[i performSelector: ((@selector(returnsUnion)))]; // expected-warning {{'performSelector:' is inco… 61 …[i performSelectorOnMainThread: @selector(returnsStruct2)]; // expected-warning {{'performSelector… 62 …[I performSelector: (@selector(returnsStructClass))]; // expected-warning {{'performSelector:' is … 64 [i performSelector: @selector(returnsId)]; 65 [i performSelector: @selector(returnsInt)]; 66 [i performSelector: @selector(returnsPtr)]; 67 [I performSelector: @selector(returnsUnion)]; // No warning expected 70 [obj performSelector: @selector(returnsId)]; [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/ |
D | style-transformer.js | 253 _twiddleNthPlus(selector) { argument 254 return selector.replace(NTH, (m, type, inside) => { 272 _preserveMatchesPseudo(selector) { argument 276 while ((match = selector.match(MATCHES))) { 278 const end = StyleUtil.findMatchingParen(selector, start); 282 const part = selector.slice(start, end + 1); 283 selector = selector.replace(part, MATCHES_REPLACEMENT); 286 return {selector, matches}; 297 _replaceMatchesPseudo(selector, matches) { argument 298 const parts = selector.split(MATCHES_REPLACEMENT); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509CertStoreSelector.java | 41 X509CertStoreSelector selector = (X509CertStoreSelector)super.clone(); in clone() local 43 return selector; in clone() 53 public static X509CertStoreSelector getInstance(X509CertSelector selector) in getInstance() argument 55 if (selector == null) in getInstance() 60 cs.setAuthorityKeyIdentifier(selector.getAuthorityKeyIdentifier()); in getInstance() 61 cs.setBasicConstraints(selector.getBasicConstraints()); in getInstance() 62 cs.setCertificate(selector.getCertificate()); in getInstance() 63 cs.setCertificateValid(selector.getCertificateValid()); in getInstance() 64 cs.setMatchAllSubjectAltNames(selector.getMatchAllSubjectAltNames()); in getInstance() 67 cs.setPathToNames(selector.getPathToNames()); in getInstance() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/ |
D | X509CertStoreSelector.java | 43 X509CertStoreSelector selector = (X509CertStoreSelector)super.clone(); in clone() local 45 return selector; in clone() 55 public static X509CertStoreSelector getInstance(X509CertSelector selector) in getInstance() argument 57 if (selector == null) in getInstance() 62 cs.setAuthorityKeyIdentifier(selector.getAuthorityKeyIdentifier()); in getInstance() 63 cs.setBasicConstraints(selector.getBasicConstraints()); in getInstance() 64 cs.setCertificate(selector.getCertificate()); in getInstance() 65 cs.setCertificateValid(selector.getCertificateValid()); in getInstance() 66 cs.setMatchAllSubjectAltNames(selector.getMatchAllSubjectAltNames()); in getInstance() 69 cs.setPathToNames(selector.getPathToNames()); in getInstance() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/ |
D | X509CertStoreSelector.java | 43 X509CertStoreSelector selector = (X509CertStoreSelector)super.clone(); in clone() local 45 return selector; in clone() 55 public static X509CertStoreSelector getInstance(X509CertSelector selector) in getInstance() argument 57 if (selector == null) in getInstance() 62 cs.setAuthorityKeyIdentifier(selector.getAuthorityKeyIdentifier()); in getInstance() 63 cs.setBasicConstraints(selector.getBasicConstraints()); in getInstance() 64 cs.setCertificate(selector.getCertificate()); in getInstance() 65 cs.setCertificateValid(selector.getCertificateValid()); in getInstance() 66 cs.setMatchAllSubjectAltNames(selector.getMatchAllSubjectAltNames()); in getInstance() 69 cs.setPathToNames(selector.getPathToNames()); in getInstance() [all …]
|
/external/perfetto/src/trace_processor/containers/ |
D | row_map.cc | 37 const BitVector& selector) { in SelectRangeWithBv() argument 39 PERFETTO_DCHECK(selector.size() <= end - start); in SelectRangeWithBv() 50 return RowMap(selector.Copy()); in SelectRangeWithBv() 55 bv.Resize(start + selector.size(), true); in SelectRangeWithBv() 57 bv.UpdateSetBits(selector); in SelectRangeWithBv() 63 const std::vector<uint32_t>& selector) { in SelectRangeWithIv() argument 66 std::vector<uint32_t> iv(selector.size()); in SelectRangeWithIv() 67 for (uint32_t i = 0; i < selector.size(); ++i) { in SelectRangeWithIv() 68 PERFETTO_DCHECK(selector[i] < end - start); in SelectRangeWithIv() 69 iv[i] = selector[i] + start; in SelectRangeWithIv() [all …]
|
/external/python/cpython2/Lib/plat-mac/Carbon/ |
D | ControlAccessor.py | 7 def SetControlData_Handle(control, part, selector, data): argument 8 control.SetControlData_Handle(part, selector, data) 10 def GetControlData_Handle(control, part, selector): argument 11 return control.GetControlData_Handle(part, selector) 28 def SetControlData(control, part, selector, data): argument 29 if _accessdict.has_key(selector): 30 setfunc, getfunc = _accessdict[selector] 31 setfunc(control, part, selector, data) 33 if not _codingdict.has_key(selector): 34 raise KeyError, ('Unknown control selector', selector) [all …]
|
/external/clang/test/SemaObjC/ |
D | selector-1.m | 14 …return @selector(compare:); // expected-warning {{several methods with selector 'compare:' of mism… 19 SEL s = @selector((retain)); 20 SEL s1 = @selector((meth1:)); 21 SEL s2 = @selector((retainArgument::)); 22 SEL s3 = @selector((retainArgument:::::)); 23 SEL s4 = @selector((retainArgument:with:)); 24 SEL s5 = @selector((meth1:with:with:)); 25 SEL s6 = @selector((getEnum:enum:bool:)); 26 SEL s7 = @selector((char:float:double:unsigned:short:long:)); 27 SEL s9 = @selector((:enum:bool:)); [all …]
|
D | undeclared-selector.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wundeclared-selector -verify -Wno-objc-root-class %s 20 SEL d = @selector(methodD); /* Ok */ 21 SEL e = @selector(methodE); 26 SEL e = @selector(methodE); /* Ok */ 31 SEL e = @selector(methodE); /* Ok */ 38 SEL a = @selector(methodA); /* Ok */ 39 SEL b = @selector(methodB); /* Ok */ 40 SEL c = @selector(methodC); // expected-warning {{undeclared selector 'methodC'}} 41 SEL d = @selector(methodD); /* Ok */ 42 SEL e = @selector(methodE); /* Ok */
|
D | selector-3.m | 17 a = @selector(b1ar); 18 b = @selector(bar); 28 …return @selector(length); // expected-warning {{no method with selector 'length' is implemented … 49 if ([_delegate respondsToSelector:@selector(pauseManagerDidPause:)]) 72 if( [cnx respondsToSelector:MySelector(@selector( _setQueue: ))] ) 76 if( [cnx respondsToSelector:@selector( _setQueueXX: )] ) // No warning here. 79 if( [cnx respondsToSelector:(@selector( _setQueueXX: ))] ) // No warning here. 125 SEL s = @selector(compare:); // spurious warning 134 SEL s = @selector(compare:); 149 @selector(name), [all …]
|
/external/python/cpython2/Demo/sockets/ |
D | gopher.py | 51 def send_request(selector, host, port): argument 53 s.send(selector + CRLF) 58 def get_menu(selector, host, port): argument 59 f = send_request(selector, host, port) 88 def get_textfile(selector, host, port): argument 90 get_alt_textfile(selector, host, port, list.append) 94 def get_alt_textfile(selector, host, port, func): argument 95 f = send_request(selector, host, port) 113 def get_binary(selector, host, port): argument 114 f = send_request(selector, host, port) [all …]
|
/external/llvm-project/clang/test/Parser/ |
D | selector-1.m | 7 SEL s = @selector(retain); 8 SEL s1 = @selector(meth1:); 9 SEL s2 = @selector(retainArgument::); 10 SEL s3 = @selector(retainArgument:::::); 11 SEL s4 = @selector(retainArgument:with:); 12 SEL s5 = @selector(meth1:with:with:); 13 SEL s6 = @selector(getEnum:enum:bool:); 14 SEL s7 = @selector(char:float:double:unsigned:short:long:); 15 SEL s9 = @selector(:enum:bool:); 17 (void) @selector(foo:); [all …]
|
/external/clang/test/Parser/ |
D | selector-1.m | 7 SEL s = @selector(retain); 8 SEL s1 = @selector(meth1:); 9 SEL s2 = @selector(retainArgument::); 10 SEL s3 = @selector(retainArgument:::::); 11 SEL s4 = @selector(retainArgument:with:); 12 SEL s5 = @selector(meth1:with:with:); 13 SEL s6 = @selector(getEnum:enum:bool:); 14 SEL s7 = @selector(char:float:double:unsigned:short:long:); 15 SEL s9 = @selector(:enum:bool:); 17 (void) @selector(foo:); [all …]
|
/external/clang/test/PCH/ |
D | selector-warning.h | 10 SEL a = @selector(b1ar); 11 a = @selector(b1ar); 12 a = @selector(bar); 13 a = @selector(ok); // expected-warning {{unimplemented selector 'ok'}} 14 a = @selector(ok); 15 a = @selector(NotOK); // expected-warning {{unimplemented selector 'NotOK'}} 16 a = @selector(NotOK); 18 a = @selector(clNotOk); // expected-warning {{unimplemented selector 'clNotOk'}} 20 a = @selector (cl1); 21 a = @selector (cl2); [all …]
|
/external/llvm-project/clang/test/PCH/ |
D | selector-warning.h | 10 SEL a = @selector(b1ar); 11 a = @selector(b1ar); 12 a = @selector(bar); 13 a = @selector(ok); // expected-warning {{unimplemented selector 'ok'}} 14 a = @selector(ok); 15 a = @selector(NotOK); // expected-warning {{unimplemented selector 'NotOK'}} 16 a = @selector(NotOK); 18 a = @selector(clNotOk); // expected-warning {{unimplemented selector 'clNotOk'}} 20 a = @selector (cl1); 21 a = @selector (cl2); [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 75 private Expression selector; field in SwitchStmt 84 public SwitchStmt(final Expression selector, final NodeList<SwitchEntry> entries) { in SwitchStmt() argument 85 this(null, selector, entries); in SwitchStmt() 92 public SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries) { in SwitchStmt() argument 94 setSelector(selector); in SwitchStmt() 122 return selector; in getSelector() 140 public SwitchStmt setSelector(final Expression selector) { in setSelector() argument 141 assertNotNull(selector); in setSelector() 142 if (selector == this.selector) { in setSelector() 145 notifyPropertyChange(ObservableProperty.SELECTOR, this.selector, selector); in setSelector() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
D | SwitchExpr.java | 58 private Expression selector; field in SwitchExpr 67 public SwitchExpr(final Expression selector, final NodeList<SwitchEntry> entries) { in SwitchExpr() argument 68 this(null, selector, entries); in SwitchExpr() 75 public SwitchExpr(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries) { in SwitchExpr() argument 77 setSelector(selector); in SwitchExpr() 105 return selector; in getSelector() 123 public SwitchExpr setSelector(final Expression selector) { in setSelector() argument 124 assertNotNull(selector); in setSelector() 125 if (selector == this.selector) { in setSelector() 128 notifyPropertyChange(ObservableProperty.SELECTOR, this.selector, selector); in setSelector() [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | matrix-type.cpp | 182 struct selector {}; struct 185 selector<0> use_matrix(matrix<T, R, C> &m) {} in use_matrix() 188 selector<1> use_matrix(matrix<T, R, 10> &m) {} in use_matrix() 191 selector<2> use_matrix(matrix<T, 10, 10> &m) {} in use_matrix() 194 selector<3> use_matrix(matrix<T, 10, C> &m) {} in use_matrix() 197 selector<4> use_matrix(matrix<float, R, C> &m) {} in use_matrix() 261 selector<3> w = use_matrix(m0); in test_template_deduction() 263 selector<2> x = use_matrix(m1); in test_template_deduction() 265 selector<1> y = use_matrix(m2); in test_template_deduction() 267 selector<0> z = use_matrix(m3); in test_template_deduction() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | EnumerableExtensions.cs | 139 static U Iterate<T, U>(IEnumerable<T> source, U initValue, Func<T, U, U> selector) { in Iterate() argument 142 initValue = selector(element, initValue); in Iterate() 166 …e<TResult> Select<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, TResult> selector) { in Select() argument 167 Check.SourceAndSelector(source, selector); in Select() 169 return CreateSelectIterator(source, selector); in Select() 172 …ateSelectIterator<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, TResult> selector) { in CreateSelectIterator() argument 174 yield return selector(element); in CreateSelectIterator() 177 …sult> Select<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, int, TResult> selector) { in Select() argument 178 Check.SourceAndSelector(source, selector); in Select() 180 return CreateSelectIterator(source, selector); in Select() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 35 private Expression selector; field in SwitchStmt 42 public SwitchStmt(final Expression selector, in SwitchStmt() argument 44 setSelector(selector); in SwitchStmt() 49 final int endLine, final int endColumn, final Expression selector, in SwitchStmt() argument 52 setSelector(selector); in SwitchStmt() 71 return selector; in getSelector() 79 public void setSelector(final Expression selector) { in setSelector() argument 80 this.selector = selector; in setSelector() 81 setAsParentNodeOf(this.selector); in setSelector()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 38 private Expression selector; field in SwitchStmt 45 public SwitchStmt(final Expression selector, in SwitchStmt() argument 47 setSelector(selector); in SwitchStmt() 51 public SwitchStmt(Range range, final Expression selector, in SwitchStmt() argument 54 setSelector(selector); in SwitchStmt() 74 return selector; in getSelector() 83 public SwitchStmt setSelector(final Expression selector) { in setSelector() argument 84 this.selector = selector; in setSelector() 85 setAsParentNodeOf(this.selector); in setSelector()
|