/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/clib/ |
H A D | rand.c | 18 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 D | localtime.c | 38 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 D | globals.c | 34 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 D | os_method.c | 20 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 D | mutex.h | 134 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 D | globals.h | 75 #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 D | xa_map.c | 32 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 D | os_uid.c | 48 if (DB_GLOBAL(uid_init) == 0) { 49 DB_GLOBAL(uid_init) = 1;
|
H A D | os_fid.c | 122 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 D | os_rename.c | 36 if (DB_GLOBAL(j_rename) != NULL) 37 ret = DB_GLOBAL(j_rename)(oldname, newname);
|
H A D | os_truncate.c | 45 if (DB_GLOBAL(j_ftruncate) != NULL) 46 ret = DB_GLOBAL(j_ftruncate)(fhp->fd, offset);
|
H A D | os_unlink.c | 40 if (DB_GLOBAL(j_unlink) != NULL) 41 ret = DB_GLOBAL(j_unlink)(path);
|
H A D | os_dir.c | 43 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 D | os_stat.c | 35 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 D | os_alloc.c | 65 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 D | os_rw.c | 57 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 D | os_fsync.c | 78 if (DB_GLOBAL(j_fsync) != NULL) 79 ret = DB_GLOBAL(j_fsync)(fhp->fd);
|
H A D | os_seek.c | 46 if (DB_GLOBAL(j_seek) != NULL) 47 ret = DB_GLOBAL(j_seek)(fhp->fd, offset, SEEK_SET);
|
H A D | os_yield.c | 38 if (DB_GLOBAL(j_yield) != NULL) { 39 (void)DB_GLOBAL(j_yield)(secs, usecs);
|
H A D | os_handle.c | 53 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 D | os_map.c | 55 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 D | os_fid.c | 116 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 D | env_stat.c | 93 __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 D | errno.h | 44 #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 D | errno.h | 44 #define errno DB_GLOBAL(db_errno)
|