Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 25 of 887) sorted by relevance

12345678910>>...36

/external/chromium-trace/catapult/third_party/polymer/components/shadycss/src/
Dstyle-transformer.js253 _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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DX509CertStoreSelector.java43 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/bcprov/src/main/java/org/bouncycastle/x509/
DX509CertStoreSelector.java41 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 …]
DExtendedPKIXParameters.java30 private Selector selector; field in ExtendedPKIXParameters
131 selector = _params.selector == null ? null in setParams()
132 : (Selector) _params.selector.clone(); in setParams()
406 if (selector != null) in getTargetConstraints()
408 return (Selector) selector.clone(); in getTargetConstraints()
435 public void setTargetConstraints(Selector selector) in setTargetConstraints() argument
437 if (selector != null) in setTargetConstraints()
439 this.selector = (Selector) selector.clone(); in setTargetConstraints()
443 this.selector = null; in setTargetConstraints()
464 public void setTargetCertConstraints(CertSelector selector) in setTargetCertConstraints() argument
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DX509CertStoreSelector.java43 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 …]
DExtendedPKIXParameters.java32 private Selector selector; field in ExtendedPKIXParameters
133 selector = _params.selector == null ? null in setParams()
134 : (Selector) _params.selector.clone(); in setParams()
408 if (selector != null) in getTargetConstraints()
410 return (Selector) selector.clone(); in getTargetConstraints()
437 public void setTargetConstraints(Selector selector) in setTargetConstraints() argument
439 if (selector != null) in setTargetConstraints()
441 this.selector = (Selector) selector.clone(); in setTargetConstraints()
445 this.selector = null; in setTargetConstraints()
466 public void setTargetCertConstraints(CertSelector selector) in setTargetCertConstraints() argument
[all …]
/external/python/cpython2/Lib/plat-mac/Carbon/
DControlAccessor.py7 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/
Dselector-1.m14 …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 …]
Dundeclared-selector.m1 // 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 */
Dselector-3.m17 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 …]
Dwarning-missing-selector-name.m2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class -Wmissing-selector-n…
8 …arning {{'Name2' used as the name of the previous parameter rather than as part of the selector}} \
9 // expected-note {{introduce a parameter name to make 'Name2' part of the selector}} \
10 …rt whitespace before ':' to use 'Name2' as parameter name and have an empty entry in the selector}}
12 …arning {{'Name3' used as the name of the previous parameter rather than as part of the selector}} \
13 // expected-note {{introduce a parameter name to make 'Name3' part of the selector}} \
14 …rt whitespace before ':' to use 'Name3' as parameter name and have an empty entry in the selector}}
15 …rning {{'second' used as the name of the previous parameter rather than as part of the selector}} \
16 // expected-note {{introduce a parameter name to make 'second' part of the selector}} \
17 …whitespace before ':' to use 'second' as parameter name and have an empty entry in the selector}} \
[all …]
/external/perfetto/src/trace_processor/containers/
Drow_map.cc31 RowMap Select(Range range, Range selector) { in Select() argument
32 PERFETTO_DCHECK(selector.start <= selector.end); in Select()
33 PERFETTO_DCHECK(selector.end <= range.size()); in Select()
35 return RowMap(range.start + selector.start, range.start + selector.end); in Select()
38 RowMap Select(Range range, const BitVector& selector) { in Select() argument
39 PERFETTO_DCHECK(selector.size() <= range.size()); in Select()
50 return RowMap(selector.Copy()); in Select()
55 bv.Resize(range.start + selector.size(), true); in Select()
57 bv.UpdateSetBits(selector); in Select()
61 RowMap Select(Range range, const std::vector<OutputIndex>& selector) { in Select() argument
[all …]
Drow_map_algorithms.h40 const std::vector<uint32_t>& selector) { in SelectIvWithIv() argument
41 std::vector<uint32_t> ret(selector.size()); in SelectIvWithIv()
42 for (uint32_t i = 0; i < selector.size(); ++i) { in SelectIvWithIv()
43 PERFETTO_DCHECK(selector[i] < iv.size()); in SelectIvWithIv()
44 ret[i] = iv[selector[i]]; in SelectIvWithIv()
53 const std::vector<uint32_t>& selector) { in SelectBvWithIvByConvertToIv() argument
58 return SelectIvWithIv(bv_conv, selector); in SelectBvWithIvByConvertToIv()
65 const std::vector<uint32_t>& selector) { in SelectBvWithIvByIndexOfNthSet() argument
66 std::vector<uint32_t> iv(selector.size()); in SelectBvWithIvByIndexOfNthSet()
67 for (uint32_t i = 0; i < selector.size(); ++i) { in SelectBvWithIvByIndexOfNthSet()
[all …]
Drow_map_benchmark.cc89 const RowMap& selector) { in BenchRowMapSelect() argument
91 benchmark::DoNotOptimize(rm.SelectRows(selector)); in BenchRowMapSelect()
132 RowMap selector(CreateRange(rm.size())); in BM_RowMapSelectRangeWithRange() local
133 BenchRowMapSelect(state, std::move(rm), std::move(selector)); in BM_RowMapSelectRangeWithRange()
139 RowMap selector(CreateBitVector(rm.size())); in BM_RowMapSelectRangeWithBv() local
140 BenchRowMapSelect(state, std::move(rm), std::move(selector)); in BM_RowMapSelectRangeWithBv()
146 RowMap selector(CreateIndexVector(rm.size(), rm.size())); in BM_RowMapSelectRangeWithIv() local
147 BenchRowMapSelect(state, std::move(rm), std::move(selector)); in BM_RowMapSelectRangeWithIv()
153 RowMap selector(CreateRange(rm.size())); in BM_RowMapSelectBvWithRange() local
154 BenchRowMapSelect(state, std::move(rm), std::move(selector)); in BM_RowMapSelectBvWithRange()
[all …]
/external/python/cpython2/Demo/sockets/
Dgopher.py51 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/clang/test/Parser/
Dselector-1.m7 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/
Dselector-warning.h10 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/
DSwitchStmt.java75 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/
DSwitchExpr.java58 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/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DEnumerableExtensions.cs139 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/
DSwitchStmt.java35 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/
DSwitchStmt.java38 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()
/external/libffi/testsuite/lib/
Dlibffi.exp85 set selector "target"
86 lappend selector $op
87 set answer [ expr { [dg-process-target $selector] == "S" } ]
96 set selector "target [join $op]"
97 set answer [ expr { [dg-process-target $selector] == "S" } ]
139 set selector [string trim [lindex $args 0]]
140 if [regexp "^xfail " $selector] {
142 } elseif [regexp "^target " $selector] {
145 error "syntax error in target selector \"$selector\""
149 regsub "^${what}" $selector "" rest
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DApplicationProtocolSelectorAdapter.java34 private final ApplicationProtocolSelector selector; field in ApplicationProtocolSelectorAdapter
36 ApplicationProtocolSelectorAdapter(SSLEngine engine, ApplicationProtocolSelector selector) { in ApplicationProtocolSelectorAdapter() argument
39 this.selector = checkNotNull(selector, "selector"); in ApplicationProtocolSelectorAdapter()
42 ApplicationProtocolSelectorAdapter(SSLSocket socket, ApplicationProtocolSelector selector) { in ApplicationProtocolSelectorAdapter() argument
45 this.selector = checkNotNull(selector, "selector"); in ApplicationProtocolSelectorAdapter()
66 selected = selector.selectApplicationProtocol(engine, protocols); in selectApplicationProtocol()
68 selected = selector.selectApplicationProtocol(socket, protocols); in selectApplicationProtocol()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DApplicationProtocolSelectorAdapter.java35 private final ApplicationProtocolSelector selector; field in ApplicationProtocolSelectorAdapter
37 ApplicationProtocolSelectorAdapter(SSLEngine engine, ApplicationProtocolSelector selector) { in ApplicationProtocolSelectorAdapter() argument
40 this.selector = checkNotNull(selector, "selector"); in ApplicationProtocolSelectorAdapter()
43 ApplicationProtocolSelectorAdapter(SSLSocket socket, ApplicationProtocolSelector selector) { in ApplicationProtocolSelectorAdapter() argument
46 this.selector = checkNotNull(selector, "selector"); in ApplicationProtocolSelectorAdapter()
67 selected = selector.selectApplicationProtocol(engine, protocols); in selectApplicationProtocol()
69 selected = selector.selectApplicationProtocol(socket, protocols); in selectApplicationProtocol()

12345678910>>...36