• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/BerkeleyDB-21/db/db_codegen/

Lines Matching defs:?f

28 		if ((p = strchr(buf, '\n')) != NULL)
30 else if (strlen(buf) + 1 == sizeof(buf)) {
40 * Any empty line or hash mark to the end of the line is
43 if (*p == '\0' || *p == '#')
49 if (parse_line(p, lc))
62 if (__db_getulong(NULL, progname, s, 0, UINT32_MAX, vp) != 0) \
72 int nf;
75 nf = __config_split(s, argv); /* Split the line by white-space. */
80 if (strcasecmp(argv[0], "environment") == 0) {
81 if (nf != 3 ||
85 if (__os_calloc(NULL, 1, sizeof(*cur_env), &cur_env) ||
100 if (strcasecmp(argv[0], "home") == 0) {
101 if (nf != 2 || parse_status != PS_ENV_SET)
103 if (__os_strdup(NULL, argv[1], &cur_env->home))
107 if (strcasecmp(argv[0], "cachesize") == 0) {
108 if (nf != 4 || parse_status != PS_ENV_SET)
118 if (strcasecmp(argv[0], "private") == 0) {
119 if (nf != 1 || parse_status != PS_ENV_SET)
128 if (strcasecmp(argv[0], "database") == 0) {
129 if (nf != 3 ||
134 * Databases can be specified standalone. If we don't have an
137 if (parse_status == PS_UNSET) {
138 if (__os_calloc(NULL, 1, sizeof(*cur_env), &cur_env))
146 if (__os_calloc(NULL, 1, sizeof(*cur_db), &cur_db) ||
159 if (strcasecmp(argv[0], "custom") == 0) {
160 if (nf != 1 || parse_status != PS_DB_SET)
165 if (strcasecmp(argv[0], "dupsort") == 0) {
166 if (nf != 1 || parse_status != PS_DB_SET)
171 if (strcasecmp(argv[0], "extentsize") == 0) {
172 if (nf != 2 || parse_status != PS_DB_SET)
178 if (strcasecmp(argv[0], "key_type") == 0) {
179 if (nf != 2 || parse_status != PS_DB_SET)
181 if (__os_strdup(NULL, argv[1], &cur_db->key_type))
185 if (strcasecmp(argv[0], "pagesize") == 0) {
186 if (nf != 2 || parse_status != PS_DB_SET)
192 if (strcasecmp(argv[0], "primary") == 0) {
193 if (nf != 2 || parse_status != PS_DB_SET)
195 if (__os_strdup(NULL, argv[1], &cur_db->primary))
199 if (strcasecmp(argv[0], "recnum") == 0) {
200 if (nf != 1 || parse_status != PS_DB_SET)
205 if (strcasecmp(argv[0], "re_len") == 0) {
206 if (nf != 2 || parse_status != PS_DB_SET)
212 if (strcasecmp(argv[0], "secondary_offset") == 0) {
213 if (nf != 3 || parse_status != PS_DB_SET)
221 if (strcasecmp(argv[0], "transaction") == 0) {
222 if (nf != 1 || parse_status != PS_DB_SET)
227 if (strcasecmp(argv[0], "type") == 0) {
228 if (nf != 2 || parse_status != PS_DB_SET)
230 if (strcasecmp(argv[1], "btree") == 0)
232 else if (strcasecmp(argv[1], "hash") == 0)
234 else if (strcasecmp(argv[1], "queue") == 0)
236 else if (strcasecmp(argv[1], "recno") == 0)
240 if (__os_strdup(NULL, p, &cur_db->dbtype))
248 if (strcmp(argv[0], "}") == 0) {
249 if (nf != 1)
252 * Pop up a level -- if we finished a database that's part of
253 * an environment, go back to the environment level; if we
286 if (cur_env->home != NULL)
288 if (cur_env->gbytes != 0 || cur_env->bytes != 0)
294 if (cur_env->private)
296 if (cur_env->transaction)
303 if (cur_db->extentsize)
306 if (cur_db->pagesize)
309 if (cur_db->re_len)
313 if (cur_db->key_type != NULL)
317 if (cur_db->primary != NULL)
320 if (cur_db->custom)
322 if (cur_db->secondary_off)
327 if (cur_db->dupsort)
329 if (cur_db->recnum)
331 if (cur_db->transaction)