HomeSort by relevance Sort by last modified time
    Searched refs:cur (Results 1 - 25 of 1519) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/python/cpython2/Doc/includes/sqlite3/
execsql_printall_1.py 7 cur = con.cursor() variable
10 cur.execute("select * from people order by age")
13 print cur.fetchall()
executescript.py 4 cur = con.cursor() variable
5 cur.executescript("""
collation_reverse.py 9 cur = con.cursor() variable
10 cur.execute("create table test(x)")
11 cur.executemany("insert into test(x) values (?)", [("a",), ("b",)])
12 cur.execute("select x from test order by x collate reverse")
13 for row in cur:
createdb.py 13 cur = con.cursor() variable
14 cur.execute("""
22 cur.execute("insert into people (name_last, age) values ('Yeltsin', 72)")
23 cur.execute("insert into people (name_last, age) values ('Putin', 51)")
27 cur.close()
execsql_fetchonerow.py 5 cur = con.cursor() variable
10 cur.execute(SELECT)
11 for (name_last, age) in cur:
15 cur.execute(SELECT)
16 for row in cur:
execute_1.py 4 cur = con.cursor() variable
5 cur.execute("create table people (name_last, age)")
11 cur.execute("insert into people values (?, ?)", (who, age))
14 cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
16 print cur.fetchone()
executemany_2.py 9 cur = con.cursor() variable
10 cur.execute("create table characters(c)")
12 cur.executemany("insert into characters(c) values (?)", char_generator())
14 cur.execute("select c from characters")
15 print cur.fetchall()
execute_3.py 5 cur = con.cursor() variable
10 cur.execute("select name_last, age from people where name_last=:who and age=:age",
12 print cur.fetchone()
mysumaggr.py 15 cur = con.cursor() variable
16 cur.execute("create table test(i)")
17 cur.execute("insert into test(i) values (1)")
18 cur.execute("insert into test(i) values (2)")
19 cur.execute("select mysum(i) from test")
20 print cur.fetchone()[0]
text_factory.py 4 cur = con.cursor() variable
9 cur.execute("select ?", (AUSTRIA,))
10 row = cur.fetchone()
15 cur.execute("select ?", (AUSTRIA,))
16 row = cur.fetchone()
26 cur.execute("select ?", ("this is latin1 and would normally create errors" +
28 row = cur.fetchone()
34 cur.execute("select ?", (AUSTRIA,))
35 row = cur.fetchone()
38 cur.execute("select ?", ("Germany",)
    [all...]
  /external/python/cpython3/Doc/includes/sqlite3/
execsql_printall_1.py 7 cur = con.cursor() variable
10 cur.execute("select * from people order by age")
13 print(cur.fetchall())
executescript.py 4 cur = con.cursor() variable
5 cur.executescript("""
collation_reverse.py 14 cur = con.cursor() variable
15 cur.execute("create table test(x)")
16 cur.executemany("insert into test(x) values (?)", [("a",), ("b",)])
17 cur.execute("select x from test order by x collate reverse")
18 for row in cur:
createdb.py 13 cur = con.cursor() variable
14 cur.execute("""
22 cur.execute("insert into people (name_last, age) values ('Yeltsin', 72)")
23 cur.execute("insert into people (name_last, age) values ('Putin', 51)")
27 cur.close()
execsql_fetchonerow.py 5 cur = con.cursor() variable
10 cur.execute(SELECT)
11 for (name_last, age) in cur:
15 cur.execute(SELECT)
16 for row in cur:
execute_1.py 4 cur = con.cursor() variable
5 cur.execute("create table people (name_last, age)")
11 cur.execute("insert into people values (?, ?)", (who, age))
14 cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
16 print(cur.fetchone())
executemany_2.py 9 cur = con.cursor() variable
10 cur.execute("create table characters(c)")
12 cur.executemany("insert into characters(c) values (?)", char_generator())
14 cur.execute("select c from characters")
15 print(cur.fetchall())
execute_3.py 5 cur = con.cursor() variable
10 cur.execute("select name_last, age from people where name_last=:who and age=:age",
12 print(cur.fetchone())
mysumaggr.py 15 cur = con.cursor() variable
16 cur.execute("create table test(i)")
17 cur.execute("insert into test(i) values (1)")
18 cur.execute("insert into test(i) values (2)")
19 cur.execute("select mysum(i) from test")
20 print(cur.fetchone()[0])
  /external/libxml2/example/
gjobread.c 46 parsePerson(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) {
62 cur = cur->xmlChildrenNode;
63 while (cur != NULL) {
64 if ((!xmlStrcmp(cur->name, (const xmlChar *)"Person")) &&
65 (cur->ns == ns))
66 ret->name = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
67 if ((!xmlStrcmp(cur->name, (const xmlChar *)"Email")) &&
68 (cur->ns == ns))
69 ret->email = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1)
185 xmlNodePtr cur; local
290 gJobPtr cur; local
    [all...]
  /external/libxml2/doc/tutorial/
includekeyword.c 9 parseStory (xmlDocPtr doc, xmlNodePtr cur) {
12 cur = cur->xmlChildrenNode;
13 while (cur != NULL) {
14 if ((!xmlStrcmp(cur->name, (const xmlChar *)"keyword"))) {
15 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
19 cur = cur->next;
28 xmlNodePtr cur;
37 cur = xmlDocGetRootElement(doc)
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
LzHash.h 15 #define HASH2_CALC hv = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 temp ^= ((UInt32)cur[2] << 8); \
27 hv = (temp ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
30 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
LzHash.h 15 #define HASH2_CALC hv = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 temp ^= ((UInt32)cur[2] << 8); \
27 hv = (temp ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
30 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
LzHash.h 15 #define HASH2_CALC hv = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 temp ^= ((UInt32)cur[2] << 8); \
27 hv = (temp ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
30 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
    [all...]
  /external/lzma/C/
LzHash.h 15 #define HASH2_CALC hv = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 temp ^= ((UInt32)cur[2] << 8); \
27 hv = (temp ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
30 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
    [all...]

Completed in 140 milliseconds

1 2 3 4 5 6 7 8 91011>>