Home
last modified time | relevance | path

Searched refs:mmtx (Results 1 – 25 of 38) sorted by relevance

12

/dports/databases/tokyocabinet/tokyocabinet-1.4.48/
H A Dtcfdb.c76 ((TC_fdb)->mmtx ? tcfdblockwal(TC_fdb) : true)
148 if(fdb->mmtx){ in tcfdbdel()
156 pthread_rwlock_destroy(fdb->mmtx); in tcfdbdel()
162 TCFREE(fdb->mmtx); in tcfdbdel()
171 return fdb->mmtx ? in tcfdbecode()
180 if(fdb->mmtx || fdb->fd >= 0){ in tcfdbsetmutex()
205 TCFREE(fdb->mmtx); in tcfdbsetmutex()
211 fdb->mmtx = NULL; in tcfdbsetmutex()
1116 return fdb->mmtx != NULL; in tcfdbhasmutex()
1468 fdb->mmtx = NULL; in tcfdbclear()
[all …]
H A Dtchdb.c226 if(hdb->mmtx){ in tchdbdel()
238 TCFREE(hdb->mmtx); in tchdbdel()
247 return hdb->mmtx ? in tchdbecode()
256 if(hdb->mmtx || hdb->fd >= 0){ in tchdbsetmutex()
283 TCFREE(hdb->mmtx); in tchdbsetmutex()
288 hdb->mmtx = NULL; in tchdbsetmutex()
1267 if(hdb->mmtx){ in tchdbsetecode()
1316 return hdb->mmtx != NULL; in tchdbhasmutex()
2038 hdb->mmtx = NULL; in tchdbclear()
2517 if(hdb->mmtx){ in tchdbfbpsplice()
[all …]
H A Dtcutil.c4148 TCMALLOC(ndb->mmtx, sizeof(pthread_mutex_t)); in tcndbnew2()
4159 pthread_mutex_destroy(ndb->mmtx); in tcndbdel()
4160 TCFREE(ndb->mmtx); in tcndbdel()
4170 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbput()
4186 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbputkeep()
4203 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbputcat()
4219 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbout()
4244 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbget()
4264 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbvsiz()
4281 pthread_mutex_unlock((pthread_mutex_t *)ndb->mmtx); in tcndbiterinit()
[all …]
H A Dtcbdb.c194 if(bdb->mmtx){ in tcbdbdel()
196 pthread_rwlock_destroy(bdb->mmtx); in tcbdbdel()
198 TCFREE(bdb->mmtx); in tcbdbdel()
215 if(bdb->mmtx || bdb->open){ in tcbdbsetmutex()
219 TCMALLOC(bdb->mmtx, sizeof(pthread_rwlock_t)); in tcbdbsetmutex()
226 TCFREE(bdb->mmtx); in tcbdbsetmutex()
228 bdb->mmtx = NULL; in tcbdbsetmutex()
1330 return bdb->mmtx != NULL; in tcbdbhasmutex()
1721 bdb->mmtx = NULL; in tcbdbclear()
3530 if(wr ? pthread_rwlock_wrlock(bdb->mmtx) != 0 : pthread_rwlock_rdlock(bdb->mmtx) != 0){ in tcbdblockmethod()
[all …]
H A Dtctdb.c196 if(tdb->mmtx){ in tctdbdel()
197 pthread_rwlock_destroy(tdb->mmtx); in tctdbdel()
198 TCFREE(tdb->mmtx); in tctdbdel()
215 if(tdb->mmtx || tdb->open){ in tctdbsetmutex()
223 TCFREE(tdb->mmtx); in tctdbsetmutex()
224 tdb->mmtx = NULL; in tctdbsetmutex()
1270 return tdb->mmtx != NULL; in tctdbhasmutex()
1916 tdb->mmtx = NULL; in tctdbclear()
2006 if(tdb->mmtx) tcbdbsetmutex(bdb); in tctdbopenimpl()
2695 if(tdb->mmtx) tcbdbsetmutex(idx->db); in tctdbsetindeximpl()
[all …]
H A Dtcfdb.h40 void *mmtx; /* mutex for method */ member
H A Dtchdb.h40 void *mmtx; /* mutex for method */ member
H A Dtcbdb.h41 void *mmtx; /* mutex for method */ member
H A Dtctdb.h49 void *mmtx; /* mutex for method */ member
H A Dtcutil.h1803 void *mmtx; /* mutex for method */ member
/dports/textproc/tokyodystopia/tokyodystopia-0.9.15/
H A Dtcwdb.c69 wdb->mmtx = tcmalloc(sizeof(pthread_rwlock_t)); in tcwdbnew()
70 if(pthread_rwlock_init(wdb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcwdbnew()
95 pthread_rwlock_destroy(wdb->mmtx); in tcwdbdel()
96 tcfree(wdb->mmtx); in tcwdbdel()
585 if(wr ? pthread_rwlock_wrlock(wdb->mmtx) != 0 : pthread_rwlock_rdlock(wdb->mmtx) != 0){ in tcwdblockmethod()
598 if(pthread_rwlock_unlock(wdb->mmtx) != 0){ in tcwdbunlockmethod()
H A Ddystopia.c65 idb->mmtx = tcmalloc(sizeof(pthread_rwlock_t)); in tcidbnew()
66 if(pthread_rwlock_init(idb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcidbnew()
100 pthread_rwlock_destroy(idb->mmtx); in tcidbdel()
101 tcfree(idb->mmtx); in tcidbdel()
677 if(wr ? pthread_rwlock_wrlock(idb->mmtx) != 0 : pthread_rwlock_rdlock(idb->mmtx) != 0){ in tcidblockmethod()
690 if(pthread_rwlock_unlock(idb->mmtx) != 0){ in tcidbunlockmethod()
H A Ddystopia.h46 void *mmtx; /* mutex for method */ member
H A Dtcwdb.h46 void *mmtx; /* mutex for method */ member
H A Dtcqdb.c83 qdb->mmtx = tcmalloc(sizeof(pthread_rwlock_t)); in tcqdbnew()
84 if(pthread_rwlock_init(qdb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcqdbnew()
107 pthread_rwlock_destroy(qdb->mmtx); in tcqdbdel()
108 tcfree(qdb->mmtx); in tcqdbdel()
1214 if(wr ? pthread_rwlock_wrlock(qdb->mmtx) != 0 : pthread_rwlock_rdlock(qdb->mmtx) != 0){ in tcqdblockmethod()
1227 if(pthread_rwlock_unlock(qdb->mmtx) != 0){ in tcqdbunlockmethod()
H A Dlaputa.c71 jdb->mmtx = tcmalloc(sizeof(pthread_rwlock_t)); in tcjdbnew()
72 if(pthread_rwlock_init(jdb->mmtx, NULL) != 0) tcmyfatal("pthread_rwlock_init failed"); in tcjdbnew()
109 pthread_rwlock_destroy(jdb->mmtx); in tcjdbdel()
110 tcfree(jdb->mmtx); in tcjdbdel()
667 if(wr ? pthread_rwlock_wrlock(jdb->mmtx) != 0 : pthread_rwlock_rdlock(jdb->mmtx) != 0){ in tcjdblockmethod()
680 if(pthread_rwlock_unlock(jdb->mmtx) != 0){ in tcjdbunlockmethod()
H A Dlaputa.h47 void *mmtx; /* mutex for method */ member
H A Dtcqdb.h43 void *mmtx; /* mutex for method */ member
/dports/databases/tokyotyrant/tokyotyrant-1.1.41/
H A Dtcrdb.h40 pthread_mutex_t mmtx; /* mutex for method */ member
H A Dtcrdb.c113 if(pthread_mutex_init(&rdb->mmtx, NULL) != 0) tcmyfatal("pthread_mutex_init failed"); in tcrdbnew()
134 pthread_mutex_destroy(&rdb->mmtx); in tcrdbdel()
1083 if(pthread_mutex_lock(&rdb->mmtx) != 0){ in tcrdblockmethod()
1095 if(pthread_mutex_unlock(&rdb->mmtx) != 0) tcrdbsetecode(rdb, TCEMISC); in tcrdbunlockmethod()
/dports/chinese/scim-tables/scim-tables-0.5.10/tables/zh/
H A DZiranma.txt.in28156 mmtx 免贴 1
/dports/textproc/scim-table-imengine/scim-tables-0.5.10/tables/zh/
H A DZiranma.txt.in28156 mmtx 免贴 1
/dports/japanese/scim-tables/scim-tables-0.5.10/tables/zh/
H A DZiranma.txt.in28156 mmtx 免贴 1
/dports/korean/scim-tables/scim-tables-0.5.10/tables/zh/
H A DZiranma.txt.in28156 mmtx 免贴 1
/dports/chinese/ibus-table-chinese/ibus-table-chinese-1.8.3/tables/wubi-haifeng/
H A DWord.tab58276 山系 mmtx mmtx 90800 36200 127000 0 2

12