/packages/apps/Launcher2/src/com/android/launcher2/ |
DropTarget.java | 36 /** X offset from the upper-left corner of the cell to where we touched. */ 39 /** Y offset from the upper-left corner of the cell to where we touched. */ 54 /** Where the drag originated */ 117 * @param source DragSource where the drag started 120 * @param xOffset Horizontal offset with the object being dragged where the original 122 * @param yOffset Vertical offset with the object being dragged where the original 148 * @param source DragSource where the drag started 151 * @param xOffset Horizontal offset with the object being dragged where the original 153 * @param yOffset Vertical offset with the object being dragged where the original 166 * @param source DragSource where the drag starte [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
fts3_common.tcl | 120 # USAGE: fts3_terms TBL WHERE 122 # Argument TBL must be the name of an FTS3 table. Argument WHERE is an 123 # SQL expression that will be used as the WHERE clause when scanning 126 # "SELECT * FROM ${TBL}_segdir WHERE ${WHERE}" 131 proc fts3_terms {tbl where} { 132 fts3_read $tbl $where a 137 # USAGE: fts3_doclist TBL TERM WHERE 140 # or may not be present in the table. Argument WHERE is used to select a 151 # the original C-language implementation. If argument WHERE is "1", then [all...] |
speed2.test | 113 append sql "SELECT count(*), avg(b) FROM t1 WHERE b>=$lwr AND b<$upr;" 123 "SELECT count(*), avg(b) FROM t1 WHERE c LIKE '%[number_name $i]%';" 137 append sql "SELECT count(*), avg(b) FROM t1 WHERE b>=$lwr AND b<$upr;" 147 "SELECT count(*), avg(b) FROM t1 WHERE c LIKE '%[number_name $i]%';" 161 # 5000 SELECTs on an integer comparison where the integer is 168 append sql "SELECT count(*), avg(b) FROM t1 WHERE b>=$lwr AND b<$upr;" 177 append sql "SELECT c=='hi' FROM t1 WHERE rowid=$id;\n" 186 append sql "SELECT c FROM t1 WHERE a=$id;" 194 append sql "SELECT c FROM t1 WHERE c='$c';" 202 # 5000 SELECTs on an integer comparison where the integer i [all...] |
misc1.test | 70 execsql {SELECT x75 FROM manycol WHERE x50=350} 73 execsql {SELECT x50 FROM manycol WHERE x99=599} 77 execsql {SELECT x50 FROM manycol WHERE x99=899} 83 execsql {DELETE FROM manycol WHERE x98=1234} 87 execsql {DELETE FROM manycol WHERE x98=998} 91 execsql {DELETE FROM manycol WHERE x99=500} 95 execsql {DELETE FROM manycol WHERE x99=599} 158 # before executing a command. Thus if "WHERE" is misspelled on an UPDATE, 280 # A WHERE clause is not allowed to contain more than 99 terms. Check to 284 # WHERE clause. But keep these tests just so that we have some test [all...] |
eval.test | 41 SELECT x, test_eval('SELECT max(x) FROM t1 WHERE x<' || x) FROM t1 LIMIT 5 52 INSERT INTO t2 SELECT x, x+1 FROM t1 WHERE x<5; 53 SELECT x, test_eval('DELETE FROM t2 WHERE x='||x), y FROM t2; 66 INSERT INTO t2 SELECT x, x+1 FROM t1 WHERE x<5; 67 SELECT x, test_eval('UPDATE t2 SET y=y+100 WHERE x='||x), y FROM t2;
|
speed4p.explain | 127 set sql "SELECT * FROM t1, t2, t3 WHERE t1.oid = t2.oid AND t2.oid = t3.oid" 132 set sql "SELECT * FROM t1, t2, t3 WHERE t1.t = t2.t AND t2.t = t3.t" 141 db eval "SELECT * FROM v$t WHERE rowid = \$v" 144 explain {SELECT * FROm v1 WHERE rowid=$v} 156 db eval "SELECT t FROM t$t WHERE rowid = \$v" 159 explain {SELECT * FROM t1 WHERE rowid=$v} 168 SELECT (SELECT t FROM t1 WHERE rowid = $v), 169 (SELECT t FROM t2 WHERE rowid = $v), 170 (SELECT t FROM t3 WHERE rowid = $v) 175 SELECT (SELECT t FROM t1 WHERE rowid = $v), [all...] |
tkt3292.test | 13 # routine in cases where the rowid is 0 or 1 in file format 4 30 SELECT * FROM t1 WHERE b>=1; 37 SELECT * FROM t1 WHERE b>=1; 49 SELECT a FROM t2 WHERE b=1 AND c='hello' AND d>=x'012345'; 56 SELECT a FROM t2 WHERE b=1 AND c='hello' AND d>=x'012345';
|
fts3defer.test | 50 1 {SELECT rowid FROM t1 WHERE t1 MATCH '"a dog"'} {1} 51 2 {SELECT rowid FROM t1 WHERE t1 MATCH '"is a dog"'} {1} 52 3 {SELECT rowid FROM t1 WHERE t1 MATCH '"a longer phrase"'} {3} 53 4 {SELECT snippet(t1) FROM t1 WHERE t1 MATCH '"a longer phrase"'} 55 5 {SELECT rowid FROM t1 WHERE t1 MATCH 'a dog'} {1} 61 SELECT count(*) FROM t1_segments WHERE length(block)>10000; 64 WHERE length(block)>10000; 207 UPDATE t1_segments SET block=zeroblob(length(block)) WHERE length(block)>10000 251 SELECT count(*) FROM t1_segments WHERE length(block)>10000 255 SELECT rowid FROM t1 WHERE t1 MATCH 'jk xnxhf [all...] |
fts3d.test | 29 set where "level = $level AND idx = $index" 30 do_test $test.terms [list fts3_terms t1 $where] $terms 39 set where "level = $level AND idx = $index" 40 do_test $test.doclist [list fts3_doclist t1 $term $where] $doclist 57 DELETE FROM t1 WHERE 1=1; -- Delete each row rather than dropping table. 70 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid; 96 DELETE FROM t1 WHERE docid IN (1,3); 113 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid; 137 DELETE FROM t1 WHERE docid IN (1,3); 150 WHERE t1 MATCH 'this OR that OR was OR a OR is OR test' ORDER BY docid [all...] |
tkt3824.test | 43 SELECT a FROM t1 WHERE b IS NULL ORDER BY a; 48 SELECT a FROM t1 WHERE b IS NULL ORDER BY b, a; 63 SELECT a FROM t2 WHERE b=2 AND c IS NULL ORDER BY a; 68 SELECT a FROM t2 WHERE b=2 AND c IS NULL ORDER BY b, a; 73 SELECT a FROM t2 WHERE b=2 AND c IS NULL ORDER BY b; 83 DELETE FROM t3 WHERE y IS NULL; 94 UPDATE t4 SET rowid=rowid+100 WHERE y IS NULL;
|
vtab2.test | 63 SELECT * FROM vars WHERE name='abc'; 71 SELECT * FROM vars WHERE name='A'; 83 WHERE name MATCH 'tcl_*' AND arrayname = '' 97 SELECT * FROM schema WHERE dflt_value IS NULL LIMIT 1 104 WHERE a.rowid=1 124 execsql { SELECT name FROM v_col WHERE tablename = 't1' AND pk } 129 SET to_col = (SELECT name FROM v_col WHERE tablename = 't1' AND pk);
|
fts3near.test | 33 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/0 three'} 36 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/1 two'} 39 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/1 three'} 42 execsql {SELECT docid FROM t1 WHERE content MATCH 'three NEAR/1 one'} 45 execsql {SELECT docid FROM t1 WHERE content MATCH '"one two" NEAR/1 five'} 48 execsql {SELECT docid FROM t1 WHERE content MATCH '"one two" NEAR/2 five'} 51 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR four'} 54 execsql {SELECT docid FROM t1 WHERE content MATCH 'four NEAR three'} 57 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/0 three'} 60 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/2 one' [all...] |
/external/grub/netboot/ |
pci.c | 34 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where & ~3)) 37 unsigned int where, unsigned char *value) 39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); 40 *value = inb(0xCFC + (where&3)); 45 unsigned int device_fn, unsigned int where, unsigned short *value) 47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); 48 *value = inw(0xCFC + (where&2)); 53 unsigned int where, unsigned int *value) 55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8) [all...] |
/external/netperf/ |
nettest_unix.c | 108 -p dir Set the directory where pipes are created\n\ 147 /* should be directed towards "where." family is generally AF_UNIX, */ 162 fprintf(where, 165 fflush(where); 170 fprintf(where,"create_unix_socket: socket %d obtained...\n",temp_socket); 171 fflush(where); 299 fprintf(where,"STREAM STREAM TEST\n"); 301 fprintf(where,cpu_title,format_units()); 303 fprintf(where,tput_title,format_units()); 322 fprintf(where,"send_stream_stream: send_socket obtained...\n") [all...] |
nettest_dlpi.c | 192 fprintf(where,"DLPI CO STREAM TEST\n"); 194 fprintf(where,cpu_title,format_units()); 196 fprintf(where,tput_title,format_units()); 216 fprintf(where,"send_dlpi_co_rr: bind failure\n"); 217 fflush(where); 222 fprintf(where,"send_dlpi_co_stream: send_descriptor obtained...\n"); 228 fprintf(where,"netperf: send_dlpi_co_stream: window send size altered from system default...\n"); 229 fprintf(where," send: %d\n",lsw_size); 234 fprintf(where, 236 fprintf(where," recv: %d\n",lrw_size) [all...] |
netcpu_procstat.c | 61 fprintf(where, 65 fflush(where); 78 fprintf(where, 84 fflush(where); 125 fprintf(where, 131 fflush(where); 155 fprintf(where,"proc_stat_buf '%.*s'\n",proc_stat_buflen,p); 156 fflush(where); 169 fprintf(where,"res[%d] is %llu\n",i,res[i]); 170 fflush(where); [all...] |
/external/javassist/src/main/javassist/bytecode/ |
CodeIterator.java | 641 * @param pos the position where a gap is inserted. 786 * If "where" is the beginning of a block statement and exclusive is false, 788 * "where" must indicate the first byte of an opcode. 794 * @param where It must indicate the first byte of an opcode. 796 static byte[] insertGapCore0(byte[] code, int where, int gapLength, 804 return insertGapCore1(code, where, gapLength, exclusive, etable, ca); 808 return insertGapCore1(code, where, (gapLength + 3) & ~3, 817 private static byte[] insertGapCore1(byte[] code, int where, int gapLength, 824 insertGap2(code, where, gapLength, codeLength, newcode, exclusive); 825 etable.shiftPc(where, gapLength, exclusive) 1061 int where = ldcs.where; local [all...] |
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 90 CREATE TRIGGER contact_cleanup DELETE ON people BEGIN DELETE FROM peopleLookup WHERE source = old._id;DELETE FROM peopleLookupWithPhoneticName WHERE source = old._id;DELETE FROM phones WHERE person = old._id;DELETE FROM contact_methods WHERE person = old._id;DELETE FROM organizations WHERE person = old._id;DELETE FROM groupmembership WHERE person = old._id;DELETE FROM extensions WHERE person = old._id;END; 93 CREATE TRIGGER contact_methods_delete DELETE ON contact_methods BEGIN UPDATE people SET _sync_dirty=1 WHERE people._id=old.person;END; 94 CREATE TRIGGER contact_methods_insert INSERT ON contact_methods BEGIN UPDATE people SET _sync_dirty=1 WHERE people._id=new.person;END; 95 CREATE TRIGGER contact_methods_update UPDATE ON contact_methods BEGIN UPDATE people SET _sync_dirty=1 WHERE people._id=old.person;END [all...] |
/external/chromium_org/third_party/sqlite/src/ext/rtree/ |
rtree5.test | 50 execsql { SELECT count(*) FROM t1 WHERE x1==5 } 53 execsql { SELECT count(*) FROM t1 WHERE x1==5.2 } 56 execsql { SELECT count(*) FROM t1 WHERE x1==5.0 } 68 execsql { SELECT * FROM t1 WHERE id=2 } 72 SELECT * FROM t1 WHERE
|
rtree9.test | 28 SELECT * FROM rt WHERE id MATCH cube(0, 0, 0, 2, 2, 2); 31 SELECT * FROM rt WHERE id MATCH cube(3, 3, 3, 2, 2, 2); 45 SELECT id FROM rt WHERE id MATCH cube(2.5, 2.5, 2.5, 1, 1, 1) ORDER BY id; 48 SELECT id FROM rt WHERE id MATCH cube(5.5, 5.5, 5.5, 1, 1, 1) ORDER BY id; 62 SELECT id FROM rt32 WHERE id MATCH cube(3, 3, 3, 1, 1, 1) ORDER BY id; 65 SELECT id FROM rt32 WHERE id MATCH cube(5.5, 5.5, 5.5, 1, 1, 1) ORDER BY id; 70 SELECT id FROM rt32 WHERE id MATCH cube(5.5, 5.5, 1, 1, 1) ORDER BY id; 74 SELECT id FROM rt WHERE id MATCH randomblob($x) 78 SELECT id FROM rt WHERE id MATCH CAST( 117 SELECT id FROM rt2 WHERE id MATCH circle(0.0, 0.0, 2.0) [all...] |
/external/valgrind/main/memcheck/tests/ |
leak.h | 32 #define PRINT_LEAK_COUNTS(where) \ 34 fprintf(where,"leaked: %3ld bytes in %2ld blocks\n", \ 36 fprintf(where,"dubious: %3ld bytes in %2ld blocks\n", \ 38 fprintf(where,"reachable: %3ld bytes in %2ld blocks\n", \ 40 fprintf(where,"suppressed: %3ld bytes in %2ld blocks\n", \
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.disc/ |
values.pass.cpp | 30 void where(const _Tp &) {} function 40 where(E::block_size); 41 where(E::used_block); 52 where(E::block_size); 53 where(E::used_block);
|
/cts/tests/src/android/app/cts/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 114 final RuntimeException where = new RuntimeException("Original error was here"); local 115 where.fillInStackTrace(); 116 finishWithResult(resultCode, data, where); 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 123 mResultStack = where;
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
AgentWorkgroups.java | 32 * Represents a request for getting the jid of the workgroups where an agent can work or could
33 * represent the result of such request which will contain the list of workgroups JIDs where the
45 * will be received with the jid of the workgroups where the agent can work.
55 * Creates an AgentWorkgroups which will contain the JIDs of the workgroups where an agent can
59 * @param workgroups the list of workgroup JIDs where the agent can work.
71 * Returns a list of workgroup JIDs where the agent can work.
73 * @return a list of workgroup JIDs where the agent can work.
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 113 RuntimeException where = new RuntimeException("Original error was here"); local 114 where.fillInStackTrace(); 115 finishWithResult(resultCode, data, where); 118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 123 mResultStack = where;
|