Home
last modified time | relevance | path

Searched refs:select (Results 1 – 25 of 5191) sorted by relevance

12345678910>>...208

/external/python/cpython3/Lib/test/
Dtest_epoll.py26 import select
31 if not hasattr(select, "epoll"):
35 select.epoll()
67 ep = select.epoll(16)
76 if hasattr(select, "EPOLL_CLOEXEC"):
77 select.epoll(-1, select.EPOLL_CLOEXEC).close()
78 select.epoll(flags=select.EPOLL_CLOEXEC).close()
79 select.epoll(flags=0).close()
82 self.assertRaises(TypeError, select.epoll, 1, 2, 3)
83 self.assertRaises(TypeError, select.epoll, 'foo')
[all …]
Dtest_kqueue.py6 import select
11 if not hasattr(select, "kqueue"):
16 kq = select.kqueue()
29 ev = select.kevent(fd)
30 other = select.kevent(1000)
32 self.assertEqual(ev.filter, select.KQ_FILTER_READ)
33 self.assertEqual(ev.flags, select.KQ_EV_ADD)
46 ev = select.kevent(fd, select.KQ_FILTER_WRITE)
48 self.assertEqual(ev.filter, select.KQ_FILTER_WRITE)
49 self.assertEqual(ev.flags, select.KQ_EV_ADD)
[all …]
Dtest_select.py3 import select
20 self.assertRaises(TypeError, select.select, 1, 2, 3)
21 self.assertRaises(TypeError, select.select, [self.Nope()], [], [])
22 self.assertRaises(TypeError, select.select, [self.Almost()], [], [])
23 self.assertRaises(TypeError, select.select, [], [], [], "not a number")
24 self.assertRaises(ValueError, select.select, [], [], [], -1)
34 select.select([fd], [], [], 0)
42 r, w, x = select.select([], [], [], 1)
53 rfd, wfd, xfd = select.select([p], [], [], tout)
75 self.assertEqual(select.select([], a, []), ([], a[:5], []))
/external/llvm/test/Analysis/CostModel/ARM/
Dselect.ll8 ; CHECK: cost of 1 {{.*}} select
9 %v1 = select i1 undef, i8 undef, i8 undef
10 ; CHECK: cost of 1 {{.*}} select
11 %v2 = select i1 undef, i16 undef, i16 undef
12 ; CHECK: cost of 1 {{.*}} select
13 %v3 = select i1 undef, i32 undef, i32 undef
14 ; CHECK: cost of 2 {{.*}} select
15 %v4 = select i1 undef, i64 undef, i64 undef
16 ; CHECK: cost of 1 {{.*}} select
17 %v5 = select i1 undef, float undef, float undef
[all …]
/external/python/cpython2/Lib/test/
Dtest_epoll.py27 import select
31 if not hasattr(select, "epoll"):
35 select.epoll()
70 ep = select.epoll(16)
80 self.assertRaises(TypeError, select.epoll, 1, 2, 3)
81 self.assertRaises(TypeError, select.epoll, 'foo')
82 self.assertRaises(TypeError, select.epoll, None)
83 self.assertRaises(TypeError, select.epoll, ())
84 self.assertRaises(TypeError, select.epoll, ['foo'])
85 self.assertRaises(TypeError, select.epoll, {})
[all …]
Dtest_kqueue.py7 import select
12 if not hasattr(select, "kqueue"):
17 kq = select.kqueue()
26 ev = select.kevent(fd)
27 other = select.kevent(1000)
29 self.assertEqual(ev.filter, select.KQ_FILTER_READ)
30 self.assertEqual(ev.flags, select.KQ_EV_ADD)
46 ev = select.kevent(fd, select.KQ_FILTER_WRITE)
48 self.assertEqual(ev.filter, select.KQ_FILTER_WRITE)
49 self.assertEqual(ev.flags, select.KQ_EV_ADD)
[all …]
Dtest_select.py3 import select
19 self.assertRaises(TypeError, select.select, 1, 2, 3)
20 self.assertRaises(TypeError, select.select, [self.Nope()], [], [])
21 self.assertRaises(TypeError, select.select, [self.Almost()], [], [])
22 self.assertRaises(TypeError, select.select, [], [], [], "not a number")
26 r, w, x = select.select([], [], [], 1)
37 rfd, wfd, xfd = select.select([p], [], [], tout)
60 self.assertEqual(select.select([], a, []), ([], a[:5], []))
/external/llvm-project/clang/include/clang/Basic/
DDiagnosticSerializationKinds.td22 "%select{precompiled header|module file|AST file}1 '%2' was built"
23 ": %select{size|mtime|content}3 changed">,
36 "%select{AST file was|current translation unit is}0 compiled with the target "
37 "feature '%1' but the %select{current translation unit is|AST file was}0 "
39 def err_pch_langopt_mismatch : Error<"%0 was %select{disabled|enabled}1 in "
40 "PCH file but is currently %select{disabled|enabled}2">;
60 "%select{PCH|module|AST}0 file '%1' not found%select{|: %3}2">, DefaultFatal;
62 "%select{PCH|module|AST}0 file '%1' is out of date and "
63 "needs to be rebuilt%select{|: %3}2">, DefaultFatal;
65 "file '%1' is not a valid precompiled %select{PCH|module|AST}0 file">, DefaultFatal;
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show.cc151 if (opts.select.find(kShown[2]) != opts.select.end()) { in FormatNode()
164 if (opts.select.find(kShown[3]) != opts.select.end()) { in FormatNode()
173 if (opts.select.find(kShown[0]) != opts.select.end()) { in FormatNode()
177 if (opts.select.find(kShown[11]) != opts.select.end()) { in FormatNode()
181 if (opts.select.find(kShown[12]) != opts.select.end()) { in FormatNode()
185 if (opts.select.find(kShown[13]) != opts.select.end()) { in FormatNode()
189 if (opts.select.find(kShown[1]) != opts.select.end()) { in FormatNode()
194 if (opts.select.find(kShown[9]) != opts.select.end() && in FormatNode()
195 opts.select.find(kShown[1]) == opts.select.end()) { in FormatNode()
198 if (opts.select.find(kShown[10]) != opts.select.end() && in FormatNode()
[all …]
Dtfprof_show_multi.cc118 if (opts.select.find(kShown[0]) != opts.select.end()) { in FormatLegend()
121 if (opts.select.find(kShown[11]) != opts.select.end()) { in FormatLegend()
124 if (opts.select.find(kShown[12]) != opts.select.end()) { in FormatLegend()
127 if (opts.select.find(kShown[13]) != opts.select.end()) { in FormatLegend()
130 if (opts.select.find(kShown[1]) != opts.select.end()) { in FormatLegend()
135 if (opts.select.find(kShown[9]) != opts.select.end() && in FormatLegend()
136 opts.select.find(kShown[1]) == opts.select.end()) { in FormatLegend()
139 if (opts.select.find(kShown[10]) != opts.select.end() && in FormatLegend()
140 opts.select.find(kShown[1]) == opts.select.end()) { in FormatLegend()
143 if (opts.select.find(kShown[2]) != opts.select.end()) { in FormatLegend()
[all …]
/external/llvm-project/llvm/test/Transforms/InferAddressSpaces/AMDGPU/
Dselect.ll3 ; Instcombine pulls the addrspacecast out of the select, make sure
9 ; CHECK-NEXT: %select = select i1 %c, i32* %cast0, i32* %cast1
10 ; CHECK-NEXT: ret i32* %select
14 %select = select i1 %c, i32* %cast0, i32* %cast1
15 ret i32* %select
19 ; CHECK: %select = select i1 %c, i32 addrspace(3)* %group.ptr.0, i32 addrspace(3)* %group.ptr.1
20 ; CHECK: store i32 -1, i32 addrspace(3)* %select
24 %select = select i1 %c, i32* %cast0, i32* %cast1
25 store i32 -1, i32* %select
31 ; CHECK: %select = select i1 %c, i32 addrspace(3)* %group.ptr.0, i32 addrspace(3)* %group.ptr.1, !p…
[all …]
/external/llvm/test/Analysis/CostModel/AArch64/
Dselect.ll4 ; CHECK-LABEL: select
5 define void @select() {
7 ; CHECK: cost of 1 {{.*}} select
8 %v1 = select i1 undef, i8 undef, i8 undef
9 ; CHECK: cost of 1 {{.*}} select
10 %v2 = select i1 undef, i16 undef, i16 undef
11 ; CHECK: cost of 1 {{.*}} select
12 %v3 = select i1 undef, i32 undef, i32 undef
13 ; CHECK: cost of 1 {{.*}} select
14 %v4 = select i1 undef, i64 undef, i64 undef
[all …]
/external/rust/crates/crossbeam-channel/tests/
Dselect_macro.rs11 use crossbeam_channel::{after, bounded, never, select, tick, unbounded};
26 select! { in smoke1()
33 select! { in smoke1()
49 select! { in smoke2()
70 select! { in disconnected()
80 select! { in disconnected()
92 select! { in disconnected()
105 select! { in default()
113 select! { in default()
121 select! { in default()
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DListFilter.java13 protected ListBox select; field in ListFilter
18 select = new ExtendedListBox(); in ListFilter()
19 select.setMultipleSelect(isMultipleSelect()); in ListFilter()
20 select.setStylePrimaryName("filter-box"); in ListFilter()
21 select.addChangeHandler(new ChangeHandler() { in ListFilter()
41 if (select.getItemCount() > 0) { in setMatchAllText()
42 select.setItemText(0, allValuesText); in setMatchAllText()
52 return select.getItemText(index); in getItemText()
56 int selected = select.getSelectedIndex(); in getSelectedText()
70 return select.isEnabled() && !getSelectedText().equals(allValuesText); in isActive()
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dsadd_sat.ll17 %spec.store.select = select i1 %0, i64 %add, i64 2147483647
18 %1 = icmp sgt i64 %spec.store.select, -2147483648
19 %spec.store.select8 = select i1 %1, i64 %spec.store.select, i64 -2147483648
35 %spec.store.select = select i1 %0, i64 %sub, i64 2147483647
36 %1 = icmp sgt i64 %spec.store.select, -2147483648
37 %spec.store.select8 = select i1 %1, i64 %spec.store.select, i64 -2147483648
49 ; CHECK-NEXT: [[SPEC_STORE_SELECT:%.*]] = select i1 [[TMP0]], i64 [[ADD]], i64 2147483647
51 ; CHECK-NEXT: [[SPEC_STORE_SELECT8:%.*]] = select i1 [[TMP1]], i64 [[SPEC_STORE_SELECT]], i64 -2…
60 %spec.store.select = select i1 %0, i64 %add, i64 2147483647
61 %1 = icmp sgt i64 %spec.store.select, -2147483648
[all …]
Dselect-with-bitwise-ops.ll19 %select = select i1 %cmp, i32 %y, i32 %or
20 ret i32 %select
33 %select = select <2 x i1> %cmp, <2 x i32> %y, <2 x i32> %or
34 ret <2 x i32> %select
42 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32 [[Y]], i32 [[XOR]]
48 %select = select i1 %cmp, i32 %y, i32 %xor
49 ret i32 %select
57 ; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[CMP]], i32 [[Y]], i32 [[AND2]]
63 %select = select i1 %cmp, i32 %y, i32 %and2
64 ret i32 %select
[all …]
Dminmax-of-minmax.ll7 ; CHECK-NEXT: [[MAX:%.*]] = select i1 [[CMP2]], i32 [[X]], i32 [[Y]]
11 %min = select i1 %cmp1, i32 %x, i32 %y
13 %max = select i1 %cmp2, i32 %x, i32 %y
15 %r = select i1 %cmp3, i32 %max, i32 %min
22 ; CHECK-NEXT: [[MAX:%.*]] = select i1 [[CMP2]], i32 [[X]], i32 [[Y]]
26 %min = select i1 %cmp1, i32 %y, i32 %x
28 %max = select i1 %cmp2, i32 %x, i32 %y
30 %r = select i1 %cmp3, i32 %max, i32 %min
37 ; CHECK-NEXT: [[MAX:%.*]] = select i1 [[CMP2]], i32 [[X]], i32 [[Y]]
41 %min = select i1 %cmp1, i32 %x, i32 %y
[all …]
Dclamp-to-minmax.ll8 ; CHECK-NEXT: [[MIN:%.*]] = select i1 [[CMP2]], float [[X]], float 2.550000e+02
13 %min = select i1 %cmp2, float %x, float 255.0
15 %r = select i1 %cmp1, float 1.0, float %min
23 ; CHECK-NEXT: [[MIN:%.*]] = select i1 [[CMP2]], float [[X]], float 2.550000e+02
28 %min = select i1 %cmp2, float %x, float 255.0
30 %r = select i1 %cmp1, float 1.0, float %min
38 ; CHECK-NEXT: [[MAX:%.*]] = select i1 [[CMP2]], float [[X]], float 1.000000e+00
43 %max = select i1 %cmp2, float %x, float 1.0
45 %r = select i1 %cmp1, float 255.0, float %max
53 ; CHECK-NEXT: [[MAX:%.*]] = select i1 [[CMP2]], float [[X]], float 1.000000e+00
[all …]
/external/llvm-project/llvm/test/CodeGen/Thumb2/
Dcsel.ll13 %spec.select = select i1 %cmp, i32 6, i32 5
14 ret i32 %spec.select
26 %spec.select = select i1 %cmp, i32 5, i32 6
27 ret i32 %spec.select
38 %spec.select = zext i1 %cmp to i32
39 ret i32 %spec.select
51 %spec.select = select i1 %cmp, i32 -6, i32 5
52 ret i32 %spec.select
64 %spec.select = select i1 %cmp, i32 5, i32 -6
65 ret i32 %spec.select
[all …]
/external/llvm-project/llvm/test/Analysis/CostModel/ARM/
Dselect.ll14 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v0 = select i1 …
15 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = select i1 …
16 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v2 = select i1 …
17 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v3 = select i1 …
18 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v4 = select i1 …
19 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v5 = select i1 …
20 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v6 = select i1 …
21 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %v7 = select <2…
22 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v8 = select <4 …
23 ; CHECK-MVE-RECIP-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v9 = select <8 …
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dvselect-cost.ll7 ; Verify the cost of vector select instructions.
14 ; SSE2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
15 ; SSE41: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
16 ; AVX: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
17 ; AVX2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
18 %sel = select <2 x i1> <i1 true, i1 false>, <2 x i64> %a, <2 x i64> %b
24 ; SSE2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
25 ; SSE41: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
26 ; AVX: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
27 ; AVX2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
[all …]
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dselect.ll11 %sel = select i1 %cmp, i32 %x, i32 %y
17 ; CHECK: %sel = select i1 %cmp, i32 %x, i32 %y
28 %sel = select i1 %cmp, float %div, float 2.0
33 ; CHECK: br i1 %cmp, label %select.true.sink, label %select.end
34 ; CHECK: select.true.sink:
36 ; CHECK: br label %select.end
37 ; CHECK: select.end:
38 ; CHECK: %sel = phi float [ %div, %select.true.sink ], [ 2.000000e+00, %entry ]
46 %sel = select i1 %cmp, float 4.0, float %div
51 ; CHECK: br i1 %cmp, label %select.end, label %select.false.sink
[all …]
/external/google-styleguide/
Dstyleguide.xsl10 <xsl:variable name="show_explanation_default" select="0" />
12 <xsl:variable name="show_button_text" select="'&#x25B6;'" />
13 <xsl:variable name="hide_button_text" select="'&#x25BD;'" />
15 <xsl:variable name="button_suffix" select="'__button'"/>
16 <xsl:variable name="body_suffix" select="'__body'"/>
18 <xsl:variable name="show_hide_all_button" select="'show_hide_all_button'"/>
24 <TITLE><xsl:value-of select="@title"/></TITLE>
48 var bodyName = namePrefix + '<xsl:value-of select="$body_suffix"/>';
49 var buttonName = namePrefix + '<xsl:value-of select="$button_suffix"/>';
62 buttonElement.innerHTML = '<xsl:value-of select="$hide_button_text"/>';
[all …]
/external/llvm-project/llvm/test/Analysis/CostModel/AArch64/
Dselect.ll6 define void @select() {
8 ; CHECK-THROUGHPUT-LABEL: 'select'
9 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v1 = select i1…
10 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v2 = select i1…
11 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v3 = select i1…
12 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v4 = select i1…
13 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v5 = select i1…
14 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v6 = select i1…
15 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %v13b = select
16 ; CHECK-THROUGHPUT-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v15b = select
[all …]
/external/python/cpython3/Lib/xml/etree/
DElementPath.py117 def select(context, result): function
123 def select(context, result): function
133 def select(context, result): function
142 def select(context, result): function
149 return select
156 def select(context, result): function
164 def select(context, result): function
169 return select
172 def select(context, result): function
175 return select
[all …]

12345678910>>...208