/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...] |
/sdk/emulator/opengl/tests/event_injector/ |
emulator-console.c | 83 emulatorConsole_eatInput( EmulatorConsole* con ) 87 int ret = socket_recv(con->fd, temp, sizeof temp); 102 emulatorConsole_sendOutput( EmulatorConsole* con ) 104 if (con->state != STATE_CONNECTED) { 109 while (con->out_msg != NULL) { 110 Msg* msg = con->out_msg; 113 ret = socket_send(con->fd, 121 con->out_msg = msg->next; 129 con->state = STATE_ERROR; 133 iolooper_del_write(con->looper, con->fd) 208 EmulatorConsole* con; local [all...] |
emulator-console.h | 45 void emulatorConsole_sendMouseDown( EmulatorConsole* con, int x, int y ); 46 void emulatorConsole_sendMouseMotion( EmulatorConsole* con, int x, int y ); 47 void emulatorConsole_sendMouseUp( EmulatorConsole* con, int x, int y ); 49 void emulatorConsole_sendKey( EmulatorConsole* con, int keycode, int down );
|
/external/libsepol/include/sepol/ |
context_record.h | 13 extern const char *sepol_context_get_user(const sepol_context_t * con); 16 sepol_context_t * con, const char *user); 19 extern const char *sepol_context_get_role(const sepol_context_t * con); 22 sepol_context_t * con, const char *role); 25 extern const char *sepol_context_get_type(const sepol_context_t * con); 28 sepol_context_t * con, const char *type); 31 extern const char *sepol_context_get_mls(const sepol_context_t * con); 34 sepol_context_t * con, const char *mls_range); 41 const sepol_context_t * con, 44 extern void sepol_context_free(sepol_context_t * con); [all...] |
/external/libselinux/src/ |
freecon.c | 6 void freecon(security_context_t con) 8 free(con);
|
enabled.c | 17 security_context_t con; local 28 if (getcon(&con) == 0) { 29 if (!strcmp(con, "kernel")) 31 freecon(con); 54 if (getcon(&con) == 0) { 55 if (!strcmp(con, "kernel")) 57 freecon(con);
|
/external/oprofile/libpopt/ |
popt.c | 41 static void prtcon(const char *msg, poptContext con) 45 con, con->os, 46 (con->os->nextCharArg ? con->os->nextCharArg : ""), 47 (con->os->nextArg ? con->os->nextArg : ""), 48 con->os->next, 49 (con->os->argv && con->os->argv[con->os->next 173 poptContext con = malloc(sizeof(*con)); local [all...] |
popt.h | 215 * @param con context 221 typedef void (*poptCallbackType) (poptContext con, 248 * @param con context 251 void poptResetContext(/*@null@*/poptContext con) 252 /*@modifies con @*/; 256 * @param con context 259 int poptGetNextOpt(/*@null@*/poptContext con) 261 /*@modifies con, fileSystem, internalState @*/; 265 * @param con context 269 const char * poptGetOptArg(/*@null@*/poptContext con) [all...] |
/external/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/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...] |
factory.py | 44 self.con = sqlite.connect(":memory:", factory=MyConnection) 47 self.con.close() 50 self.assertTrue(isinstance(self.con, 56 self.con = sqlite.connect(":memory:") 59 self.con.close() 62 cur = self.con.cursor(factory=MyCursor) 69 self.con = sqlite.connect(":memory:") 72 cur = self.con.cursor(factory=MyCursor) 81 self.con.close() 85 self.con = sqlite.connect(":memory:" [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...] |
factory.py | 44 self.con = sqlite.connect(":memory:", factory=MyConnection) 47 self.con.close() 50 self.assertTrue(isinstance(self.con, 56 self.con = sqlite.connect(":memory:") 59 self.con.close() 62 cur = self.con.cursor(factory=MyCursor) 69 self.con = sqlite.connect(":memory:") 72 cur = self.con.cursor(factory=MyCursor) 81 self.con.close() 85 self.con = sqlite.connect(":memory:" [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
se-selinux.in.h | 11 static inline int getcon (security_context_t *con _UNUSED_PARAMETER_) 13 static inline void freecon (security_context_t con _UNUSED_PARAMETER_) {} 16 static inline int getfscreatecon (security_context_t *con _UNUSED_PARAMETER_) 18 static inline int setfscreatecon (security_context_t con _UNUSED_PARAMETER_) 22 security_context_t *con _UNUSED_PARAMETER_) 25 security_context_t *con _UNUSED_PARAMETER_) 28 security_context_t *con _UNUSED_PARAMETER_) 31 security_context_t con _UNUSED_PARAMETER_) 34 security_context_t con _UNUSED_PARAMETER_) 37 security_context_t con _UNUSED_PARAMETER_ [all...] |
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
HostConnection.cpp | 58 HostConnection *con = new HostConnection(); local 59 if (NULL == con) { 67 delete con; 73 delete con; 76 con->m_stream = stream; 83 delete con; 90 delete con; 93 con->m_stream = stream; 98 (unsigned int *)con->m_stream->allocBuffer(sizeof(unsigned int)); 100 con->m_stream->commitBuffer(sizeof(unsigned int)) [all...] |
/external/javassist/src/main/javassist/ |
URLClassPath.java | 78 URLConnection con = openClassfile0(classname); local 79 if (con != null) 80 return con.getInputStream(); 103 URLConnection con = openClassfile0(classname); local 104 InputStream is = con.getInputStream(); 107 return con.getURL(); 134 URLConnection con = fetchClass0(host, port, local 136 int size = con.getContentLength(); 137 InputStream s = con.getInputStream(); 174 URLConnection con = url.openConnection() local [all...] |
/libcore/luni/src/main/java/javax/sql/ |
StatementEvent.java | 40 * @param con 47 public StatementEvent(PooledConnection con, PreparedStatement statement, 49 super(con); 57 * @param con 62 public StatementEvent(PooledConnection con, PreparedStatement statement) { 63 this(con, statement, null);
|
/external/libselinux/include/selinux/ |
selinux.h | 19 extern void freecon(security_context_t con); 22 extern void freeconary(security_context_t * con); 26 /* Get current context, and set *con to refer to it. 28 extern int getcon(security_context_t * con); 30 /* Set the current security context to con. 38 extern int setcon(const security_context_t con); 41 set *con to refer to it. Caller must free via freecon. */ 42 extern int getpidcon(pid_t pid, security_context_t * con); 44 /* Get previous context (prior to last exec), and set *con to refer to it. 46 extern int getprevcon(security_context_t * con); [all...] |
/external/oprofile/ |
popt.h | 215 * @param con context 221 typedef void (*poptCallbackType) (poptContext con, 248 * @param con context 251 void poptResetContext(/*@null@*/poptContext con) 252 /*@modifies con @*/; 256 * @param con context 259 int poptGetNextOpt(/*@null@*/poptContext con) 261 /*@modifies con, fileSystem, internalState @*/; 265 * @param con context 269 const char * poptGetOptArg(/*@null@*/poptContext con) [all...] |
/frameworks/base/graphics/jni/ |
android_renderscript_RenderScript.cpp | 125 nContextFinish(JNIEnv *_env, jobject _this, RsContext con) 127 LOG_API("nContextFinish, con(%p)", con); 128 rsContextFinish(con); 132 nAssignName(JNIEnv *_env, jobject _this, RsContext con, jint obj, jbyteArray str) 134 LOG_API("nAssignName, con(%p), obj(%p)", con, (void *)obj); 137 rsAssignName(con, (void *)obj, (const char *)cptr, len); 142 nGetName(JNIEnv *_env, jobject _this, RsContext con, jint obj) 144 LOG_API("nGetName, con(%p), obj(%p)", con, (void *)obj) [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
HttpsURLConnectionTest.java | 40 HttpsURLConnection con = new MyHttpsURLConnection(new URL( local 43 con.getPeerPrincipal(); 50 HttpsURLConnection con = new MyHttpsURLConnection(null); local 51 if (con.getLocalPrincipal() != null) { 65 HttpsURLConnection con = new MyHttpsURLConnection(null); local 67 con.setHostnameVerifier(null); 81 HttpsURLConnection con = new MyHttpsURLConnection(null); local 82 SSLSocketFactory sf = con.getSSLSocketFactory(); 97 HttpsURLConnection con = new MyHttpsURLConnection(null); local 99 con.setSSLSocketFactory(null) [all...] |