Searched refs:DB_GLOBAL (Results 1 - 25 of 42) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/clib/
H A Drand.c18 DB_GLOBAL(rand_next) = DB_GLOBAL(rand_next) * 1103515245 + 12345;
19 return (unsigned int) (DB_GLOBAL(rand_next)/65536) % 32768;
24 DB_GLOBAL(rand_next) = seed;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dlocaltime.c38 DB_GLOBAL(ltm).tm_sec = jt.wSecond; /* seconds (0 - 60) */
39 DB_GLOBAL(ltm).tm_min = jt.wMinute; /* minutes (0 - 59) */
40 DB_GLOBAL(ltm).tm_hour = jt.wHour; /* hours (0 - 23) */
41 DB_GLOBAL(ltm).tm_mday = jt.wDay; /* day of month (1 - 31) */
42 DB_GLOBAL(ltm).tm_mon = jt.wMonth - 1; /* month of year (0 - 11) */
44 DB_GLOBAL(ltm).tm_year = jt.wYear - 1900;
46 DB_GLOBAL(ltm).tm_wday = (jt.wWeekDay + 1) % 7;
48 switch (DB_GLOBAL(ltm).tm_mon) {
63 DB_GLOBAL(ltm).tm_yday = increment + DB_GLOBAL(lt
[all...]
H A Dglobals.c34 TAILQ_INIT(&DB_GLOBAL(envq));
35 DB_GLOBAL(db_line) =
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/common/
H A Dos_method.c20 DB_GLOBAL(j_close) = func_close;
31 DB_GLOBAL(j_dirfree) = func_dirfree;
43 DB_GLOBAL(j_dirlist) = func_dirlist;
54 DB_GLOBAL(j_exists) = func_exists;
65 DB_GLOBAL(j_free) = func_free;
76 DB_GLOBAL(j_fsync) = func_fsync;
87 DB_GLOBAL(j_ftruncate) = func_ftruncate;
100 DB_GLOBAL(j_ioinfo) = func_ioinfo;
111 DB_GLOBAL(j_malloc) = func_malloc;
125 DB_GLOBAL(j_file_ma
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Dmutex.h134 if (DB_GLOBAL(db_global_init)) \
135 (void)semTake(DB_GLOBAL(db_global_lock), WAIT_FOREVER); \
138 if (DB_GLOBAL(db_global_init)) { \
140 (void)semTake(DB_GLOBAL(db_global_lock), \
144 DB_GLOBAL(db_global_lock) = \
146 if (DB_GLOBAL(db_global_lock) != NULL) \
147 DB_GLOBAL(db_global_init) = 1; \
150 } while (DB_GLOBAL(db_global_init) == 0)
151 #define DB_END_SINGLE_THREAD (void)semGive(DB_GLOBAL(db_global_lock))
H A Dglobals.h75 #define DB_GLOBAL(v) \ macro
121 #define DB_GLOBAL(v) __db_global_values.v macro
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/xa/
H A Dxa_map.c32 env = TAILQ_FIRST(&DB_GLOBAL(envq));
45 TAILQ_REMOVE(&DB_GLOBAL(envq), env, links);
46 TAILQ_INSERT_HEAD(&DB_GLOBAL(envq), env, links);
83 TAILQ_INSERT_TAIL(&DB_GLOBAL(envq), env, links);
99 for (e = TAILQ_FIRST(&DB_GLOBAL(envq));
107 TAILQ_REMOVE(&DB_GLOBAL(envq), e, links);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os/
H A Dos_uid.c48 if (DB_GLOBAL(uid_init) == 0) {
49 DB_GLOBAL(uid_init) = 1;
H A Dos_fid.c122 if (DB_GLOBAL(fid_serial) == 0) {
124 DB_GLOBAL(fid_serial) = (u_int32_t)pid;
126 DB_GLOBAL(fid_serial) += 100000;
129 &DB_GLOBAL(fid_serial), i = sizeof(u_int32_t); i > 0; --i)
H A Dos_rename.c36 if (DB_GLOBAL(j_rename) != NULL)
37 ret = DB_GLOBAL(j_rename)(oldname, newname);
H A Dos_truncate.c45 if (DB_GLOBAL(j_ftruncate) != NULL)
46 ret = DB_GLOBAL(j_ftruncate)(fhp->fd, offset);
H A Dos_unlink.c40 if (DB_GLOBAL(j_unlink) != NULL)
41 ret = DB_GLOBAL(j_unlink)(path);
H A Dos_dir.c43 if (DB_GLOBAL(j_dirlist) != NULL)
44 return (DB_GLOBAL(j_dirlist)(dir, namesp, cntp));
112 if (DB_GLOBAL(j_dirfree) != NULL)
113 DB_GLOBAL(j_dirfree)(names, cnt);
H A Dos_stat.c35 if (DB_GLOBAL(j_exists) != NULL)
36 return (DB_GLOBAL(j_exists)(path, isdirp));
74 if (DB_GLOBAL(j_ioinfo) != NULL)
75 return (DB_GLOBAL(j_ioinfo)(path,
H A Dos_alloc.c65 if (DB_GLOBAL(j_malloc) != NULL)
66 *(void **)storep = DB_GLOBAL(j_malloc)(size);
121 if (DB_GLOBAL(j_realloc) != NULL)
122 *(void **)storep = DB_GLOBAL(j_realloc)(ptr, size);
167 else if (DB_GLOBAL(j_free) != NULL)
168 DB_GLOBAL(j_free)(ptr);
250 if (DB_GLOBAL(j_malloc) != NULL)
251 p = DB_GLOBAL(j_malloc)(size);
333 if (DB_GLOBAL(j_realloc) != NULL)
334 p = DB_GLOBAL(j_reallo
[all...]
H A Dos_rw.c57 if (DB_GLOBAL(j_read) != NULL)
69 nio = DB_GLOBAL(j_pread) != NULL ?
70 DB_GLOBAL(j_pread)(fhp->fd, buf, io_len, offset) :
74 if (DB_GLOBAL(j_write) != NULL)
90 nio = DB_GLOBAL(j_pwrite) != NULL ?
91 DB_GLOBAL(j_pwrite)(fhp->fd, buf, io_len, offset) :
157 if (DB_GLOBAL(j_read) != NULL) {
160 if (DB_GLOBAL(j_read)(fhp->fd, addr, len) != (ssize_t)len) {
254 if (DB_GLOBAL(j_write) != NULL) {
257 if (DB_GLOBAL(j_writ
[all...]
H A Dos_fsync.c78 if (DB_GLOBAL(j_fsync) != NULL)
79 ret = DB_GLOBAL(j_fsync)(fhp->fd);
H A Dos_seek.c46 if (DB_GLOBAL(j_seek) != NULL)
47 ret = DB_GLOBAL(j_seek)(fhp->fd, offset, SEEK_SET);
H A Dos_yield.c38 if (DB_GLOBAL(j_yield) != NULL) {
39 (void)DB_GLOBAL(j_yield)(secs, usecs);
H A Dos_handle.c53 if (DB_GLOBAL(j_open) != NULL) {
54 if ((fhp->fd = DB_GLOBAL(j_open)(name, flags, mode)) == -1) {
222 if (DB_GLOBAL(j_close) != NULL)
223 ret = DB_GLOBAL(j_close)(fhp->fd);
H A Dos_map.c55 if (DB_GLOBAL(j_region_map) != NULL) {
62 ret = DB_GLOBAL(j_region_map)
265 if (DB_GLOBAL(j_region_unmap) != NULL)
266 return (DB_GLOBAL(j_region_unmap)(dbenv, infop->addr));
341 if (DB_GLOBAL(j_file_map) != NULL) {
350 DB_GLOBAL(j_file_map)(dbenv, path, len, is_rdonly, addrp));
391 if (DB_GLOBAL(j_file_unmap) != NULL)
392 return (DB_GLOBAL(j_file_unmap)(dbenv, addr));
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_windows/
H A Dos_fid.c116 if (DB_GLOBAL(fid_serial) == 0) {
118 DB_GLOBAL(fid_serial) = (u_int32_t)pid;
120 DB_GLOBAL(fid_serial) += 100000;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/env/
H A Denv_stat.c93 __db_msg(env, "%s", DB_GLOBAL(db_line));
97 __db_msg(env, "%s", DB_GLOBAL(db_line));
103 __db_msg(env, "%s", DB_GLOBAL(db_line));
109 __db_msg(env, "%s", DB_GLOBAL(db_line));
115 __db_msg(env, "%s", DB_GLOBAL(db_line));
121 __db_msg(env, "%s", DB_GLOBAL(db_line));
133 __db_msg(env, "%s", DB_GLOBAL(db_line));
160 __db_msg(env, "%s", DB_GLOBAL(db_line));
260 __db_msg(env, "%s", DB_GLOBAL(db_line));
409 __db_msg(env, "%s", DB_GLOBAL(db_lin
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/build_brew/
H A Derrno.h44 #define errno DB_GLOBAL(db_errno)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/build_wince/
H A Derrno.h44 #define errno DB_GLOBAL(db_errno)

Completed in 170 milliseconds

12