Home
last modified time | relevance | path

Searched refs:database (Results 1 – 25 of 103) sorted by relevance

12345

/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb1.c169 smdb1_close(database) in smdb1_close() argument
170 SMDB_DATABASE *database; in smdb1_close()
173 SMDB_DB1_DATABASE *db1 = (SMDB_DB1_DATABASE *) database->smdb_impl;
174 DB *db = ((SMDB_DB1_DATABASE *) database->smdb_impl)->smdb1_db;
181 database->smdb_impl = NULL;
187 smdb1_del(database, key, flags) in smdb1_del() argument
188 SMDB_DATABASE *database; in smdb1_del()
192 DB *db = ((SMDB_DB1_DATABASE *) database->smdb_impl)->smdb1_db;
202 smdb1_fd(database, fd) in smdb1_fd() argument
203 SMDB_DATABASE *database; in smdb1_fd()
[all …]
H A Dsmndbm.c91 smdbm_close(database) in smdbm_close() argument
92 SMDB_DATABASE *database; in smdbm_close()
94 SMDB_DBM_DATABASE *db = (SMDB_DBM_DATABASE *) database->smdb_impl;
95 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
102 database->smdb_impl = NULL;
108 smdbm_del(database, key, flags) in smdbm_del() argument
109 SMDB_DATABASE *database; in smdbm_del()
114 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
139 smdbm_fd(database, fd) in smdbm_fd() argument
140 SMDB_DATABASE *database; in smdbm_fd()
[all …]
H A Dsmdb2.c225 smdb2_close(database) in smdb2_close() argument
226 SMDB_DATABASE *database; in smdb2_close()
229 SMDB_DB2_DATABASE *db2 = (SMDB_DB2_DATABASE *) database->smdb_impl;
230 DB *db = ((SMDB_DB2_DATABASE *) database->smdb_impl)->smdb2_db;
237 database->smdb_impl = NULL;
243 smdb2_del(database, key, flags) in smdb2_del() argument
244 SMDB_DATABASE *database; in smdb2_del()
248 DB *db = ((SMDB_DB2_DATABASE *) database->smdb_impl)->smdb2_db;
258 smdb2_fd(database, fd) in smdb2_fd() argument
259 SMDB_DATABASE *database; in smdb2_fd()
[all …]
H A Dsmdb.c59 smdb_free_database(database) in smdb_free_database() argument
60 SMDB_DATABASE *database; in smdb_free_database()
62 if (database != NULL)
63 free(database);
190 smdb_open_database(database, db_name, mode, mode_mask, sff, type, user_info, in smdb_open_database() argument
192 SMDB_DATABASE **database; in smdb_open_database()
224 result = smdb_db_open(database, db_name, mode, mode_mask, sff,
242 result = smdb_ndbm_open(database, db_name, mode, mode_mask,
375 smdb_lock_map(database, type) in smdb_lock_map() argument
376 SMDB_DATABASE *database; in smdb_lock_map()
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c46 const char *database; member
190 list(char *database, char *ldapfilter, char **ldapattribute, in list() argument
200 if (database) { in list()
201 for (i = 0; databaselist[i].database; i++) { in list()
202 if (strcmp(databaselist[i].database, database) == 0) { in list()
206 if (strcmp(databaselist[i].database, in list()
208 strncmp(database, NS_LDAP_TYPE_AUTOMOUNT, in list()
218 rc = __ns_ldap_list_sort(database, (const char *)ldapfilter, in list()
257 char *database = NULL; in main() local
377 database = argv[optind++]; in main()
[all …]
H A Dmapping.c37 char *database; member
122 for (i = 0; maplist[i].database != NULL; i++) { in printMapping()
124 if (strcasecmp(maplist[i].database, "shadow") == 0) in printMapping()
131 if ((strcasecmp(maplist[i].database, "tnrhdb") == 0) || in printMapping()
132 (strcasecmp(maplist[i].database, "tnrhtp") == 0)) in printMapping()
135 (void) fprintf(stdout, "%-15s%-20s%s\n", maplist[i].database, in printMapping()
293 set_filter_publickey(char **key, char *database, int type, char **udata) in set_filter_publickey() argument
302 if (!database || !udata) { in set_filter_publickey()
306 if (strcasecmp(database, maplist[PUBLICKEY].database) == SAME) { in set_filter_publickey()
377 set_filter(char **key, char *database, char **udata) in set_filter() argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/util/
H A Deditmap.c97 SMDB_DATABASE *database; local
287 errno = smdb_open_database(&database, mapname, mode, smode, sff,
306 (void) database->smdb_sync(database, 0);
310 errno = database->smdb_set_owner(database, TrustedUid, -1);
330 errno = database->smdb_get(database, &db_key, &db_val, 0);
359 errno = database->smdb_put(database, &db_key, &db_val,
380 errno = database->smdb_del(database, &db_key, 0);
410 errno = database->smdb_close(database);
417 smdb_free_database(database);
H A Dmakemap.c99 SMDB_DATABASE *database; local
320 errno = smdb_open_database(&database, mapname, mode, smode, sff,
339 (void) database->smdb_sync(database, 0);
343 errno = database->smdb_set_owner(database, TrustedUid, -1);
359 errno = database->smdb_cursor(database, &cursor, 0);
472 errno = database->smdb_put(database, &db_key, &db_val,
514 errno = database->smdb_close(database);
522 smdb_free_database(database);
H A Dpraliases.c242 SMDB_DATABASE *database = NULL; local
306 result = smdb_open_database(&database, db_name, O_RDONLY, 0,
321 result = database->smdb_cursor(database, &cursor, 0);
369 get_res = database->smdb_get(database, &db_key, &db_value, 0);
373 get_res = database->smdb_get(database, &db_key,
394 if (database != NULL)
395 (void) database->smdb_close(database);
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dattach.test75 } {1 {cannot attach empty database: three}}
85 } {1 {no such database: three}}
112 } {1 {database db2 is already in use}}
117 } {1 {database db5 is already in use}}
122 } {1 {database db9 is already in use}}
127 } {1 {database main is already in use}}
132 } {1 {database temp is already in use}}
137 } {1 {database MAIN is already in use}}
170 } {1 {no such database: db14}}
180 } {1 {no such database: db12}}
[all …]
H A Dlock.test13 # focus of this script is database locks.
21 # Create an alternative connection to the database
41 #} {1 {database schema has changed}}
68 } {1 {database is locked}}
111 } {1 {database table is locked}}
139 # Under UNIX you can do two SELECTs at once with different database
161 } {1 {database is locked}}
168 } {1 {database is locked}}
183 } {1 {database is locked} {{} 1}}
194 } {1 {database is locked} {1 2 3 4 5}}
[all …]
H A Dversion.test24 # Create a new database
170 # Try to do an upgrade where the database file is read-only
182 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
186 } {1 {unable to upgrade database to the version 2.6 format: attempt to write a readonly database}}
190 set txt "This is not a valid database file\n"
196 } {1 {file is encrypted or is not a database}}
H A Dtemptable.test21 # Create an alternative connection to the database
184 #} {1 {database schema has changed}}
245 #} {1 {database schema has changed}}
298 #} {1 {database schema has changed}}
353 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
361 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
366 } {1 {attempt to write a readonly database}}
380 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
386 } {1 {attempt to write a readonly database}}
H A Dmisc2.test119 # Make sure we can open a database with an empty filename. What this
120 # does is store the database in a temporary file that is deleted when
121 # the database is closed. Ticket #432.
151 } {1 {database table is locked}}
159 } {1 {database table is locked}}
174 } {1 {database table is locked}}
182 } {1 {database table is locked}}
H A Dbtree2.test13 # focus of this script is btree database backend
23 # Create a new database file containing no entries. The database should
61 # database while simultaneously maintaining an invariant on that database.
62 # Periodically, the script does a sanity check on the database and verifies
92 # The following function builds a database that satisfies all of the above
125 # Verify the invariants on the database. Return an empty string on
189 # Make random changes to the database such that each change preserves
273 # Repeat this test sequence on database of various sizes
332 # For each database size, run various changes tests.
H A Dtrans.test13 # focus of this script is database locks.
100 } {1 {database is locked}}
106 } {1 {database is locked}}
118 } {1 {database is locked}}
124 } {1 {database is locked}}
136 } {1 {database is locked}}
142 } {1 {database is locked}}
196 } {1 {database is locked}}
202 } {1 {database is locked}}
215 } {1 {database is locked}}
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc144 if (current->database != NULL) delete current->database; in delete_table_desc()
160 newtab->database = NULL; in create_table_desc()
1046 ret = tbl->database->dump(outfile) ? DB_SUCCESS : DB_INTERNAL_ERROR; in copyfile()
1074 tbl_ent.database = tbl->database; in extract_entries()
1449 if (tbl->database != NULL) in db_standby()
1450 tbl->database->close_log(); in db_standby()
1567 if (tbl->database != NULL || !doLoad) { in find_table_noLDAP()
1568 if (tbl->database && where) *where = tbl; in find_table_noLDAP()
1570 return (tbl->database); // return handle in find_table_noLDAP()
1576 if (tbl->database != NULL) { in find_table_noLDAP()
[all …]
/illumos-gate/usr/src/tools/onbld/Checks/
H A DDbLookups.py77 for database in priority:
78 if database not in self.VALID_DBS:
79 raise BugDBException(database)
117 for database in self.__priority:
118 if database == "illumos":
/illumos-gate/usr/src/tools/smatch/src/Documentation/
H A Dsmatch.txt27 Smatch can be used with a cross function database. It's not mandatory to
28 build the database but it's a useful thing to do. Building the database
30 the database with:
37 database by running the script:
41 Each time you rebuild the cross function database it becomes more accurate. I
42 normally rebuild the database every morning.
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dsqlite.h.in56 ** Each open sqlite database is represented by an instance of the
62 ** A function to open a new sqlite database.
64 ** If the database does not exist and mode indicates write
65 ** permission, then a new database is created. If the database
71 ** database is opened read-only.
75 ** ability to open a database readonly. The mode parameters is
81 ** A function to close the database.
84 ** returned from sqlite_open() and the corresponding database will by closed.
128 ** If the query could not be executed because a database file is
134 sqlite*, /* An open database */
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/pod/
H A DProject.pod42 offset of the failed attribute assignment in the project database is returned.
52 This function returns the next entry from the project database. When called in
64 This function rewinds the project database to the beginning of the file.
68 This function closes the project database.
72 This function searches the project database for an entry with the specified
78 This function searches the project database for an entry with the specified
103 This function searches the project database for the specified project. It
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dreport1.txt1 The SQL database used for ACD contains 113 tables and indices implemented
57 database entries have a combined key and data size of less than
58 144 bytes. So if a leaf node in the new database is able to
H A Dspaceanal.tcl36 name clob, -- Name of a table or index in the database file
212 statline {Number of tables in the database} $ntable
271 The number of 1024-byte pages that go into forming the complete database
291 Number of tables in the database
311 The total amount of disk space used by the entire database files.
323 the database schema information stored in the SQLITE_MASTER table. The
327 Percentage of total database
329 The amount of the complete database file that is devoted to storing
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dldap_common.c128 char *database, char *searchfilter, char *domain, in _nss_ldap_lookup() argument
142 (void) fprintf(stdout, "\tdatabase: %s\n", database); in _nss_ldap_lookup()
147 if ((rc = __ns_ldap_list(database, searchfilter, init_filter_cb, in _nss_ldap_lookup()
251 char *database, char *searchfilter, const char * const *attrs, in _nss_ldap_nocb_lookup() argument
265 (void) fprintf(stdout, "\tdatabase: %s\n", database); in _nss_ldap_nocb_lookup()
272 if ((rc = __ns_ldap_list(database, searchfilter, init_filter_cb, in _nss_ldap_nocb_lookup()
H A Dldap_common.h142 nss_XbyY_args_t *argp, char *database,
149 nss_XbyY_args_t *argp, char *database,

12345