Home
last modified time | relevance | path

Searched refs:database (Results 1 – 25 of 102) 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()
188 SMDB_DATABASE *database; in smdb1_del()
202 smdb1_fd(database, fd) in smdb1_fd() argument
203 SMDB_DATABASE *database; in smdb1_fd()
216 smdb1_lockfd(database) in smdb1_lockfd() argument
217 SMDB_DATABASE *database; in smdb1_lockfd()
227 SMDB_DATABASE *database; in smdb1_get()
255 SMDB_DATABASE *database; in smdb1_put()
504 *database = NULL;
[all …]
H A Dsmndbm.c91 smdbm_close(database) in smdbm_close() argument
92 SMDB_DATABASE *database; in smdbm_close()
109 SMDB_DATABASE *database; in smdbm_del()
139 smdbm_fd(database, fd) in smdbm_fd() argument
140 SMDB_DATABASE *database; in smdbm_fd()
153 smdbm_lockfd(database) in smdbm_lockfd() argument
154 SMDB_DATABASE *database; in smdbm_lockfd()
163 SMDB_DATABASE *database; in smdbm_get()
197 SMDB_DATABASE *database; in smdbm_put()
505 *database = NULL;
[all …]
H A Dsmdb2.c225 smdb2_close(database) in smdb2_close() argument
226 SMDB_DATABASE *database; in smdb2_close()
244 SMDB_DATABASE *database; in smdb2_del()
258 smdb2_fd(database, fd) in smdb2_fd() argument
259 SMDB_DATABASE *database; in smdb2_fd()
268 smdb2_lockfd(database) in smdb2_lockfd() argument
269 SMDB_DATABASE *database; in smdb2_lockfd()
278 SMDB_DATABASE *database; in smdb2_get()
300 SMDB_DATABASE *database; in smdb2_put()
593 *database = NULL;
[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);
192 SMDB_DATABASE **database; in smdb_open_database()
375 smdb_lock_map(database, type) in smdb_lock_map() argument
376 SMDB_DATABASE *database; in smdb_lock_map()
381 fd = database->smdb_lockfd(database);
399 smdb_unlock_map(database) in smdb_unlock_map() argument
400 SMDB_DATABASE *database; in smdb_unlock_map()
[all …]
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c46 const char *database; member
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()
257 char *database = NULL; in main() local
377 database = argv[optind++]; in main()
490 if (database && (strcasecmp(database, "publickey") == 0)) { in main()
501 (database ? database : "NULL")); in main()
521 (database ? database : "NULL")); in main()
[all …]
H A Dmapping.c37 char *database; member
122 for (i = 0; maplist[i].database != NULL; i++) { in printMapping()
302 if (!database || !udata) { in set_filter_publickey()
306 if (strcasecmp(database, maplist[PUBLICKEY].database) == SAME) { in set_filter_publickey()
389 if (!database || !udata) { in set_filter()
420 for (i = 2; maplist[i].database != NULL; i++) { in set_filter()
421 if (strcasecmp(database, maplist[i].database) == SAME) { in set_filter()
423 if (strcasecmp(database, "prof_attr") == 0) in set_filter()
425 else if (strcasecmp(database, "tnrhtp") == 0) in set_filter()
492 if (strncasecmp(database, "auto_", 5) == SAME) { in set_filter()
[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.test85 } {1 {no such database: three}}
112 } {1 {database db2 is already in use}}
170 } {1 {no such database: db14}}
180 } {1 {no such database: db12}}
185 } {1 {cannot detach database main}}
190 } {1 {cannot detach database Temp}}
268 #} {1 {database schema has changed}}
341 } {1 {database is locked}}
351 } {1 {database is locked}}
366 } {1 {database is locked}}
[all …]
H A Dlock.test41 #} {1 {database schema has changed}}
68 } {1 {database is locked}}
111 } {1 {database table is locked}}
161 } {1 {database is locked}}
168 } {1 {database is locked}}
246 } {1 {database is locked}}
265 # has the database locked.
274 } {1 {database is locked}}
279 } {1 {database is locked} {}}
308 } {1 {database is locked}}
[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()
1074 tbl_ent.database = tbl->database; in extract_entries()
1604 tbl->database = dbase; in find_table_noLDAP()
1614 tbl->database = NULL; in find_table_noLDAP()
1994 db *database; in close_standby_list() local
2053 if (database == 0) { in add_to_standby_list()
2109 if (database == 0) { in remove_from_standby_list()
2287 clone->database = 0; in defer()
2304 clone->database = 0; in defer()
[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.in62 ** A function to open a new sqlite database.
65 ** permission, then a new database is created. If the database
71 ** database is opened read-only.
81 ** A function to close the database.
134 sqlite*, /* An open database */
276 ** database. Closing the database from a busy handler will delete
336 sqlite*, /* An open database */
404 sqlite*, /* An open database */
413 sqlite*, /* An open database */
818 ** Change the key on an open database. If the current database is not
[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