buf                98 lib/charsets.c     char buf[BUF_MEDIUM];
buf               105 lib/charsets.c     while (fgets (buf, sizeof buf, f) != NULL)
buf               108 lib/charsets.c         char *p = buf;
buf               114 lib/charsets.c         buflen = strlen (buf);
buf               116 lib/charsets.c         if (buflen != 0 && buf[buflen - 1] == '\n')
buf               117 lib/charsets.c             buf[buflen - 1] = '\0';
buf               128 lib/charsets.c         if (strcmp (buf, "default") == 0)
buf               132 lib/charsets.c             const char *id = buf;
buf               133 lib/filehighlight/ini-file-read.c     GString *buf;
buf               142 lib/filehighlight/ini-file-read.c     buf = g_string_sized_new (64);
buf               149 lib/filehighlight/ini-file-read.c         if (buf->len != 0)
buf               150 lib/filehighlight/ini-file-read.c             g_string_append_c (buf, '|');
buf               151 lib/filehighlight/ini-file-read.c         g_string_append (buf, esc_ext);
buf               156 lib/filehighlight/ini-file-read.c     g_string_prepend (buf, ".*\\.(");
buf               157 lib/filehighlight/ini-file-read.c     g_string_append (buf, ")$");
buf               161 lib/filehighlight/ini-file-read.c     mc_filter->search_condition = mc_search_new_len (buf->str, buf->len, DEFAULT_CHARSET);
buf               168 lib/filehighlight/ini-file-read.c     g_string_free (buf, TRUE);
buf               182 lib/lock.c         static char buf[BUF_SIZE];
buf               184 lib/lock.c         cnt = readlink (lockfname, buf, BUF_SIZE - 1);
buf               185 lib/lock.c         if (cnt == -1 || *buf == '\0')
buf               187 lib/lock.c         buf[cnt] = '\0';
buf               188 lib/lock.c         return buf;
buf               252 lib/strutil/strutil8bit.c         GString *buf;
buf               254 lib/strutil/strutil8bit.c         buf = g_string_new ("");
buf               256 lib/strutil/strutil8bit.c         if (str_convert (conv, mcerror->message, buf) != ESTR_FAILURE)
buf               257 lib/strutil/strutil8bit.c             ret = g_string_free (buf, FALSE);
buf               261 lib/strutil/strutil8bit.c             g_string_free (buf, TRUE);
buf                94 lib/timefmt.c          char buf[MB_LEN_MAX * MAX_I18NTIMELENGTH + 1];
buf               103 lib/timefmt.c              strftime (buf, sizeof (buf) - 1, user_recent_timeformat, lt);
buf               104 lib/timefmt.c              tlen = (size_t) str_term_width1 (buf);
buf               106 lib/timefmt.c              strftime (buf, sizeof (buf) - 1, user_old_timeformat, lt);
buf               107 lib/timefmt.c              tlen = (size_t) str_term_width1 (buf);
buf               671 lib/tty/tty-ncurses.c     char buf[BUF_1K];           /* FIXME: is it enough? */
buf               674 lib/tty/tty-ncurses.c     g_vsnprintf (buf, sizeof (buf), fmt, args);
buf               676 lib/tty/tty-ncurses.c     tty_print_string (buf);
buf               116 lib/util.c         char *buf, *buf2, *q, *r, c;
buf               123 lib/util.c         r = buf = g_malloc (MC_MAXPATHLEN);
buf               141 lib/util.c                 MC_PTR_FREE (buf);
buf               153 lib/util.c                     MC_PTR_FREE (buf);
buf               158 lib/util.c                     strcpy (buf, buf2);
buf               162 lib/util.c             canonicalize_pathname (buf);
buf               163 lib/util.c             r = strchr (buf, '\0');
buf               175 lib/util.c         if (*buf == '\0')
buf               176 lib/util.c             strcpy (buf, PATH_SEP_STR);
buf               177 lib/util.c         else if (IS_PATH_SEP (r[-1]) && r != buf + 1)
buf               183 lib/util.c         return buf;
buf              1021 lib/util.c         char *buf = NULL;
buf              1065 lib/util.c                     g_free (buf);
buf              1069 lib/util.c             p = buf = g_malloc (currlen);
buf              1079 lib/util.c         return buf;
buf              1133 lib/util.c         char buf[MC_MAXPATHLEN + 100];
buf              1152 lib/util.c         while (fgets (buf, sizeof (buf), f) != NULL)
buf              1158 lib/util.c             if (strncmp (buf, vfs_path_as_str (filename_vpath), len) != 0)
buf              1162 lib/util.c             if (buf[len] != ' ')
buf              1166 lib/util.c             p = &buf[len + 1];
buf              1225 lib/util.c         char buf[MC_MAXPATHLEN + 100];
buf              1270 lib/util.c         while (fgets (buf, sizeof (buf), tmp_f) != NULL)
buf              1272 lib/util.c             if (buf[len] == ' ' && strncmp (buf, vfs_path_as_str (filename_vpath), len) == 0
buf              1273 lib/util.c                 && strchr (&buf[len + 1], ' ') == NULL)
buf              1276 lib/util.c             fprintf (f, "%s", buf);
buf                73 lib/util.h         char buf[MC_PIPE_BUFSIZE];
buf               185 lib/util.h     int get_user_permissions (struct stat *buf);
buf               259 lib/utilunix.c         read_len = read (ps->fd, ps->buf, buf_len);
buf               278 lib/utilunix.c             ps->buf[(size_t) ps->len] = '\0';
buf               534 lib/utilunix.c     p->out.buf[0] = '\0';
buf               538 lib/utilunix.c     p->err.buf[0] = '\0';
buf               504 lib/vfs/direntry.c vfs_s_internal_stat (const vfs_path_t * vpath, struct stat *buf, int flag)
buf               511 lib/vfs/direntry.c     *buf = ino->st;
buf               518 lib/vfs/direntry.c vfs_s_readlink (const vfs_path_t * vpath, char *buf, size_t size)
buf               546 lib/vfs/direntry.c     memcpy (buf, ino->linkname, len);
buf              1397 lib/vfs/direntry.c vfs_s_stat (const vfs_path_t * vpath, struct stat *buf)
buf              1399 lib/vfs/direntry.c     return vfs_s_internal_stat (vpath, buf, FL_FOLLOW);
buf              1405 lib/vfs/direntry.c vfs_s_lstat (const vfs_path_t * vpath, struct stat *buf)
buf              1407 lib/vfs/direntry.c     return vfs_s_internal_stat (vpath, buf, FL_NONE);
buf              1413 lib/vfs/direntry.c vfs_s_fstat (void *fh, struct stat *buf)
buf              1415 lib/vfs/direntry.c     *buf = VFS_FILE_HANDLER (fh)->ino->st;
buf              1607 lib/vfs/direntry.c vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term)
buf              1613 lib/vfs/direntry.c     for (i = 0; i < buf_len - 1; i++, buf++)
buf              1615 lib/vfs/direntry.c         if (read (sock, buf, sizeof (char)) <= 0)
buf              1623 lib/vfs/direntry.c             ret1 = fwrite (buf, 1, 1, logfile);
buf              1629 lib/vfs/direntry.c         if (*buf == term)
buf              1631 lib/vfs/direntry.c             *buf = '\0';
buf              1637 lib/vfs/direntry.c     *buf = '\0';
buf               255 lib/vfs/interface.c MC_NAMEOP (readlink, (const vfs_path_t *vpath, char *buf, size_t bufsiz), (vpath, buf, bufsiz))
buf               298 lib/vfs/interface.c ssize_t mc_##name (int handle, C void *buf, size_t count) \
buf               308 lib/vfs/interface.c     result = vfs->name != NULL ? vfs->name (fsinfo, buf, count) : -1; \
buf               559 lib/vfs/interface.c mc_stat (const vfs_path_t * vpath, struct stat *buf)
buf               571 lib/vfs/interface.c         result = path_element->class->stat ? (*path_element->class->stat) (vpath, buf) : -1;
buf               582 lib/vfs/interface.c mc_lstat (const vfs_path_t * vpath, struct stat *buf)
buf               594 lib/vfs/interface.c         result = path_element->class->lstat ? (*path_element->class->lstat) (vpath, buf) : -1;
buf               605 lib/vfs/interface.c mc_fstat (int handle, struct stat *buf)
buf               618 lib/vfs/interface.c     result = vfs->fstat ? (*vfs->fstat) (fsinfo, buf) : -1;
buf                63 lib/vfs/path.c     struct stat buf;
buf                65 lib/vfs/path.c     return (stat (path, &buf) != 0);
buf               172 lib/vfs/vfs.h      ssize_t (*write) (void *vfs_info, const char *buf, size_t count);
buf               178 lib/vfs/vfs.h      int (*stat) (const vfs_path_t * vpath, struct stat * buf);
buf               179 lib/vfs/vfs.h      int (*lstat) (const vfs_path_t * vpath, struct stat * buf);
buf               180 lib/vfs/vfs.h      int (*fstat) (void *vfs_info, struct stat * buf);
buf               186 lib/vfs/vfs.h      int (*readlink) (const vfs_path_t * vpath, char *buf, size_t size);
buf               238 lib/vfs/vfs.h  int vfs_s_stat (const vfs_path_t * vpath, struct stat *buf);
buf               239 lib/vfs/vfs.h  int vfs_s_lstat (const vfs_path_t * vpath, struct stat *buf);
buf               240 lib/vfs/vfs.h  int vfs_s_fstat (void *fh, struct stat *buf);
buf               308 lib/vfs/vfs.h  int mc_readlink (const vfs_path_t * vpath, char *buf, size_t bufsiz);
buf               314 lib/vfs/vfs.h  int mc_stat (const vfs_path_t * vpath, struct stat *buf);
buf               319 lib/vfs/vfs.h  int mc_fstat (int fd, struct stat *buf);
buf               320 lib/vfs/vfs.h  int mc_lstat (const vfs_path_t * vpath, struct stat *buf);
buf               146 lib/vfs/xdirentry.h     ssize_t (*linear_read) (struct vfs_class * me, vfs_file_handler_t * fh, void *buf, size_t len);
buf               187 lib/vfs/xdirentry.h int vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term);
buf               188 lib/widget/label.c     char buf[BUF_1K];           /* FIXME: is it enough? */
buf               191 lib/widget/label.c     g_vsnprintf (buf, sizeof (buf), format, args);
buf               194 lib/widget/label.c     label_set_text (label, buf);
buf               157 src/clipboard.c             nwrite = mc_write (file, p->out.buf, p->out.len);
buf               214 src/clipboard.c     char buf[BUF_LARGE];
buf               236 src/clipboard.c     while (fgets (buf, sizeof (buf), f))
buf               240 src/clipboard.c         len = strlen (buf);
buf               243 src/clipboard.c             if (buf[len - 1] == '\n')
buf               244 src/clipboard.c                 buf[len - 1] = '\0';
buf               249 src/clipboard.c                 *(event_data->text) = g_strdup (buf);
buf               256 src/clipboard.c                 tmp = g_strconcat (*(event_data->text), " ", buf, (char *) NULL);
buf               281 src/cons.handler.c     screen_shot.buf = g_try_malloc (screen_info.mv_csz * screen_info.mv_rsz * 2);
buf               282 src/cons.handler.c     if (screen_shot.buf != NULL)
buf               321 src/cons.handler.c         set_attr ((screen_shot.buf[i] >> 8) & 0xFF);
buf               322 src/cons.handler.c         putc (screen_shot.buf[i] & 0xFF, stdout);
buf               326 src/cons.handler.c     set_attr ((screen_shot.buf[last] >> 8) & 0xFF);
buf               339 src/cons.handler.c     g_free (screen_shot.buf);
buf               391 src/cons.handler.c         screen_shot.buf[i] = (screen_shot.buf[i] & 0xff00) 
buf               392 src/cons.handler.c             | (unsigned char) revmap.scrmap[screen_shot.buf[i] & 0xff];
buf               413 src/cons.handler.c             c = screen_shot.buf[line * screen_info.mv_csz + col] & 0xFF;
buf                48 src/diffviewer/internal.h     char *buf;
buf               205 src/diffviewer/ydiff.c     fs->buf = g_try_malloc (FILE_READ_BUF);
buf               206 src/diffviewer/ydiff.c     if (fs->buf == NULL)
buf               239 src/diffviewer/ydiff.c     g_free (fs->buf);
buf               321 src/diffviewer/ydiff.c f_gets (char *buf, size_t size, FBUF * fs)
buf               332 src/diffviewer/ydiff.c             buf[j] = fs->buf[i];
buf               333 src/diffviewer/ydiff.c             if (buf[j] == '\n')
buf               342 src/diffviewer/ydiff.c         fs->len = read (fs->fd, fs->buf, FILE_READ_BUF);
buf               426 src/diffviewer/ydiff.c f_write (FBUF * fs, const char *buf, size_t size)
buf               430 src/diffviewer/ydiff.c     rv = write (fs->fd, buf, size);
buf               764 src/diffviewer/ydiff.c     char buf[BUFSIZ];
buf               766 src/diffviewer/ydiff.c     while ((sz = f_gets (buf, sizeof (buf) - 1, f)) != 0)
buf               768 src/diffviewer/ydiff.c         if (isdigit (buf[0]))
buf               770 src/diffviewer/ydiff.c             if (buf[sz - 1] != '\n')
buf               773 src/diffviewer/ydiff.c             buf[sz] = '\0';
buf               774 src/diffviewer/ydiff.c             if (scan_line (buf, ops) != 0)
buf               780 src/diffviewer/ydiff.c         while (buf[sz - 1] != '\n' && (sz = f_gets (buf, sizeof (buf), f)) != 0)
buf               862 src/diffviewer/ydiff.c     char buf[BUFSIZ];
buf               895 src/diffviewer/ydiff.c         while (line < n && (sz = f_gets (buf, sizeof (buf), f)) != 0)
buf               898 src/diffviewer/ydiff.c             printer (ctx, EQU_CH, line, off, sz, buf);
buf               900 src/diffviewer/ydiff.c             while (buf[sz - 1] != '\n')
buf               902 src/diffviewer/ydiff.c                 sz = f_gets (buf, sizeof (buf), f);
buf               908 src/diffviewer/ydiff.c                 printer (ctx, 0, 0, 0, sz, buf);
buf               929 src/diffviewer/ydiff.c             while (n != 0 && (sz = f_gets (buf, sizeof (buf), f)) != 0)
buf               932 src/diffviewer/ydiff.c                 printer (ctx, ADD_CH, line, off, sz, buf);
buf               934 src/diffviewer/ydiff.c                 while (buf[sz - 1] != '\n')
buf               936 src/diffviewer/ydiff.c                     sz = f_gets (buf, sizeof (buf), f);
buf               942 src/diffviewer/ydiff.c                     printer (ctx, 0, 0, 0, sz, buf);
buf               955 src/diffviewer/ydiff.c             while (n != 0 && (sz = f_gets (buf, sizeof (buf), f)) != 0)
buf               958 src/diffviewer/ydiff.c                 printer (ctx, CHG_CH, line, off, sz, buf);
buf               960 src/diffviewer/ydiff.c                 while (buf[sz - 1] != '\n')
buf               962 src/diffviewer/ydiff.c                     sz = f_gets (buf, sizeof (buf), f);
buf               968 src/diffviewer/ydiff.c                     printer (ctx, 0, 0, 0, sz, buf);
buf               990 src/diffviewer/ydiff.c     while ((sz = f_gets (buf, sizeof (buf), f)) != 0)
buf               993 src/diffviewer/ydiff.c         printer (ctx, EQU_CH, line, off, sz, buf);
buf               995 src/diffviewer/ydiff.c         while (buf[sz - 1] != '\n')
buf               997 src/diffviewer/ydiff.c             sz = f_gets (buf, sizeof (buf), f);
buf              1003 src/diffviewer/ydiff.c             printer (ctx, 0, 0, 0, sz, buf);
buf              2047 src/diffviewer/ydiff.c     char buf[BUF_10K];
buf              2056 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f0) != NULL && line < from1 - 1)
buf              2059 src/diffviewer/ydiff.c         fputs (buf, merge_file);
buf              2061 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f0) != NULL)
buf              2065 src/diffviewer/ydiff.c             fputs (buf, merge_file);
buf              2087 src/diffviewer/ydiff.c     char buf[BUF_10K];
buf              2103 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f0) != NULL && line < from1 - 1)
buf              2106 src/diffviewer/ydiff.c         fputs (buf, merge_file);
buf              2109 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f1) != NULL && line <= to2)
buf              2113 src/diffviewer/ydiff.c             fputs (buf, merge_file);
buf              2115 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f0) != NULL)
buf              2116 src/diffviewer/ydiff.c         fputs (buf, merge_file);
buf              2140 src/diffviewer/ydiff.c     char buf[BUF_10K];
buf              2155 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f0) != NULL && line1 < from1 - 1)
buf              2158 src/diffviewer/ydiff.c         fputs (buf, merge_file);
buf              2160 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f1) != NULL && line2 <= to2)
buf              2164 src/diffviewer/ydiff.c             fputs (buf, merge_file);
buf              2166 src/diffviewer/ydiff.c     while (fgets (buf, sizeof (buf), f0) != NULL)
buf              2170 src/diffviewer/ydiff.c             fputs (buf, merge_file);
buf              2529 src/diffviewer/ydiff.c     char buf[BUFSIZ];
buf              2564 src/diffviewer/ydiff.c     if ((int) sizeof (buf) <= width || (int) sizeof (buf) <= nwidth)
buf              2588 src/diffviewer/ydiff.c                 g_snprintf (buf, display_numbers + 1, "%*d", nwidth, p->line);
buf              2589 src/diffviewer/ydiff.c                 tty_print_string (str_fit_to_term (buf, nwidth, J_LEFT_FIT));
buf              2610 src/diffviewer/ydiff.c                     cvt_mgeta (p->p, p->u.len, buf, k, skip, tab_size, show_cr,
buf              2615 src/diffviewer/ydiff.c                     for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
buf              2624 src/diffviewer/ydiff.c                             ch_res = dview_get_utf (buf + cnt, &next_ch, &ch_length);
buf              2632 src/diffviewer/ydiff.c                             ch_res = dview_get_byte (buf + cnt, &next_ch);
buf              2668 src/diffviewer/ydiff.c                 cvt_mget (p->p, p->u.len, buf, k, skip, tab_size, show_cr);
buf              2671 src/diffviewer/ydiff.c                 cvt_fget (f, p->u.off, buf, width, skip, tab_size, show_cr);
buf              2678 src/diffviewer/ydiff.c                 memset (buf, ' ', display_numbers);
buf              2679 src/diffviewer/ydiff.c                 buf[display_numbers] = '\0';
buf              2680 src/diffviewer/ydiff.c                 tty_print_string (buf);
buf              2686 src/diffviewer/ydiff.c             memset (buf, ' ', width);
buf              2687 src/diffviewer/ydiff.c             buf[width] = '\0';
buf              2692 src/diffviewer/ydiff.c         for (cnt = 0; cnt < strlen (buf) && col < width; cnt++)
buf              2701 src/diffviewer/ydiff.c                 ch_res = dview_get_utf (buf + cnt, &next_ch, &ch_length);
buf              2709 src/diffviewer/ydiff.c                 ch_res = dview_get_byte (buf + cnt, &next_ch);
buf              2737 src/diffviewer/ydiff.c     memset (buf, ' ', k);
buf              2738 src/diffviewer/ydiff.c     buf[k] = '\0';
buf              2745 src/diffviewer/ydiff.c             tty_print_string (str_fit_to_term (buf, xwidth - 1, J_LEFT_FIT));
buf              2749 src/diffviewer/ydiff.c         tty_print_string (str_fit_to_term (buf, width, J_LEFT_FIT));
buf              2760 src/diffviewer/ydiff.c     const char *buf;
buf              2778 src/diffviewer/ydiff.c     buf = str_term_trim (path, filename_width);
buf              2781 src/diffviewer/ydiff.c                     buf, linenum, lineofs, dview->skip_cols);
buf              2784 src/diffviewer/ydiff.c                     buf, linenum, lineofs, dview->ndiff);
buf               153 src/editor/edit.c                          edit_buffer_calc_percent (rsm->buf, rsm->loaded));
buf               179 src/editor/edit.c edit_load_file_fast (edit_buffer_t * buf, const vfs_path_t * filename_vpath)
buf               199 src/editor/edit.c     rsm.buf = buf;
buf               205 src/editor/edit.c     ret = (edit_buffer_read_file (buf, file, buf->size, &rsm, &aborted) == buf->size);
buf               641 src/editor/edit.c is_in_indent (const edit_buffer_t * buf)
buf               645 src/editor/edit.c     for (p = edit_buffer_get_current_bol (buf); p < buf->curs1; p++)
buf               646 src/editor/edit.c         if (strchr (" \t", edit_buffer_get_byte (buf, p)) == NULL)
buf               662 src/editor/edit.c is_blank (const edit_buffer_t * buf, off_t offset)
buf               666 src/editor/edit.c     s = edit_buffer_get_bol (buf, offset);
buf               667 src/editor/edit.c     f = edit_buffer_get_eol (buf, offset) - 1;
buf               672 src/editor/edit.c         c = edit_buffer_get_byte (buf, s++);
buf              1998 src/editor/edit.c         char *buf;
buf              2004 src/editor/edit.c         buf = g_malloc0 (TEMP_BUF_LEN);
buf              2005 src/editor/edit.c         blocklen = mc_read (file, buf, sizeof (VERTICAL_MAGIC));
buf              2009 src/editor/edit.c             if (memcmp (buf, VERTICAL_MAGIC, sizeof (VERTICAL_MAGIC)) == 0)
buf              2035 src/editor/edit.c             while ((blocklen = mc_read (file, (char *) buf, TEMP_BUF_LEN)) > 0)
buf              2038 src/editor/edit.c                     edit_insert (edit, buf[i]);
buf              2058 src/editor/edit.c         g_free (buf);
buf               114 src/editor/editbuffer.c edit_buffer_get_byte_ptr (const edit_buffer_t * buf, off_t byte_index)
buf               118 src/editor/editbuffer.c     if (byte_index >= (buf->curs1 + buf->curs2) || byte_index < 0)
buf               121 src/editor/editbuffer.c     if (byte_index >= buf->curs1)
buf               125 src/editor/editbuffer.c         p = buf->curs1 + buf->curs2 - byte_index - 1;
buf               126 src/editor/editbuffer.c         b = g_ptr_array_index (buf->b2, p >> S_EDIT_BUF_SIZE);
buf               130 src/editor/editbuffer.c     b = g_ptr_array_index (buf->b1, byte_index >> S_EDIT_BUF_SIZE);
buf               144 src/editor/editbuffer.c edit_buffer_init (edit_buffer_t * buf, off_t size)
buf               146 src/editor/editbuffer.c     buf->b1 = g_ptr_array_sized_new (32);
buf               147 src/editor/editbuffer.c     buf->b2 = g_ptr_array_sized_new (32);
buf               149 src/editor/editbuffer.c     buf->curs1 = 0;
buf               150 src/editor/editbuffer.c     buf->curs2 = 0;
buf               152 src/editor/editbuffer.c     buf->size = size;
buf               153 src/editor/editbuffer.c     buf->lines = 0;
buf               164 src/editor/editbuffer.c edit_buffer_clean (edit_buffer_t * buf)
buf               166 src/editor/editbuffer.c     if (buf->b1 != NULL)
buf               168 src/editor/editbuffer.c         g_ptr_array_foreach (buf->b1, (GFunc) g_free, NULL);
buf               169 src/editor/editbuffer.c         g_ptr_array_free (buf->b1, TRUE);
buf               172 src/editor/editbuffer.c     if (buf->b2 != NULL)
buf               174 src/editor/editbuffer.c         g_ptr_array_foreach (buf->b2, (GFunc) g_free, NULL);
buf               175 src/editor/editbuffer.c         g_ptr_array_free (buf->b2, TRUE);
buf               190 src/editor/editbuffer.c edit_buffer_get_byte (const edit_buffer_t * buf, off_t byte_index)
buf               194 src/editor/editbuffer.c     p = edit_buffer_get_byte_ptr (buf, byte_index);
buf               215 src/editor/editbuffer.c edit_buffer_get_utf (const edit_buffer_t * buf, off_t byte_index, int *char_length)
buf               222 src/editor/editbuffer.c     if (byte_index >= (buf->curs1 + buf->curs2) || byte_index < 0)
buf               228 src/editor/editbuffer.c     str = edit_buffer_get_byte_ptr (buf, byte_index);
buf               243 src/editor/editbuffer.c             utf8_buf[i] = edit_buffer_get_byte (buf, byte_index + i);
buf               278 src/editor/editbuffer.c edit_buffer_get_prev_utf (const edit_buffer_t * buf, off_t byte_index, int *char_length)
buf               286 src/editor/editbuffer.c     if (byte_index > (buf->curs1 + buf->curs2) || byte_index <= 0)
buf               293 src/editor/editbuffer.c         utf8_buf[i] = edit_buffer_get_byte (buf, byte_index + i - (2 * UTF8_CHAR_LEN));
buf               329 src/editor/editbuffer.c edit_buffer_count_lines (const edit_buffer_t * buf, off_t first, off_t last)
buf               334 src/editor/editbuffer.c     last = MIN (last, buf->size);
buf               337 src/editor/editbuffer.c         if (edit_buffer_get_byte (buf, first++) == '\n')
buf               354 src/editor/editbuffer.c edit_buffer_get_bol (const edit_buffer_t * buf, off_t current)
buf               359 src/editor/editbuffer.c     for (; edit_buffer_get_byte (buf, current - 1) != '\n'; current--)
buf               376 src/editor/editbuffer.c edit_buffer_get_eol (const edit_buffer_t * buf, off_t current)
buf               378 src/editor/editbuffer.c     if (current >= buf->size)
buf               379 src/editor/editbuffer.c         return buf->size;
buf               381 src/editor/editbuffer.c     for (; edit_buffer_get_byte (buf, current) != '\n'; current++)
buf               400 src/editor/editbuffer.c edit_buffer_get_word_from_pos (const edit_buffer_t * buf, off_t start_pos, off_t * start,
buf               410 src/editor/editbuffer.c         c1 = edit_buffer_get_byte (buf, word_start);
buf               411 src/editor/editbuffer.c         c2 = edit_buffer_get_byte (buf, word_start - 1);
buf               421 src/editor/editbuffer.c         c1 = edit_buffer_get_byte (buf, word_start + match_expr->len);
buf               422 src/editor/editbuffer.c         c2 = edit_buffer_get_byte (buf, word_start + match_expr->len + 1);
buf               443 src/editor/editbuffer.c edit_buffer_insert (edit_buffer_t * buf, int c)
buf               448 src/editor/editbuffer.c     i = buf->curs1 & M_EDIT_BUF_SIZE;
buf               452 src/editor/editbuffer.c         g_ptr_array_add (buf->b1, g_malloc0 (EDIT_BUF_SIZE));
buf               455 src/editor/editbuffer.c     b = g_ptr_array_index (buf->b1, buf->curs1 >> S_EDIT_BUF_SIZE);
buf               459 src/editor/editbuffer.c     buf->curs1++;
buf               462 src/editor/editbuffer.c     buf->size++;
buf               475 src/editor/editbuffer.c edit_buffer_insert_ahead (edit_buffer_t * buf, int c)
buf               480 src/editor/editbuffer.c     i = buf->curs2 & M_EDIT_BUF_SIZE;
buf               484 src/editor/editbuffer.c         g_ptr_array_add (buf->b2, g_malloc0 (EDIT_BUF_SIZE));
buf               487 src/editor/editbuffer.c     b = g_ptr_array_index (buf->b2, buf->curs2 >> S_EDIT_BUF_SIZE);
buf               491 src/editor/editbuffer.c     buf->curs2++;
buf               494 src/editor/editbuffer.c     buf->size++;
buf               507 src/editor/editbuffer.c edit_buffer_delete (edit_buffer_t * buf)
buf               514 src/editor/editbuffer.c     prev = buf->curs2 - 1;
buf               516 src/editor/editbuffer.c     b = g_ptr_array_index (buf->b2, prev >> S_EDIT_BUF_SIZE);
buf               524 src/editor/editbuffer.c         j = buf->b2->len - 1;
buf               525 src/editor/editbuffer.c         b = g_ptr_array_index (buf->b2, j);
buf               526 src/editor/editbuffer.c         g_ptr_array_remove_index (buf->b2, j);
buf               530 src/editor/editbuffer.c     buf->curs2 = prev;
buf               533 src/editor/editbuffer.c     buf->size--;
buf               548 src/editor/editbuffer.c edit_buffer_backspace (edit_buffer_t * buf)
buf               555 src/editor/editbuffer.c     prev = buf->curs1 - 1;
buf               557 src/editor/editbuffer.c     b = g_ptr_array_index (buf->b1, prev >> S_EDIT_BUF_SIZE);
buf               565 src/editor/editbuffer.c         j = buf->b1->len - 1;
buf               566 src/editor/editbuffer.c         b = g_ptr_array_index (buf->b1, j);
buf               567 src/editor/editbuffer.c         g_ptr_array_remove_index (buf->b1, j);
buf               571 src/editor/editbuffer.c     buf->curs1 = prev;
buf               574 src/editor/editbuffer.c     buf->size--;
buf               594 src/editor/editbuffer.c edit_buffer_get_forward_offset (const edit_buffer_t * buf, off_t current, long lines, off_t upto)
buf               597 src/editor/editbuffer.c         return (off_t) edit_buffer_count_lines (buf, current, upto);
buf               605 src/editor/editbuffer.c         next = edit_buffer_get_eol (buf, current) + 1;
buf               606 src/editor/editbuffer.c         if (next > buf->size)
buf               626 src/editor/editbuffer.c edit_buffer_get_backward_offset (const edit_buffer_t * buf, off_t current, long lines)
buf               629 src/editor/editbuffer.c     current = edit_buffer_get_bol (buf, current);
buf               632 src/editor/editbuffer.c         current = edit_buffer_get_bol (buf, current - 1);
buf               649 src/editor/editbuffer.c edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size,
buf               661 src/editor/editbuffer.c     buf->lines = 0;
buf               662 src/editor/editbuffer.c     buf->curs2 = size;
buf               663 src/editor/editbuffer.c     i = buf->curs2 >> S_EDIT_BUF_SIZE;
buf               666 src/editor/editbuffer.c     data_size = buf->curs2 & M_EDIT_BUF_SIZE;
buf               670 src/editor/editbuffer.c         g_ptr_array_add (buf->b2, b);
buf               677 src/editor/editbuffer.c                 buf->lines++;
buf               690 src/editor/editbuffer.c         g_ptr_array_add (buf->b2, b);
buf               698 src/editor/editbuffer.c                 buf->lines++;
buf               706 src/editor/editbuffer.c                 if (sm->buf == NULL)
buf               707 src/editor/editbuffer.c                     sm->buf = buf;
buf               723 src/editor/editbuffer.c     for (i = 0; i < (off_t) buf->b2->len / 2; i++)
buf               727 src/editor/editbuffer.c         b1 = &g_ptr_array_index (buf->b2, i);
buf               728 src/editor/editbuffer.c         b2 = &g_ptr_array_index (buf->b2, buf->b2->len - 1 - i);
buf               763 src/editor/editbuffer.c edit_buffer_write_file (edit_buffer_t * buf, int fd)
buf               771 src/editor/editbuffer.c     if (buf->b1->len != 0)
buf               774 src/editor/editbuffer.c         for (i = 0; i < (off_t) buf->b1->len - 1; i++)
buf               776 src/editor/editbuffer.c             b = g_ptr_array_index (buf->b1, i);
buf               787 src/editor/editbuffer.c         data_size = ((buf->curs1 - 1) & M_EDIT_BUF_SIZE) + 1;
buf               788 src/editor/editbuffer.c         b = g_ptr_array_index (buf->b1, i);
buf               797 src/editor/editbuffer.c     if (buf->b2->len != 0)
buf               800 src/editor/editbuffer.c         i = buf->b2->len - 1;
buf               801 src/editor/editbuffer.c         b = g_ptr_array_index (buf->b2, i);
buf               802 src/editor/editbuffer.c         data_size = ((buf->curs2 - 1) & M_EDIT_BUF_SIZE) + 1;
buf               813 src/editor/editbuffer.c                 b = g_ptr_array_index (buf->b2, i);
buf               837 src/editor/editbuffer.c edit_buffer_calc_percent (const edit_buffer_t * buf, off_t offset)
buf               841 src/editor/editbuffer.c     if (buf->size == 0)
buf               843 src/editor/editbuffer.c     else if (offset >= buf->size)
buf               846 src/editor/editbuffer.c         percent = offset / (buf->size / 100);
buf               848 src/editor/editbuffer.c         percent = offset * 100 / buf->size;
buf                30 src/editor/editbuffer.h     edit_buffer_t *buf;
buf                38 src/editor/editbuffer.h void edit_buffer_init (edit_buffer_t * buf, off_t size);
buf                39 src/editor/editbuffer.h void edit_buffer_clean (edit_buffer_t * buf);
buf                41 src/editor/editbuffer.h int edit_buffer_get_byte (const edit_buffer_t * buf, off_t byte_index);
buf                43 src/editor/editbuffer.h int edit_buffer_get_utf (const edit_buffer_t * buf, off_t byte_index, int *char_length);
buf                44 src/editor/editbuffer.h int edit_buffer_get_prev_utf (const edit_buffer_t * buf, off_t byte_index, int *char_length);
buf                46 src/editor/editbuffer.h long edit_buffer_count_lines (const edit_buffer_t * buf, off_t first, off_t last);
buf                47 src/editor/editbuffer.h off_t edit_buffer_get_bol (const edit_buffer_t * buf, off_t current);
buf                48 src/editor/editbuffer.h off_t edit_buffer_get_eol (const edit_buffer_t * buf, off_t current);
buf                49 src/editor/editbuffer.h GString *edit_buffer_get_word_from_pos (const edit_buffer_t * buf, off_t start_pos, off_t * start,
buf                52 src/editor/editbuffer.h void edit_buffer_insert (edit_buffer_t * buf, int c);
buf                53 src/editor/editbuffer.h void edit_buffer_insert_ahead (edit_buffer_t * buf, int c);
buf                54 src/editor/editbuffer.h int edit_buffer_delete (edit_buffer_t * buf);
buf                55 src/editor/editbuffer.h int edit_buffer_backspace (edit_buffer_t * buf);
buf                57 src/editor/editbuffer.h off_t edit_buffer_get_forward_offset (const edit_buffer_t * buf, off_t current, long lines,
buf                59 src/editor/editbuffer.h off_t edit_buffer_get_backward_offset (const edit_buffer_t * buf, off_t current, long lines);
buf                61 src/editor/editbuffer.h off_t edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size,
buf                63 src/editor/editbuffer.h off_t edit_buffer_write_file (edit_buffer_t * buf, int fd);
buf                65 src/editor/editbuffer.h int edit_buffer_calc_percent (const edit_buffer_t * buf, off_t offset);
buf                70 src/editor/editbuffer.h edit_buffer_get_current_byte (const edit_buffer_t * buf)
buf                72 src/editor/editbuffer.h     return edit_buffer_get_byte (buf, buf->curs1);
buf                78 src/editor/editbuffer.h edit_buffer_get_previous_byte (const edit_buffer_t * buf)
buf                80 src/editor/editbuffer.h     return edit_buffer_get_byte (buf, buf->curs1 - 1);
buf                93 src/editor/editbuffer.h edit_buffer_get_current_bol (const edit_buffer_t * buf)
buf                95 src/editor/editbuffer.h     return edit_buffer_get_bol (buf, buf->curs1);
buf               108 src/editor/editbuffer.h edit_buffer_get_current_eol (const edit_buffer_t * buf)
buf               110 src/editor/editbuffer.h     return edit_buffer_get_eol (buf, buf->curs1);
buf               419 src/editor/editcmd.c edit_check_newline (const edit_buffer_t * buf)
buf               421 src/editor/editcmd.c     return !(option_check_nl_at_eof && buf->size > 0
buf               422 src/editor/editcmd.c              && edit_buffer_get_byte (buf, buf->size - 1) != '\n'
buf               694 src/editor/editcmd.c edit_calculate_start_of_next_line (const edit_buffer_t * buf, off_t current_pos, off_t max_pos,
buf               702 src/editor/editcmd.c         if (edit_buffer_get_byte (buf, i) == end_string_symbol)
buf               720 src/editor/editcmd.c edit_calculate_end_of_previous_line (const edit_buffer_t * buf, off_t current_pos,
buf               726 src/editor/editcmd.c         if (edit_buffer_get_byte (buf, i) == end_string_symbol)
buf               743 src/editor/editcmd.c edit_calculate_start_of_previous_line (const edit_buffer_t * buf, off_t current_pos,
buf               746 src/editor/editcmd.c     current_pos = edit_calculate_end_of_previous_line (buf, current_pos, end_string_symbol);
buf               747 src/editor/editcmd.c     current_pos = edit_calculate_end_of_previous_line (buf, current_pos, end_string_symbol);
buf               763 src/editor/editcmd.c edit_calculate_start_of_current_line (const edit_buffer_t * buf, off_t current_pos,
buf               766 src/editor/editcmd.c     current_pos = edit_calculate_end_of_previous_line (buf, current_pos, end_string_symbol);
buf              1097 src/editor/editcmd.c pipe_mail (const edit_buffer_t * buf, char *to, char *subject, char *cc)
buf              1120 src/editor/editcmd.c         for (i = 0; i < buf->size; i++)
buf              1121 src/editor/editcmd.c             fputc (edit_buffer_get_byte (buf, i), p);
buf              1130 src/editor/editcmd.c edit_find_word_start (const edit_buffer_t * buf, off_t * word_start, gsize * word_len)
buf              1136 src/editor/editcmd.c     if (buf->curs1 <= 0)
buf              1139 src/editor/editcmd.c     c = edit_buffer_get_previous_byte (buf);
buf              1150 src/editor/editcmd.c         c = edit_buffer_get_byte (buf, buf->curs1 - i - 1);
buf              1163 src/editor/editcmd.c     *word_start = buf->curs1 - i;       /* start found */
buf              2957 src/editor/editcmd.c         unsigned char *buf;
buf              2962 src/editor/editcmd.c         buf = g_malloc0 (TEMP_BUF_LEN);
buf              2967 src/editor/editcmd.c                 buf[i - start] = edit_buffer_get_byte (&edit->buffer, i);
buf              2968 src/editor/editcmd.c             len -= mc_write (file, (char *) buf, end - start);
buf              2971 src/editor/editcmd.c         g_free (buf);
buf                57 src/editor/etags.c parse_define (const char *buf, char **long_name, char **short_name, long *line)
buf                75 src/editor/etags.c     char c = *buf;
buf               102 src/editor/etags.c                 buf--;
buf               159 src/editor/etags.c         buf++;
buf               160 src/editor/etags.c         c = *buf;
buf               186 src/editor/etags.c     char buf[BUF_LARGE];
buf               201 src/editor/etags.c     while (fgets (buf, sizeof (buf), f))
buf               206 src/editor/etags.c             if (buf[0] == 0x0C)
buf               215 src/editor/etags.c                 pos = strcspn (buf, ",");
buf               217 src/editor/etags.c                 filename = g_strndup (buf, pos);
buf               222 src/editor/etags.c             if (buf[0] == 0x0C)
buf               228 src/editor/etags.c             chekedstr = strstr (buf, match_func);
buf                75 src/editor/format.c line_start (const edit_buffer_t * buf, long line)
buf                80 src/editor/format.c     l = buf->curs_line;
buf                81 src/editor/format.c     p = buf->curs1;
buf                84 src/editor/format.c         p = edit_buffer_get_backward_offset (buf, p, l - line);
buf                86 src/editor/format.c         p = edit_buffer_get_forward_offset (buf, p, line - l, 0);
buf                88 src/editor/format.c     p = edit_buffer_get_bol (buf, p);
buf                89 src/editor/format.c     while (strchr ("\t ", edit_buffer_get_byte (buf, p)) != NULL)
buf                97 src/editor/format.c bad_line_start (const edit_buffer_t * buf, off_t p)
buf               101 src/editor/format.c     c = edit_buffer_get_byte (buf, p);
buf               105 src/editor/format.c         return !(edit_buffer_get_byte (buf, p + 1) == '.'
buf               106 src/editor/format.c                  && edit_buffer_get_byte (buf, p + 2) == '.');
buf               111 src/editor/format.c         return !(edit_buffer_get_byte (buf, p + 1) == '-'
buf               112 src/editor/format.c                  && edit_buffer_get_byte (buf, p + 2) == '-');
buf               172 src/editor/format.c get_paragraph (const edit_buffer_t * buf, off_t p, off_t q, gboolean indent)
buf               180 src/editor/format.c         if (indent && edit_buffer_get_byte (buf, p - 1) == '\n')
buf               181 src/editor/format.c             while (strchr ("\t ", edit_buffer_get_byte (buf, p)) != NULL)
buf               184 src/editor/format.c         g_string_append_c (t, edit_buffer_get_byte (buf, p));
buf                64 src/file_history.c     char buf[MC_MAXPATHLEN + 100];
buf                77 src/file_history.c     while (fgets (buf, sizeof (buf), f) != NULL)
buf                83 src/file_history.c         s = strrchr (buf, ' ');
buf                86 src/file_history.c         fhd->file_name = g_strndup (buf, s - buf);
buf               536 src/filemanager/ext.c get_popen_information (const char *cmd_file, const char *args, char *buf, int buflen)
buf               555 src/filemanager/ext.c         read_bytes = (fgets (buf, buflen, f) != NULL);
buf               557 src/filemanager/ext.c             buf[0] = '\0';      /* Paranoid termination */
buf               562 src/filemanager/ext.c         buf[0] = '\0';          /* Paranoid termination */
buf               566 src/filemanager/ext.c     buf[buflen - 1] = '\0';
buf               578 src/filemanager/ext.c get_file_type_local (const vfs_path_t * filename_vpath, char *buf, int buflen)
buf               584 src/filemanager/ext.c     ret = get_popen_information (FILE_CMD, tmp, buf, buflen);
buf               598 src/filemanager/ext.c get_file_encoding_local (const vfs_path_t * filename_vpath, char *buf, int buflen)
buf               607 src/filemanager/ext.c     ret = get_popen_information ("enca", args, buf, buflen);
buf              1093 src/filemanager/file.c     char buf[BUF_MEDIUM];
buf              1097 src/filemanager/file.c     g_snprintf (buf, sizeof (buf), format, nfile1, nfile2, unix_error_string (errno));
buf              1102 src/filemanager/file.c     return do_file_error (TRUE, buf);
buf              1357 src/filemanager/file.c     struct stat buf;
buf              1370 src/filemanager/file.c     if (tctx->progress_count != 0 && mc_lstat (vpath, &buf) != 0)
buf              1373 src/filemanager/file.c         buf.st_size = 0;
buf              1427 src/filemanager/file.c         struct stat buf;
buf              1433 src/filemanager/file.c         if (mc_lstat (tmp_vpath, &buf) != 0)
buf              1439 src/filemanager/file.c         if (S_ISDIR (buf.st_mode))
buf              2211 src/filemanager/file.c     char *buf = NULL;
buf              2534 src/filemanager/file.c         buf = g_malloc (bufsize);
buf              2542 src/filemanager/file.c                 while ((n_read = mc_read (src_desc, buf, bufsize)) < 0 && !ctx->skip_all)
buf              2560 src/filemanager/file.c                 char *t = buf;
buf              2658 src/filemanager/file.c     g_free (buf);
buf              3466 src/filemanager/file.c     char buf[BUF_MEDIUM];
buf              3468 src/filemanager/file.c     g_snprintf (buf, sizeof (buf), format, path_trunc (file, 30), unix_error_string (errno));
buf              3470 src/filemanager/file.c     return do_file_error (allow_retry, buf);
buf               108 src/filemanager/filegui.c statfs (char const *filename, struct fs_info *buf)
buf               123 src/filemanager/filegui.c     return fs_stat_dev (device, buf);
buf              1339 src/filemanager/filegui.c         struct stat buf;
buf              1447 src/filemanager/filegui.c                     || (mc_stat (vpath, &buf) == 0 && S_ISDIR (buf.st_mode))))
buf              1450 src/filemanager/filegui.c                     || (only_one && mc_stat (vpath, &buf) == 0 && S_ISDIR (buf.st_mode)))))
buf                22 src/filemanager/fileopctx.h typedef int (*mc_stat_fn) (const vfs_path_t * vpath, struct stat * buf);
buf               482 src/filemanager/panel.c format_device_number (char *buf, size_t bufsize, dev_t dev)
buf               496 src/filemanager/panel.c         g_snprintf (buf, bufsize, "%lu,%lu", (unsigned long) major_dev, (unsigned long) minor_dev);
buf               498 src/filemanager/panel.c         g_strlcpy (buf, _("[dev]"), bufsize);
buf              1073 src/filemanager/panel.c     const char *buf;
buf              1079 src/filemanager/panel.c     buf = size_only ? b_bytes : buffer;
buf              1091 src/filemanager/panel.c     buf = str_trunc (buf, cols - 4);
buf              1095 src/filemanager/panel.c         x = (w->cols - str_term_width1 (buf)) / 2 - 1;
buf              1103 src/filemanager/panel.c     tty_printf (" %s ", buf);
buf               745 src/filemanager/tree.c     struct stat buf;
buf               764 src/filemanager/tree.c     if (mc_stat (dest_vpath, &buf))
buf               771 src/filemanager/tree.c     if (!S_ISDIR (buf.st_mode))
buf               821 src/filemanager/tree.c         char *buf;
buf               824 src/filemanager/tree.c         buf = g_strdup_printf (_("Delete %s?"), vfs_path_as_str (tree->selected_ptr->name));
buf               826 src/filemanager/tree.c         result = query_dialog (Q_ ("DialogTitle|Delete"), buf, D_ERROR, 2, _("&Yes"), _("&No"));
buf               827 src/filemanager/tree.c         g_free (buf);
buf               895 src/filemanager/treestore.c     struct stat buf;
buf               920 src/filemanager/treestore.c                 if (mc_lstat (tmp_vpath, &buf) != -1 && S_ISDIR (buf.st_mode))
buf               197 src/subshell/common.c write_all (int fd, const void *buf, size_t count)
buf               205 src/subshell/common.c         ret = write (fd, (const unsigned char *) buf + written, count);
buf               315 src/vfs/cpio/cpio.c     char buf[BUF_SMALL * 2];
buf               320 src/vfs/cpio/cpio.c     top = mc_read (arch->fd, buf, sizeof (buf));
buf               328 src/vfs/cpio/cpio.c             if (top > (ssize_t) (sizeof (buf) / 2))
buf               330 src/vfs/cpio/cpio.c                 memmove (buf, buf + top - sizeof (buf) / 2, sizeof (buf) / 2);
buf               331 src/vfs/cpio/cpio.c                 ptr -= top - sizeof (buf) / 2;
buf               332 src/vfs/cpio/cpio.c                 top = sizeof (buf) / 2;
buf               334 src/vfs/cpio/cpio.c             tmp = mc_read (arch->fd, buf, top);
buf               343 src/vfs/cpio/cpio.c         if (TYPEIS (CPIO_BIN) && ((*(unsigned short *) (buf + ptr)) == 070707))
buf               349 src/vfs/cpio/cpio.c                  && ((*(unsigned short *) (buf + ptr)) == GUINT16_SWAP_LE_BE_CONSTANT (070707)))
buf               354 src/vfs/cpio/cpio.c         else if (TYPEIS (CPIO_OLDC) && (strncmp (buf + ptr, "070707", 6) == 0))
buf               359 src/vfs/cpio/cpio.c         else if (TYPEIS (CPIO_NEWC) && (strncmp (buf + ptr, "070701", 6) == 0))
buf               364 src/vfs/cpio/cpio.c         else if (TYPEIS (CPIO_CRC) && (strncmp (buf + ptr, "070702", 6) == 0))
buf               555 src/vfs/cpio/cpio.c         struct old_cpio_header buf;
buf               564 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, (char *) &u.buf, HEAD_LENGTH);
buf               575 src/vfs/cpio/cpio.c     if (u.buf.c_magic != 070707 || u.buf.c_namesize == 0 || u.buf.c_namesize > MC_MAXPATHLEN)
buf               580 src/vfs/cpio/cpio.c     name = g_malloc (u.buf.c_namesize);
buf               581 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, u.buf.c_namesize);
buf               582 src/vfs/cpio/cpio.c     if (len < u.buf.c_namesize)
buf               587 src/vfs/cpio/cpio.c     name[u.buf.c_namesize - 1] = '\0';
buf               597 src/vfs/cpio/cpio.c     st.st_dev = u.buf.c_dev;
buf               598 src/vfs/cpio/cpio.c     st.st_ino = u.buf.c_ino;
buf               599 src/vfs/cpio/cpio.c     st.st_mode = u.buf.c_mode;
buf               600 src/vfs/cpio/cpio.c     st.st_nlink = u.buf.c_nlink;
buf               601 src/vfs/cpio/cpio.c     st.st_uid = u.buf.c_uid;
buf               602 src/vfs/cpio/cpio.c     st.st_gid = u.buf.c_gid;
buf               604 src/vfs/cpio/cpio.c     st.st_rdev = u.buf.c_rdev;
buf               606 src/vfs/cpio/cpio.c     st.st_size = (u.buf.c_filesizes[0] << 16) | u.buf.c_filesizes[1];
buf               610 src/vfs/cpio/cpio.c     st.st_atime = st.st_mtime = st.st_ctime = (u.buf.c_mtimes[0] << 16) | u.buf.c_mtimes[1];
buf               628 src/vfs/cpio/cpio.c         char buf[HEAD_LENGTH + 1];
buf               633 src/vfs/cpio/cpio.c     if (mc_read (arch->fd, u.buf, HEAD_LENGTH) != HEAD_LENGTH)
buf               636 src/vfs/cpio/cpio.c     u.buf[HEAD_LENGTH] = 0;
buf               638 src/vfs/cpio/cpio.c     if (sscanf (u.buf, "070707%6lo%6lo%6lo%6lo%6lo%6lo%6lo%11lo%6lo%11lo",
buf               700 src/vfs/cpio/cpio.c         char buf[HEAD_LENGTH + 1];
buf               705 src/vfs/cpio/cpio.c     if (mc_read (arch->fd, u.buf, HEAD_LENGTH) != HEAD_LENGTH)
buf               709 src/vfs/cpio/cpio.c     u.buf[HEAD_LENGTH] = '\0';
buf               711 src/vfs/cpio/cpio.c     if (sscanf (u.buf, "%6ho%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx",
buf              1053 src/vfs/extfs/extfs.c extfs_stat_move (struct stat *buf, const struct vfs_s_inode *inode)
buf              1055 src/vfs/extfs/extfs.c     *buf = inode->st;
buf              1058 src/vfs/extfs/extfs.c     buf->st_blksize = RECORDSIZE;
buf              1060 src/vfs/extfs/extfs.c     vfs_adjust_stat (buf);
buf              1062 src/vfs/extfs/extfs.c     buf->st_atim.tv_nsec = buf->st_mtim.tv_nsec = buf->st_ctim.tv_nsec = 0;
buf              1069 src/vfs/extfs/extfs.c extfs_internal_stat (const vfs_path_t * vpath, struct stat *buf, gboolean resolve)
buf              1088 src/vfs/extfs/extfs.c     extfs_stat_move (buf, entry->ino);
buf              1097 src/vfs/extfs/extfs.c extfs_stat (const vfs_path_t * vpath, struct stat *buf)
buf              1099 src/vfs/extfs/extfs.c     return extfs_internal_stat (vpath, buf, TRUE);
buf              1105 src/vfs/extfs/extfs.c extfs_lstat (const vfs_path_t * vpath, struct stat *buf)
buf              1107 src/vfs/extfs/extfs.c     return extfs_internal_stat (vpath, buf, FALSE);
buf              1113 src/vfs/extfs/extfs.c extfs_fstat (void *fh, struct stat *buf)
buf              1117 src/vfs/extfs/extfs.c     extfs_stat_move (buf, file->ino);
buf              1124 src/vfs/extfs/extfs.c extfs_readlink (const vfs_path_t * vpath, char *buf, size_t size)
buf              1151 src/vfs/extfs/extfs.c     memcpy (buf, entry->ino->linkname, result);
buf              1180 src/vfs/extfs/extfs.c extfs_write (void *fh, const char *buf, size_t nbyte)
buf              1185 src/vfs/extfs/extfs.c     return write (file->handle, buf, nbyte);
buf              1154 src/vfs/fish/fish.c fish_linear_read (struct vfs_class *me, vfs_file_handler_t * fh, void *buf, size_t len)
buf              1162 src/vfs/fish/fish.c     while (len != 0 && ((n = read (FISH_SUPER (super)->sockr, buf, len)) < 0))
buf              1326 src/vfs/fish/fish.c fish_stat (const vfs_path_t * vpath, struct stat *buf)
buf              1330 src/vfs/fish/fish.c     ret = vfs_s_stat (vpath, buf);
buf              1331 src/vfs/fish/fish.c     fish_set_blksize (buf);
buf              1338 src/vfs/fish/fish.c fish_lstat (const vfs_path_t * vpath, struct stat *buf)
buf              1342 src/vfs/fish/fish.c     ret = vfs_s_lstat (vpath, buf);
buf              1343 src/vfs/fish/fish.c     fish_set_blksize (buf);
buf              1350 src/vfs/fish/fish.c fish_fstat (void *vfs_info, struct stat *buf)
buf              1354 src/vfs/fish/fish.c     ret = vfs_s_fstat (vfs_info, buf);
buf              1355 src/vfs/fish/fish.c     fish_set_blksize (buf);
buf              1059 src/vfs/ftpfs/ftpfs.c     char buf[MC_MAXPATHLEN + 1];
buf              1062 src/vfs/ftpfs/ftpfs.c         ftpfs_get_reply (me, FTP_SUPER (super)->sock, buf, sizeof (buf)) == COMPLETE)
buf              1067 src/vfs/ftpfs/ftpfs.c         for (bufq = buf; *bufq != '\0'; bufq++)
buf              1494 src/vfs/ftpfs/ftpfs.c             char buf[BUF_8K];
buf              1498 src/vfs/ftpfs/ftpfs.c             while (read (dsock, buf, sizeof (buf)) > 0)
buf              1997 src/vfs/ftpfs/ftpfs.c ftpfs_linear_read (struct vfs_class *me, vfs_file_handler_t * fh, void *buf, size_t len)
buf              2002 src/vfs/ftpfs/ftpfs.c     while ((n = read (FH_SOCK, buf, len)) < 0)
buf              2097 src/vfs/ftpfs/ftpfs.c ftpfs_stat (const vfs_path_t * vpath, struct stat *buf)
buf              2101 src/vfs/ftpfs/ftpfs.c     ret = vfs_s_stat (vpath, buf);
buf              2102 src/vfs/ftpfs/ftpfs.c     ftpfs_set_blksize (buf);
buf              2109 src/vfs/ftpfs/ftpfs.c ftpfs_lstat (const vfs_path_t * vpath, struct stat *buf)
buf              2113 src/vfs/ftpfs/ftpfs.c     ret = vfs_s_lstat (vpath, buf);
buf              2114 src/vfs/ftpfs/ftpfs.c     ftpfs_set_blksize (buf);
buf              2121 src/vfs/ftpfs/ftpfs.c ftpfs_fstat (void *vfs_info, struct stat *buf)
buf              2125 src/vfs/ftpfs/ftpfs.c     ret = vfs_s_fstat (vfs_info, buf);
buf              2126 src/vfs/ftpfs/ftpfs.c     ftpfs_set_blksize (buf);
buf              2135 src/vfs/ftpfs/ftpfs.c     char buf[BUF_SMALL];
buf              2138 src/vfs/ftpfs/ftpfs.c     g_snprintf (buf, sizeof (buf), "SITE CHMOD %4.4o /%%s", (unsigned int) (mode & 07777));
buf              2139 src/vfs/ftpfs/ftpfs.c     ret = ftpfs_send_command (vpath, buf, OPT_FLUSH);
buf               127 src/vfs/local/local.c local_stat (const vfs_path_t * vpath, struct stat *buf)
buf               132 src/vfs/local/local.c     return stat (path_element->path, buf);
buf               138 src/vfs/local/local.c local_lstat (const vfs_path_t * vpath, struct stat *buf)
buf               144 src/vfs/local/local.c     return lstat (path_element->path, buf);
buf               146 src/vfs/local/local.c     return statlstat (path_element->path, buf);
buf               192 src/vfs/local/local.c local_readlink (const vfs_path_t * vpath, char *buf, size_t size)
buf               197 src/vfs/local/local.c     return readlink (path_element->path, buf, size);
buf               226 src/vfs/local/local.c local_write (void *data, const char *buf, size_t nbyte)
buf               236 src/vfs/local/local.c     while ((n = write (fd, buf, nbyte)) == -1)
buf               409 src/vfs/local/local.c local_fstat (void *data, struct stat *buf)
buf               413 src/vfs/local/local.c     return fstat (fd, buf);
buf                27 src/vfs/local/local.h extern int local_fstat (void *data, struct stat *buf);
buf               297 src/vfs/sfs/sfs.c sfs_stat (const vfs_path_t * vpath, struct stat *buf)
buf               299 src/vfs/sfs/sfs.c     return stat (sfs_redirect (vpath), buf);
buf               305 src/vfs/sfs/sfs.c sfs_lstat (const vfs_path_t * vpath, struct stat *buf)
buf               308 src/vfs/sfs/sfs.c     return lstat (sfs_redirect (vpath), buf);
buf               310 src/vfs/sfs/sfs.c     return statlstat (sfs_redirect (vpath), buf);
buf               345 src/vfs/sfs/sfs.c sfs_readlink (const vfs_path_t * vpath, char *buf, size_t size)
buf               347 src/vfs/sfs/sfs.c     return readlink (sfs_redirect (vpath), buf, size);
buf               222 src/vfs/sftpfs/file.c sftpfs_fstat (void *data, struct stat *buf, GError ** mcerror)
buf               250 src/vfs/sftpfs/file.c     sftpfs_attr_to_stat (&attrs, buf);
buf               281 src/vfs/sftpfs/internal.c sftpfs_lstat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror)
buf               291 src/vfs/sftpfs/internal.c         sftpfs_attr_to_stat (&attrs, buf);
buf               309 src/vfs/sftpfs/internal.c sftpfs_stat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror)
buf               319 src/vfs/sftpfs/internal.c         buf->st_nlink = 1;
buf               320 src/vfs/sftpfs/internal.c         sftpfs_attr_to_stat (&attrs, buf);
buf               339 src/vfs/sftpfs/internal.c sftpfs_readlink (const vfs_path_t * vpath, char *buf, size_t size, GError ** mcerror)
buf               356 src/vfs/sftpfs/internal.c             libssh2_sftp_symlink_ex (super->sftp_session, fixfname, fixfname_len, buf, size,
buf                77 src/vfs/sftpfs/internal.h int sftpfs_lstat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror);
buf                78 src/vfs/sftpfs/internal.h int sftpfs_stat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror);
buf                79 src/vfs/sftpfs/internal.h int sftpfs_readlink (const vfs_path_t * vpath, char *buf, size_t size, GError ** mcerror);
buf               104 src/vfs/sftpfs/internal.h int sftpfs_fstat (void *data, struct stat *buf, GError ** mcerror);
buf               244 src/vfs/sftpfs/vfs_class.c sftpfs_cb_lstat (const vfs_path_t * vpath, struct stat *buf)
buf               249 src/vfs/sftpfs/vfs_class.c     rc = sftpfs_lstat (vpath, buf, &mcerror);
buf               264 src/vfs/sftpfs/vfs_class.c sftpfs_cb_stat (const vfs_path_t * vpath, struct stat *buf)
buf               269 src/vfs/sftpfs/vfs_class.c     rc = sftpfs_stat (vpath, buf, &mcerror);
buf               284 src/vfs/sftpfs/vfs_class.c sftpfs_cb_fstat (void *data, struct stat *buf)
buf               289 src/vfs/sftpfs/vfs_class.c     rc = sftpfs_fstat (data, buf, &mcerror);
buf               305 src/vfs/sftpfs/vfs_class.c sftpfs_cb_readlink (const vfs_path_t * vpath, char *buf, size_t size)
buf               310 src/vfs/sftpfs/vfs_class.c     rc = sftpfs_readlink (vpath, buf, size, &mcerror);
buf               459 src/vfs/sftpfs/vfs_class.c sftpfs_cb_write (void *data, const char *buf, size_t nbyte)
buf               465 src/vfs/sftpfs/vfs_class.c     rc = sftpfs_write_file (fh, buf, nbyte, &mcerror);
buf               120 src/vfs/smbfs/helpers/include/byteorder.h #define CVAL(buf,pos) (((unsigned char *)(buf))[pos])
buf               121 src/vfs/smbfs/helpers/include/byteorder.h #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos))
buf               122 src/vfs/smbfs/helpers/include/byteorder.h #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val))
buf               127 src/vfs/smbfs/helpers/include/byteorder.h #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8)
buf               128 src/vfs/smbfs/helpers/include/byteorder.h #define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16)
buf               129 src/vfs/smbfs/helpers/include/byteorder.h #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8)
buf               130 src/vfs/smbfs/helpers/include/byteorder.h #define SIVALX(buf,pos,val) (SSVALX(buf,pos,val&0xFFFF),SSVALX(buf,pos+2,val>>16))
buf               131 src/vfs/smbfs/helpers/include/byteorder.h #define SVALS(buf,pos) ((int16)SVAL(buf,pos))
buf               132 src/vfs/smbfs/helpers/include/byteorder.h #define IVALS(buf,pos) ((int32)IVAL(buf,pos))
buf               133 src/vfs/smbfs/helpers/include/byteorder.h #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((uint16)(val)))
buf               134 src/vfs/smbfs/helpers/include/byteorder.h #define SIVAL(buf,pos,val) SIVALX((buf),(pos),((uint32)(val)))
buf               135 src/vfs/smbfs/helpers/include/byteorder.h #define SSVALS(buf,pos,val) SSVALX((buf),(pos),((int16)(val)))
buf               136 src/vfs/smbfs/helpers/include/byteorder.h #define SIVALS(buf,pos,val) SIVALX((buf),(pos),((int32)(val)))
buf               148 src/vfs/smbfs/helpers/include/byteorder.h #define SVAL(buf,pos) (*(uint16 *)((char *)(buf) + (pos)))
buf               149 src/vfs/smbfs/helpers/include/byteorder.h #define IVAL(buf,pos) (*(uint32 *)((char *)(buf) + (pos)))
buf               150 src/vfs/smbfs/helpers/include/byteorder.h #define SVALS(buf,pos) (*(int16 *)((char *)(buf) + (pos)))
buf               151 src/vfs/smbfs/helpers/include/byteorder.h #define IVALS(buf,pos) (*(int32 *)((char *)(buf) + (pos)))
buf               154 src/vfs/smbfs/helpers/include/byteorder.h #define SSVAL(buf,pos,val) SVAL(buf,pos)=((uint16)(val))
buf               155 src/vfs/smbfs/helpers/include/byteorder.h #define SIVAL(buf,pos,val) IVAL(buf,pos)=((uint32)(val))
buf               156 src/vfs/smbfs/helpers/include/byteorder.h #define SSVALS(buf,pos,val) SVALS(buf,pos)=((int16)(val))
buf               157 src/vfs/smbfs/helpers/include/byteorder.h #define SIVALS(buf,pos,val) IVALS(buf,pos)=((int32)(val))
buf               163 src/vfs/smbfs/helpers/include/byteorder.h #define SMBMACRO(macro,buf,pos,val,len,size) \
buf               164 src/vfs/smbfs/helpers/include/byteorder.h { int l; for (l = 0; l < (len); l++) (val)[l] = macro((buf), (pos) + (size)*l); }
buf               166 src/vfs/smbfs/helpers/include/byteorder.h #define SSMBMACRO(macro,buf,pos,val,len,size) \
buf               167 src/vfs/smbfs/helpers/include/byteorder.h { int l; for (l = 0; l < (len); l++) macro((buf), (pos) + (size)*l, (val)[l]); }
buf               170 src/vfs/smbfs/helpers/include/byteorder.h #define PCVAL(buf,pos,val,len) SMBMACRO(CVAL,buf,pos,val,len,1)
buf               171 src/vfs/smbfs/helpers/include/byteorder.h #define PSVAL(buf,pos,val,len) SMBMACRO(SVAL,buf,pos,val,len,2)
buf               172 src/vfs/smbfs/helpers/include/byteorder.h #define PIVAL(buf,pos,val,len) SMBMACRO(IVAL,buf,pos,val,len,4)
buf               173 src/vfs/smbfs/helpers/include/byteorder.h #define PCVALS(buf,pos,val,len) SMBMACRO(CVALS,buf,pos,val,len,1)
buf               174 src/vfs/smbfs/helpers/include/byteorder.h #define PSVALS(buf,pos,val,len) SMBMACRO(SVALS,buf,pos,val,len,2)
buf               175 src/vfs/smbfs/helpers/include/byteorder.h #define PIVALS(buf,pos,val,len) SMBMACRO(IVALS,buf,pos,val,len,4)
buf               178 src/vfs/smbfs/helpers/include/byteorder.h #define PSCVAL(buf,pos,val,len) SSMBMACRO(SCVAL,buf,pos,val,len,1)
buf               179 src/vfs/smbfs/helpers/include/byteorder.h #define PSSVAL(buf,pos,val,len) SSMBMACRO(SSVAL,buf,pos,val,len,2)
buf               180 src/vfs/smbfs/helpers/include/byteorder.h #define PSIVAL(buf,pos,val,len) SSMBMACRO(SIVAL,buf,pos,val,len,4)
buf               181 src/vfs/smbfs/helpers/include/byteorder.h #define PSCVALS(buf,pos,val,len) SSMBMACRO(SCVALS,buf,pos,val,len,1)
buf               182 src/vfs/smbfs/helpers/include/byteorder.h #define PSSVALS(buf,pos,val,len) SSMBMACRO(SSVALS,buf,pos,val,len,2)
buf               183 src/vfs/smbfs/helpers/include/byteorder.h #define PSIVALS(buf,pos,val,len) SSMBMACRO(SIVALS,buf,pos,val,len,4)
buf               190 src/vfs/smbfs/helpers/include/byteorder.h #define RSVAL(buf,pos) SREV(SVAL(buf,pos))
buf               191 src/vfs/smbfs/helpers/include/byteorder.h #define RSVALS(buf,pos) SREV(SVALS(buf,pos))
buf               192 src/vfs/smbfs/helpers/include/byteorder.h #define RIVAL(buf,pos) IREV(IVAL(buf,pos))
buf               193 src/vfs/smbfs/helpers/include/byteorder.h #define RIVALS(buf,pos) IREV(IVALS(buf,pos))
buf               194 src/vfs/smbfs/helpers/include/byteorder.h #define RSSVAL(buf,pos,val) SSVAL(buf,pos,SREV(val))
buf               195 src/vfs/smbfs/helpers/include/byteorder.h #define RSSVALS(buf,pos,val) SSVALS(buf,pos,SREV(val))
buf               196 src/vfs/smbfs/helpers/include/byteorder.h #define RSIVAL(buf,pos,val) SIVAL(buf,pos,IREV(val))
buf               197 src/vfs/smbfs/helpers/include/byteorder.h #define RSIVALS(buf,pos,val) SIVALS(buf,pos,IREV(val))
buf               200 src/vfs/smbfs/helpers/include/byteorder.h #define RPSVAL(buf,pos,val,len) SMBMACRO(RSVAL,buf,pos,val,len,2)
buf               201 src/vfs/smbfs/helpers/include/byteorder.h #define RPIVAL(buf,pos,val,len) SMBMACRO(RIVAL,buf,pos,val,len,4)
buf               202 src/vfs/smbfs/helpers/include/byteorder.h #define RPSVALS(buf,pos,val,len) SMBMACRO(RSVALS,buf,pos,val,len,2)
buf               203 src/vfs/smbfs/helpers/include/byteorder.h #define RPIVALS(buf,pos,val,len) SMBMACRO(RIVALS,buf,pos,val,len,4)
buf               206 src/vfs/smbfs/helpers/include/byteorder.h #define RPSSVAL(buf,pos,val,len) SSMBMACRO(RSSVAL,buf,pos,val,len,2)
buf               207 src/vfs/smbfs/helpers/include/byteorder.h #define RPSIVAL(buf,pos,val,len) SSMBMACRO(RSIVAL,buf,pos,val,len,4)
buf               208 src/vfs/smbfs/helpers/include/byteorder.h #define RPSSVALS(buf,pos,val,len) SSMBMACRO(RSSVALS,buf,pos,val,len,2)
buf               209 src/vfs/smbfs/helpers/include/byteorder.h #define RPSIVALS(buf,pos,val,len) SSMBMACRO(RSIVALS,buf,pos,val,len,4)
buf                82 src/vfs/smbfs/helpers/include/proto.h void put_dos_date (char *buf, int offset, time_t unixdate);
buf                83 src/vfs/smbfs/helpers/include/proto.h void put_dos_date2 (char *buf, int offset, time_t unixdate);
buf                84 src/vfs/smbfs/helpers/include/proto.h void put_dos_date3 (char *buf, int offset, time_t unixdate);
buf               115 src/vfs/smbfs/helpers/include/proto.h void show_msg (char *buf);
buf               116 src/vfs/smbfs/helpers/include/proto.h int smb_len (char *buf);
buf               117 src/vfs/smbfs/helpers/include/proto.h void _smb_setlen (char *buf, int len);
buf               118 src/vfs/smbfs/helpers/include/proto.h void smb_setlen (char *buf, int len);
buf               119 src/vfs/smbfs/helpers/include/proto.h int set_message (char *buf, int num_words, int num_bytes, BOOL zero);
buf               120 src/vfs/smbfs/helpers/include/proto.h int smb_buflen (char *buf);
buf               121 src/vfs/smbfs/helpers/include/proto.h char *smb_buf (char *buf);
buf               122 src/vfs/smbfs/helpers/include/proto.h int smb_offset (char *p, char *buf);
buf               127 src/vfs/smbfs/helpers/include/proto.h void make_dir_struct (char *buf, char *mask, char *fname, SMB_OFF_T size, int mode, time_t date);
buf               132 src/vfs/smbfs/helpers/include/proto.h int name_extract (char *buf, int ofs, char *name);
buf               163 src/vfs/smbfs/helpers/include/proto.h void out_ascii (FILE * f, unsigned char *buf, int len);
buf               165 src/vfs/smbfs/helpers/include/proto.h void print_asc (int level, unsigned char *buf, int len);
buf               189 src/vfs/smbfs/helpers/include/proto.h ssize_t write_socket (int fd, char *buf, size_t len);
buf               190 src/vfs/smbfs/helpers/include/proto.h ssize_t read_udp_socket (int fd, char *buf, size_t len);
buf               191 src/vfs/smbfs/helpers/include/proto.h ssize_t read_with_timeout (int fd, char *buf, size_t mincnt, size_t maxcnt, unsigned int time_out);
buf               200 src/vfs/smbfs/helpers/include/proto.h BOOL send_one_packet (char *buf, int len, struct in_addr ip, int port, int type);
buf               221 src/vfs/smbfs/helpers/include/proto.h char *skip_string (char *buf, size_t n);
buf               274 src/vfs/smbfs/helpers/include/proto.h size_t cli_read (struct cli_state *cli, int fnum, char *buf, off_t offset, size_t size);
buf               276 src/vfs/smbfs/helpers/include/proto.h                    int fnum, uint16 write_mode, const char *buf, off_t offset, size_t size);
buf               277 src/vfs/smbfs/helpers/include/proto.h ssize_t cli_smbwrite (struct cli_state *cli, int fnum, const char *buf, off_t offset, size_t size);
buf              1329 src/vfs/smbfs/helpers/include/smb.h #define smb_base(buf) (((char *)(buf))+4)
buf               206 src/vfs/smbfs/helpers/lib/charset.c     unsigned char buf[8];
buf               258 src/vfs/smbfs/helpers/lib/charset.c     if (fread (buf, 1, CODEPAGE_HEADER_SIZE, fp) != CODEPAGE_HEADER_SIZE)
buf               266 src/vfs/smbfs/helpers/lib/charset.c     if (SVAL (buf, CODEPAGE_VERSION_OFFSET) != CODEPAGE_FILE_VERSION_ID)
buf               269 src/vfs/smbfs/helpers/lib/charset.c Needed %hu, got %hu.\n", codepage_file_name, (uint16) CODEPAGE_FILE_VERSION_ID, SVAL (buf, CODEPAGE_VERSION_OFFSET)));
buf               274 src/vfs/smbfs/helpers/lib/charset.c     if (SVAL (buf, CODEPAGE_CLIENT_CODEPAGE_OFFSET) != (uint16) client_codepage)
buf               277 src/vfs/smbfs/helpers/lib/charset.c Needed %hu, got %hu.\n", codepage_file_name, (uint16) client_codepage, SVAL (buf, CODEPAGE_CLIENT_CODEPAGE_OFFSET)));
buf               282 src/vfs/smbfs/helpers/lib/charset.c     if (IVAL (buf, CODEPAGE_LENGTH_OFFSET) != (size - CODEPAGE_HEADER_SIZE))
buf               285 src/vfs/smbfs/helpers/lib/charset.c Needed %u, got %u.\n", codepage_file_name, (uint32) (size - CODEPAGE_HEADER_SIZE), IVAL (buf, CODEPAGE_LENGTH_OFFSET)));
buf               169 src/vfs/smbfs/helpers/lib/md4.c     unsigned char buf[128];
buf               188 src/vfs/smbfs/helpers/lib/md4.c         buf[i] = 0;
buf               189 src/vfs/smbfs/helpers/lib/md4.c     memcpy (buf, in, n);
buf               190 src/vfs/smbfs/helpers/lib/md4.c     buf[n] = 0x80;
buf               194 src/vfs/smbfs/helpers/lib/md4.c         copy4 (buf + 56, b);
buf               195 src/vfs/smbfs/helpers/lib/md4.c         copy64 (M, buf);
buf               200 src/vfs/smbfs/helpers/lib/md4.c         copy4 (buf + 120, b);
buf               201 src/vfs/smbfs/helpers/lib/md4.c         copy64 (M, buf);
buf               203 src/vfs/smbfs/helpers/lib/md4.c         copy64 (M, buf + 64);
buf               208 src/vfs/smbfs/helpers/lib/md4.c         buf[i] = 0;
buf               209 src/vfs/smbfs/helpers/lib/md4.c     copy64 (M, buf);
buf               369 src/vfs/smbfs/helpers/lib/netmask.c     char buf[1024];
buf               373 src/vfs/smbfs/helpers/lib/netmask.c     if (gethostname (buf, sizeof (buf) - 1) != 0)
buf               379 src/vfs/smbfs/helpers/lib/netmask.c     hp = gethostbyname (buf);
buf               421 src/vfs/smbfs/helpers/lib/time.c put_dos_date (char *buf, int offset, time_t unixdate)
buf               424 src/vfs/smbfs/helpers/lib/time.c     SIVAL (buf, offset, x);
buf               433 src/vfs/smbfs/helpers/lib/time.c put_dos_date2 (char *buf, int offset, time_t unixdate)
buf               437 src/vfs/smbfs/helpers/lib/time.c     SIVAL (buf, offset, x);
buf               447 src/vfs/smbfs/helpers/lib/time.c put_dos_date3 (char *buf, int offset, time_t unixdate)
buf               451 src/vfs/smbfs/helpers/lib/time.c     SIVAL (buf, offset, unixdate);
buf               537 src/vfs/smbfs/helpers/lib/time.c     static fstring buf;
buf               541 src/vfs/smbfs/helpers/lib/time.c         slprintf (buf, sizeof (buf) - 1, "%ld seconds since the Epoch", (long) t);
buf               543 src/vfs/smbfs/helpers/lib/time.c         strftime (buf, sizeof (buf) - 1, "%a, %d %b %Y %H:%M:%S %Z", tm);
buf               544 src/vfs/smbfs/helpers/lib/time.c     return buf;
buf                71 src/vfs/smbfs/helpers/lib/username.c     pstring buf;
buf               105 src/vfs/smbfs/helpers/lib/username.c     while ((s = fgets_slash (buf, sizeof (buf), f)) != NULL)
buf               314 src/vfs/smbfs/helpers/lib/util.c     char buf[20];
buf               319 src/vfs/smbfs/helpers/lib/util.c     (void) memset (buf, 0, 20);
buf               321 src/vfs/smbfs/helpers/lib/util.c         buf[0] = '*';
buf               323 src/vfs/smbfs/helpers/lib/util.c         (void) slprintf (buf, sizeof (buf) - 1, "%-15.15s%c", In, name_type);
buf               332 src/vfs/smbfs/helpers/lib/util.c         c = toupper (buf[i]);
buf               421 src/vfs/smbfs/helpers/lib/util.c     SMB_STRUCT_STAT buf;
buf               422 src/vfs/smbfs/helpers/lib/util.c     buf.st_size = 0;
buf               423 src/vfs/smbfs/helpers/lib/util.c     if (sys_stat (file_name, &buf) != 0)
buf               425 src/vfs/smbfs/helpers/lib/util.c     return (buf.st_size);
buf               481 src/vfs/smbfs/helpers/lib/util.c show_msg (char *buf)
buf               491 src/vfs/smbfs/helpers/lib/util.c             smb_len (buf), (int) CVAL (buf, smb_com), (int) CVAL (buf, smb_rcls), (int) CVAL (buf,
buf               493 src/vfs/smbfs/helpers/lib/util.c             (int) SVAL (buf, smb_err), (int) CVAL (buf, smb_flg), (int) SVAL (buf, smb_flg2)));
buf               496 src/vfs/smbfs/helpers/lib/util.c             (int) SVAL (buf, smb_tid), (int) SVAL (buf, smb_pid), (int) SVAL (buf, smb_uid),
buf               497 src/vfs/smbfs/helpers/lib/util.c             (int) SVAL (buf, smb_mid), (int) CVAL (buf, smb_wct)));
buf               499 src/vfs/smbfs/helpers/lib/util.c     for (i = 0; i < (int) CVAL (buf, smb_wct); i++)
buf               502 src/vfs/smbfs/helpers/lib/util.c                    SVAL (buf, smb_vwv + 2 * i), SVAL (buf, smb_vwv + 2 * i)));
buf               505 src/vfs/smbfs/helpers/lib/util.c     bcc = (int) SVAL (buf, smb_vwv + 2 * (CVAL (buf, smb_wct)));
buf               517 src/vfs/smbfs/helpers/lib/util.c     dump_data (10, smb_buf (buf), bcc);
buf               524 src/vfs/smbfs/helpers/lib/util.c smb_len (char *buf)
buf               526 src/vfs/smbfs/helpers/lib/util.c     return (PVAL (buf, 3) | (PVAL (buf, 2) << 8) | ((PVAL (buf, 1) & 1) << 16));
buf               533 src/vfs/smbfs/helpers/lib/util.c _smb_setlen (char *buf, int len)
buf               535 src/vfs/smbfs/helpers/lib/util.c     buf[0] = 0;
buf               536 src/vfs/smbfs/helpers/lib/util.c     buf[1] = (len & 0x10000) >> 16;
buf               537 src/vfs/smbfs/helpers/lib/util.c     buf[2] = (len & 0xFF00) >> 8;
buf               538 src/vfs/smbfs/helpers/lib/util.c     buf[3] = len & 0xFF;
buf               545 src/vfs/smbfs/helpers/lib/util.c smb_setlen (char *buf, int len)
buf               547 src/vfs/smbfs/helpers/lib/util.c     _smb_setlen (buf, len);
buf               549 src/vfs/smbfs/helpers/lib/util.c     CVAL (buf, 4) = 0xFF;
buf               550 src/vfs/smbfs/helpers/lib/util.c     CVAL (buf, 5) = 'S';
buf               551 src/vfs/smbfs/helpers/lib/util.c     CVAL (buf, 6) = 'M';
buf               552 src/vfs/smbfs/helpers/lib/util.c     CVAL (buf, 7) = 'B';
buf               559 src/vfs/smbfs/helpers/lib/util.c set_message (char *buf, int num_words, int num_bytes, BOOL zero)
buf               562 src/vfs/smbfs/helpers/lib/util.c         memset (buf + smb_size, '\0', num_words * 2 + num_bytes);
buf               563 src/vfs/smbfs/helpers/lib/util.c     CVAL (buf, smb_wct) = num_words;
buf               564 src/vfs/smbfs/helpers/lib/util.c     SSVAL (buf, smb_vwv + num_words * SIZEOFWORD, num_bytes);
buf               565 src/vfs/smbfs/helpers/lib/util.c     smb_setlen (buf, smb_size + num_words * 2 + num_bytes - 4);
buf               573 src/vfs/smbfs/helpers/lib/util.c smb_numwords (char *buf)
buf               575 src/vfs/smbfs/helpers/lib/util.c     return (CVAL (buf, smb_wct));
buf               582 src/vfs/smbfs/helpers/lib/util.c smb_buflen (char *buf)
buf               584 src/vfs/smbfs/helpers/lib/util.c     return (SVAL (buf, smb_vwv0 + smb_numwords (buf) * 2));
buf               591 src/vfs/smbfs/helpers/lib/util.c smb_buf_ofs (char *buf)
buf               593 src/vfs/smbfs/helpers/lib/util.c     return (smb_size + CVAL (buf, smb_wct) * 2);
buf               600 src/vfs/smbfs/helpers/lib/util.c smb_buf (char *buf)
buf               602 src/vfs/smbfs/helpers/lib/util.c     return (buf + smb_buf_ofs (buf));
buf               609 src/vfs/smbfs/helpers/lib/util.c smb_offset (char *p, char *buf)
buf               611 src/vfs/smbfs/helpers/lib/util.c     return (PTR_DIFF (p, buf + 4) + chain_size);
buf               841 src/vfs/smbfs/helpers/lib/util.c dirname_dos (char *path, char *buf)
buf               843 src/vfs/smbfs/helpers/lib/util.c     split_at_last_component (path, buf, '\\', NULL);
buf               851 src/vfs/smbfs/helpers/lib/util.c filename_dos (char *path, char *buf)
buf               856 src/vfs/smbfs/helpers/lib/util.c         pstrcpy (buf, path);
buf               858 src/vfs/smbfs/helpers/lib/util.c         pstrcpy (buf, p + 1);
buf               860 src/vfs/smbfs/helpers/lib/util.c     return (buf);
buf               930 src/vfs/smbfs/helpers/lib/util.c make_dir_struct (char *buf, char *mask, char *fname, SMB_OFF_T size, int mode, time_t date)
buf               940 src/vfs/smbfs/helpers/lib/util.c     memset (buf + 1, ' ', 11);
buf               944 src/vfs/smbfs/helpers/lib/util.c         memcpy (buf + 1, mask2, MIN (strlen (mask2), 8));
buf               945 src/vfs/smbfs/helpers/lib/util.c         memcpy (buf + 9, p + 1, MIN (strlen (p + 1), 3));
buf               949 src/vfs/smbfs/helpers/lib/util.c         memcpy (buf + 1, mask2, MIN (strlen (mask2), 11));
buf               951 src/vfs/smbfs/helpers/lib/util.c     memset (buf + 21, '\0', DIR_STRUCT_SIZE - 21);
buf               952 src/vfs/smbfs/helpers/lib/util.c     CVAL (buf, 21) = mode;
buf               953 src/vfs/smbfs/helpers/lib/util.c     put_dos_date (buf, 22, date);
buf               954 src/vfs/smbfs/helpers/lib/util.c     SSVAL (buf, 26, size & 0xFFFF);
buf               955 src/vfs/smbfs/helpers/lib/util.c     SSVAL (buf, 28, (size >> 16) & 0xFFFF);
buf               956 src/vfs/smbfs/helpers/lib/util.c     StrnCpy (buf + 30, fname, 12);
buf               958 src/vfs/smbfs/helpers/lib/util.c         strupper (buf + 30);
buf               959 src/vfs/smbfs/helpers/lib/util.c     DEBUG (8, ("put name [%s] into dir struct\n", buf + 30));
buf              1045 src/vfs/smbfs/helpers/lib/util.c     static char *buf = NULL;
buf              1058 src/vfs/smbfs/helpers/lib/util.c     while (!buf && size > 0)
buf              1060 src/vfs/smbfs/helpers/lib/util.c         buf = (char *) Realloc (buf, size + 8);
buf              1061 src/vfs/smbfs/helpers/lib/util.c         if (!buf)
buf              1065 src/vfs/smbfs/helpers/lib/util.c     if (!buf)
buf              1071 src/vfs/smbfs/helpers/lib/util.c     abuf = buf + (align % 8);
buf              1130 src/vfs/smbfs/helpers/lib/util.c name_ptr (char *buf, int ofs)
buf              1132 src/vfs/smbfs/helpers/lib/util.c     unsigned char c = *(unsigned char *) (buf + ofs);
buf              1138 src/vfs/smbfs/helpers/lib/util.c         memcpy (p, buf + ofs, 2);
buf              1141 src/vfs/smbfs/helpers/lib/util.c         DEBUG (5, ("name ptr to pos %d from %d is %s\n", l, ofs, buf + l));
buf              1142 src/vfs/smbfs/helpers/lib/util.c         return (buf + l);
buf              1145 src/vfs/smbfs/helpers/lib/util.c         return (buf + ofs);
buf              1152 src/vfs/smbfs/helpers/lib/util.c name_extract (char *buf, int ofs, char *name)
buf              1154 src/vfs/smbfs/helpers/lib/util.c     char *p = name_ptr (buf, ofs);
buf              1155 src/vfs/smbfs/helpers/lib/util.c     int d = PTR_DIFF (p, buf + ofs);
buf              1777 src/vfs/smbfs/helpers/lib/util.c setbuffer (FILE * f, char *buf, int bufsize)
buf              1779 src/vfs/smbfs/helpers/lib/util.c     setvbuf (f, buf, _IOFBF, bufsize);
buf              2592 src/vfs/smbfs/helpers/lib/util.c         static pstring buf;
buf              2593 src/vfs/smbfs/helpers/lib/util.c         memcpy (buf, dname, NAMLEN (ptr) + 1);
buf              2594 src/vfs/smbfs/helpers/lib/util.c         dname = buf;
buf              2847 src/vfs/smbfs/helpers/lib/util.c out_ascii (FILE * f, unsigned char *buf, int len)
buf              2852 src/vfs/smbfs/helpers/lib/util.c         fprintf (f, "%c", isprint (buf[i]) ? buf[i] : '.');
buf              2859 src/vfs/smbfs/helpers/lib/util.c     unsigned char *buf = (unsigned char *) buf1;
buf              2869 src/vfs/smbfs/helpers/lib/util.c         fprintf (f, "%02X ", (int) buf[i]);
buf              2875 src/vfs/smbfs/helpers/lib/util.c             out_ascii (f, &buf[i - per_line], per_line / 2);
buf              2877 src/vfs/smbfs/helpers/lib/util.c             out_ascii (f, &buf[i - per_line / 2], per_line / 2);
buf              2896 src/vfs/smbfs/helpers/lib/util.c         out_ascii (f, &buf[i - (i % per_line)], n);
buf              2900 src/vfs/smbfs/helpers/lib/util.c             out_ascii (f, &buf[i - n], n);
buf              2907 src/vfs/smbfs/helpers/lib/util.c print_asc (int level, unsigned char *buf, int len)
buf              2911 src/vfs/smbfs/helpers/lib/util.c         DEBUG (level, ("%c", isprint (buf[i]) ? buf[i] : '.'));
buf              2917 src/vfs/smbfs/helpers/lib/util.c     unsigned char *buf = (unsigned char *) buf1;
buf              2925 src/vfs/smbfs/helpers/lib/util.c         DEBUG (level, ("%02X ", (int) buf[i]));
buf              2931 src/vfs/smbfs/helpers/lib/util.c             print_asc (level, &buf[i - 16], 8);
buf              2933 src/vfs/smbfs/helpers/lib/util.c             print_asc (level, &buf[i - 8], 8);
buf              2951 src/vfs/smbfs/helpers/lib/util.c         print_asc (level, &buf[i - (i % 16)], n);
buf              2955 src/vfs/smbfs/helpers/lib/util.c             print_asc (level, &buf[i - n], n);
buf               206 src/vfs/smbfs/helpers/lib/util_sock.c write_socket (int fd, char *buf, size_t len)
buf               213 src/vfs/smbfs/helpers/lib/util_sock.c     ret = write_data (fd, buf, len);
buf               227 src/vfs/smbfs/helpers/lib/util_sock.c read_udp_socket (int fd, char *buf, size_t len)
buf               236 src/vfs/smbfs/helpers/lib/util_sock.c     ret = (ssize_t) recvfrom (fd, buf, len, 0, (struct sockaddr *) &sock, &socklen);
buf               261 src/vfs/smbfs/helpers/lib/util_sock.c read_with_timeout (int fd, char *buf, size_t mincnt, size_t maxcnt, unsigned int time_out)
buf               286 src/vfs/smbfs/helpers/lib/util_sock.c                 readret = SSL_read (ssl, buf + nread, maxcnt - nread);
buf               290 src/vfs/smbfs/helpers/lib/util_sock.c                 readret = read (fd, buf + nread, maxcnt - nread);
buf               293 src/vfs/smbfs/helpers/lib/util_sock.c             readret = read (fd, buf + nread, maxcnt - nread);
buf               353 src/vfs/smbfs/helpers/lib/util_sock.c             readret = SSL_read (ssl, buf + nread, maxcnt - nread);
buf               357 src/vfs/smbfs/helpers/lib/util_sock.c             readret = read (fd, buf + nread, maxcnt - nread);
buf               360 src/vfs/smbfs/helpers/lib/util_sock.c         readret = read (fd, buf + nread, maxcnt - nread);
buf               395 src/vfs/smbfs/helpers/lib/util_sock.c     unsigned char buf[4];
buf               397 src/vfs/smbfs/helpers/lib/util_sock.c     buf[0] = 0x85;
buf               398 src/vfs/smbfs/helpers/lib/util_sock.c     buf[1] = buf[2] = buf[3] = 0;
buf               400 src/vfs/smbfs/helpers/lib/util_sock.c     return (write_data (client, (char *) buf, 4) == 4);
buf               699 src/vfs/smbfs/helpers/lib/util_sock.c send_one_packet (char *buf, int len, struct in_addr ip, int port, int type)
buf               727 src/vfs/smbfs/helpers/lib/util_sock.c     ret = (sendto (out_fd, buf, len, 0, (struct sockaddr *) &sock_out, sizeof (sock_out)) >= 0);
buf               506 src/vfs/smbfs/helpers/lib/util_str.c skip_string (char *buf, size_t n)
buf               509 src/vfs/smbfs/helpers/lib/util_str.c         buf += strlen (buf) + 1;
buf               510 src/vfs/smbfs/helpers/lib/util_str.c     return (buf);
buf              1427 src/vfs/smbfs/helpers/libsmb/clientgen.c cli_read (struct cli_state *cli, int fnum, char *buf, off_t offset, size_t size)
buf              1487 src/vfs/smbfs/helpers/libsmb/clientgen.c         memcpy (buf + mid * block, p, size2);
buf              1506 src/vfs/smbfs/helpers/libsmb/clientgen.c cli_issue_write (struct cli_state *cli, int fnum, off_t offset, uint16 mode, const char *buf,
buf              1532 src/vfs/smbfs/helpers/libsmb/clientgen.c     memcpy (p, buf, size);
buf              1549 src/vfs/smbfs/helpers/libsmb/clientgen.c            int fnum, uint16 write_mode, const char *buf, off_t offset, size_t size)
buf              1566 src/vfs/smbfs/helpers/libsmb/clientgen.c             cli_issue_write (cli, fnum, offset + bsent, write_mode, buf + bsent, size1, issued);
buf              1598 src/vfs/smbfs/helpers/libsmb/clientgen.c cli_smbwrite (struct cli_state * cli, int fnum, const char *buf, off_t offset, size_t size)
buf              1619 src/vfs/smbfs/helpers/libsmb/clientgen.c     memcpy (p + 2, buf, size);
buf               270 src/vfs/smbfs/helpers/libsmb/nmblib.c put_nmb_name (char *buf, int offset, struct nmb_name *name)
buf               288 src/vfs/smbfs/helpers/libsmb/nmblib.c     buf[offset] = 0x20;
buf               294 src/vfs/smbfs/helpers/libsmb/nmblib.c         buf[offset + 1 + 2 * m] = 'A' + ((buf1[m] >> 4) & 0xF);
buf               295 src/vfs/smbfs/helpers/libsmb/nmblib.c         buf[offset + 2 + 2 * m] = 'A' + (buf1[m] & 0xF);
buf               299 src/vfs/smbfs/helpers/libsmb/nmblib.c     buf[offset] = 0;
buf               305 src/vfs/smbfs/helpers/libsmb/nmblib.c         pstrcpy (&buf[offset + 1], name->scope);
buf               307 src/vfs/smbfs/helpers/libsmb/nmblib.c         p = &buf[offset + 1];
buf               310 src/vfs/smbfs/helpers/libsmb/nmblib.c             buf[offset] = PTR_DIFF (p, &buf[offset + 1]);
buf               311 src/vfs/smbfs/helpers/libsmb/nmblib.c             offset += (buf[offset] + 1);
buf               312 src/vfs/smbfs/helpers/libsmb/nmblib.c             p = &buf[offset + 1];
buf               314 src/vfs/smbfs/helpers/libsmb/nmblib.c         buf[offset] = strlen (&buf[offset + 1]);
buf               382 src/vfs/smbfs/helpers/libsmb/nmblib.c put_res_rec (char *buf, int offset, struct res_rec *recs, int count)
buf               389 src/vfs/smbfs/helpers/libsmb/nmblib.c         int l = put_nmb_name (buf, offset, &recs[i].rr_name);
buf               392 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (buf, offset, recs[i].rr_type);
buf               393 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (buf, offset + 2, recs[i].rr_class);
buf               394 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSIVAL (buf, offset + 4, recs[i].ttl);
buf               395 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (buf, offset + 8, recs[i].rdlength);
buf               396 src/vfs/smbfs/helpers/libsmb/nmblib.c         memcpy (buf + offset + 10, recs[i].rdata, recs[i].rdlength);
buf               408 src/vfs/smbfs/helpers/libsmb/nmblib.c put_compressed_name_ptr (unsigned char *buf, int offset, struct res_rec *rec, int ptr_offset)
buf               411 src/vfs/smbfs/helpers/libsmb/nmblib.c     buf[offset] = (0xC0 | ((ptr_offset >> 8) & 0xFF));
buf               412 src/vfs/smbfs/helpers/libsmb/nmblib.c     buf[offset + 1] = (ptr_offset & 0xFF);
buf               415 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (buf, offset, rec->rr_type);
buf               416 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (buf, offset + 2, rec->rr_class);
buf               417 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSIVAL (buf, offset + 4, rec->ttl);
buf               418 src/vfs/smbfs/helpers/libsmb/nmblib.c     RSSVAL (buf, offset + 8, rec->rdlength);
buf               419 src/vfs/smbfs/helpers/libsmb/nmblib.c     memcpy (buf + offset + 10, rec->rdata, rec->rdlength);
buf               705 src/vfs/smbfs/helpers/libsmb/nmblib.c     char buf[MAX_DGRAM_SIZE];
buf               709 src/vfs/smbfs/helpers/libsmb/nmblib.c     length = read_udp_socket (fd, buf, sizeof (buf));
buf               728 src/vfs/smbfs/helpers/libsmb/nmblib.c         ok = parse_nmb (buf, length, &packet->packet.nmb);
buf               732 src/vfs/smbfs/helpers/libsmb/nmblib.c         ok = parse_dgram (buf, length, &packet->packet.dgram);
buf               756 src/vfs/smbfs/helpers/libsmb/nmblib.c send_udp (int fd, char *buf, int len, struct in_addr ip, int port)
buf               769 src/vfs/smbfs/helpers/libsmb/nmblib.c     ret = (sendto (fd, buf, len, 0, (struct sockaddr *) &sock_out, sizeof (sock_out)) >= 0);
buf               789 src/vfs/smbfs/helpers/libsmb/nmblib.c build_dgram (char *buf, struct packet_struct *p)
buf               792 src/vfs/smbfs/helpers/libsmb/nmblib.c     unsigned char *ubuf = (unsigned char *) buf;
buf               861 src/vfs/smbfs/helpers/libsmb/nmblib.c build_nmb (char *buf, struct packet_struct *p)
buf               864 src/vfs/smbfs/helpers/libsmb/nmblib.c     unsigned char *ubuf = (unsigned char *) buf;
buf               937 src/vfs/smbfs/helpers/libsmb/nmblib.c     char buf[1024];
buf               940 src/vfs/smbfs/helpers/libsmb/nmblib.c     memset (buf, '\0', sizeof (buf));
buf               945 src/vfs/smbfs/helpers/libsmb/nmblib.c         len = build_nmb (buf, p);
buf               950 src/vfs/smbfs/helpers/libsmb/nmblib.c         len = build_dgram (buf, p);
buf               957 src/vfs/smbfs/helpers/libsmb/nmblib.c     return (send_udp (p->fd, buf, len, p->ip, p->port));
buf               368 src/vfs/smbfs/helpers/libsmb/smbdes.c     unsigned char buf[8];
buf               370 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (buf, in, key, 1);
buf               371 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out, buf, key + 9, 1);
buf               377 src/vfs/smbfs/helpers/libsmb/smbdes.c     unsigned char buf[8];
buf               380 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (buf, in, key, 1);
buf               382 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out, buf, key2, 1);
buf               476 src/vfs/smbfs/smbfs.c smbfs_write (void *data, const char *buf, size_t nbyte)
buf               483 src/vfs/smbfs/smbfs.c     n = cli_write (info->cli, info->fnum, 0, buf, info->nread, nbyte);
buf              1023 src/vfs/smbfs/smbfs.c smbfs_readlink (const vfs_path_t * vpath, char *buf, size_t size)
buf              1028 src/vfs/smbfs/smbfs.c     DEBUG (3, ("smbfs_readlink(path:%s, buf:%s, size:%zu)\n", path_element->path, buf, size));
buf              1438 src/vfs/smbfs/smbfs.c smbfs_fake_server_stat (const char *server_url, const char *path, struct stat *buf)
buf              1464 src/vfs/smbfs/smbfs.c                 memcpy (buf, &dentry->my_stat, sizeof (struct stat));
buf              1477 src/vfs/smbfs/smbfs.c smbfs_fake_share_stat (const char *server_url, const char *path, struct stat *buf)
buf              1496 src/vfs/smbfs/smbfs.c             memset (buf, 0, sizeof (*buf));
buf              1498 src/vfs/smbfs/smbfs.c             buf->st_mode =
buf              1525 src/vfs/smbfs/smbfs.c             memcpy (buf, &dentry->my_stat, sizeof (struct stat));
buf              1538 src/vfs/smbfs/smbfs.c smbfs_get_remote_stat (smbfs_connection * sc, const char *path, struct stat *buf)
buf              1564 src/vfs/smbfs/smbfs.c     memcpy (buf, &single_entry->my_stat, sizeof (struct stat));
buf              1576 src/vfs/smbfs/smbfs.c smbfs_search_dir_entry (dir_entry * dentry, const char *text, struct stat *buf)
buf              1582 src/vfs/smbfs/smbfs.c             memcpy (buf, &dentry->my_stat, sizeof (struct stat));
buf              1594 src/vfs/smbfs/smbfs.c smbfs_get_stat_info (smbfs_connection * sc, const char *path, struct stat *buf)
buf              1617 src/vfs/smbfs/smbfs.c     if (smbfs_search_dir_entry (current_info->entries, mypath, buf) == 0)
buf              1632 src/vfs/smbfs/smbfs.c             memset (buf, 0, sizeof (struct stat));
buf              1633 src/vfs/smbfs/smbfs.c             buf->st_mode = (S_IFDIR | S_IRUSR | S_IRGRP | S_IROTH) & myumask;
buf              1634 src/vfs/smbfs/smbfs.c             memcpy (&single_entry->my_stat, buf, sizeof (struct stat));
buf              1654 src/vfs/smbfs/smbfs.c             memset (buf, 0, sizeof (struct stat));
buf              1655 src/vfs/smbfs/smbfs.c             buf->st_mode = (S_IFDIR | S_IRUSR | S_IRGRP | S_IROTH) & myumask;
buf              1656 src/vfs/smbfs/smbfs.c             memcpy (&single_entry->my_stat, buf, sizeof (struct stat));
buf              1665 src/vfs/smbfs/smbfs.c         if (smbfs_search_dir_entry (previous_info->entries, mypath, buf) == 0)
buf              1672 src/vfs/smbfs/smbfs.c         if (smbfs_search_dir_entry (current_share_info->entries, mypath, buf) == 0)
buf              1679 src/vfs/smbfs/smbfs.c         if (smbfs_search_dir_entry (current_server_info->entries, mypath, buf) == 0)
buf              1684 src/vfs/smbfs/smbfs.c     return smbfs_get_remote_stat (sc, path, buf);
buf              1734 src/vfs/smbfs/smbfs.c smbfs_stat (const vfs_path_t * vpath, struct stat *buf)
buf              1785 src/vfs/smbfs/smbfs.c         return smbfs_fake_server_stat (server_url, path_element->path, buf);
buf              1790 src/vfs/smbfs/smbfs.c         return smbfs_fake_share_stat (server_url, path_element->path, buf);
buf              1805 src/vfs/smbfs/smbfs.c             memset (buf, 0, sizeof (struct stat));
buf              1806 src/vfs/smbfs/smbfs.c             buf->st_mode = (S_IFDIR | S_IRUSR | S_IRGRP | S_IROTH) & myumask;
buf              1838 src/vfs/smbfs/smbfs.c     return smbfs_get_stat_info (sc, path_element->path, buf);
buf              2199 src/vfs/smbfs/smbfs.c smbfs_fstat (void *data, struct stat *buf)
buf              2207 src/vfs/smbfs/smbfs.c         memcpy (buf, &single_entry->my_stat, sizeof (struct stat));
buf               108 src/vfs/undelfs/undelfs.c     char *buf;
buf               478 src/vfs/undelfs/undelfs.c         p->buf = g_try_malloc (fs->blocksize);
buf               479 src/vfs/undelfs/undelfs.c         if (!p->buf)
buf               505 src/vfs/undelfs/undelfs.c     g_free (p->buf);
buf               524 src/vfs/undelfs/undelfs.c         p->error_code = io_channel_read_blk (param_fs->io, *blocknr, 1, p->buf);
buf               529 src/vfs/undelfs/undelfs.c         memset (p->buf, 0, param_fs->blocksize);
buf               558 src/vfs/undelfs/undelfs.c         memcpy (p->dest_buffer, p->buf + (p->pos - p->current), copy_count);
buf               572 src/vfs/undelfs/undelfs.c         memcpy (p->dest_buffer, p->buf, copy_count);
buf               631 src/vfs/undelfs/undelfs.c undelfs_stat_int (int inode_index, struct stat *buf)
buf               633 src/vfs/undelfs/undelfs.c     buf->st_dev = 0;
buf               634 src/vfs/undelfs/undelfs.c     buf->st_ino = delarray[inode_index].ino;
buf               635 src/vfs/undelfs/undelfs.c     buf->st_mode = delarray[inode_index].mode;
buf               636 src/vfs/undelfs/undelfs.c     buf->st_nlink = 1;
buf               637 src/vfs/undelfs/undelfs.c     buf->st_uid = delarray[inode_index].uid;
buf               638 src/vfs/undelfs/undelfs.c     buf->st_gid = delarray[inode_index].gid;
buf               639 src/vfs/undelfs/undelfs.c     buf->st_size = delarray[inode_index].size;
buf               640 src/vfs/undelfs/undelfs.c     buf->st_atime = delarray[inode_index].dtime;
buf               641 src/vfs/undelfs/undelfs.c     buf->st_ctime = delarray[inode_index].dtime;
buf               642 src/vfs/undelfs/undelfs.c     buf->st_mtime = delarray[inode_index].dtime;
buf               644 src/vfs/undelfs/undelfs.c     buf->st_atim.tv_nsec = buf->st_mtim.tv_nsec = buf->st_ctim.tv_nsec = 0;
buf               652 src/vfs/undelfs/undelfs.c undelfs_lstat (const vfs_path_t * vpath, struct stat *buf)
buf               691 src/vfs/undelfs/undelfs.c     return undelfs_stat_int (inode_index, buf);
buf               697 src/vfs/undelfs/undelfs.c undelfs_fstat (void *vfs_info, struct stat *buf)
buf               701 src/vfs/undelfs/undelfs.c     return undelfs_stat_int (p->f_index, buf);
buf               188 src/viewer/growbuf.c                 mcview_show_error (view, sp->err.buf);
buf               193 src/viewer/growbuf.c                 memmove (p, sp->out.buf, sp->out.len);
buf               148 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c     static char buf[BUF_SMALL];
buf               150 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c     sprintf (buf, "%d", i);
buf               151 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c     return buf;
buf               197 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c     static char buf[BUF_SMALL];
buf               205 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c     FMT_LOCALTIME (buf, sizeof buf, "%Y-%m-%d %H:%M:%S", t);
buf               206 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c     return buf;