Searched refs:dirbuf (Results 1 - 18 of 18) sorted by relevance

/macosx-10.9.5/apache-786.1/httpd/srclib/apr-util/dbm/sdbm/
H A Dsdbm_private.h62 long dirbno; /* current block in dirbuf */
63 char dirbuf[DBLKSIZ]; /* directory file block buffer */ member in struct:apr_sdbm_t
H A Dsdbm.c495 if (read_from(db->dirf, db->dirbuf, OFF_DIR(dirb), DBLKSIZ)
504 return db->dirbuf[c % DBLKSIZ] & (1 << dbit % BYTESIZ);
518 if ((status = read_from(db->dirf, db->dirbuf, OFF_DIR(dirb), DBLKSIZ))
527 db->dirbuf[c % DBLKSIZ] |= (1 << dbit % BYTESIZ);
534 status = apr_file_write_full(db->dirf, db->dirbuf, DBLKSIZ, NULL);
/macosx-10.9.5/apr-30/apr-util/apr-util/dbm/sdbm/
H A Dsdbm_private.h62 long dirbno; /* current block in dirbuf */
63 char dirbuf[DBLKSIZ]; /* directory file block buffer */ member in struct:apr_sdbm_t
H A Dsdbm.c495 if (read_from(db->dirf, db->dirbuf, OFF_DIR(dirb), DBLKSIZ)
504 return db->dirbuf[c % DBLKSIZ] & (1 << dbit % BYTESIZ);
518 if ((status = read_from(db->dirf, db->dirbuf, OFF_DIR(dirb), DBLKSIZ))
527 db->dirbuf[c % DBLKSIZ] |= (1 << dbit % BYTESIZ);
534 status = apr_file_write_full(db->dirf, db->dirbuf, DBLKSIZ, NULL);
/macosx-10.9.5/rsync-42/rsync/
H A Dexclude.c57 /* The dirbuf is set by push_local_filters() to the current subdirectory
61 static char dirbuf[MAXPATHLEN+1]; variable
164 memcpy(ret->pattern, dirbuf + module_dirlen, ex_len);
318 memcpy(buf, dirbuf + prefix_skip, dirbuf_len - prefix_skip);
328 /* Sets the dirbuf and dirbuf_len values. */
333 memcpy(dirbuf, curr_dir, curr_dir_len);
334 dirbuf[curr_dir_len] = '/';
340 memcpy(dirbuf + len, dir, dirlen);
341 dirbuf[dirlen + len] = '\0';
342 dirbuf_len = clean_fname(dirbuf,
[all...]
H A Dflist.c1975 char dirbuf[MAXPATHLEN]; local
1980 dlen = strlcpy(dirbuf, dirname, MAXPATHLEN);
1983 dirname = dirbuf;
/macosx-10.9.5/ruby-104/ruby/ext/sdbm/
H A Dsdbm.h32 long dirbno; /* current block in dirbuf */
33 char dirbuf[DBLKSIZ]; /* directory file block buffer */ member in struct:__anon12337
H A D_sdbm.c250 (void) memset(db->dirbuf, 0, DBLKSIZ);
551 || read(db->dirf, db->dirbuf, DBLKSIZ) < 0)
558 return db->dirbuf[c % DBLKSIZ] & (1 << (dbit % BYTESIZ));
572 || read(db->dirf, db->dirbuf, DBLKSIZ) < 0)
579 db->dirbuf[c % DBLKSIZ] |= (1 << (dbit % BYTESIZ));
585 || write(db->dirf, db->dirbuf, DBLKSIZ) < 0)
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/store/XOTclSdbm/
H A Dsdbm.h31 long dirbno; /* current block in dirbuf */
32 char dirbuf[DBLKSIZ]; /* directory file block buffer */ member in struct:__anon13379
H A Dsdbm.c178 (void) memset(db->dirbuf, 0, DBLKSIZ);
470 || read(db->dirf, db->dirbuf, DBLKSIZ) < 0)
477 return db->dirbuf[c % DBLKSIZ] & (1 << dbit % BYTESIZ);
493 || read(db->dirf, db->dirbuf, DBLKSIZ) < 0)
500 db->dirbuf[c % DBLKSIZ] |= (1 << dbit % BYTESIZ);
506 || write(db->dirf, db->dirbuf, DBLKSIZ) < 0)
/macosx-10.9.5/system_cmds-597.90.1/dirhelper.tproj/
H A Ddirhelper.c358 char dirbuf[PATH_MAX]; local
362 snprintf(dirbuf, sizeof(dirbuf),
364 if (!is_directory_get_owner_group(dirbuf, &owner, &group)) continue;
368 dirbuf, owner, group, strerror(errno));
373 snprintf(dirbuf, sizeof(dirbuf),
375 if (is_directory(dirbuf)) {
378 clean_files_older_than(dirbuf, when);
384 dirbuf, strerro
[all...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/dirhelper.tproj/
H A Ddirhelper.c358 char dirbuf[PATH_MAX]; local
362 snprintf(dirbuf, sizeof(dirbuf),
364 if (!is_directory_get_owner_group(dirbuf, &owner, &group)) continue;
368 dirbuf, owner, group, strerror(errno));
373 snprintf(dirbuf, sizeof(dirbuf),
375 if (is_directory(dirbuf)) {
378 clean_files_older_than(dirbuf, when);
384 dirbuf, strerro
[all...]
/macosx-10.9.5/file_cmds-230/pax/
H A Dar_subs.c995 char dirbuf[PAXPATHLEN+1]; local
1009 dlen = strlcpy(dirbuf, dirptr, sizeof(dirbuf));
1010 if (dlen >= sizeof(dirbuf) ||
1011 (dlen == sizeof(dirbuf) - 1 && dirbuf[dlen - 1] != '/')) {
1015 dest_pt = dirbuf + dlen;
1095 res = lstat(dirbuf, &sb);
1119 if ((res > 0) || (set_dest(arcn, dirbuf, dlen) < 0)) {
/macosx-10.9.5/vim-53/src/
H A Dgui_gtk.c841 char_u dirbuf[MAXPATHL]; local
847 mch_dirname(dirbuf, MAXPATHL);
848 else if (vim_FullName(initdir, dirbuf, MAXPATHL - 2, FALSE) == FAIL)
849 dirbuf[0] = NUL;
851 add_pathsep(dirbuf);
867 (const gchar *)dirbuf);
910 && STRLEN(dirbuf) + 2 + STRLEN(dflt) < MAXPATHL)
911 STRCAT(dirbuf, dflt);
914 (const gchar *)dirbuf);
941 char_u dirbuf[MAXPATH local
[all...]
H A Dgui_athena.c2034 char_u dirbuf[MAXPATHL]; local
2038 mch_dirname(dirbuf, MAXPATHL);
2040 STRCPY(dirbuf, initdir);
2042 dirbuf[0] = NUL;
2044 && STRLEN(dirbuf) + 2 + STRLEN(dflt) < MAXPATHL)
2046 add_pathsep(dirbuf);
2047 STRCAT(dirbuf, dflt);
2058 return (char_u *)vim_SelFile(vimShell, (char *)title, (char *)dirbuf,
H A Ddiff.c889 char_u dirbuf[MAXPATHL]; local
941 if (mch_dirname(dirbuf, MAXPATHL) != OK || mch_chdir((char *)dirbuf) != 0)
942 dirbuf[0] = NUL;
984 if (dirbuf[0] != NUL)
986 if (mch_chdir((char *)dirbuf) != 0)
H A Dquickfix.c1229 * push dirbuf onto the directory stack and return pointer to actual dir or
1233 qf_push_dir(dirbuf, stackptr)
1234 char_u *dirbuf;
1249 if (vim_isAbsName(dirbuf)
1252 (*stackptr)->dirname = vim_strsave(dirbuf);
1256 * dirbuf must be a subdir of one of the directories on the stack.
1264 (*stackptr)->dirname = concat_fnames(ds_new->dirname, dirbuf,
1285 (*stackptr)->dirname = vim_strsave(dirbuf);
1302 * pop dirbuf from the directory stack and return previous directory or NULL if
1311 /* TODO: Should we check if dirbuf i
[all...]
H A Dgui_motif.c2285 char_u dirbuf[MAXPATHL]; local
2299 mch_dirname(dirbuf, MAXPATHL);
2300 initdir = dirbuf;

Completed in 137 milliseconds