Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 1884) sorted by relevance

12345678910>>...76

/external/python/cpython3/Lib/sqlite3/test/
Dtransactions.py56 self.cur1.execute("create table test(i)")
57 self.cur1.execute("insert into test(i) values (5)")
58 self.cur1.execute("create table test2(j)")
59 self.cur2.execute("select i from test")
64 self.cur1.execute("create table test(i)")
65 self.cur1.execute("insert into test(i) values (5)")
66 self.cur2.execute("select i from test")
71 self.cur1.execute("create table test(i)")
72 self.cur1.execute("insert into test(i) values (5)")
74 self.cur1.execute("update test set i=6")
[all …]
Dtypes.py37 self.cur.execute("create table test(i integer, s varchar, f number, b blob)")
44 self.cur.execute("insert into test(s) values (?)", ("�sterreich",))
45 self.cur.execute("select s from test")
50 self.cur.execute("insert into test(i) values (?)", (42,))
51 self.cur.execute("select i from test")
57 self.cur.execute("insert into test(i) values (?)", (num,))
58 self.cur.execute("select i from test")
64 self.cur.execute("insert into test(f) values (?)", (val,))
65 self.cur.execute("select f from test")
72 self.cur.execute("insert into test(b) values (?)", (val,))
[all …]
Ddbapi.py94 cu.execute("create table test(id integer primary key, name text)")
95 cu.execute("insert into test(name) values (?)", ("foo",))
149 cu.execute("create table transactiontest(id integer primary key, name text)")
151 cu.execute("insert into transactiontest(name) values (?)", ("foo",))
153 cu.execute("select name from transactiontest where name=?", ["foo"])
158 cu.execute("select name from transactiontest where name=?", ["foo"])
173 cx.execute('create table test(id integer)')
175 cx.execute('insert into test(id) values(0)')
178 cx.execute('insert into test(id) values(1)')
191 self.cu.execute(
[all …]
Dregression.py38 cur.execute("pragma user_version")
45 cur.execute("pragma schema_version")
56 cursors[0].execute("create table test(x)")
61 cursors[i].execute(" " * i + "select x from test")
67 cur.execute('select 1 as "foo bar [datetime]"')
70 cur.execute('select 1 as "foo baz"')
84 cur.execute("select 1 x union select " + str(i))
90 con.execute("create table foo(x, unique(x) on conflict rollback)")
91 con.execute("insert into foo(x) values (1)")
93 con.execute("insert into foo(x) values (1)")
[all …]
Duserfunctions.py178 cur.execute("select reftest()")
182 cur.execute("select returntext()")
189 cur.execute("select returnunicode()")
196 cur.execute("select returnint()")
203 cur.execute("select returnfloat()")
211 cur.execute("select returnnull()")
218 cur.execute("select returnblob()")
225 cur.execute("select returnlonglong()")
232 cur.execute("select raiseexception()")
238 cur.execute("select isstring(?)", ("foo",))
[all …]
/external/python/cpython2/Lib/sqlite3/test/
Dtransactions.py57 self.cur1.execute("create table test(i)")
58 self.cur1.execute("insert into test(i) values (5)")
59 self.cur1.execute("create table test2(j)")
60 self.cur2.execute("select i from test")
65 self.cur1.execute("create table test(i)")
66 self.cur1.execute("insert into test(i) values (5)")
67 self.cur2.execute("select i from test")
72 self.cur1.execute("create table test(i)")
73 self.cur1.execute("insert into test(i) values (5)")
75 self.cur1.execute("update test set i=6")
[all …]
Dtypes.py38 self.cur.execute("create table test(i integer, s varchar, f number, b blob)")
45 self.cur.execute("insert into test(s) values (?)", (u"�sterreich",))
46 self.cur.execute("select s from test")
51 self.cur.execute("insert into test(i) values (?)", (42,))
52 self.cur.execute("select i from test")
58 self.cur.execute("insert into test(i) values (?)", (num,))
59 self.cur.execute("select i from test")
65 self.cur.execute("insert into test(f) values (?)", (val,))
66 self.cur.execute("select f from test")
73 self.cur.execute("insert into test(b) values (?)", (val,))
[all …]
Dregression.py38 cur.execute("pragma user_version")
45 cur.execute("pragma schema_version")
56 cursors[0].execute("create table test(x)")
61 cursors[i].execute(" " * i + "select x from test")
67 cur.execute('select 1 as "foo bar [datetime]"')
70 cur.execute('select 1 as "foo baz"')
84 cur.execute("select 1 x union select " + str(i))
91 con.execute("create table foo(x, unique(x) on conflict rollback)")
92 con.execute("insert into foo(x) values (1)")
94 con.execute("insert into foo(x) values (1)")
[all …]
Ddbapi.py92 cu.execute("create table test(id integer primary key, name text)")
93 cu.execute("insert into test(name) values (?)", ("foo",))
149 self.cu.execute("create table test(id integer primary key, name text, income number)")
150 self.cu.execute("insert into test(name) values (?)", ("foo",))
157 self.cu.execute("delete from test")
161 self.cu.execute("select asdf")
170 self.cu.execute("select 5+4; select 4+5")
178 self.cu.execute("select 5+4; -- foo bar")
181 self.cu.execute("""
191 self.cu.execute(42)
[all …]
Duserfunctions.py165 cur.execute("select reftest()")
169 cur.execute("select returntext()")
176 cur.execute("select returnunicode()")
183 cur.execute("select returnint()")
190 cur.execute("select returnfloat()")
198 cur.execute("select returnnull()")
205 cur.execute("select returnblob()")
213 cur.execute("select returnlonglong()")
220 cur.execute("select raiseexception()")
228 cur.execute("select isstring(?)", ("foo",))
[all …]
Dfactory.py82 cur.execute("select 4+5 as foo")
96 row = self.con.execute("select 1, 2").fetchone()
101 row = self.con.execute("select 1 as a, 2 as b").fetchone()
137 row = self.con.execute("select 1 as a, 2 as b").fetchone()
144 row = self.con.execute("select 1 as a, 2 as b").fetchone()
151 row = self.con.execute("select 1 as a, 2 as b").fetchone()
159 row_1 = self.con.execute("select 1 as a, 2 as b").fetchone()
160 row_2 = self.con.execute("select 1 as a, 2 as b").fetchone()
161 row_3 = self.con.execute("select 1 as a, 3 as b").fetchone()
179 row = self.con.execute("select 1 as a, 2 as b").fetchone()
[all …]
/external/autotest/frontend/migrations/
D013_new_test_fields.py2 manager.execute('ALTER TABLE jobs ADD run_verify tinyint(1) default 1')
3 manager.execute('ALTER TABLE autotests ADD author VARCHAR(256)')
4 manager.execute('ALTER TABLE autotests ADD dependencies VARCHAR(256)')
5 manager.execute('ALTER TABLE autotests ADD experimental SMALLINT DEFAULT 0')
6 manager.execute('ALTER TABLE autotests ADD run_verify SMALLINT DEFAULT 1')
7 manager.execute('ALTER TABLE autotests ADD test_time SMALLINT DEFAULT 1')
8 manager.execute('ALTER TABLE autotests ADD test_category VARCHAR(256)')
9 manager.execute('ALTER TABLE autotests ADD sync_count INT(11) DEFAULT 1')
13 manager.execute('ALTER TABLE jobs DROP run_verify')
14 manager.execute('ALTER TABLE autotests DROP sync_count')
[all …]
D022_implement_sync_count.py14 manager.execute("""ALTER TABLE host_queue_entries ADD COLUMN
18 rows = manager.execute("""
24 hqes = manager.execute("""
34 manager.execute(
39 manager.execute('UPDATE jobs SET synch_count = 1 WHERE synch_type = 1')
40 manager.execute('UPDATE jobs SET synch_count = 2 '
43 manager.execute('ALTER TABLE jobs DROP COLUMN synch_type')
44 manager.execute('ALTER TABLE autotests DROP COLUMN synch_type')
46 manager.execute('ALTER TABLE jobs DROP COLUMN synchronizing')
/external/lisa/libs/utils/android/
Dsystem.py53 target.target.execute("echo 8192 > /sys/kernel/debug/tracing/saved_cmdlines_size")
66 … ev_file = target.target.execute("ls /sys/kernel/debug/tracing/events/*/{}/enable".format(ev))
68 target.target.execute(cmd, as_root=True)
71 … tr_file = target.target.execute("ls /sys/kernel/debug/tracing/events/*/{}/trigger".format(ev))
73 target.target.execute(cmd, as_root=True, check_exit_code=False)
114 target.execute('settings put global airplane_mode_on {}'\
116 target.execute('am broadcast '\
128 target.execute('svc {} {}'.format(cmd, mode), as_root=True)
161 value = target.execute('getprop {}'.format(prop), as_root=True)
183 target.execute('setprop {} {}'.format(prop, value), as_root=True)
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeSchedule3.td18 // The instruction takes one cycle to execute in each of the stages. The
20 // ready after the execute stage.
24 , InstrStage<1,[EX]>], // one cycle in execute stage
31 // operand. The instruction takes one cycle to execute in each of the
32 // pipeline stages except the execute stage, which takes three cycles. The
34 // ready after the execute stage.
38 , InstrStage<3,[EX]>], // three cycles in execute stage
44 // operands. The instruction takes one cycle to execute in each the pipeline
45 // stages except the execute stage, which takes 34 cycles. The two
47 // after the execute stage.
[all …]
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/
DShadowAndroidHttpClient.java49 …public HttpResponse execute(HttpUriRequest httpUriRequest) throws IOException, ClientProtocolExcep… in execute() method in ShadowAndroidHttpClient
50 return httpClient.execute(httpUriRequest); in execute()
54 …public HttpResponse execute(HttpUriRequest httpUriRequest, HttpContext httpContext) throws IOExcep… in execute() method in ShadowAndroidHttpClient
55 return httpClient.execute(httpUriRequest, httpContext); in execute()
59 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) throws IOException, Client… in execute() method in ShadowAndroidHttpClient
60 return httpClient.execute(httpHost, httpRequest); in execute()
64 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) t… in execute() method in ShadowAndroidHttpClient
65 return httpClient.execute(httpHost, httpRequest, httpContext); in execute()
69 …public <T> T execute(HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler) … in execute() method in ShadowAndroidHttpClient
70 return httpClient.execute(httpUriRequest, responseHandler); in execute()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSerializingExecutorTest.java44 @Override public void execute(Runnable command) { in execute() method in SerializingExecutorTest.FakeExecutor
85 e.execute(intCounter); in testBasics()
87 e.execute(intCounter); in testBasics()
94 e.execute(intCounter); in testBasics()
95 e.execute(intCounter); in testBasics()
96 e.execute(intCounter); in testBasics()
119 e.execute(new FakeOp(0)); in testOrdering()
120 e.execute(new FakeOp(1)); in testOrdering()
121 e.execute(new FakeOp(2)); in testOrdering()
139 e.execute(runMe); in testExceptions()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAndroidHttpClient.java51 …public HttpResponse execute(HttpUriRequest httpUriRequest) throws IOException, ClientProtocolExcep… in execute() method in ShadowAndroidHttpClient
52 return httpClient.execute(httpUriRequest); in execute()
56 …public HttpResponse execute(HttpUriRequest httpUriRequest, HttpContext httpContext) throws IOExcep… in execute() method in ShadowAndroidHttpClient
57 return httpClient.execute(httpUriRequest, httpContext); in execute()
61 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest) throws IOException, Client… in execute() method in ShadowAndroidHttpClient
62 return httpClient.execute(httpHost, httpRequest); in execute()
66 …public HttpResponse execute(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext) t… in execute() method in ShadowAndroidHttpClient
67 return httpClient.execute(httpHost, httpRequest, httpContext); in execute()
71 …public <T> T execute(HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler) … in execute() method in ShadowAndroidHttpClient
72 return httpClient.execute(httpUriRequest, responseHandler); in execute()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dcore_test.py29 from tensorflow.python.eager import execute as execute_lib
39 def execute(op_name, num_outputs, inputs, attrs=None): function
40 return execute_lib.execute(
45 return execute(
167 result = execute(
219 product = execute(
229 product = execute(
241 product = execute(
250 checked_three = execute(
260 _ = execute(
[all …]
/external/crcalc/src/com/hp/creals/
DUnaryCRFunction.java55 abstract public CR execute(CR x); in execute() method in UnaryCRFunction
177 public CR execute(CR x) { in execute() method in sin_UnaryCRFunction
183 public CR execute(CR x) { in execute() method in cos_UnaryCRFunction
189 public CR execute(CR x) { in execute() method in tan_UnaryCRFunction
195 public CR execute(CR x) { in execute() method in asin_UnaryCRFunction
201 public CR execute(CR x) { in execute() method in acos_UnaryCRFunction
212 public CR execute(CR x) { in execute() method in atan_UnaryCRFunction
221 public CR execute(CR x) { in execute() method in exp_UnaryCRFunction
227 public CR execute(CR x) { in execute() method in ln_UnaryCRFunction
233 public CR execute(CR x) { in execute() method in identity_UnaryCRFunction
[all …]
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DShadowDefaultRequestDirectorTest.java84 HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute()
98 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses()
110 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule()
123 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_MatchingMethod()
134 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
140 requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
153 HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
160 requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
177 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_WithTextResponse()
190 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in clearHttpResponseRules_shouldRemoveAllRules()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java66 … HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute()
80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses()
92 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule()
105 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_MatchingMethod()
115 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
120 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
133 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
138 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
154 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_WithTextResponse()
167 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in clearHttpResponseRules_shouldRemoveAllRules()
[all …]
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/util/
DAssertTest.java47 public void execute() throws Exception; in execute() method
96 public void execute() throws Exception { in testAssertTrue()
110 public void execute() throws Exception { in testAssertFalse()
125 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
131 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
146 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
152 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
167 public void execute() throws Exception { in testAssertNotNullOrEmpty_array()
173 public void execute() throws Exception { in testAssertNotNullOrEmpty_array()
187 public void execute() throws Exception { in testAssertNotNullOrEmpty_String()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/util/
DAssertTest.java46 public void execute() throws Exception; in execute() method
95 public void execute() throws Exception { in testAssertTrue()
109 public void execute() throws Exception { in testAssertFalse()
124 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
130 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
145 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
151 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
166 public void execute() throws Exception { in testAssertNotNullOrEmpty_array()
172 public void execute() throws Exception { in testAssertNotNullOrEmpty_array()
186 public void execute() throws Exception { in testAssertNotNullOrEmpty_String()
[all …]
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/util/
DAssertTest.java46 public void execute() throws Exception; in execute() method
95 public void execute() throws Exception { in testAssertTrue()
109 public void execute() throws Exception { in testAssertFalse()
124 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
130 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
145 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
151 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
166 public void execute() throws Exception { in testAssertNotNullOrEmpty_array()
172 public void execute() throws Exception { in testAssertNotNullOrEmpty_array()
186 public void execute() throws Exception { in testAssertNotNullOrEmpty_String()
[all …]

12345678910>>...76