/external/selinux/libselinux/src/ |
freeconary.c | 6 void freeconary(char ** con) 10 if (!con) 13 for (ptr = con; *ptr; ptr++) { 16 free(con);
|
freecon.c | 6 void freecon(char * con) 8 free(con);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndcommon.c | 26 NJ_INT16 njd_connect_test(NJ_SEARCH_CONDITION *con, NJ_UINT16 hinsiF, NJ_UINT16 hinsiR) 30 if (con->hinsi.fore != NULL) { 36 if (hinsiF >= con->hinsi.foreSize) { 39 if (*(con->hinsi.fore + (hinsiF / 8)) & (0x80 >> (hinsiF % 8))) { 41 if (con->hinsi.foreFlag != 0) { 47 if (con->hinsi.foreFlag == 0) { 55 if (con->hinsi.rear != NULL) { 61 if (hinsiR >= con->hinsi.rearSize) { 64 if (*(con->hinsi.rear + (hinsiR / 8)) & (0x80 >> (hinsiR % 8))) { 66 if (con->hinsi.rearFlag != 0) [all...] |
/external/selinux/libsemanage/src/ |
context_record.c | 12 const char *semanage_context_get_user(const semanage_context_t * con) 15 return sepol_context_get_user(con); 19 semanage_context_t * con, const char *user) 22 return sepol_context_set_user(handle->sepolh, con, user); 26 const char *semanage_context_get_role(const semanage_context_t * con) 29 return sepol_context_get_role(con); 33 semanage_context_t * con, const char *role) 36 return sepol_context_set_role(handle->sepolh, con, role); 40 const char *semanage_context_get_type(const semanage_context_t * con) 43 return sepol_context_get_type(con); [all...] |
/external/selinux/libsemanage/include/semanage/ |
context_record.h | 15 extern const char *semanage_context_get_user(const semanage_context_t * con); 18 semanage_context_t * con, 22 extern const char *semanage_context_get_role(const semanage_context_t * con); 25 semanage_context_t * con, 29 extern const char *semanage_context_get_type(const semanage_context_t * con); 32 semanage_context_t * con, 36 extern const char *semanage_context_get_mls(const semanage_context_t * con); 39 semanage_context_t * con, 47 const semanage_context_t * con, 50 extern void semanage_context_free(semanage_context_t * con); [all...] |
/external/selinux/libsepol/include/sepol/ |
context_record.h | 16 extern const char *sepol_context_get_user(const sepol_context_t * con); 19 sepol_context_t * con, const char *user); 22 extern const char *sepol_context_get_role(const sepol_context_t * con); 25 sepol_context_t * con, const char *role); 28 extern const char *sepol_context_get_type(const sepol_context_t * con); 31 sepol_context_t * con, const char *type); 34 extern const char *sepol_context_get_mls(const sepol_context_t * con); 37 sepol_context_t * con, const char *mls_range); 44 const sepol_context_t * con, 47 extern void sepol_context_free(sepol_context_t * con); [all...] |
/external/libselinux/src/ |
freecon.c | 6 void freecon(char * con) 8 free(con);
|
/libcore/ojluni/src/main/java/javax/sql/ |
ConnectionEvent.java | 52 * @param con the pooled connection that is the source of the event 53 * @throws IllegalArgumentException if <code>con</code> is null. 55 public ConnectionEvent(PooledConnection con) { 56 super(con); 64 * @param con the pooled connection that is the source of the event 66 * @throws IllegalArgumentException if <code>con</code> is null. 68 public ConnectionEvent(PooledConnection con, SQLException ex) { 69 super(con);
|
/external/gptfdisk/ |
android_popt.cc | 62 poptContext con = (poptContext) calloc(1, sizeof(struct _poptContext)); local 63 con->argc = argc; 64 con->argv = argv; 65 con->options = options; 66 con->long_options = long_options; 67 return con; 70 poptContext poptFreeContext(poptContext con) { 71 free(con->long_options); 72 free(con); 76 void poptResetContext(poptContext con) { [all...] |
/external/selinux/libsepol/src/ |
context_record.c | 25 const char *sepol_context_get_user(const sepol_context_t * con) 28 return con->user; 34 sepol_context_t * con, const char *user) 44 free(con->user); 45 con->user = tmp_user; 52 const char *sepol_context_get_role(const sepol_context_t * con) 55 return con->role; 61 sepol_context_t * con, const char *role) 70 free(con->role); 71 con->role = tmp_role 133 sepol_context_t *con = local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/sqlite3/test/ |
regression.py | 30 self.con = sqlite.connect(":memory:") 33 self.con.close() 37 cur = self.con.cursor() 42 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES) 44 cur = self.con.cursor() 48 con.close() 54 con = sqlite.connect(":memory:", cached_statements=5) 55 cursors = [con.cursor() for x in xrange(5)] 63 con.rollback() 66 cur = self.con.cursor( [all...] |
hooks.py | 35 con = sqlite.connect(":memory:") 37 con.create_collation("X", 42) 43 con = sqlite.connect(":memory:") 45 con.create_collation("coll?", cmp) 57 con = sqlite.connect(":memory:") 58 con.create_collation("mycoll", mycoll) 68 result = con.execute(sql).fetchall() 72 con.create_collation("mycoll", None) 74 result = con.execute(sql).fetchall() 83 con = sqlite.connect(":memory:" [all...] |
py25tests.py | 39 self.con = sqlite.connect(":memory:", factory=MyConnection) 40 self.con.execute("create table test(c unique)") 44 self.con.close() 48 with self.con: 53 with self.con: 54 self.con.execute("insert into test(c) values ('foo')") 55 self.con.rollback() 56 count = self.con.execute("select count(*) from test").fetchone()[0] 64 with self.con: 65 self.con.execute("insert into test(c) values (4)" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/sqlite3/test/ |
regression.py | 30 self.con = sqlite.connect(":memory:") 33 self.con.close() 37 cur = self.con.cursor() 42 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES) 44 cur = self.con.cursor() 48 con.close() 54 con = sqlite.connect(":memory:", cached_statements=5) 55 cursors = [con.cursor() for x in xrange(5)] 63 con.rollback() 66 cur = self.con.cursor( [all...] |
hooks.py | 35 con = sqlite.connect(":memory:") 37 con.create_collation("X", 42) 43 con = sqlite.connect(":memory:") 45 con.create_collation("coll?", cmp) 57 con = sqlite.connect(":memory:") 58 con.create_collation("mycoll", mycoll) 68 result = con.execute(sql).fetchall() 72 con.create_collation("mycoll", None) 74 result = con.execute(sql).fetchall() 83 con = sqlite.connect(":memory:" [all...] |
py25tests.py | 39 self.con = sqlite.connect(":memory:", factory=MyConnection) 40 self.con.execute("create table test(c unique)") 44 self.con.close() 48 with self.con: 53 with self.con: 54 self.con.execute("insert into test(c) values ('foo')") 55 self.con.rollback() 56 count = self.con.execute("select count(*) from test").fetchone()[0] 64 with self.con: 65 self.con.execute("insert into test(c) values (4)" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/ |
regression.py | 30 self.con = sqlite.connect(":memory:") 33 self.con.close() 37 cur = self.con.cursor() 42 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES) 44 cur = self.con.cursor() 48 con.close() 54 con = sqlite.connect(":memory:", cached_statements=5) 55 cursors = [con.cursor() for x in xrange(5)] 63 con.rollback() 66 cur = self.con.cursor( [all...] |
hooks.py | 35 con = sqlite.connect(":memory:") 37 con.create_collation("X", 42) 43 con = sqlite.connect(":memory:") 45 con.create_collation("coll?", cmp) 57 con = sqlite.connect(":memory:") 58 con.create_collation("mycoll", mycoll) 68 result = con.execute(sql).fetchall() 72 con.create_collation("mycoll", None) 74 result = con.execute(sql).fetchall() 83 con = sqlite.connect(":memory:" [all...] |
py25tests.py | 39 self.con = sqlite.connect(":memory:", factory=MyConnection) 40 self.con.execute("create table test(c unique)") 44 self.con.close() 48 with self.con: 53 with self.con: 54 self.con.execute("insert into test(c) values ('foo')") 55 self.con.rollback() 56 count = self.con.execute("select count(*) from test").fetchone()[0] 64 with self.con: 65 self.con.execute("insert into test(c) values (4)" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/ |
regression.py | 30 self.con = sqlite.connect(":memory:") 33 self.con.close() 37 cur = self.con.cursor() 42 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES) 44 cur = self.con.cursor() 48 con.close() 54 con = sqlite.connect(":memory:", cached_statements=5) 55 cursors = [con.cursor() for x in xrange(5)] 63 con.rollback() 66 cur = self.con.cursor( [all...] |
hooks.py | 35 con = sqlite.connect(":memory:") 37 con.create_collation("X", 42) 43 con = sqlite.connect(":memory:") 45 con.create_collation("coll?", cmp) 57 con = sqlite.connect(":memory:") 58 con.create_collation("mycoll", mycoll) 68 result = con.execute(sql).fetchall() 72 con.create_collation("mycoll", None) 74 result = con.execute(sql).fetchall() 83 con = sqlite.connect(":memory:" [all...] |
py25tests.py | 39 self.con = sqlite.connect(":memory:", factory=MyConnection) 40 self.con.execute("create table test(c unique)") 44 self.con.close() 48 with self.con: 53 with self.con: 54 self.con.execute("insert into test(c) values ('foo')") 55 self.con.rollback() 56 count = self.con.execute("select count(*) from test").fetchone()[0] 64 with self.con: 65 self.con.execute("insert into test(c) values (4)" [all...] |
/external/libselinux/include/selinux/ |
selinux.h | 20 extern void freecon(char * con); 23 extern void freeconary(char ** con); 27 /* Get current context, and set *con to refer to it. 29 extern int getcon(char ** con); 31 /* Set the current security context to con. 39 extern int setcon(const char * con); 42 set *con to refer to it. Caller must free via freecon. */ 43 extern int getpidcon(pid_t pid, char ** con); 45 /* Get previous context (prior to last exec), and set *con to refer to it. 47 extern int getprevcon(char ** con); [all...] |
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
ConfigurationDeviceInfo.java | 29 Configuration con = getInstrumentation().getContext().getResources().getConfiguration(); local 30 store.addResult("touchscreen", con.touchscreen); 31 store.addResult("navigation", con.navigation); 32 store.addResult("keyboard", con.keyboard);
|
/external/selinux/libselinux/include/selinux/ |
selinux.h | 20 extern void freecon(char * con); 23 extern void freeconary(char ** con); 27 /* Get current context, and set *con to refer to it. 29 extern int getcon(char ** con); 30 extern int getcon_raw(char ** con); 32 /* Set the current security context to con. 40 extern int setcon(const char * con); 41 extern int setcon_raw(const char * con); 44 set *con to refer to it. Caller must free via freecon. */ 45 extern int getpidcon(pid_t pid, char ** con); [all...] |