Home
last modified time | relevance | path

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

12345678910>>...29

/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/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 …]
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/u-boot/drivers/pinctrl/
Dpinctrl-generic.c23 unsigned npins, selector; in pinctrl_pin_name_to_selector() local
33 for (selector = 0; selector < npins; selector++) { in pinctrl_pin_name_to_selector()
34 const char *pname = ops->get_pin_name(dev, selector); in pinctrl_pin_name_to_selector()
37 return selector; in pinctrl_pin_name_to_selector()
54 unsigned ngroups, selector; in pinctrl_group_name_to_selector() local
64 for (selector = 0; selector < ngroups; selector++) { in pinctrl_group_name_to_selector()
65 const char *gname = ops->get_group_name(dev, selector); in pinctrl_group_name_to_selector()
68 return selector; in pinctrl_group_name_to_selector()
86 unsigned nfuncs, selector = 0; in pinmux_func_name_to_selector() local
97 for (selector = 0; selector < nfuncs; selector++) { in pinmux_func_name_to_selector()
[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 …]
Darc-peformselector.m24 …return [self performSelector : @selector(copy)]; // expected-error {{performSelector names a selec…
25 …return [self performSelector : @selector(test)]; // expected-error {{performSelector names a selec…
26 …return [self performSelector : @selector(new)]; // expected-error {{performSelector names a select…
27 return [self performSelector : @selector(init)];
28 …: sel1]; // expected-warning {{performSelector may cause a leak because its selector is unknown}} \
31 return [self performSelector : @selector(PlusZero)];
32 …return [self performSelector : @selector(PlusOne)]; // expected-error {{performSelector names a se…
/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.java52 private Expression selector; field in SwitchStmt
61 public SwitchStmt(final Expression selector, final NodeList<SwitchEntryStmt> entries) { in SwitchStmt() argument
62 this(null, selector, entries); in SwitchStmt()
69 … public SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntryStmt> entries) { in SwitchStmt() argument
71 setSelector(selector); in SwitchStmt()
99 return selector; in getSelector()
135 public SwitchStmt setSelector(final Expression selector) { in setSelector() argument
136 assertNotNull(selector); in setSelector()
137 if (selector == this.selector) { in setSelector()
140 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/u-boot/arch/arm/mach-snapdragon/
Dpinctrl-apq8016.c34 unsigned int selector) in apq8016_get_function_name() argument
36 return msm_pinctrl_functions[selector].name; in apq8016_get_function_name()
40 unsigned int selector) in apq8016_get_pin_name() argument
42 if (selector < 130) { in apq8016_get_pin_name()
43 snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector); in apq8016_get_pin_name()
46 return msm_pinctrl_pins[selector - 130]; in apq8016_get_pin_name()
50 static unsigned int apq8016_get_function_mux(unsigned int selector) in apq8016_get_function_mux() argument
52 return msm_pinctrl_functions[selector].val; in apq8016_get_function_mux()
/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()
DJava8EngineSocket.java33 private BiFunction<SSLSocket, List<String>, String> selector; field in Java8EngineSocket
67 final BiFunction<SSLSocket, List<String>, String> selector) { in setHandshakeApplicationProtocolSelector() argument
68 this.selector = selector; in setHandshakeApplicationProtocolSelector()
69 setApplicationProtocolSelector(toApplicationProtocolSelector(selector)); in setHandshakeApplicationProtocolSelector()
75 return selector; in getHandshakeApplicationProtocolSelector()
79 final BiFunction<SSLSocket, List<String>, String> selector) { in toApplicationProtocolSelector() argument
80 return selector == null ? null : new ApplicationProtocolSelector() { in toApplicationProtocolSelector()
88 return selector.apply(socket, protocols); in toApplicationProtocolSelector()
/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()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java69 …tion<? extends Certificate> getCertificates(final PKIXCertStoreSelector selector, CertStore certSt… in getCertificates() argument
72 return certStore.getCertificates(new SelectorClone(selector)); in getCertificates()
78 private final PKIXCertStoreSelector selector; field in PKIXCertStoreSelector.SelectorClone
80 SelectorClone(PKIXCertStoreSelector selector) in SelectorClone() argument
82 this.selector = selector; in SelectorClone()
84 if (selector.baseSelector instanceof X509CertSelector) in SelectorClone()
86 X509CertSelector baseSelector = (X509CertSelector)selector.baseSelector; in SelectorClone()
119 return (selector == null) ? (certificate != null) : selector.match(certificate); in match()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXCertStoreSelector.java66 …tion<? extends Certificate> getCertificates(final PKIXCertStoreSelector selector, CertStore certSt… in getCertificates() argument
69 return certStore.getCertificates(new SelectorClone(selector)); in getCertificates()
75 private final PKIXCertStoreSelector selector; field in PKIXCertStoreSelector.SelectorClone
77 SelectorClone(PKIXCertStoreSelector selector) in SelectorClone() argument
79 this.selector = selector; in SelectorClone()
81 if (selector.baseSelector instanceof X509CertSelector) in SelectorClone()
83 X509CertSelector baseSelector = (X509CertSelector)selector.baseSelector; in SelectorClone()
116 return (selector == null) ? (certificate != null) : selector.match(certificate); in match()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInformationStore.java70 SignerId selector) in get() argument
72 Collection list = getSigners(selector); in get()
104 SignerId selector) in getSigners() argument
106 if (selector.getIssuer() != null && selector.getSubjectKeyIdentifier() != null) in getSigners()
110 … Collection match1 = getSigners(new SignerId(selector.getIssuer(), selector.getSerialNumber())); in getSigners()
117 Collection match2 = getSigners(new SignerId(selector.getSubjectKeyIdentifier())); in getSigners()
128 List list = (ArrayList)table.get(selector); in getSigners()

12345678910>>...29