Home
last modified time | relevance | path

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

1234

/titanic_50/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.c93 smdbm_close(database) in smdbm_close() argument
94 SMDB_DATABASE *database; in smdbm_close()
96 SMDB_DBM_DATABASE *db = (SMDB_DBM_DATABASE *) database->smdb_impl;
97 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
104 database->smdb_impl = NULL;
110 smdbm_del(database, key, flags) in smdbm_del() argument
111 SMDB_DATABASE *database; in smdbm_del()
116 DBM *dbm = ((SMDB_DBM_DATABASE *) database->smdb_impl)->smndbm_dbm;
141 smdbm_fd(database, fd) in smdbm_fd() argument
142 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.c61 smdb_free_database(database) in smdb_free_database() argument
62 SMDB_DATABASE *database; in smdb_free_database()
64 if (database != NULL)
65 free(database);
192 smdb_open_database(database, db_name, mode, mode_mask, sff, type, user_info, in smdb_open_database() argument
194 SMDB_DATABASE **database; in smdb_open_database()
226 result = smdb_db_open(database, db_name, mode, mode_mask, sff,
244 result = smdb_ndbm_open(database, db_name, mode, mode_mask,
377 smdb_lock_map(database, type) in smdb_lock_map() argument
378 SMDB_DATABASE *database; in smdb_lock_map()
[all …]
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldaplist.c46 const char *database; member
191 list(char *database, char *ldapfilter, char **ldapattribute, in list() argument
201 if (database) { in list()
202 for (i = 0; databaselist[i].database; i++) { in list()
203 if (strcmp(databaselist[i].database, database) == 0) { in list()
207 if (strcmp(databaselist[i].database, in list()
209 strncmp(database, NS_LDAP_TYPE_AUTOMOUNT, in list()
219 rc = __ns_ldap_list_sort(database, (const char *)ldapfilter, in list()
258 char *database = NULL; in main() local
378 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 …]
/titanic_50/usr/src/cmd/sendmail/aux/
H A Deditmap.c99 SMDB_DATABASE *database; local
289 errno = smdb_open_database(&database, mapname, mode, smode, sff,
308 (void) database->smdb_sync(database, 0);
312 errno = database->smdb_set_owner(database, TrustedUid, -1);
332 errno = database->smdb_get(database, &db_key, &db_val, 0);
361 errno = database->smdb_put(database, &db_key, &db_val,
382 errno = database->smdb_del(database, &db_key, 0);
412 errno = database->smdb_close(database);
419 smdb_free_database(database);
H A Dpraliases.c241 SMDB_DATABASE *database = NULL; local
305 result = smdb_open_database(&database, db_name, O_RDONLY, 0,
320 result = database->smdb_cursor(database, &cursor, 0);
368 get_res = database->smdb_get(database, &db_key, &db_value, 0);
372 get_res = database->smdb_get(database, &db_key,
393 if (database != NULL)
394 (void) database->smdb_close(database);
H A Dmakemap.c102 SMDB_DATABASE *database; local
323 errno = smdb_open_database(&database, mapname, mode, smode, sff,
342 (void) database->smdb_sync(database, 0);
346 errno = database->smdb_set_owner(database, TrustedUid, -1);
362 errno = database->smdb_cursor(database, &cursor, 0);
475 errno = database->smdb_put(database, &db_key, &db_val,
517 errno = database->smdb_close(database);
525 smdb_free_database(database);
/titanic_50/usr/src/lib/libshell/common/scripts/
H A Dcrawlsrccomments.sh1036 typeset database
1040 typeset database="crawlsrccomments_extracted_comments.cpv"
1060 D) options.database="${OPTARG}" ;;
1078 database="/tmp/extract_license_cat_url_${PPID}_$$.tmp"
1079 tmpfiles+=( "${database}" )
1081 cat_url "${options.database}" >"${database}"
1084 database="${options.database}"
1087 if [[ ! -r "${database}" ]] ; then
1088 fatal_error "Can't read ${database}."
1092 case "$(LC_ALL=C /usr/bin/file "${database}")" in
[all …]
/titanic_50/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":
/titanic_50/usr/src/lib/libsqlite/test/
H A Dattach.test77 } {1 {cannot attach empty database: three}}
87 } {1 {no such database: three}}
114 } {1 {database db2 is already in use}}
119 } {1 {database db5 is already in use}}
124 } {1 {database db9 is already in use}}
129 } {1 {database main is already in use}}
134 } {1 {database temp is already in use}}
139 } {1 {database MAIN is already in use}}
172 } {1 {no such database: db14}}
182 } {1 {no such database: db12}}
[all …]
H A Dlock.test15 # focus of this script is database locks.
23 # Create an alternative connection to the database
43 #} {1 {database schema has changed}}
70 } {1 {database is locked}}
113 } {1 {database table is locked}}
141 # Under UNIX you can do two SELECTs at once with different database
163 } {1 {database is locked}}
170 } {1 {database is locked}}
185 } {1 {database is locked} {{} 1}}
196 } {1 {database is locked} {1 2 3 4 5}}
[all …]
H A Dversion.test26 # Create a new database
172 # Try to do an upgrade where the database file is read-only
184 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
188 } {1 {unable to upgrade database to the version 2.6 format: attempt to write a readonly database}}
192 set txt "This is not a valid database file\n"
198 } {1 {file is encrypted or is not a database}}
H A Dtemptable.test23 # Create an alternative connection to the database
186 #} {1 {database schema has changed}}
247 #} {1 {database schema has changed}}
300 #} {1 {database schema has changed}}
355 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
363 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
368 } {1 {attempt to write a readonly database}}
382 …error "Unable to make the database file test.db readonly - rerun this test as an unprivileged user"
388 } {1 {attempt to write a readonly database}}
H A Dmisc2.test121 # Make sure we can open a database with an empty filename. What this
122 # does is store the database in a temporary file that is deleted when
123 # the database is closed. Ticket #432.
153 } {1 {database table is locked}}
161 } {1 {database table is locked}}
176 } {1 {database table is locked}}
184 } {1 {database table is locked}}
H A Dbtree2.test15 # focus of this script is btree database backend
25 # Create a new database file containing no entries. The database should
63 # database while simultaneously maintaining an invariant on that database.
64 # Periodically, the script does a sanity check on the database and verifies
94 # The following function builds a database that satisfies all of the above
127 # Verify the invariants on the database. Return an empty string on
191 # Make random changes to the database such that each change preserves
275 # Repeat this test sequence on database of various sizes
334 # For each database size, run various changes tests.
H A Dtrans.test15 # focus of this script is database locks.
102 } {1 {database is locked}}
108 } {1 {database is locked}}
120 } {1 {database is locked}}
126 } {1 {database is locked}}
138 } {1 {database is locked}}
144 } {1 {database is locked}}
198 } {1 {database is locked}}
204 } {1 {database is locked}}
217 } {1 {database is locked}}
[all …]
/titanic_50/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc142 if (current->database != NULL) delete current->database; in delete_table_desc()
158 newtab->database = NULL; in create_table_desc()
1045 ret = tbl->database->dump(outfile) ? DB_SUCCESS : DB_INTERNAL_ERROR; in copyfile()
1073 tbl_ent.database = tbl->database; in extract_entries()
1448 if (tbl->database != NULL) in db_standby()
1449 tbl->database->close_log(); in db_standby()
1566 if (tbl->database != NULL || !doLoad) { in find_table_noLDAP()
1567 if (tbl->database && where) *where = tbl; in find_table_noLDAP()
1569 return (tbl->database); // return handle in find_table_noLDAP()
1575 if (tbl->database != NULL) { in find_table_noLDAP()
[all …]
/titanic_50/usr/src/lib/libsqlite/src/
H A Dsqlite.h.in59 ** Each open sqlite database is represented by an instance of the
65 ** A function to open a new sqlite database.
67 ** If the database does not exist and mode indicates write
68 ** permission, then a new database is created. If the database
74 ** database is opened read-only.
78 ** ability to open a database readonly. The mode parameters is
84 ** A function to close the database.
87 ** returned from sqlite_open() and the corresponding database will by closed.
131 ** If the query could not be executed because a database file is
137 sqlite*, /* An open database */
[all …]
/titanic_50/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
/titanic_50/usr/src/lib/libsqlite/tool/
H A Dreport1.txt4 The SQL database used for ACD contains 113 tables and indices implemented
60 database entries have a combined key and data size of less than
61 144 bytes. So if a leaf node in the new database is able to
/titanic_50/usr/src/lib/nsswitch/ldap/common/
H A Dldap_common.c126 char *database, char *searchfilter, char *domain, in _nss_ldap_lookup() argument
140 (void) fprintf(stdout, "\tdatabase: %s\n", database); in _nss_ldap_lookup()
145 if ((rc = __ns_ldap_list(database, searchfilter, init_filter_cb, in _nss_ldap_lookup()
249 char *database, char *searchfilter, char *domain, in _nss_ldap_nocb_lookup() argument
260 (void) fprintf(stdout, "\tdatabase: %s\n", database); in _nss_ldap_nocb_lookup()
267 if ((rc = __ns_ldap_list(database, searchfilter, init_filter_cb, in _nss_ldap_nocb_lookup()
H A Dldap_common.h141 nss_XbyY_args_t *argp, char *database,
148 nss_XbyY_args_t *argp, char *database,
/titanic_50/usr/src/tools/depcheck/
H A DDependencyCheck.txt42 2. make_pkg_db - generate database to reflect the software installed
47 5. get_depend_info - analyze executables, requires database files
60 the package database files
88 in database generated by make_pkg_db. This technique allows the tool to verify
115 both programs is parsed and checked against the contents of the database
126 of the file. All the tokens in the file are cross-checked against the database

1234