p 110 lib/charsets.c char *p = buf; p 113 lib/charsets.c if (*p == '\n' || *p == '\0' || *p == '#') p 120 lib/charsets.c while (*p != '\0' && !whitespace (*p)) p 121 lib/charsets.c ++p; p 122 lib/charsets.c if (*p == '\0') p 125 lib/charsets.c *p++ = '\0'; p 126 lib/charsets.c g_strstrip (p); p 127 lib/charsets.c if (*p == '\0') p 131 lib/charsets.c default_codepage = g_strdup (p); p 139 lib/charsets.c g_ptr_array_add (*list, new_codepage_desc (id, p)); p 157 lib/charsets.c desc->name = g_strdup (p); p 164 lib/charsets.c g_ptr_array_add (*list, new_codepage_desc (id, p)); p 74 lib/hook.c hook_t *p; p 85 lib/hook.c p = new_hook; p 93 lib/hook.c for (hook_list = p; hook_list != NULL;) p 95 lib/hook.c p = hook_list; p 97 lib/hook.c g_free (p); p 125 lib/hook.c hook_t *p; p 127 lib/hook.c for (p = hook_list; p != NULL; p = p->next) p 128 lib/hook.c if (p->hook_fn == hook_fn) p 145 lib/lock.c const char *p, *s; p 151 lib/lock.c for (p = str + len - 1; p >= str && *p != '.'; p--) p 155 lib/lock.c for (i = 0, s = str; i < sizeof (who) && s < p; i++, s++) p 162 lib/lock.c for (i = 0, p++, s = str + len; i < sizeof (pid) && p < s && *p != ':'; i++, p++) p 163 lib/lock.c pid[i] = *p; p 274 lib/search/regex.c char *string_safe, *p, *end; p 288 lib/search/regex.c p = string_safe = g_malloc (string_len + 1); p 291 lib/search/regex.c end = p + string_len; p 293 lib/search/regex.c while (p < end) p 295 lib/search/regex.c gunichar c = g_utf8_get_char_validated (p, -1); p 298 lib/search/regex.c p = g_utf8_next_char (p); p 305 lib/search/regex.c *p++ = '\0'; p 920 lib/strutil/strutil.c char *p, *tmp; p 928 lib/strutil/strutil.c p = tmp; p 934 lib/strutil/strutil.c q = strchr (p, '\n'); p 941 lib/strutil/strutil.c width = str_term_width1 (p); p 949 lib/strutil/strutil.c p = q + 1; p 586 lib/strutil/strutil8bit.c char *rets, *p; p 593 lib/strutil/strutil8bit.c for (p = rets; *p != '\0'; p++) p 594 lib/strutil/strutil8bit.c *p = char_tolower (*p); p 1295 lib/strutil/strutilutf8.c char *t, *p; p 1301 lib/strutil/strutilutf8.c p = str_utf8_normalize (prefix); p 1303 lib/strutil/strutilutf8.c np = p; p 1305 lib/strutil/strutilutf8.c nnp = p; p 1319 lib/strutil/strutilutf8.c result = np - p; p 1322 lib/strutil/strutilutf8.c g_free (p); p 1332 lib/strutil/strutilutf8.c char *t, *p; p 1338 lib/strutil/strutilutf8.c p = str_utf8_casefold_normalize (prefix); p 1340 lib/strutil/strutilutf8.c np = p; p 1342 lib/strutil/strutilutf8.c nnp = p; p 1356 lib/strutil/strutilutf8.c result = np - p; p 1359 lib/strutil/strutilutf8.c g_free (p); p 96 lib/strutil/xstrtol.c char **p; p 100 lib/strutil/xstrtol.c p = endptr != NULL ? endptr : &t_ptr; p 111 lib/strutil/xstrtol.c *p = (char *) nptr; p 117 lib/strutil/xstrtol.c tmp = strtol (nptr, p, base); p 119 lib/strutil/xstrtol.c if (*p == nptr) p 143 lib/strutil/xstrtol.c if (**p != '\0') p 149 lib/strutil/xstrtol.c if (strchr (valid_suffixes, **p) == NULL) p 155 lib/strutil/xstrtol.c switch (**p) p 180 lib/strutil/xstrtol.c switch (p[0][1]) p 183 lib/strutil/xstrtol.c if (p[0][2] == 'B') p 201 lib/strutil/xstrtol.c switch (**p) p 272 lib/strutil/xstrtol.c *p += suffixes; p 273 lib/strutil/xstrtol.c if (**p != '\0') p 597 lib/tty/key.c select_t *p = (select_t *) s->data; p 599 lib/tty/key.c FD_SET (p->fd, select_set); p 600 lib/tty/key.c if (p->fd > top_fd) p 601 lib/tty/key.c top_fd = p->fd; p 616 lib/tty/key.c select_t *p; p 622 lib/tty/key.c p = (select_t *) s->data; p 623 lib/tty/key.c FD_CLR (p->fd, select_set); p 624 lib/tty/key.c p->callback (p->fd, p->info); p 672 lib/tty/key.c key_def *p; p 674 lib/tty/key.c p = g_new (key_def, 1); p 676 lib/tty/key.c base = p; p 678 lib/tty/key.c attach->child = p; p 680 lib/tty/key.c p->ch = *seq; p 681 lib/tty/key.c p->code = code; p 682 lib/tty/key.c p->child = NULL; p 683 lib/tty/key.c p->next = NULL; p 684 lib/tty/key.c p->action = seq[1] == '\0' ? action : MCKEY_NOACTION; p 685 lib/tty/key.c attach = p; p 1414 lib/tty/key.c GSList *p; p 1416 lib/tty/key.c p = g_slist_find_custom (select_list, GINT_TO_POINTER (fd), select_cmp_by_fd); p 1417 lib/tty/key.c if (p != NULL) p 1418 lib/tty/key.c select_list = g_slist_delete_link (select_list, p); p 1447 lib/tty/key.c char **lc_keys, **p; p 1464 lib/tty/key.c for (p = lc_keys; p != NULL && *p != NULL; p++) p 1466 lib/tty/key.c if ((*p)[0] != '\0') p 1470 lib/tty/key.c key = lookup_keyname (g_strstrip (*p), &idx); p 116 lib/util.c char *p, *p2; p 123 lib/util.c p = p2 = g_strdup (vfs_path_as_str (vpath)); p 131 lib/util.c q = strchr (p + 1, PATH_SEP); p 134 lib/util.c q = strchr (p + 1, '\0'); p 135 lib/util.c if (q == p + 1) p 146 lib/util.c strcpy (r, p + 1); p 172 lib/util.c p = q; p 381 lib/util.c const char *p, *y; p 384 lib/util.c p = y = size_trunc (size, use_si); p 385 lib/util.c p += strlen (p) - 1; p 390 lib/util.c while (p >= y && !g_ascii_isdigit (*p)) p 391 lib/util.c *d-- = *p--; p 392 lib/util.c for (count = 0; p >= y; count++) p 399 lib/util.c *d-- = *p--; p 965 lib/util.c char *p; p 967 lib/util.c for (p = passwd; *p != '\0'; p++) p 968 lib/util.c *p = '\0'; p 983 lib/util.c convert_controls (const char *p) p 988 lib/util.c valcopy = g_strdup (p); p 991 lib/util.c for (q = valcopy; *p != '\0';) p 992 lib/util.c switch (*p) p 995 lib/util.c p++; p 997 lib/util.c if (*p == 'e' || *p == 'E') p 999 lib/util.c p++; p 1005 lib/util.c p++; p 1006 lib/util.c if (*p == '^') p 1007 lib/util.c *q++ = *p++; p 1012 lib/util.c c = *p | 0x20; p 1016 lib/util.c p++; p 1018 lib/util.c else if (*p != '\0') p 1019 lib/util.c p++; p 1024 lib/util.c *q++ = *p++; p 1054 lib/util.c char *p, *q; p 1057 lib/util.c p = my_first; p 1065 lib/util.c r = strchr (p, PATH_SEP); p 1072 lib/util.c len = r - p; p 1073 lib/util.c if (len != (s - q) || strncmp (p, q, (size_t) len) != 0) p 1076 lib/util.c p = r + 1; p 1079 lib/util.c p--; p 1080 lib/util.c for (i = 0; (p = strchr (p + 1, PATH_SEP)) != NULL; i++) p 1090 lib/util.c p = buf = g_malloc (currlen); p 1092 lib/util.c for (; i >= 0; i--, p += 3) p 1093 lib/util.c strcpy (p, "../"); p 1094 lib/util.c strcpy (p, q); p 1175 lib/util.c const char *p; p 1187 lib/util.c p = &buf[len + 1]; p 1188 lib/util.c if (strchr (p, ' ') != NULL) p 1191 lib/util.c pos_tokens = g_strsplit (p, ";", 3 + MAX_SAVED_BOOKMARKS); p 222 lib/util.h void mc_pread (mc_pipe_t * p, GError ** error); p 223 lib/util.h void mc_pclose (mc_pipe_t * p, GError ** error); p 556 lib/utilunix.c mc_pipe_t *p; p 559 lib/utilunix.c p = g_try_new (mc_pipe_t, 1); p 560 lib/utilunix.c if (p == NULL) p 567 lib/utilunix.c p->out.fd = -1; p 568 lib/utilunix.c p->err.fd = -1; p 572 lib/utilunix.c NULL, &p->child_pid, NULL, read_out ? &p->out.fd : NULL, read_err ? &p->err.fd : NULL, p 580 lib/utilunix.c p->out.buf[0] = '\0'; p 581 lib/utilunix.c p->out.len = MC_PIPE_BUFSIZE; p 582 lib/utilunix.c p->out.null_term = FALSE; p 584 lib/utilunix.c p->err.buf[0] = '\0'; p 585 lib/utilunix.c p->err.len = MC_PIPE_BUFSIZE; p 586 lib/utilunix.c p->err.null_term = FALSE; p 588 lib/utilunix.c return p; p 591 lib/utilunix.c g_free (p); p 616 lib/utilunix.c mc_pread (mc_pipe_t *p, GError **error) p 626 lib/utilunix.c read_out = p->out.fd >= 0; p 627 lib/utilunix.c read_err = p->err.fd >= 0; p 631 lib/utilunix.c p->out.len = MC_PIPE_STREAM_UNREAD; p 632 lib/utilunix.c p->err.len = MC_PIPE_STREAM_UNREAD; p 639 lib/utilunix.c FD_SET (p->out.fd, &fds); p 640 lib/utilunix.c maxfd = p->out.fd; p 645 lib/utilunix.c FD_SET (p->err.fd, &fds); p 646 lib/utilunix.c maxfd = MAX (maxfd, p->err.fd); p 661 lib/utilunix.c mc_pread_stream (&p->out, &fds); p 663 lib/utilunix.c p->out.len = MC_PIPE_STREAM_UNREAD; p 666 lib/utilunix.c mc_pread_stream (&p->err, &fds); p 668 lib/utilunix.c p->err.len = MC_PIPE_STREAM_UNREAD; p 724 lib/utilunix.c mc_pclose (mc_pipe_t *p, GError **error) p 728 lib/utilunix.c if (p == NULL) p 735 lib/utilunix.c if (p->out.fd >= 0) p 736 lib/utilunix.c res = close (p->out.fd); p 737 lib/utilunix.c if (p->err.fd >= 0) p 738 lib/utilunix.c res = close (p->err.fd); p 744 lib/utilunix.c res = waitpid (p->child_pid, &status, 0); p 752 lib/utilunix.c g_free (p); p 769 lib/utilunix.c const char *p, *q; p 774 lib/utilunix.c p = directory + 1; p 777 lib/utilunix.c if (*p == '\0' || IS_PATH_SEP (*p)) p 780 lib/utilunix.c q = IS_PATH_SEP (*p) ? p + 1 : ""; p 784 lib/utilunix.c q = strchr (p, PATH_SEP); p 786 lib/utilunix.c passwd = getpwnam (p); p 791 lib/utilunix.c name = g_strndup (p, q - p); p 819 lib/utilunix.c char *p, *s; p 826 lib/utilunix.c for (p = path + 2; p[0] != '\0' && !IS_PATH_SEP (p[0]); p++) p 828 lib/utilunix.c if (IS_PATH_SEP (p[0]) && p > path + 2) p 829 lib/utilunix.c lpath = p; p 838 lib/utilunix.c for (p = lpath; *p != '\0'; p++) p 839 lib/utilunix.c if (IS_PATH_SEP (p[0]) && IS_PATH_SEP (p[1]) && (p == lpath || *(p - 1) != ':')) p 841 lib/utilunix.c s = p + 1; p 844 lib/utilunix.c str_move (p + 1, s); p 848 lib/utilunix.c for (p = lpath; *p != '\0';) p 849 lib/utilunix.c if (IS_PATH_SEP (p[0]) && p[1] == '.' && IS_PATH_SEP (p[2])) p 850 lib/utilunix.c str_move (p, p + 2); p 852 lib/utilunix.c p++; p 860 lib/utilunix.c for (p = lpath + strlen (lpath) - 1; p > lpath && IS_PATH_SEP (*p); p--) p 862 lib/utilunix.c if (p >= lpath + url_delim_len - 1 p 863 lib/utilunix.c && strncmp (p - url_delim_len + 1, VFS_PATH_URL_DELIMITER, url_delim_len) == 0) p 865 lib/utilunix.c *p = '\0'; p 909 lib/utilunix.c for (p = lpath; p[0] != '\0' && p[1] != '\0' && p[2] != '\0';) p 911 lib/utilunix.c if (!IS_PATH_SEP (p[0]) || p[1] != '.' || p[2] != '.' p 912 lib/utilunix.c || (!IS_PATH_SEP (p[3]) && p[3] != '\0')) p 914 lib/utilunix.c p++; p 919 lib/utilunix.c s = p - 1; p 961 lib/utilunix.c if (s[0] == '.' && s[1] == '.' && s + 2 == p) p 963 lib/utilunix.c p += 3; p 967 lib/utilunix.c if (p[3] != '\0') p 972 lib/utilunix.c str_move (s + 1, p + 4); p 986 lib/utilunix.c str_move (s, p + 1); p 988 lib/utilunix.c str_move (s, p + 4); p 994 lib/utilunix.c str_move (s, p + 4); p 997 lib/utilunix.c p = s > lpath ? s - 1 : s; p 1034 lib/utilunix.c for (p = s - 1; p >= lpath && !IS_PATH_SEP (*p); p--) p 1037 lib/utilunix.c if (p >= lpath) p 1065 lib/utilunix.c const char *p = path; p 1068 lib/utilunix.c if (IS_PATH_SEP (*p)) p 1071 lib/utilunix.c p++; p 1075 lib/utilunix.c if (g_str_has_prefix (p, VFS_ENCODING_PREFIX)) p 1077 lib/utilunix.c p += strlen (VFS_ENCODING_PREFIX); p 1078 lib/utilunix.c p = strchr (p, PATH_SEP); p 1079 lib/utilunix.c if (p != NULL) p 1081 lib/utilunix.c if (!absolute_path && p[1] != '\0') p 1082 lib/utilunix.c p++; p 1084 lib/utilunix.c path = p; p 836 lib/vfs/direntry.c const char *p; p 838 lib/vfs/direntry.c p = vfs_s_get_path (vpath, &archive, FL_NO_OPEN); p 839 lib/vfs/direntry.c return (p == NULL ? NULL : (vfsid) archive); p 669 lib/vfs/interface.c char *p; p 671 lib/vfs/interface.c p = strchr (path_element->path, 0) - 1; p 672 lib/vfs/interface.c if (IS_PATH_SEP (*p) && p > path_element->path) p 673 lib/vfs/interface.c *p = '\0'; p 148 lib/vfs/parse_ls_vga.c const char *p, *p2; p 153 lib/vfs/parse_ls_vga.c p = strchr (str, ':'); p 154 lib/vfs/parse_ls_vga.c if (p == NULL) p 161 lib/vfs/parse_ls_vga.c if (p != p2) p 277 lib/vfs/parse_ls_vga.c const char *p = s; p 280 lib/vfs/parse_ls_vga.c switch (*p++) p 291 lib/vfs/parse_ls_vga.c switch (*p++) p 302 lib/vfs/parse_ls_vga.c switch (*p++) p 319 lib/vfs/parse_ls_vga.c switch (*p++) p 330 lib/vfs/parse_ls_vga.c switch (*p++) p 341 lib/vfs/parse_ls_vga.c switch (*p++) p 361 lib/vfs/parse_ls_vga.c switch (*p++) p 372 lib/vfs/parse_ls_vga.c switch (*p++) p 383 lib/vfs/parse_ls_vga.c switch (*p++) p 400 lib/vfs/parse_ls_vga.c if (*p == '+') p 402 lib/vfs/parse_ls_vga.c p++; p 405 lib/vfs/parse_ls_vga.c *ret_skipped = p - s; p 416 lib/vfs/parse_ls_vga.c const char *p = s; p 420 lib/vfs/parse_ls_vga.c if (!vfs_parse_filetype (p, &skipped, &type)) p 423 lib/vfs/parse_ls_vga.c p += skipped; p 424 lib/vfs/parse_ls_vga.c if (!vfs_parse_fileperms (p, &skipped, &perms)) p 427 lib/vfs/parse_ls_vga.c p += skipped; p 428 lib/vfs/parse_ls_vga.c *ret_skipped = p - s; p 439 lib/vfs/parse_ls_vga.c const char *p = s; p 443 lib/vfs/parse_ls_vga.c for (; *p >= '0' && *p <= '7'; p++) p 446 lib/vfs/parse_ls_vga.c perms += (*p - '0'); p 449 lib/vfs/parse_ls_vga.c if (*p++ != ' ') p 452 lib/vfs/parse_ls_vga.c for (; *p >= '0' && *p <= '7'; p++) p 455 lib/vfs/parse_ls_vga.c remote_type += (*p - '0'); p 458 lib/vfs/parse_ls_vga.c if (*p++ != ' ') p 489 lib/vfs/parse_ls_vga.c *ret_skipped = p - s; p 522 lib/vfs/parse_ls_vga.c char *p; p 542 lib/vfs/parse_ls_vga.c p = columns[idx++]; p 545 lib/vfs/parse_ls_vga.c if (is_week (p, &tim)) p 546 lib/vfs/parse_ls_vga.c p = columns[idx++]; p 575 lib/vfs/parse_ls_vga.c if (vfs_parse_month (p, &tim)) p 584 lib/vfs/parse_ls_vga.c else if (is_dos_date (p)) p 587 lib/vfs/parse_ls_vga.c p[2] = p[5] = '-'; p 590 lib/vfs/parse_ls_vga.c if (sscanf (p, "%2d-%2d-%d", &d[0], &d[1], &d[2]) != 3) p 608 lib/vfs/parse_ls_vga.c else if (is_localized_month (p) && is_num (idx++)) p 641 lib/vfs/parse_ls_vga.c vfs_split_text (char *p) p 643 lib/vfs/parse_ls_vga.c char *original = p; p 648 lib/vfs/parse_ls_vga.c for (numcols = 0; *p != '\0' && numcols < MAXCOLS; numcols++) p 650 lib/vfs/parse_ls_vga.c for (; *p == ' ' || *p == '\r' || *p == '\n'; p++) p 651 lib/vfs/parse_ls_vga.c *p = '\0'; p 653 lib/vfs/parse_ls_vga.c columns[numcols] = p; p 654 lib/vfs/parse_ls_vga.c column_ptr[numcols] = p - original; p 656 lib/vfs/parse_ls_vga.c for (; *p != '\0' && *p != ' ' && *p != '\r' && *p != '\n'; p++) p 682 lib/vfs/parse_ls_vga.c vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname, p 689 lib/vfs/parse_ls_vga.c const char *line = p; p 692 lib/vfs/parse_ls_vga.c if (strncmp (p, "total", 5) == 0) p 695 lib/vfs/parse_ls_vga.c if (!vfs_parse_filetype (p, &skipped, &s->st_mode)) p 698 lib/vfs/parse_ls_vga.c p += skipped; p 699 lib/vfs/parse_ls_vga.c if (*p == ' ') /* Notwell 4 */ p 700 lib/vfs/parse_ls_vga.c p++; p 701 lib/vfs/parse_ls_vga.c if (*p == '[') p 703 lib/vfs/parse_ls_vga.c if (strlen (p) <= 8 || p[8] != ']') p 711 lib/vfs/parse_ls_vga.c p += 9; p 718 lib/vfs/parse_ls_vga.c if (!vfs_parse_fileperms (p, &lc_skipped, &perms)) p 721 lib/vfs/parse_ls_vga.c p += lc_skipped; p 725 lib/vfs/parse_ls_vga.c p_copy = g_strdup (p); p 832 lib/vfs/parse_ls_vga.c *filename = g_strndup (p + column_ptr[idx], column_ptr[idx2] - column_ptr[idx] - 1); p 836 lib/vfs/parse_ls_vga.c t = g_strdup (p + column_ptr[idx2 + 1]); p 848 lib/vfs/parse_ls_vga.c t = g_strdup (p + column_ptr[idx]); p 188 lib/vfs/utilvfs.c const char *p; p 194 lib/vfs/utilvfs.c p = strrchr (param_basename, PATH_SEP); p 195 lib/vfs/utilvfs.c if (p == NULL) p 196 lib/vfs/utilvfs.c p = param_basename; p 198 lib/vfs/utilvfs.c p++; p 201 lib/vfs/utilvfs.c shift = strlen (p) - (MC_MAXPATHLEN - 16); p 203 lib/vfs/utilvfs.c p += shift; p 208 lib/vfs/utilvfs.c for (; *p != '\0' && *p != '#'; p++) p 209 lib/vfs/utilvfs.c if (strchr (".-_@", *p) != NULL || g_ascii_isalnum (*p)) p 210 lib/vfs/utilvfs.c g_string_append_c (suffix, *p); p 43 lib/vfs/utilvfs.h int vfs_split_text (char *p); p 57 lib/vfs/utilvfs.h gboolean vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname, p 338 lib/vfs/vfs.c char *semi, *p; p 343 lib/vfs/vfs.c p = g_strdup (filename); p 344 lib/vfs/vfs.c semi = g_strrstr (p, VFS_PATH_URL_DELIMITER); p 350 lib/vfs/vfs.c vfs_prefix = strrchr (p, PATH_SEP); p 357 lib/vfs/vfs.c return p; p 432 lib/widget/dialog.c new_d->data.p = NULL; p 78 lib/widget/dialog.h void *p; p 154 lib/widget/group.c GList *p, *first; p 162 lib/widget/group.c p = group_get_next_or_prev_of (g->current, !reverse); p 163 lib/widget/group.c first = p; p 167 lib/widget/group.c Widget *w = WIDGET (p->data); p 169 lib/widget/group.c p = group_get_next_or_prev_of (p, !reverse); p 176 lib/widget/group.c while (first != p); p 359 lib/widget/group.c GList *p = g->current; p 361 lib/widget/group.c if (p != NULL && widget_get_state (WIDGET (g), WST_ACTIVE)) p 364 lib/widget/group.c Widget *w = WIDGET (p->data); p 370 lib/widget/group.c && !widget_get_state (w, WST_DISABLED) && widget_update_cursor (WIDGET (p->data))) p 373 lib/widget/group.c p = group_get_widget_next_of (p); p 375 lib/widget/group.c while (p != g->current); p 480 lib/widget/group.c GList *p; p 488 lib/widget/group.c for (p = g->widgets; p != NULL; p = g_list_next (p)) p 489 lib/widget/group.c widget_draw (WIDGET (p->data)); p 720 lib/widget/group.c GList *p; p 723 lib/widget/group.c p = g_list_last (g->widgets); p 726 lib/widget/group.c Widget *wp = WIDGET (p->data); p 741 lib/widget/group.c p = g_list_previous (p); p 743 lib/widget/group.c while (p != NULL); p 80 lib/widget/history.c if (dlg_head == NULL || dlg_head->data.p == NULL) p 83 lib/widget/history.c data = (history_dlg_data *) dlg_head->data.p; p 234 lib/widget/history.c query_dlg->data.p = &hist_data; p 329 lib/widget/input.c const char *p; p 331 lib/widget/input.c p = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); p 333 lib/widget/input.c for (; p[0] != '\0' && (str_isspace (p) || str_ispunct (p)); in->point++) p 334 lib/widget/input.c str_cnext_char (&p); p 336 lib/widget/input.c for (; p[0] != '\0' && !str_isspace (p) && !str_ispunct (p); in->point++) p 337 lib/widget/input.c str_cnext_char (&p); p 345 lib/widget/input.c const char *p; p 347 lib/widget/input.c p = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); p 349 lib/widget/input.c for (; p != in->buffer->str; in->point--) p 353 lib/widget/input.c p_tmp = p; p 354 lib/widget/input.c str_cprev_char (&p); p 355 lib/widget/input.c if (!str_isspace (p) && !str_ispunct (p)) p 357 lib/widget/input.c p = p_tmp; p 362 lib/widget/input.c for (; p != in->buffer->str; in->point--) p 364 lib/widget/input.c str_cprev_char (&p); p 365 lib/widget/input.c if (str_isspace (p) || str_ispunct (p)) p 526 lib/widget/input.c char *p; p 529 lib/widget/input.c for (p = kill_buffer; *p != '\0'; p++) p 530 lib/widget/input.c insert_char (in, *p); p 566 lib/widget/input.c char *p = NULL; p 572 lib/widget/input.c event_data.text = &p; p 578 lib/widget/input.c for (pp = p; *pp != '\0'; pp++) p 581 lib/widget/input.c g_free (p); p 81 lib/widget/input_complete.c char *p; p 348 lib/widget/input_complete.c const char *p = NULL; p 362 lib/widget/input_complete.c p = strchr (*env_p, '='); p 363 lib/widget/input_complete.c if (p != NULL && ((size_t) (p - *env_p) >= varlen) p 375 lib/widget/input_complete.c temp = g_string_new_len (*env_p, p - *env_p); p 487 lib/widget/input_complete.c const char *p; p 492 lib/widget/input_complete.c p = getenv ("HOSTFILE"); p 493 lib/widget/input_complete.c fetch_hosts (p != NULL ? p : "/etc/hosts", hosts); p 563 lib/widget/input_complete.c char *p, *found; p 587 lib/widget/input_complete.c p = path; p 588 lib/widget/input_complete.c path_end = strchr (p, '\0'); p 589 lib/widget/input_complete.c while ((p = strchr (p, PATH_ENV_SEP)) != NULL) p 590 lib/widget/input_complete.c *p++ = '\0'; p 598 lib/widget/input_complete.c p = filename_completion_function (u_text, state, flags); p 600 lib/widget/input_complete.c if (p != NULL) p 602 lib/widget/input_complete.c char *temp_p = p; p 604 lib/widget/input_complete.c p = str_shell_escape (p); p 609 lib/widget/input_complete.c return p; p 666 lib/widget/input_complete.c p = strrchr (found, PATH_SEP); p 667 lib/widget/input_complete.c if (p != NULL) p 671 lib/widget/input_complete.c found = str_shell_escape (p + 1); p 777 lib/widget/input_complete.c const char *p, *q; p 785 lib/widget/input_complete.c p = text; p 787 lib/widget/input_complete.c while (p < q && p[0] != '\0' && str_isspace (p)) p 788 lib/widget/input_complete.c str_cnext_char (&p); p 791 lib/widget/input_complete.c return (p[0] == 'c' && p[1] == 'd' && str_isspace (p + 2) && p + 2 < q); p 840 lib/widget/input_complete.c state->p = strrchr (state->word, '`'); p 859 lib/widget/input_complete.c if (state->q > state->p) p 860 lib/widget/input_complete.c state->p = str_get_next_char (state->q); p 889 lib/widget/input_complete.c for (state->p = text; p 890 lib/widget/input_complete.c *state->p != '\0' && state->p < state->q && whitespace (*state->p); p 891 lib/widget/input_complete.c str_next_char (&state->p)) p 893 lib/widget/input_complete.c if (strncmp (state->p, "cd", 2) == 0) p 894 lib/widget/input_complete.c for (state->p += 2; p 895 lib/widget/input_complete.c *state->p != '\0' && state->p < state->q && whitespace (*state->p); p 896 lib/widget/input_complete.c str_next_char (&state->p)) p 898 lib/widget/input_complete.c if (state->p == state->q) p 1303 lib/widget/input_complete.c if (state.p > state.q && state.p > state.r) p 1306 lib/widget/input_complete.c matches = completion_matches (str_cget_next_char (state.p), p 1310 lib/widget/input_complete.c *lc_start += str_get_next_char (state.p) - state.word; p 1314 lib/widget/input_complete.c else if (state.q > state.p && state.q > state.r) p 1324 lib/widget/input_complete.c else if (state.r > state.p && state.r > state.q) p 1364 lib/widget/input_complete.c char *p; p 1366 lib/widget/input_complete.c p = g_ptr_array_index (matches, i); p 1369 lib/widget/input_complete.c g_ptr_array_index (matches, i) = str_escape (p, -1, "?*&", TRUE); p 1370 lib/widget/input_complete.c g_free (p); p 72 lib/widget/label.c char *p = l->text; p 100 lib/widget/label.c q = strchr (p, '\n'); p 108 lib/widget/label.c tty_print_string (str_fit_to_term (p, w->rect.cols, align)); p 114 lib/widget/label.c p = q + 1; p 198 lib/widget/widget-common.c const char *cp, *p; p 211 lib/widget/widget-common.c p = str_cget_next_char (cp); p 212 lib/widget/widget-common.c result.hotkey = g_strndup (cp, p - cp); p 214 lib/widget/widget-common.c cp = p; p 88 lib/widget/wtools.c GList *p; p 92 lib/widget/wtools.c p = g_list_next (top_dlg); p 93 lib/widget/wtools.c if (p != NULL) p 94 lib/widget/wtools.c prev_dlg = DIALOG (p->data); p 128 lib/widget/wtools.c char *p; p 132 lib/widget/wtools.c p = g_strconcat ("\n", text, "\n", (char *) NULL); p 133 lib/widget/wtools.c query_dialog (title, p, flags, 0); p 140 lib/widget/wtools.c g_free (p); p 398 lib/widget/wtools.c char *p; p 401 lib/widget/wtools.c p = g_strdup_vprintf (text, args); p 404 lib/widget/wtools.c d = do_create_message (flags, title, p); p 405 lib/widget/wtools.c g_free (p); p 416 lib/widget/wtools.c char *p; p 420 lib/widget/wtools.c p = g_strdup_vprintf (text, ap); p 431 lib/widget/wtools.c void *p; p 436 lib/widget/wtools.c wtools_parent_call (func.p, NULL, 3, sizeof (flags), &flags, strlen (title), title, p 437 lib/widget/wtools.c strlen (p), p); p 441 lib/widget/wtools.c fg_message (flags, title, p); p 443 lib/widget/wtools.c g_free (p); p 487 lib/widget/wtools.c void *p; p 492 lib/widget/wtools.c return wtools_parent_call_string (func.p, 7, p 498 src/args.c char *end, *p; p 529 src/args.c p = end; p 531 src/args.c if (p > tmp && p[-1] == ':') p 532 src/args.c p--; p 533 src/args.c while (p > tmp && g_ascii_isdigit ((gchar) p[-1])) p 534 src/args.c p--; p 536 src/args.c if (tmp < p && p < end && p[-1] == ':') p 542 src/args.c fname = g_strndup (tmp, p - 1 - tmp); p 552 src/args.c arg = edit_arg_vpath_new (fname_vpath, atoi (p)); p 110 src/background.c TaskList *p = task_list; p 113 src/background.c while (p != NULL) p 115 src/background.c if (p->pid == pid) p 117 src/background.c int fd = p->fd; p 120 src/background.c prev->next = p->next; p 122 src/background.c task_list = p->next; p 123 src/background.c g_free (p->info); p 124 src/background.c g_free (p); p 127 src/background.c prev = p; p 128 src/background.c p = p->next; p 218 src/background.c TaskList *p; p 277 src/background.c for (p = task_list; p != NULL; p = p->next) p 278 src/background.c if (p->fd == fd) p 281 src/background.c if (p != NULL) p 282 src/background.c to_child_fd = p->to_child_fd; p 103 src/clipboard.c mc_pipe_t *p; p 114 src/clipboard.c p = mc_popen (clipboard_paste_path, TRUE, TRUE, NULL); p 115 src/clipboard.c if (p == NULL) p 118 src/clipboard.c p->out.null_term = FALSE; p 119 src/clipboard.c p->err.null_term = TRUE; p 125 src/clipboard.c p->out.len = MC_PIPE_BUFSIZE; p 126 src/clipboard.c p->err.len = MC_PIPE_BUFSIZE; p 128 src/clipboard.c mc_pread (p, &error); p 138 src/clipboard.c if (p->out.len == MC_PIPE_STREAM_EOF || p->out.len == MC_PIPE_ERROR_READ) p 141 src/clipboard.c if (p->out.len > 0) p 157 src/clipboard.c nwrite = mc_write (file, p->out.buf, p->out.len); p 165 src/clipboard.c mc_pclose (p, NULL); p 399 src/cons.handler.c char *p = memchr (map.scrmap, i, 256); p 400 src/cons.handler.c revmap.scrmap[i] = p ? p - map.scrmap : i; p 96 src/consaver/cons.saver.c unsigned char message, outbuf[1024], *p; p 129 src/consaver/cons.saver.c p = outbuf; p 132 src/consaver/cons.saver.c *p++ = buffer[lc_index]; p 133 src/consaver/cons.saver.c if (p == outbuf + sizeof (outbuf)) p 137 src/consaver/cons.saver.c p = outbuf; p 141 src/consaver/cons.saver.c if (p != outbuf) p 142 src/consaver/cons.saver.c if (write (1, outbuf, p - outbuf) < (p - outbuf)) p 169 src/consaver/cons.saver.c const char *p, *q; p 208 src/consaver/cons.saver.c p = "/dev/vc/%d"; p 213 src/consaver/cons.saver.c p = "/dev/tty%d"; p 220 src/consaver/cons.saver.c snprintf (console_name, sizeof (console_name), p, console_minor); p 75 src/diffviewer/internal.h void *p; p 162 src/diffviewer/search.c DIFFLN *p; p 164 src/diffviewer/search.c p = (DIFFLN *) & g_array_index (dview->a[dview->ord], DIFFLN, (size_t) ind); p 165 src/diffviewer/search.c if (p->u.len == 0) p 168 src/diffviewer/search.c if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL)) p 197 src/diffviewer/search.c DIFFLN *p; p 199 src/diffviewer/search.c p = (DIFFLN *) & g_array_index (dview->a[dview->ord], DIFFLN, ind); p 200 src/diffviewer/search.c if (p->u.len == 0) p 203 src/diffviewer/search.c if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL)) p 671 src/diffviewer/ydiff.c const char *p = *str; p 675 src/diffviewer/ydiff.c *n = strtol (p, &q, 10); p 676 src/diffviewer/ydiff.c if (errno != 0 || p == q) p 693 src/diffviewer/ydiff.c scan_line (const char *p, GArray *ops) p 709 src/diffviewer/ydiff.c if (scan_deci (&p, &f1) != 0 || f1 < 0) p 713 src/diffviewer/ydiff.c if (*p == ',') p 715 src/diffviewer/ydiff.c p++; p 716 src/diffviewer/ydiff.c if (scan_deci (&p, &f2) != 0 || f2 < f1) p 722 src/diffviewer/ydiff.c cmd = *p++; p 731 src/diffviewer/ydiff.c if (scan_deci (&p, &t1) != 0 || t1 < 0) p 736 src/diffviewer/ydiff.c if (*p == ',') p 738 src/diffviewer/ydiff.c p++; p 739 src/diffviewer/ydiff.c if (scan_deci (&p, &t2) != 0 || t2 < t1) p 1061 src/diffviewer/ydiff.c PAIR *p = (PAIR *) g_array_index (ret, PAIR, k); p 1062 src/diffviewer/ydiff.c if ((*p)[0] == off0 || (*p)[1] >= off1) p 1102 src/diffviewer/ydiff.c BRACKET p; p 1151 src/diffviewer/ydiff.c p[DIFF_LEFT].off = bracket[DIFF_LEFT].off; p 1152 src/diffviewer/ydiff.c p[DIFF_LEFT].len = bracket[DIFF_LEFT].len; p 1153 src/diffviewer/ydiff.c p[DIFF_RIGHT].off = bracket[DIFF_RIGHT].off; p 1154 src/diffviewer/ydiff.c p[DIFF_RIGHT].len = bracket[DIFF_RIGHT].len; p 1155 src/diffviewer/ydiff.c g_array_append_val (hdiff, p); p 1622 src/diffviewer/ydiff.c DIFFLN *p = (DIFFLN *) elt; p 1624 src/diffviewer/ydiff.c if (p != NULL) p 1625 src/diffviewer/ydiff.c g_free (p->p); p 1638 src/diffviewer/ydiff.c DIFFLN p; p 1640 src/diffviewer/ydiff.c p.p = NULL; p 1641 src/diffviewer/ydiff.c p.ch = ch; p 1642 src/diffviewer/ydiff.c p.line = line; p 1643 src/diffviewer/ydiff.c p.u.off = off; p 1649 src/diffviewer/ydiff.c p.p = g_strndup (str, sz); p 1650 src/diffviewer/ydiff.c p.u.len = sz; p 1652 src/diffviewer/ydiff.c g_array_append_val (a, p); p 1656 src/diffviewer/ydiff.c DIFFLN *p; p 1658 src/diffviewer/ydiff.c p = &g_array_index (a, DIFFLN, a->len - 1); p 1666 src/diffviewer/ydiff.c new_size = p->u.len + sz; p 1667 src/diffviewer/ydiff.c q = g_realloc (p->p, new_size); p 1668 src/diffviewer/ydiff.c memcpy (q + p->u.len, str, sz); p 1669 src/diffviewer/ydiff.c p->p = q; p 1671 src/diffviewer/ydiff.c p->u.len += sz; p 1754 src/diffviewer/ydiff.c const DIFFLN *p; p 1757 src/diffviewer/ydiff.c p = &g_array_index (dview->a[DIFF_LEFT], DIFFLN, i); p 1759 src/diffviewer/ydiff.c if (p->line != 0 && q->line != 0 && p->ch == CHG_CH) p 1766 src/diffviewer/ydiff.c hdiff_scan (p->p, p->u.len, q->p, q->u.len, HDIFF_MINCTX, h, HDIFF_DEPTH); p 1827 src/diffviewer/ydiff.c const DIFFLN *p; p 1837 src/diffviewer/ydiff.c p = &g_array_index (a, DIFFLN, pos); p 1839 src/diffviewer/ydiff.c if (p->line == 0) p 1845 src/diffviewer/ydiff.c p--; p 1846 src/diffviewer/ydiff.c if (p->line != 0) p 1852 src/diffviewer/ydiff.c *linenum = p->line; p 2506 src/diffviewer/ydiff.c const DIFFLN *p; p 2549 src/diffviewer/ydiff.c p = (DIFFLN *) & g_array_index (dview->a[ord], DIFFLN, i); p 2550 src/diffviewer/ydiff.c ch = p->ch; p 2557 src/diffviewer/ydiff.c if (p->line != 0) p 2562 src/diffviewer/ydiff.c g_snprintf (buf, display_numbers + 1, "%*d", nwidth, p->line); p 2579 src/diffviewer/ydiff.c k = dview_str_utf8_offset_to_pos (p->p, width); p 2584 src/diffviewer/ydiff.c cvt_mgeta (p->p, p->u.len, buf, k, skip, tab_size, show_cr, p 2638 src/diffviewer/ydiff.c k = dview_str_utf8_offset_to_pos (p->p, width); p 2642 src/diffviewer/ydiff.c cvt_mget (p->p, p->u.len, buf, k, skip, tab_size, show_cr); p 2645 src/diffviewer/ydiff.c cvt_fget (f, p->u.off, buf, width, skip, tab_size, show_cr); p 2924 src/diffviewer/ydiff.c const DIFFLN *p; p 2926 src/diffviewer/ydiff.c p = &g_array_index (dview->a[ord], DIFFLN, i); p 2927 src/diffviewer/ydiff.c if (p->line == newline) p 68 src/editor/bookmark.c double_marks (WEdit *edit, edit_book_mark_t *p) p 72 src/editor/bookmark.c if (p->next != NULL) p 73 src/editor/bookmark.c while (p->next->line == p->line) p 74 src/editor/bookmark.c p = p->next; p 75 src/editor/bookmark.c return p; p 84 src/editor/bookmark.c edit_book_mark_t *p; p 94 src/editor/bookmark.c for (p = edit->book_mark; p != NULL; p = p->next) p 96 src/editor/bookmark.c if (p->line > line) p 99 src/editor/bookmark.c if (p->next != NULL) p 101 src/editor/bookmark.c if (p->next->line > line) p 103 src/editor/bookmark.c edit->book_mark = p; p 104 src/editor/bookmark.c return double_marks (edit, p); p 109 src/editor/bookmark.c edit->book_mark = p; p 110 src/editor/bookmark.c return double_marks (edit, p); p 114 src/editor/bookmark.c for (p = edit->book_mark; p != NULL; p = p->prev) p 116 src/editor/bookmark.c if (p->next != NULL && p->next->line <= line) p 119 src/editor/bookmark.c if (p->line <= line) p 121 src/editor/bookmark.c if (p->next != NULL) p 123 src/editor/bookmark.c if (p->next->line > line) p 125 src/editor/bookmark.c edit->book_mark = p; p 126 src/editor/bookmark.c return double_marks (edit, p); p 131 src/editor/bookmark.c edit->book_mark = p; p 132 src/editor/bookmark.c return double_marks (edit, p); p 158 src/editor/bookmark.c edit_book_mark_t *p; p 160 src/editor/bookmark.c for (p = book_mark_find (edit, line); p != NULL; p = p->prev) p 162 src/editor/bookmark.c if (p->line != line) p 164 src/editor/bookmark.c if (p->c == c) p 178 src/editor/bookmark.c edit_book_mark_t *p, *q; p 180 src/editor/bookmark.c p = book_mark_find (edit, line); p 182 src/editor/bookmark.c if (p->line == line) p 185 src/editor/bookmark.c if (p->c != c) p 187 src/editor/bookmark.c p->c = c; p 197 src/editor/bookmark.c q->next = p->next; p 199 src/editor/bookmark.c q->prev = p; p 200 src/editor/bookmark.c if (p->next != NULL) p 201 src/editor/bookmark.c p->next->prev = q; p 202 src/editor/bookmark.c p->next = q; p 220 src/editor/bookmark.c edit_book_mark_t *p, *q; p 226 src/editor/bookmark.c for (p = book_mark_find (edit, line); p != NULL; p = q) p 228 src/editor/bookmark.c q = p->prev; p 229 src/editor/bookmark.c if (p->line == line && (p->c == c || c == -1)) p 232 src/editor/bookmark.c edit->book_mark = p->prev; p 233 src/editor/bookmark.c p->prev->next = p->next; p 234 src/editor/bookmark.c if (p->next != NULL) p 235 src/editor/bookmark.c p->next->prev = p->prev; p 236 src/editor/bookmark.c g_free (p); p 254 src/editor/bookmark.c edit_book_mark_t *p, *q; p 262 src/editor/bookmark.c for (q = edit->book_mark->next; q != NULL; q = p) p 264 src/editor/bookmark.c p = q->next; p 268 src/editor/bookmark.c if (p != NULL) p 269 src/editor/bookmark.c p->prev = q->prev; p 287 src/editor/bookmark.c edit_book_mark_t *p; p 289 src/editor/bookmark.c p = book_mark_find (edit, line); p 290 src/editor/bookmark.c for (p = p->next; p != NULL; p = p->next) p 291 src/editor/bookmark.c p->line++; p 303 src/editor/bookmark.c edit_book_mark_t *p; p 305 src/editor/bookmark.c p = book_mark_find (edit, line); p 306 src/editor/bookmark.c for (p = p->next; p != NULL; p = p->next) p 307 src/editor/bookmark.c p->line--; p 322 src/editor/bookmark.c edit_book_mark_t *p; p 328 src/editor/bookmark.c for (p = book_mark_find (edit, 0); p != NULL; p = p->next) p 329 src/editor/bookmark.c if (p->c == color && p->line >= 0) p 330 src/editor/bookmark.c g_array_append_val (edit->serialized_bookmarks, p->line); p 150 src/editor/edit-impl.h void edit_move_to_prev_col (WEdit * edit, off_t p); p 266 src/editor/edit.c char *p = NULL; p 275 src/editor/edit.c p = g_strdup_printf (all_filters[i].read, quoted_name); p 279 src/editor/edit.c return p; p 665 src/editor/edit.c off_t p; p 667 src/editor/edit.c for (p = edit_buffer_get_current_bol (buf); p < buf->curs1; p++) p 668 src/editor/edit.c if (strchr (" \t", edit_buffer_get_byte (buf, p)) == NULL) p 941 src/editor/edit.c const char *p; p 943 src/editor/edit.c for (x = 1, p = chars_move_whole_word; p < q; p++) p 944 src/editor/edit.c if (*p == '!') p 1096 src/editor/edit.c long p; p 1114 src/editor/edit.c p = edit_buffer_get_current_bol (&edit->buffer); p 1115 src/editor/edit.c p = direction ? edit_buffer_get_backward_offset (&edit->buffer, p, lines) : p 1116 src/editor/edit.c edit_buffer_get_forward_offset (&edit->buffer, p, lines, 0); p 1117 src/editor/edit.c edit_cursor_move (edit, p - edit->buffer.curs1); p 1118 src/editor/edit.c edit_move_to_prev_col (edit, p); p 1434 src/editor/edit.c off_t p; p 1436 src/editor/edit.c p = edit->buffer.curs1; p 1438 src/editor/edit.c p = edit_buffer_get_backward_offset (&edit->buffer, p, 1); p 1444 src/editor/edit.c c = edit_buffer_get_byte (&edit->buffer, p++); p 1555 src/editor/edit.c const char *const b = "{}{[][()(", *p; p 1562 src/editor/edit.c p = strchr (b, c); p 1564 src/editor/edit.c if (p == NULL || *p == '\0') p 1567 src/editor/edit.c d = p[1]; p 1757 src/editor/edit.c off_t p; p 1763 src/editor/edit.c for (p = edit->buffer.curs1;; p++) p 1765 src/editor/edit.c if (p == edit->buffer.size) p 1769 src/editor/edit.c p++; p 1772 src/editor/edit.c if (edit_buffer_get_byte (&edit->buffer, p) == '\n') p 1774 src/editor/edit.c p++; p 1779 src/editor/edit.c edit_cursor_move (edit, edit_move_forward3 (edit, p, col, 0) - edit->buffer.curs1); p 1859 src/editor/edit.c char *p = NULL; p 1869 src/editor/edit.c p = g_strdup_printf (all_filters[i].write, write_name_quoted); p 1872 src/editor/edit.c return p; p 1994 src/editor/edit.c char *p; p 1998 src/editor/edit.c p = edit_get_filter (filename_vpath); p 2001 src/editor/edit.c if (p != NULL) p 2005 src/editor/edit.c f = (FILE *) popen (p, "r"); p 2020 src/editor/edit.c errmsg = g_strdup_printf (_("Error reading from pipe: %s"), p); p 2030 src/editor/edit.c errmsg = g_strdup_printf (_("Cannot open pipe for reading: %s"), p); p 2035 src/editor/edit.c g_free (p); p 2653 src/editor/edit.c int p = 0; p 2687 src/editor/edit.c p = edit_buffer_delete (&edit->buffer); p 2689 src/editor/edit.c edit_push_undo_action (edit, p + 256); p 2693 src/editor/edit.c if (p == '\n') p 2702 src/editor/edit.c if (p == '\n') p 2706 src/editor/edit.c return p; p 2714 src/editor/edit.c int p = 0; p 2747 src/editor/edit.c p = edit_buffer_backspace (&edit->buffer); p 2749 src/editor/edit.c edit_push_undo_action (edit, p); p 2752 src/editor/edit.c if (p == '\n') p 2763 src/editor/edit.c if (p == '\n') p 2767 src/editor/edit.c return p; p 2821 src/editor/edit.c off_t p, q; p 2832 src/editor/edit.c for (col = 0, p = current; p < q; p++) p 2839 src/editor/edit.c return p; p 2841 src/editor/edit.c return p - 1; p 2844 src/editor/edit.c orig_c = c = edit_buffer_get_byte (&edit->buffer, p); p 2852 src/editor/edit.c utf_ch = edit_buffer_get_utf (&edit->buffer, p, &char_length); p 2868 src/editor/edit.c return (upto != 0 ? (off_t) col : p); p 3007 src/editor/edit.c edit_move_to_prev_col (WEdit *edit, off_t p) p 3014 src/editor/edit.c edit_move_forward3 (edit, p, prev + edit->over_col, 0) - edit->buffer.curs1); p 3053 src/editor/edit.c p = edit_buffer_get_current_bol (&edit->buffer); p 3054 src/editor/edit.c b = edit_move_forward3 (edit, p, edit->curs_col, 0); p 3058 src/editor/edit.c b = edit_move_forward3 (edit, p, q, 0); p 3872 src/editor/edit.c edit_book_mark_t *p; p 3874 src/editor/edit.c p = book_mark_find (edit, edit->buffer.curs_line); p 3875 src/editor/edit.c if (p->next != NULL) p 3877 src/editor/edit.c p = p->next; p 3878 src/editor/edit.c if (p->line >= edit->start_line + w->lines || p->line < edit->start_line) p 3879 src/editor/edit.c edit_move_display (edit, p->line - w->lines / 2); p 3880 src/editor/edit.c edit_move_to_line (edit, p->line); p 3887 src/editor/edit.c edit_book_mark_t *p; p 3889 src/editor/edit.c p = book_mark_find (edit, edit->buffer.curs_line); p 3890 src/editor/edit.c while (p->line == edit->buffer.curs_line) p 3891 src/editor/edit.c if (p->prev != NULL) p 3892 src/editor/edit.c p = p->prev; p 3893 src/editor/edit.c if (p->line >= 0) p 3895 src/editor/edit.c if (p->line >= edit->start_line + w->lines || p->line < edit->start_line) p 3896 src/editor/edit.c edit_move_display (edit, p->line - w->lines / 2); p 3897 src/editor/edit.c edit_move_to_line (edit, p->line); p 126 src/editor/editbuffer.c off_t p; p 128 src/editor/editbuffer.c p = buf->curs1 + buf->curs2 - byte_index - 1; p 129 src/editor/editbuffer.c b = g_ptr_array_index (buf->b2, p >> S_EDIT_BUF_SIZE); p 130 src/editor/editbuffer.c return (char *) b + EDIT_BUF_SIZE - 1 - (p & M_EDIT_BUF_SIZE); p 189 src/editor/editbuffer.c char *p; p 191 src/editor/editbuffer.c p = edit_buffer_get_byte_ptr (buf, byte_index); p 193 src/editor/editbuffer.c return (p != NULL) ? *(unsigned char *) p : '\n'; p 132 src/editor/editcmd.c char *p; p 250 src/editor/editcmd.c p = edit_get_write_filter (savename_vpath, real_filename_vpath); p 251 src/editor/editcmd.c if (p != NULL) p 256 src/editor/editcmd.c file = (FILE *) popen (p, "w"); p 266 src/editor/editcmd.c tmp = g_strdup_printf (_("Error writing to pipe: %s"), p); p 269 src/editor/editcmd.c g_free (p); p 276 src/editor/editcmd.c tmp = g_strdup_printf (_("Cannot open pipe for writing: %s"), p); p 278 src/editor/editcmd.c g_free (p); p 282 src/editor/editcmd.c g_free (p); p 481 src/editor/editcmd.c off_t p, q; p 484 src/editor/editcmd.c p = edit_move_forward3 (edit, r, b, 0); p 486 src/editor/editcmd.c p = MAX (p, m1); p 488 src/editor/editcmd.c edit_cursor_move (edit, p - edit->buffer.curs1); p 490 src/editor/editcmd.c for (; q > p; q--) p 636 src/editor/editcmd.c FILE *p = 0; p 662 src/editor/editcmd.c p = popen (s, "w"); p 666 src/editor/editcmd.c if (p != NULL) p 671 src/editor/editcmd.c if (fputc (edit_buffer_get_byte (buf, i), p) < 0) p 673 src/editor/editcmd.c pclose (p); p 696 src/editor/editcmd.c off_t p; p 703 src/editor/editcmd.c for (p = edit->buffer.curs1;; p++) p 705 src/editor/editcmd.c if (p == edit->buffer.size) p 709 src/editor/editcmd.c p++; p 712 src/editor/editcmd.c if (edit_buffer_get_byte (&edit->buffer, p) == '\n') p 714 src/editor/editcmd.c p++; p 718 src/editor/editcmd.c edit_cursor_move (edit, edit_move_forward3 (edit, p, col, 0) - edit->buffer.curs1); p 1545 src/editor/editcmd.c unsigned char *block, *p; p 1547 src/editor/editcmd.c p = block = edit_get_block (edit, start, finish, &len); p 1550 src/editor/editcmd.c r = mc_write (file, p, len); p 1553 src/editor/editcmd.c p += r; p 384 src/editor/editdraw.c line_s *p; p 447 src/editor/editdraw.c for (p = line; p->ch != 0; p++) p 458 src/editor/editdraw.c style = p->style & 0xFF00; p 459 src/editor/editdraw.c textchar = p->ch; p 478 src/editor/editdraw.c tty_lowlevel_setcolor (p->style >> 16); p 499 src/editor/editdraw.c line_s *p = line; p 578 src/editor/editdraw.c p->ch = 0; p 579 src/editor/editdraw.c p->style = q == edit->buffer.curs1 ? MOD_CURSOR : 0; p 584 src/editor/editdraw.c p->style |= MOD_MARKED; p 595 src/editor/editdraw.c p->style |= MOD_MARKED; p 601 src/editor/editdraw.c p->style |= MOD_BOLD; p 603 src/editor/editdraw.c p->style |= MOD_BOLD; p 614 src/editor/editdraw.c p->style |= book_mark << 16; p 620 src/editor/editdraw.c p->style |= color << 16; p 642 src/editor/editdraw.c if ((p->style & MOD_MARKED) != 0) p 643 src/editor/editdraw.c c = p->style; p 647 src/editor/editdraw.c c = p->style | MOD_WHITESPACE; p 650 src/editor/editdraw.c p->ch = '<'; p 651 src/editor/editdraw.c p->style = c; p 652 src/editor/editdraw.c p++; p 655 src/editor/editdraw.c p->ch = '-'; p 656 src/editor/editdraw.c p->style = c; p 657 src/editor/editdraw.c p++; p 659 src/editor/editdraw.c p->ch = '>'; p 660 src/editor/editdraw.c p->style = c; p 661 src/editor/editdraw.c p++; p 665 src/editor/editdraw.c p->ch = '<'; p 666 src/editor/editdraw.c p->style = c; p 667 src/editor/editdraw.c p++; p 668 src/editor/editdraw.c p->ch = '>'; p 669 src/editor/editdraw.c p->style = c; p 670 src/editor/editdraw.c p++; p 674 src/editor/editdraw.c p->ch = '>'; p 675 src/editor/editdraw.c p->style = c; p 676 src/editor/editdraw.c p++; p 682 src/editor/editdraw.c p->ch = '.'; p 683 src/editor/editdraw.c p->style |= MOD_WHITESPACE; p 684 src/editor/editdraw.c c = p->style & ~MOD_CURSOR; p 685 src/editor/editdraw.c p++; p 688 src/editor/editdraw.c p->ch = ' '; p 689 src/editor/editdraw.c p->style = c; p 690 src/editor/editdraw.c p++; p 695 src/editor/editdraw.c p->ch |= ' '; p 696 src/editor/editdraw.c c = p->style & ~MOD_CURSOR; p 697 src/editor/editdraw.c p++; p 700 src/editor/editdraw.c p->ch = ' '; p 701 src/editor/editdraw.c p->style = c; p 702 src/editor/editdraw.c p++; p 712 src/editor/editdraw.c p->ch = '.'; p 713 src/editor/editdraw.c p->style |= MOD_WHITESPACE; p 714 src/editor/editdraw.c p++; p 741 src/editor/editdraw.c p->ch = '^'; p 742 src/editor/editdraw.c p->style = abn_style; p 743 src/editor/editdraw.c p++; p 744 src/editor/editdraw.c p->ch = c + 0x40; p 745 src/editor/editdraw.c p->style = abn_style; p 746 src/editor/editdraw.c p++; p 753 src/editor/editdraw.c p->ch = '^'; p 754 src/editor/editdraw.c p->style = abn_style; p 755 src/editor/editdraw.c p++; p 756 src/editor/editdraw.c p->ch = '?'; p 757 src/editor/editdraw.c p->style = abn_style; p 758 src/editor/editdraw.c p++; p 780 src/editor/editdraw.c p->ch = c; p 783 src/editor/editdraw.c p->ch = '.'; p 784 src/editor/editdraw.c p->style = abn_style; p 786 src/editor/editdraw.c p++; p 799 src/editor/editdraw.c p--; p 804 src/editor/editdraw.c p -= 2; p 812 src/editor/editdraw.c p->ch = 0; p 1044 src/editor/editdraw.c long p; p 1086 src/editor/editdraw.c p = edit_get_col (edit) + edit->over_col; p 1088 src/editor/editdraw.c outby = p + edit->start_col - w->cols + 1 + (r_extreme + edit->found_len); p 1091 src/editor/editdraw.c outby = l_extreme - p - edit->start_col; p 1094 src/editor/editdraw.c p = edit->curs_row; p 1095 src/editor/editdraw.c outby = p - w->lines + 1 + b_extreme; p 1098 src/editor/editdraw.c outby = t_extreme - p; p 124 src/editor/editoptions.c char *p, *q; p 180 src/editor/editoptions.c "edit-word-wrap", &p, NULL, FALSE, FALSE, INPUT_COMPLETE_NONE), p 204 src/editor/editoptions.c if (*p != '\0') p 206 src/editor/editoptions.c edit_options.word_wrap_line_length = atoi (p); p 209 src/editor/editoptions.c g_free (p); p 74 src/editor/format.c off_t p; p 78 src/editor/format.c p = buf->curs1; p 81 src/editor/format.c p = edit_buffer_get_backward_offset (buf, p, l - line); p 83 src/editor/format.c p = edit_buffer_get_forward_offset (buf, p, line - l, 0); p 85 src/editor/format.c p = edit_buffer_get_bol (buf, p); p 86 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (buf, p)) != NULL) p 87 src/editor/format.c p++; p 88 src/editor/format.c return p; p 94 src/editor/format.c bad_line_start (const edit_buffer_t *buf, off_t p) p 98 src/editor/format.c c = edit_buffer_get_byte (buf, p); p 102 src/editor/format.c return !(edit_buffer_get_byte (buf, p + 1) == '.' p 103 src/editor/format.c && edit_buffer_get_byte (buf, p + 2) == '.'); p 108 src/editor/format.c return !(edit_buffer_get_byte (buf, p + 1) == '-' p 109 src/editor/format.c && edit_buffer_get_byte (buf, p + 2) == '-'); p 170 src/editor/format.c get_paragraph (const edit_buffer_t *buf, off_t p, off_t q, gboolean indent) p 176 src/editor/format.c for (; p < q; p++) p 178 src/editor/format.c if (indent && edit_buffer_get_byte (buf, p - 1) == '\n') p 179 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (buf, p)) != NULL) p 180 src/editor/format.c p++; p 182 src/editor/format.c g_string_append_c (t, edit_buffer_get_byte (buf, p)); p 195 src/editor/format.c unsigned char *p; p 197 src/editor/format.c for (p = t; size-- != 0; p++) p 198 src/editor/format.c if (*p == '\n') p 199 src/editor/format.c *p = ' '; p 337 src/editor/format.c off_t p; p 344 src/editor/format.c p = word_start (t, q, size); p 345 src/editor/format.c if (p == -1) p 350 src/editor/format.c q = p; p 371 src/editor/format.c edit_indent_width (const WEdit *edit, off_t p) p 373 src/editor/format.c off_t q = p; p 380 src/editor/format.c return (long) edit_move_forward3 (edit, p, 0, q); p 403 src/editor/format.c put_paragraph (WEdit *edit, unsigned char *t, off_t p, long indent, off_t size) p 411 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL) p 412 src/editor/format.c p++; p 413 src/editor/format.c for (i = 0; i < size; i++, p++) p 419 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL) p 420 src/editor/format.c p++; p 426 src/editor/format.c edit_cursor_move (edit, p - edit->buffer.curs1); p 430 src/editor/format.c cursor += edit->buffer.curs1 - p; p 431 src/editor/format.c p = edit->buffer.curs1; p 435 src/editor/format.c edit_cursor_move (edit, p - edit->buffer.curs1); p 436 src/editor/format.c while (strchr ("\t ", edit_buffer_get_byte (&edit->buffer, p)) != NULL) p 442 src/editor/format.c p = edit->buffer.curs1; p 446 src/editor/format.c c = edit_buffer_get_byte (&edit->buffer, p); p 448 src/editor/format.c replace_at (edit, p, t[i]); p 456 src/editor/format.c test_indent (const WEdit *edit, off_t p, off_t q) p 460 src/editor/format.c indent = edit_indent_width (edit, p++); p 464 src/editor/format.c for (; p < q; p++) p 465 src/editor/format.c if (edit_buffer_get_byte (&edit->buffer, p - 1) == '\n' p 466 src/editor/format.c && indent != edit_indent_width (edit, p)) p 478 src/editor/format.c off_t p, q; p 491 src/editor/format.c p = begin_paragraph (edit, force, &lines); p 493 src/editor/format.c indent = test_indent (edit, p, q); p 495 src/editor/format.c t = get_paragraph (&edit->buffer, p, q, indent != 0); p 530 src/editor/format.c format_this (t2, q - p, indent, utf8); p 531 src/editor/format.c put_paragraph (edit, t2, p, indent, size); p 218 src/editor/syntax.c char **p; p 226 src/editor/syntax.c p = argv + count + argc; p 228 src/editor/syntax.c if (p >= argv_end) p 233 src/editor/syntax.c *p-- = argv[argc-- + 1]; p 236 src/editor/syntax.c for (p = argv; *t != NULL; *p++ = *t++) p 248 src/editor/syntax.c const unsigned char *p, *q; p 256 src/editor/syntax.c for (p = (const unsigned char *) text->str, q = p + text->len; p < q; p++, i++) p 258 src/editor/syntax.c switch (*p) p 261 src/editor/syntax.c if (++p > q) p 267 src/editor/syntax.c if (*p == '\0' && whole_right != NULL && strchr (whole_right, c) == NULL) p 269 src/editor/syntax.c if (c == *p) p 277 src/editor/syntax.c if (++p > q) p 284 src/editor/syntax.c if (c == *p) p 287 src/editor/syntax.c if (p[0] == text->str[0] && p[1] == '\0') /* handle eg '+' and @+@ keywords properly */ p 290 src/editor/syntax.c if (j != 0 && strchr ((const char *) p + 1, c) != NULL) /* c exists further down, so it will get matched later */ p 294 src/editor/syntax.c if (*p == '\0') p 308 src/editor/syntax.c if (++p > q) p 316 src/editor/syntax.c for (j = 0; p[j] != SYNTAX_TOKEN_BRACKET && p[j] != '\0'; j++) p 317 src/editor/syntax.c if (c == p[j]) p 324 src/editor/syntax.c while (*p != SYNTAX_TOKEN_BRACKET && p <= q) p 325 src/editor/syntax.c p++; p 326 src/editor/syntax.c if (p > q) p 328 src/editor/syntax.c if (p[1] == d) p 332 src/editor/syntax.c if (++p > q) p 336 src/editor/syntax.c for (; *p != SYNTAX_TOKEN_BRACE && *p != '\0'; p++) p 337 src/editor/syntax.c if (c == *p) p 341 src/editor/syntax.c while (*p != SYNTAX_TOKEN_BRACE && p < q) p 342 src/editor/syntax.c p++; p 346 src/editor/syntax.c if (*p != xx_tolower (edit, c)) p 441 src/editor/syntax.c const char *p; p 444 src/editor/syntax.c p = r->keyword_first_chars; p 446 src/editor/syntax.c if (p != NULL) p 447 src/editor/syntax.c while (*(p = xx_strchr (edit, (const unsigned char *) p + 1, c)) != '\0') p 453 src/editor/syntax.c count = p - r->keyword_first_chars; p 557 src/editor/syntax.c const char *p; p 560 src/editor/syntax.c p = r->keyword_first_chars; p 562 src/editor/syntax.c while (*(p = xx_strchr (edit, (const unsigned char *) p + 1, c)) != '\0') p 568 src/editor/syntax.c count = p - r->keyword_first_chars; p 670 src/editor/syntax.c GString *p; p 674 src/editor/syntax.c p = g_string_sized_new (64); p 706 src/editor/syntax.c g_string_append_c (p, c); p 709 src/editor/syntax.c *line = g_string_free (p, FALSE); p 711 src/editor/syntax.c g_string_free (p, TRUE); p 721 src/editor/syntax.c char *r, *p; p 723 src/editor/syntax.c p = r = s; p 733 src/editor/syntax.c *p = ' '; p 737 src/editor/syntax.c *p = '\n'; p 740 src/editor/syntax.c *p = '\r'; p 743 src/editor/syntax.c *p = '\t'; p 746 src/editor/syntax.c *p = ' '; p 749 src/editor/syntax.c *p = '*'; p 752 src/editor/syntax.c *p = '\\'; p 756 src/editor/syntax.c *p = SYNTAX_TOKEN_BRACKET; p 760 src/editor/syntax.c *p = SYNTAX_TOKEN_BRACE; p 763 src/editor/syntax.c *p = *s; p 766 src/editor/syntax.c *p = *s; p 771 src/editor/syntax.c *p = SYNTAX_TOKEN_STAR; p 774 src/editor/syntax.c *p = SYNTAX_TOKEN_PLUS; p 777 src/editor/syntax.c *p = *s; p 781 src/editor/syntax.c p++; p 783 src/editor/syntax.c *p = '\0'; p 796 src/editor/syntax.c char *p = l; p 798 src/editor/syntax.c while (*p != '\0' && whiteness (*p)) p 799 src/editor/syntax.c p++; p 800 src/editor/syntax.c if (*p == '\0') p 802 src/editor/syntax.c for (l = p + 1; *l != '\0' && !whiteness (*l); l++) p 806 src/editor/syntax.c args[argc++] = convert (p); p 817 src/editor/syntax.c char f[80], b[80], a[80], *p; p 832 src/editor/syntax.c p = strchr (f, '/'); p 833 src/editor/syntax.c if (p != NULL) p 834 src/editor/syntax.c *p = '\0'; p 840 src/editor/syntax.c p = strchr (b, '/'); p 841 src/editor/syntax.c if (p != NULL) p 842 src/editor/syntax.c *p = '\0'; p 855 src/editor/syntax.c p = strchr (f, ';'); p 856 src/editor/syntax.c if (p != NULL) p 857 src/editor/syntax.c *p = '\0'; p 864 src/editor/syntax.c p = strchr (editnormal, ';'); p 865 src/editor/syntax.c if ((p != NULL) && (*(++p) != '\0')) p 866 src/editor/syntax.c g_strlcpy (b, p, sizeof (b)); p 878 src/editor/syntax.c p = strchr (a, '/'); p 879 src/editor/syntax.c if (p != NULL) p 880 src/editor/syntax.c *p = '\0'; p 882 src/editor/syntax.c p = a; p 883 src/editor/syntax.c while ((p = strchr (p, SYNTAX_TOKEN_PLUS)) != NULL) p 884 src/editor/syntax.c *p++ = '+'; p 835 src/filemanager/achown.c try_advanced_chown (const vfs_path_t *p, mode_t m, uid_t u, gid_t g) p 840 src/filemanager/achown.c while ((chmod_result = mc_chmod (p, m)) == -1 && !ignore_all) p 847 src/filemanager/achown.c fname = x_basename (vfs_path_as_str (p)); p 877 src/filemanager/achown.c while (chmod_result != -1 && mc_chown (p, u, g) == -1 && !ignore_all) p 884 src/filemanager/achown.c fname = x_basename (vfs_path_as_str (p)); p 920 src/filemanager/achown.c do_advanced_chown (WPanel *panel, const vfs_path_t *p, mode_t m, uid_t u, gid_t g) p 924 src/filemanager/achown.c ret = try_advanced_chown (p, m, u, g); p 194 src/filemanager/boxes.c const WRect *wd = &WIDGET (d->data.p)->rect; p 226 src/filemanager/boxes.c skin_dlg->data.p = WIDGET (button)->owner; p 766 src/filemanager/boxes.c const char *p = NULL; p 770 src/filemanager/boxes.c p = get_nth_panel_name (num); p 771 src/filemanager/boxes.c panel = panel_empty_new (p); p 853 src/filemanager/boxes.c if (p != NULL) p 24 src/filemanager/boxes.h int panel_listing_box (WPanel * p, int num, char **user, char **mini, gboolean * use_msformat, p 90 src/filemanager/cd.c char *p; p 100 src/filemanager/cd.c for (p = path_tilde; *p != '\0';) p 105 src/filemanager/cd.c if (p[0] == '\\' && p[1] == '$') p 108 src/filemanager/cd.c p += 2; p 110 src/filemanager/cd.c else if (p[0] != '$' || p[1] == '[' || p[1] == '(') p 112 src/filemanager/cd.c g_string_append_c (q, *p); p 113 src/filemanager/cd.c p++; p 126 src/filemanager/cd.c p++; p 128 src/filemanager/cd.c if (p[0] == '{') p 130 src/filemanager/cd.c p++; p 131 src/filemanager/cd.c s = strchr (p, '}'); p 134 src/filemanager/cd.c s = strchr (p, PATH_SEP); p 136 src/filemanager/cd.c s = strchr (p, '\0'); p 139 src/filemanager/cd.c t = getenv (p); p 144 src/filemanager/cd.c if (p[-1] != '$') p 150 src/filemanager/cd.c p = s; p 152 src/filemanager/cd.c p++; p 180 src/filemanager/cd.c char *cdpath, *p; p 184 src/filemanager/cd.c p = cdpath; p 185 src/filemanager/cd.c c = (p == NULL) ? '\0' : ':'; p 191 src/filemanager/cd.c s = strchr (p, ':'); p 193 src/filemanager/cd.c s = strchr (p, '\0'); p 196 src/filemanager/cd.c if (*p != '\0') p 200 src/filemanager/cd.c r_vpath = vfs_path_build_filename (p, path, (char *) NULL); p 205 src/filemanager/cd.c p = s + 1; p 225 src/filemanager/cd.c char *p; p 233 src/filemanager/cd.c p = g_strstrip (g_strdup (path)); p 239 src/filemanager/cd.c if (p[0] == '\0') p 244 src/filemanager/cd.c else if (DIR_IS_DOTDOT (p)) p 259 src/filemanager/cd.c if (IS_PATH_SEP (*p)) p 260 src/filemanager/cd.c new_vpath = vfs_path_from_str (p); p 262 src/filemanager/cd.c new_vpath = vfs_path_append_new (current_panel->cwd_vpath, p, (char *) NULL); p 275 src/filemanager/cd.c s_path = examine_cd (p); p 298 src/filemanager/cd.c g_free (p); p 1091 src/filemanager/chattr.c try_chattr (const vfs_path_t *p, unsigned long m) p 1095 src/filemanager/chattr.c while (mc_fsetflags (p, m) == -1 && !ignore_all) p 1102 src/filemanager/chattr.c fname = x_basename (vfs_path_as_str (p)); p 1137 src/filemanager/chattr.c do_chattr (WPanel *panel, const vfs_path_t *p, unsigned long m) p 1144 src/filemanager/chattr.c ret = try_chattr (p, m); p 414 src/filemanager/chmod.c try_chmod (const vfs_path_t *p, mode_t m) p 418 src/filemanager/chmod.c while (mc_chmod (p, m) == -1 && !ignore_all) p 425 src/filemanager/chmod.c fname = x_basename (vfs_path_as_str (p)); p 460 src/filemanager/chmod.c do_chmod (WPanel *panel, const vfs_path_t *p, struct stat *sf) p 467 src/filemanager/chmod.c ret = try_chmod (p, sf->st_mode); p 286 src/filemanager/chown.c try_chown (const vfs_path_t *p, uid_t u, gid_t g) p 290 src/filemanager/chown.c while (mc_chown (p, u, g) == -1 && !ignore_all) p 297 src/filemanager/chown.c fname = x_basename (vfs_path_as_str (p)); p 332 src/filemanager/chown.c do_chown (WPanel *panel, const vfs_path_t *p, uid_t u, gid_t g) p 336 src/filemanager/chown.c ret = try_chown (p, u, g); p 440 src/filemanager/cmd.c configure_panel_listing (WPanel *p, int list_format, int brief_cols, gboolean use_msformat, p 443 src/filemanager/cmd.c p->user_mini_status = use_msformat; p 444 src/filemanager/cmd.c p->list_format = list_format; p 447 src/filemanager/cmd.c p->brief_cols = brief_cols; p 451 src/filemanager/cmd.c g_free (p->user_format); p 452 src/filemanager/cmd.c p->user_format = *user; p 455 src/filemanager/cmd.c g_free (p->user_status_format[list_format]); p 456 src/filemanager/cmd.c p->user_status_format[list_format] = *status; p 459 src/filemanager/cmd.c set_panel_formats (p); p 462 src/filemanager/cmd.c set_panel_formats (p); p 1097 src/filemanager/cmd.c const char *p; p 1103 src/filemanager/cmd.c p = fe->fname->str; p 1106 src/filemanager/cmd.c message (D_ERROR, MSG_ERROR, _("'%s' is not a symbolic link"), p); p 1112 src/filemanager/cmd.c i = readlink (p, buffer, sizeof (buffer) - 1); p 1119 src/filemanager/cmd.c q = g_strdup_printf (_("Symlink '%s\' points to:"), str_trunc (p, 32)); p 1129 src/filemanager/cmd.c p_vpath = vfs_path_from_str (p); p 1134 src/filemanager/cmd.c message (D_ERROR, MSG_ERROR, _("edit symlink, unable to remove %s: %s"), p, p 1225 src/filemanager/cmd.c char *p; p 1227 src/filemanager/cmd.c p = cd_box (panel); p 1228 src/filemanager/cmd.c if (p != NULL && *p != '\0') p 1229 src/filemanager/cmd.c cd_to (p); p 1230 src/filemanager/cmd.c g_free (p); p 1272 src/filemanager/cmd.c vfs_path_t *p; p 1274 src/filemanager/cmd.c p = vfs_path_from_str (entry->fname->str); p 1280 src/filemanager/cmd.c if (compute_dir_size (p, &dsm, &dir_count, &count, &total, FALSE) == FILE_CONT) p 1286 src/filemanager/cmd.c vfs_path_free (p, TRUE); p 1319 src/filemanager/cmd.c vfs_path_t *p; p 1325 src/filemanager/cmd.c p = vfs_path_from_str (panel->dir.list[i].fname->str); p 1326 src/filemanager/cmd.c ok = compute_dir_size (p, &dsm, &dir_count, &count, &total, FALSE) != FILE_CONT; p 1327 src/filemanager/cmd.c vfs_path_free (p, TRUE); p 1395 src/filemanager/cmd.c WPanel *p; p 1399 src/filemanager/cmd.c p = PANEL (get_panel_widget (MENU_PANEL_IDX)); p 1401 src/filemanager/cmd.c p->is_panelized = FALSE; p 1402 src/filemanager/cmd.c panel_set_filter (p, NULL); /* including panel reload */ p 1414 src/filemanager/cmd.c WPanel *p = NULL; p 1417 src/filemanager/cmd.c p = MENU_PANEL_IDX == 0 ? left_panel : right_panel; p 1419 src/filemanager/cmd.c list_format = panel_listing_box (p, MENU_PANEL_IDX, &user, &status, &use_msformat, &brief_cols); p 1423 src/filemanager/cmd.c p = MENU_PANEL_IDX == 0 ? left_panel : right_panel; p 1424 src/filemanager/cmd.c configure_panel_listing (p, list_format, brief_cols, use_msformat, &user, &status); p 555 src/filemanager/file.c GString *p; p 560 src/filemanager/file.c p = g_string_sized_new (slen + len); p 561 src/filemanager/file.c g_string_append_len (p, src_path, slen); p 566 src/filemanager/file.c q = vfs_path_build_filename (p->str, dst_path, (char *) NULL); p 573 src/filemanager/file.c g_string_append_len (p, link_target, len); p 575 src/filemanager/file.c tmp_vpath2 = vfs_path_from_str (p->str); p 579 src/filemanager/file.c g_strlcpy (link_target, s != NULL ? s : p->str, sizeof (link_target)); p 583 src/filemanager/file.c g_string_free (p, TRUE); p 724 src/filemanager/file.c vfs_path_t *p; p 727 src/filemanager/file.c p = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); p 728 src/filemanager/file.c status = do_compute_dir_size (p, sm, &dir_count, ret_count, ret_total, stat_func); p 729 src/filemanager/file.c vfs_path_free (p, TRUE); p 907 src/filemanager/file.c void *p; p 916 src/filemanager/file.c return parent_call (pntr.p, ctx, 3, strlen (fmt), fmt, strlen (a), a, strlen (b), b); p 1044 src/filemanager/file.c void *p; p 1052 src/filemanager/file.c return parent_call (pntr.p, ctx, 2, sizeof (allow_retry), allow_retry, strlen (str), str); p 1065 src/filemanager/file.c void *p; p 1073 src/filemanager/file.c return parent_call (pntr.p, ctx, 1, strlen (s), s); p 1087 src/filemanager/file.c void *p; p 1096 src/filemanager/file.c return parent_call (pntr.p, ctx, 4, strlen (src), src, sizeof (struct stat), src_stat, p 513 src/filemanager/filegui.c vfs_path_t *p; p 545 src/filemanager/filegui.c p = vfs_path_from_str (ui->src_filename); p 546 src/filemanager/filegui.c s1 = vfs_path_to_str_flags (p, 0, VPF_STRIP_HOME | VPF_STRIP_PASSWORD); p 548 src/filemanager/filegui.c vfs_path_free (p, TRUE); p 560 src/filemanager/filegui.c p = vfs_path_from_str (ui->tgt_filename); p 561 src/filemanager/filegui.c s1 = vfs_path_to_str_flags (p, 0, VPF_STRIP_HOME | VPF_STRIP_PASSWORD); p 563 src/filemanager/filegui.c vfs_path_free (p, TRUE); p 714 src/filemanager/filegui.c is_wildcarded (const char *p) p 718 src/filemanager/filegui.c for (; *p != '\0'; p++) p 720 src/filemanager/filegui.c if (*p == '\\') p 722 src/filemanager/filegui.c if (p[1] >= '1' && p[1] <= '9' && !escaped) p 728 src/filemanager/filegui.c if ((*p == '*' || *p == '?') && !escaped) p 394 src/filemanager/filemanager.c WPanel *p; p 400 src/filemanager/filemanager.c p = MENU_PANEL; p 401 src/filemanager/filemanager.c sort_order = sort_box (&p->sort_info, p->sort_field); p 402 src/filemanager/filemanager.c panel_set_sort_order (p, sort_order); p 437 src/filemanager/filemanager.c char *p; p 443 src/filemanager/filemanager.c p = g_strdup_printf ("%s [%s]:%s", _("Panels:"), login, path); p 446 src/filemanager/filemanager.c path = g_strdup (str_trunc (p, len - 4)); p 447 src/filemanager/filemanager.c g_free (p); p 1834 src/filemanager/find.c char *p; p 1847 src/filemanager/find.c p = name; p 1849 src/filemanager/find.c p += (size_t) start_dir_len; p 1850 src/filemanager/find.c if (IS_PATH_SEP (*p)) p 1851 src/filemanager/find.c p++; p 1853 src/filemanager/find.c if (!handle_path (p, &st, &link_to_dir, &stale_link)) p 1861 src/filemanager/find.c && strcmp (list->list[list->len - 1].fname->str, p) == 0) p 1867 src/filemanager/find.c ok = dir_list_append (list, p, &st, link_to_dir, stale_link); p 233 src/filemanager/hotlist.c char *p; p 256 src/filemanager/hotlist.c p = g_strconcat (" ", current_group->label, " ", (char *) NULL); p 258 src/filemanager/hotlist.c groupbox_set_title (movelist_group, str_trunc (p, w->rect.cols - 2)); p 261 src/filemanager/hotlist.c groupbox_set_title (hotlist_group, str_trunc (p, w->rect.cols - 2)); p 264 src/filemanager/hotlist.c g_free (p); p 362 src/filemanager/hotlist.c struct hotlist *p = moveto_group->head; p 365 src/filemanager/hotlist.c while (p->next != NULL) p 366 src/filemanager/hotlist.c p = p->next; p 367 src/filemanager/hotlist.c p->next = item; p 386 src/filemanager/hotlist.c struct hotlist *p = moveto_group->head; p 388 src/filemanager/hotlist.c while (p->next != moveto_item) p 389 src/filemanager/hotlist.c p = p->next; p 390 src/filemanager/hotlist.c item->next = p->next; p 391 src/filemanager/hotlist.c p->next = item; p 959 src/filemanager/hotlist.c struct hotlist *p = current_group->head; p 961 src/filemanager/hotlist.c while (p->next != current) p 962 src/filemanager/hotlist.c p = p->next; p 965 src/filemanager/hotlist.c p->next = new; p 969 src/filemanager/hotlist.c struct hotlist *p = current_group->head; p 971 src/filemanager/hotlist.c while (p->next != NULL) p 972 src/filemanager/hotlist.c p = p->next; p 974 src/filemanager/hotlist.c p->next = new; p 1448 src/filemanager/layout.c WPanel *p; p 1450 src/filemanager/layout.c p = PANEL (get_panel_widget (idx)); p 1451 src/filemanager/layout.c if (p != NULL) p 1455 src/filemanager/layout.c panels[idx].last_saved_dir = g_strdup (vfs_path_as_str (p->cwd_vpath)); p 1565 src/filemanager/layout.c char *p; p 1571 src/filemanager/layout.c p = g_strdup_printf ("mc [%s]:%s", login, path); p 1575 src/filemanager/layout.c fprintf (stdout, ESC_STR "]0;%s" ESC_STR "\\", str_term_form (p)); p 1576 src/filemanager/layout.c g_free (p); p 395 src/filemanager/panel.c panelized_descr_t *p; p 397 src/filemanager/panel.c p = g_new0 (panelized_descr_t, 1); p 398 src/filemanager/panel.c p->list.len = -1; p 400 src/filemanager/panel.c return p; p 406 src/filemanager/panel.c panelized_descr_free (panelized_descr_t *p) p 408 src/filemanager/panel.c if (p != NULL) p 410 src/filemanager/panel.c dir_list_free_list (&p->list); p 411 src/filemanager/panel.c vfs_path_free (p->root_vpath, TRUE); p 412 src/filemanager/panel.c g_free (p); p 441 src/filemanager/panel.c panel_lines (const WPanel *p) p 444 src/filemanager/panel.c return (CONST_WIDGET (p)->rect.lines - 3 - (panels_options.show_mini_info ? 2 : 0)); p 820 src/filemanager/panel.c panel_items (const WPanel *p) p 822 src/filemanager/panel.c return panel_lines (p) * p->list_cols; p 1487 src/filemanager/panel.c WPanel *p = PANEL (init_data); p 1493 src/filemanager/panel.c if (ev->receiver == NULL || ev->receiver == WIDGET (p)) p 1496 src/filemanager/panel.c p->dir_history.list = mc_config_history_load (ev->cfg, p->dir_history.name); p 1498 src/filemanager/panel.c p->dir_history.list = mc_config_history_get (p->dir_history.name); p 1500 src/filemanager/panel.c directory_history_add (p, p->cwd_vpath); p 1513 src/filemanager/panel.c WPanel *p = PANEL (init_data); p 1518 src/filemanager/panel.c if (p->dir_history.list != NULL) p 1522 src/filemanager/panel.c mc_config_history_save (ev->cfg, p->dir_history.name, p->dir_history.list); p 1531 src/filemanager/panel.c panel_destroy (WPanel *p) p 1539 src/filemanager/panel.c name = panel_save_name (p); p 1540 src/filemanager/panel.c panel_save_setup (p, name); p 1544 src/filemanager/panel.c panel_clean_dir (p); p 1547 src/filemanager/panel.c if (p->dir_history.list != NULL) p 1550 src/filemanager/panel.c p->dir_history.list = g_list_first (p->dir_history.list); p 1551 src/filemanager/panel.c g_list_free_full (p->dir_history.list, g_free); p 1553 src/filemanager/panel.c g_free (p->dir_history.name); p 1555 src/filemanager/panel.c file_filter_clear (&p->filter); p 1557 src/filemanager/panel.c g_slist_free_full (p->format, (GDestroyNotify) format_item_free); p 1558 src/filemanager/panel.c g_slist_free_full (p->status_format, (GDestroyNotify) format_item_free); p 1560 src/filemanager/panel.c g_free (p->user_format); p 1562 src/filemanager/panel.c g_free (p->user_status_format[i]); p 1564 src/filemanager/panel.c g_free (p->name); p 1566 src/filemanager/panel.c panelized_descr_free (p->panelized_descr); p 1568 src/filemanager/panel.c g_string_free (p->quick_search.buffer, TRUE); p 1569 src/filemanager/panel.c g_string_free (p->quick_search.prev_buffer, TRUE); p 1571 src/filemanager/panel.c vfs_path_free (p->lwd_vpath, TRUE); p 1572 src/filemanager/panel.c vfs_path_free (p->cwd_vpath, TRUE); p 3081 src/filemanager/panel.c WPanel *p; p 3098 src/filemanager/panel.c p = change_panel (); p 3099 src/filemanager/panel.c panel_cd (p, new_dir_vpath, cd_exact); p 3103 src/filemanager/panel.c panel_set_current_by_name (p, curr_entry); p 3171 src/filemanager/panel.c char *p; p 3173 src/filemanager/panel.c p = strrchr (buffer, PATH_SEP); p 3174 src/filemanager/panel.c if (p != NULL && p[1] == '\0') p 3176 src/filemanager/panel.c *p = '\0'; p 3177 src/filemanager/panel.c p = strrchr (buffer, PATH_SEP); p 3179 src/filemanager/panel.c if (p == NULL) p 3182 src/filemanager/panel.c p[1] = '\0'; p 3405 src/filemanager/panel.c const char *p, *lwd; p 3415 src/filemanager/panel.c p = g_strrstr (lwd, VFS_PATH_URL_DELIMITER); p 3417 src/filemanager/panel.c if (p == NULL) p 3423 src/filemanager/panel.c p = strrchr (lwd, PATH_SEP); p 3425 src/filemanager/panel.c if (p != NULL && strncmp (cwd, lwd, (size_t) (p - lwd)) == 0 p 3426 src/filemanager/panel.c && (clen == (size_t) (p - lwd) || (p == lwd && IS_PATH_SEP (cwd[0]) && cwd[1] == '\0'))) p 3427 src/filemanager/panel.c return (p + 1); p 3433 src/filemanager/panel.c while (--p > lwd && !IS_PATH_SEP (*p)) p 3436 src/filemanager/panel.c while (--p > lwd && !IS_PATH_SEP (*p)) p 3440 src/filemanager/panel.c return (p != lwd || IS_PATH_SEP (*p)) ? p + 1 : p; p 4765 src/filemanager/panel.c set_panel_formats (WPanel *p) p 4771 src/filemanager/panel.c form = use_display_format (p, panel_format (p), &err, FALSE); p 4780 src/filemanager/panel.c g_slist_free_full (p->format, (GDestroyNotify) format_item_free); p 4781 src/filemanager/panel.c p->format = form; p 4786 src/filemanager/panel.c form = use_display_format (p, mini_status_format (p), &err, TRUE); p 4795 src/filemanager/panel.c g_slist_free_full (p->status_format, (GDestroyNotify) format_item_free); p 4796 src/filemanager/panel.c p->status_format = form; p 4800 src/filemanager/panel.c panel_update_cols (WIDGET (p), p->frame_size); p 4807 src/filemanager/panel.c g_free (p->user_format); p 4808 src/filemanager/panel.c p->user_format = g_strdup (DEFAULT_USER_FORMAT); p 4812 src/filemanager/panel.c g_free (p->user_status_format[p->list_format]); p 4813 src/filemanager/panel.c p->user_status_format[p->list_format] = g_strdup (DEFAULT_USER_FORMAT); p 170 src/filemanager/panel.h int set_panel_formats (WPanel * p); p 590 src/filemanager/tree.c WPanel *p; p 592 src/filemanager/tree.c p = change_panel (); p 594 src/filemanager/tree.c if (panel_cd (p, tree->selected_ptr->name, cd_exact)) p 595 src/filemanager/tree.c select_item (p); p 599 src/filemanager/tree.c widget_draw (WIDGET (p)); p 169 src/filemanager/treestore.c char *res, *p, *q; p 173 src/filemanager/treestore.c for (p = q = res; *p != '\0'; p++, q++) p 175 src/filemanager/treestore.c if (*p == '\n') p 181 src/filemanager/treestore.c if (*p != '\\') p 183 src/filemanager/treestore.c *q = *p; p 187 src/filemanager/treestore.c p++; p 189 src/filemanager/treestore.c switch (*p) p 202 src/filemanager/treestore.c *q = *p; p 479 src/filemanager/treestore.c hook_t *p; p 481 src/filemanager/treestore.c for (p = remove_entry_hooks; p != NULL; p = p->next) p 483 src/filemanager/treestore.c tree_store_remove_fn r = (tree_store_remove_fn) p->hook_fn; p 485 src/filemanager/treestore.c r (entry, p->hook_data); p 210 src/help.c const char *p; p 214 src/help.c for (line = 0, p = currentpoint; (*p != '\0') && (*p != CHAR_NODE_END); str_cnext_char (&p)) p 217 src/help.c return currentpoint = p; p 219 src/help.c if (*p == '\n') p 230 src/help.c const char *p; p 234 src/help.c for (line = 0, p = currentpoint; (*p != '\0') && ((int) (p - fdata) >= 0); str_cprev_char (&p)) p 236 src/help.c if (*p == CHAR_NODE_END) p 240 src/help.c while (*p != ']') p 241 src/help.c str_cnext_char (&p); p 242 src/help.c return currentpoint = p + 2; /* Skip the newline following the start of the node */ p 245 src/help.c if (*(p - 1) == '\n') p 248 src/help.c return currentpoint = p; p 300 src/help.c const char *p; p 305 src/help.c for (p = lc_selected_item; *p != '\0' && *p != CHAR_NODE_END && *p != CHAR_LINK_POINTER; p++) p 307 src/help.c if (*p == CHAR_LINK_POINTER) p 314 src/help.c *p != CHAR_LINK_END && *p != '\0' && *p != CHAR_NODE_END && i < MAXLINKNAME - 3;) p 315 src/help.c link_name[i++] = *++p; p 318 src/help.c p = search_string (fdata, link_name); p 319 src/help.c if (p != NULL) p 321 src/help.c p += 1; /* Skip the newline following the start of the node */ p 322 src/help.c return p; p 335 src/help.c const char *p; p 340 src/help.c p = search_string_node (current_link, STRING_LINK_END); p 341 src/help.c if (p == NULL) p 343 src/help.c p = search_string_node (p, STRING_LINK_START); p 344 src/help.c if (p == NULL) p 346 src/help.c return p - 1; p 466 src/help.c const char *p, *n; p 477 src/help.c p = paint_start; p 483 src/help.c p = n; p 484 src/help.c n = str_cget_next_char (p); p 485 src/help.c memcpy (buff, p, n - p); p 486 src/help.c buff[n - p] = '\0'; p 493 src/help.c selected_item = p; p 494 src/help.c if (p != selected_item) p 504 src/help.c start_link_area (col, line, p); p 588 src/help.c last_shown = p; p 617 src/help.c const char *p; p 623 src/help.c p = search_string (fdata, "[How to use help]"); p 624 src/help.c if (p != NULL) p 626 src/help.c currentpoint = p + 1; /* Skip the newline following the start of the node */ p 117 src/usermenu.c check_patterns (char *p) p 120 src/usermenu.c char *p0 = p; p 122 src/usermenu.c if (strncmp (p, def_name, sizeof (def_name) - 1) != 0) p 125 src/usermenu.c p += sizeof (def_name) - 1; p 126 src/usermenu.c if (*p == '1') p 128 src/usermenu.c else if (*p == '0') p 134 src/usermenu.c p++; p 135 src/usermenu.c while (whiteness (*p)) p 136 src/usermenu.c p++; p 137 src/usermenu.c return p; p 145 src/usermenu.c extract_arg (char *p, char *arg, int size) p 147 src/usermenu.c while (*p != '\0' && whiteness (*p)) p 148 src/usermenu.c p++; p 151 src/usermenu.c while (*p != '\0' && (*p != ' ' || *(p - 1) == '\\') && *p != '\t' && *p != '\n') p 155 src/usermenu.c np = str_get_next_char (p); p 156 src/usermenu.c if (np - p >= size) p 158 src/usermenu.c memcpy (arg, p, np - p); p 159 src/usermenu.c arg += np - p; p 160 src/usermenu.c size -= np - p; p 161 src/usermenu.c p = np; p 164 src/usermenu.c if (*p == '\0' || *p == '\n') p 165 src/usermenu.c str_prev_char (&p); p 166 src/usermenu.c return p; p 234 src/usermenu.c test_condition (const Widget *edit_widget, char *p, gboolean *condition) p 243 src/usermenu.c for (; *p != '\n' && *p != '&' && *p != '|'; p++) p 248 src/usermenu.c if ((*p == ' ' && *(p - 1) != '\\') || *p == '\t') p 250 src/usermenu.c if (*p >= 'a') p 255 src/usermenu.c *p |= 0x20; p 257 src/usermenu.c switch (*p++) p 260 src/usermenu.c p = test_condition (edit_widget, p, condition); p 262 src/usermenu.c str_prev_char (&p); p 265 src/usermenu.c p = extract_arg (p, arg, sizeof (arg)); p 298 src/usermenu.c p = extract_arg (p, arg, sizeof (arg)); p 305 src/usermenu.c p = extract_arg (p, arg, sizeof (arg)); p 311 src/usermenu.c p = extract_arg (p, arg, sizeof (arg)); p 318 src/usermenu.c p = extract_arg (p, arg, sizeof (arg)); p 327 src/usermenu.c return p; p 357 src/usermenu.c char *p; p 374 src/usermenu.c p = g_strdup_printf ("%s %s %c \n", msg ? msg : "", type, *start); p 376 src/usermenu.c p = g_strdup_printf ("%s %s %.*s \n", msg ? msg : "", type, (int) (end - start), start); p 378 src/usermenu.c msg = p; p 387 src/usermenu.c test_line (const Widget *edit_widget, char *p, gboolean *result) p 392 src/usermenu.c while (*p != '\0' && *p != '\n') p 398 src/usermenu.c while ((*p == ' ' && *(p - 1) != '\\') || *p == '\t') p 399 src/usermenu.c p++; p 400 src/usermenu.c if (*p == '\0' || *p == '\n') p 402 src/usermenu.c operator = *p++; p 403 src/usermenu.c if (*p == '?') p 406 src/usermenu.c p++; p 409 src/usermenu.c while ((*p == ' ' && *(p - 1) != '\\') || *p == '\t') p 410 src/usermenu.c p++; p 411 src/usermenu.c if (*p == '\0' || *p == '\n') p 414 src/usermenu.c debug_start = p; p 415 src/usermenu.c p = test_condition (edit_widget, p, &condition); p 416 src/usermenu.c debug_end = p; p 444 src/usermenu.c if (*p == '\0' || *p == '\n') p 445 src/usermenu.c str_prev_char (&p); p 446 src/usermenu.c return p; p 675 src/usermenu.c check_format_view (const char *p) p 677 src/usermenu.c const char *q = p; p 679 src/usermenu.c if (strncmp (p, "view", 4) == 0) p 710 src/usermenu.c return q - p; p 718 src/usermenu.c check_format_cd (const char *p) p 720 src/usermenu.c return (strncmp (p, "cd", 2)) != 0 ? 0 : 3; p 729 src/usermenu.c check_format_var (const char *p, char **v) p 733 src/usermenu.c if (strncmp (p, "var{", 4) == 0) p 735 src/usermenu.c const char *q = p; p 758 src/usermenu.c var_name = g_strndup (p + 4, dots - 2 - (p + 3)); p 767 src/usermenu.c return q - p; p 993 src/usermenu.c char *data, *p; p 1055 src/usermenu.c for (p = check_patterns (data); *p != '\0'; str_next_char (&p)) p 1060 src/usermenu.c switch (*p) p 1064 src/usermenu.c if (selected_entry >= 0 && strncmp (p, "#silent", 7) == 0) p 1071 src/usermenu.c if (*(p + 1) == '=') p 1074 src/usermenu.c p = test_line (edit_widget, p + 1, &accept_entry); p 1081 src/usermenu.c p = test_line (edit_widget, p, &accept_entry); p 1086 src/usermenu.c if (*(p + 1) == '+') p 1089 src/usermenu.c p = test_line (edit_widget, p + 1, &accept_entry); p 1098 src/usermenu.c p = test_line (edit_widget, p, &ok); p 1105 src/usermenu.c if (!whitespace (*p) && str_isprint (p)) p 1112 src/usermenu.c g_ptr_array_add (entries, p); p 1120 src/usermenu.c if (*p == '\n') p 1129 src/usermenu.c if (*p == '\t') p 1130 src/usermenu.c *p = ' '; p 1154 src/usermenu.c p = g_ptr_array_index (entries, i); p 1155 src/usermenu.c LISTBOX_APPEND_TEXT (listbox, (unsigned char) p[0], p 1156 src/usermenu.c extract_line (p, p + MAX_ENTRY_LEN, NULL), p, FALSE); p 23 src/usermenu.h int check_format_view (const char *p); p 24 src/usermenu.h int check_format_var (const char *p, char **v); p 25 src/usermenu.h int check_format_cd (const char *p); p 230 src/vfs/extfs/extfs.c const char *p, *name_end; p 244 src/vfs/extfs/extfs.c p = name; p 247 src/vfs/extfs/extfs.c while ((pent != NULL) && (c != '\0') && (*p != '\0')) p 249 src/vfs/extfs/extfs.c q = strchr (p, PATH_SEP); p 256 src/vfs/extfs/extfs.c if (DIR_IS_DOTDOT (p)) p 277 src/vfs/extfs/extfs.c pl = g_queue_find_custom (pent->ino->subdir, p, vfs_s_entry_compare); p 289 src/vfs/extfs/extfs.c pent = extfs_generate_entry (super, p, pdir->ino, S_IFDIR | 0777); p 291 src/vfs/extfs/extfs.c pent = extfs_generate_entry (super, p, pdir->ino, S_IFREG | 0666); p 297 src/vfs/extfs/extfs.c p = q + 1; p 412 src/vfs/extfs/extfs.c char *p, *q; p 417 src/vfs/extfs/extfs.c p = strchr (cfn, '\0'); p 418 src/vfs/extfs/extfs.c if (p != cfn && IS_PATH_SEP (p[-1])) p 419 src/vfs/extfs/extfs.c p[-1] = '\0'; p 420 src/vfs/extfs/extfs.c p = strrchr (cfn, PATH_SEP); p 421 src/vfs/extfs/extfs.c if (p == NULL) p 423 src/vfs/extfs/extfs.c p = cfn; p 428 src/vfs/extfs/extfs.c *(p++) = '\0'; p 444 src/vfs/extfs/extfs.c entry = extfs_entry_new (super->me, p, pent->ino); p 450 src/vfs/extfs/extfs.c entry = extfs_entry_new (super->me, p, super->root); p 1015 src/vfs/extfs/extfs.c const char *p; p 1020 src/vfs/extfs/extfs.c p = extfs_get_path (vpath, &archive, FL_NONE); p 1021 src/vfs/extfs/extfs.c if (p == NULL) p 1023 src/vfs/extfs/extfs.c q = name_quote (p, FALSE); p 1519 src/vfs/extfs/extfs.c const char *p; p 1521 src/vfs/extfs/extfs.c p = extfs_get_path (vpath, &archive, FL_NO_OPEN); p 1522 src/vfs/extfs/extfs.c return (p == NULL ? NULL : (vfsid) archive); p 1531 src/vfs/extfs/extfs.c vfs_path_t *p; p 1541 src/vfs/extfs/extfs.c p = vfs_path_from_str (fh->ino->localname); p 1544 src/vfs/extfs/extfs.c return p; p 1637 src/vfs/extfs/extfs.c extfs_plugin_info_t *p; p 1639 src/vfs/extfs/extfs.c p = &g_array_index (extfs_plugins, extfs_plugin_info_t, i); p 1642 src/vfs/extfs/extfs.c found = strcmp (info.path, p->path) != 0 p 1643 src/vfs/extfs/extfs.c && strcmp (info.prefix, p->prefix) == 0; p 303 src/vfs/ftpfs/ftpfs.c char *ret, *p; p 325 src/vfs/ftpfs/ftpfs.c p = strchr (ret, ':'); p 326 src/vfs/ftpfs/ftpfs.c if (p != NULL && IS_PATH_SEP (p[1])) p 327 src/vfs/ftpfs/ftpfs.c str_move (p + 1, p + 2); p 330 src/vfs/ftpfs/ftpfs.c p = strrchr (ret, PATH_SEP); p 331 src/vfs/ftpfs/ftpfs.c if ((p != NULL) && (*(p + 1) == '.') && (*(p + 2) == '\0')) p 332 src/vfs/ftpfs/ftpfs.c *p = '\0'; p 638 src/vfs/ftpfs/ftpfs.c char *p; p 640 src/vfs/ftpfs/ftpfs.c p = g_strdup_printf (_("FTP: Password required for %s"), super->path_element->user); p 641 src/vfs/ftpfs/ftpfs.c op = vfs_get_password (p); p 642 src/vfs/ftpfs/ftpfs.c g_free (p); p 692 src/vfs/ftpfs/ftpfs.c char *p; p 694 src/vfs/ftpfs/ftpfs.c p = g_strdup_printf (_("FTP: Account required for user %s"), p 696 src/vfs/ftpfs/ftpfs.c op = input_dialog (p, _("Account:"), MC_HISTORY_FTPFS_ACCOUNT, "", p 698 src/vfs/ftpfs/ftpfs.c g_free (p); p 753 src/vfs/ftpfs/ftpfs.c char *p; p 755 src/vfs/ftpfs/ftpfs.c p = strchr (s, '\n'); p 756 src/vfs/ftpfs/ftpfs.c if (p == NULL) /* skip bogus entries */ p 763 src/vfs/ftpfs/ftpfs.c else if (p != s) p 765 src/vfs/ftpfs/ftpfs.c *p = '\0'; p 1265 src/vfs/ftpfs/ftpfs.c unsigned char *p = (unsigned char *) &port; p 1269 src/vfs/ftpfs/ftpfs.c p[0], p[1]) == COMPLETE) p 2121 src/vfs/ftpfs/ftpfs.c char *p; p 2133 src/vfs/ftpfs/ftpfs.c p = ftpfs_translate_path (me, super, rpath); p 2134 src/vfs/ftpfs/ftpfs.c r = ftpfs_command (me, super, WAIT_REPLY, cmd, p); p 2135 src/vfs/ftpfs/ftpfs.c g_free (p); p 2247 src/vfs/ftpfs/ftpfs.c char *p; p 2252 src/vfs/ftpfs/ftpfs.c p = ftpfs_translate_path (me, super, remote_path); p 2253 src/vfs/ftpfs/ftpfs.c r = ftpfs_command (me, super, WAIT_REPLY, "CWD /%s", p); p 2254 src/vfs/ftpfs/ftpfs.c g_free (p); p 2444 src/vfs/ftpfs/ftpfs.c char *p; p 2460 src/vfs/ftpfs/ftpfs.c p = buffer; p 2467 src/vfs/ftpfs/ftpfs.c *p++ = *netrcp; p 2476 src/vfs/ftpfs/ftpfs.c *p++ = *netrcp; p 2480 src/vfs/ftpfs/ftpfs.c *p = '\0'; p 715 src/vfs/sftpfs/connection.c char *p, *passwd; p 731 src/vfs/sftpfs/connection.c p = g_strdup_printf (_("sftp: Enter passphrase for %s "), super->path_element->user); p 732 src/vfs/sftpfs/connection.c passwd = vfs_get_password (p); p 733 src/vfs/sftpfs/connection.c g_free (p); p 807 src/vfs/sftpfs/connection.c char *p, *passwd; p 841 src/vfs/sftpfs/connection.c p = g_strdup_printf (_("sftp: Enter password for %s "), super->path_element->user); p 842 src/vfs/sftpfs/connection.c passwd = vfs_get_password (p); p 843 src/vfs/sftpfs/connection.c g_free (p); p 586 src/vfs/shell/shell.c char *p, *op; p 588 src/vfs/shell/shell.c p = g_strdup_printf (_("shell: Password is required for %s"), p 590 src/vfs/shell/shell.c op = vfs_get_password (p); p 591 src/vfs/shell/shell.c g_free (p); p 277 src/vfs/tar/tar-internal.c char const *p = arg; p 281 src/vfs/tar/tar-internal.c if (isdigit (*p)) p 285 src/vfs/tar/tar-internal.c i = *p - '0'; p 287 src/vfs/tar/tar-internal.c while (isdigit (*++p) != 0) p 290 src/vfs/tar/tar-internal.c v |= ckd_add (&i, i, *p - '0') ? 1 : 0; p 299 src/vfs/tar/tar-internal.c uintmax_t u = *p - '0'; p 301 src/vfs/tar/tar-internal.c while (isdigit (*++p) != 0) p 304 src/vfs/tar/tar-internal.c v |= ckd_add (&u, u, *p - '0') ? 1 : 0; p 313 src/vfs/tar/tar-internal.c else if (minval < 0 && *p == '-' && isdigit (p[1])) p 315 src/vfs/tar/tar-internal.c p++; p 316 src/vfs/tar/tar-internal.c i = -(*p - '0'); p 318 src/vfs/tar/tar-internal.c while (isdigit (*++p) != 0) p 321 src/vfs/tar/tar-internal.c v |= ckd_sub (&i, i, *p - '0') ? 1 : 0; p 332 src/vfs/tar/tar-internal.c *arglim = (char *) p; p 507 src/vfs/tar/tar-internal.c off_from_header (const char *p, size_t s) p 511 src/vfs/tar/tar-internal.c return tar_from_header (p, s, "off_t", 0, TYPE_MAXIMUM (off_t), FALSE); p 312 src/vfs/tar/tar-internal.h off_t off_from_header (const char *p, size_t s); p 546 src/vfs/tar/tar-sparse.c char *p; p 557 src/vfs/tar/tar-sparse.c p = blk->buffer; p 558 src/vfs/tar/tar-sparse.c COPY_BUF (archive, blk, nbuf, p); p 579 src/vfs/tar/tar-sparse.c COPY_BUF (archive, blk, nbuf, p); p 586 src/vfs/tar/tar-sparse.c COPY_BUF (archive, blk, nbuf, p); p 185 src/vfs/tar/tar-xheader.c struct xhdr_tab *p; p 187 src/vfs/tar/tar-xheader.c for (p = xhdr_tab; p->keyword != NULL; p++) p 188 src/vfs/tar/tar-xheader.c if (strcmp (p->keyword, keyword) == 0) p 189 src/vfs/tar/tar-xheader.c return p; p 260 src/vfs/tar/tar-xheader.c char const *p; p 264 src/vfs/tar/tar-xheader.c p = *arg_lim; p 266 src/vfs/tar/tar-xheader.c if (p != arg) p 270 src/vfs/tar/tar-xheader.c if (parse_fraction && *p == '.') p 275 src/vfs/tar/tar-xheader.c while (isdigit (*++p)) p 279 src/vfs/tar/tar-xheader.c ns = 10 * ns + (*p - '0'); p 281 src/vfs/tar/tar-xheader.c else if (*p != '0') p 284 src/vfs/tar/tar-xheader.c *arg_lim = (char *) p; p 584 src/vfs/tar/tar-xheader.c char *p = start; p 594 src/vfs/tar/tar-xheader.c while (*p == ' ' || *p == '\t') p 595 src/vfs/tar/tar-xheader.c p++; p 597 src/vfs/tar/tar-xheader.c len = stoint (p, &len_lim, NULL, 0, IDX_MAX); p 599 src/vfs/tar/tar-xheader.c if (len_lim == p) p 601 src/vfs/tar/tar-xheader.c return (*p != '\0' ? decode_record_fail : decode_record_finish); p 608 src/vfs/tar/tar-xheader.c for (p = len_lim; *p == ' ' || *p == '\t'; p++) p 611 src/vfs/tar/tar-xheader.c if (p == len_lim) p 614 src/vfs/tar/tar-xheader.c keyword = p; p 615 src/vfs/tar/tar-xheader.c p = strchr (p, '='); p 616 src/vfs/tar/tar-xheader.c if (!(p != NULL && p < nextp)) p 622 src/vfs/tar/tar-xheader.c *p = nextp[-1] = '\0'; p 623 src/vfs/tar/tar-xheader.c ret = handler (data, keyword, p + 1, nextp - p - 2); /* '=' + trailing '\n' */ p 624 src/vfs/tar/tar-xheader.c *p = '='; p 873 src/vfs/tar/tar-xheader.c char *p; p 878 src/vfs/tar/tar-xheader.c p = st->xhdr.buffer + BLOCKSIZE; p 880 src/vfs/tar/tar-xheader.c while ((status = decode_record (&st->xhdr, &p, decx, st)) == decode_record_ok) p 902 src/vfs/tar/tar-xheader.c tar_xheader_read (tar_super_t *archive, struct xheader *xhdr, union block *p, off_t size) p 919 src/vfs/tar/tar-xheader.c if (p == NULL) p 924 src/vfs/tar/tar-xheader.c memcpy (xhdr->buffer + j, p->buffer, len); p 925 src/vfs/tar/tar-xheader.c tar_set_next_block_after (p); p 926 src/vfs/tar/tar-xheader.c p = tar_find_next_block (archive); p 941 src/vfs/tar/tar-xheader.c char *p; p 944 src/vfs/tar/tar-xheader.c p = xhdr->buffer + BLOCKSIZE; p 948 src/vfs/tar/tar-xheader.c while ((ret = decode_record (xhdr, &p, decg, &global_header_override_list)) == decode_record_ok) p 175 src/vfs/tar/tar.c gid_from_header (const char *p, size_t s) p 177 src/vfs/tar/tar.c return tar_from_header (p, s, "gid_t", TYPE_MINIMUM (gid_t), TYPE_MAXIMUM (gid_t), FALSE); p 183 src/vfs/tar/tar.c major_from_header (const char *p, size_t s) p 185 src/vfs/tar/tar.c return tar_from_header (p, s, "major_t", TYPE_MINIMUM (major_t), TYPE_MAXIMUM (major_t), FALSE); p 191 src/vfs/tar/tar.c minor_from_header (const char *p, size_t s) p 193 src/vfs/tar/tar.c return tar_from_header (p, s, "minor_t", TYPE_MINIMUM (minor_t), TYPE_MAXIMUM (minor_t), FALSE); p 204 src/vfs/tar/tar.c mode_from_header (const char *p, size_t s, gboolean *hbits) p 210 src/vfs/tar/tar.c u = tar_from_header (p, s, "mode_t", INTMAX_MIN, UINTMAX_MAX, FALSE); p 236 src/vfs/tar/tar.c time_from_header (const char *p, size_t s) p 238 src/vfs/tar/tar.c return tar_from_header (p, s, "time_t", TYPE_MINIMUM (time_t), TYPE_MAXIMUM (time_t), FALSE); p 244 src/vfs/tar/tar.c uid_from_header (const char *p, size_t s) p 246 src/vfs/tar/tar.c return tar_from_header (p, s, "uid_t", TYPE_MINIMUM (uid_t), TYPE_MAXIMUM (uid_t), FALSE); p 535 src/vfs/tar/tar.c char *p, *q; p 542 src/vfs/tar/tar.c p = strrchr (file_name, PATH_SEP); p 543 src/vfs/tar/tar.c if (p == NULL) p 546 src/vfs/tar/tar.c p = file_name; p 551 src/vfs/tar/tar.c *(p++) = '\0'; p 579 src/vfs/tar/tar.c entry = VFS_SUBCLASS (me)->find_entry (me, parent, p, LINK_NO_FOLLOW, FL_NONE); p 594 src/vfs/tar/tar.c entry = vfs_s_new_entry (me, p, *inode); p 151 src/vfs/undelfs/undelfs.c const char *p, *dirname; p 172 src/vfs/undelfs/undelfs.c p = dirname + strlen (dirname); p 176 src/vfs/undelfs/undelfs.c if (p - dirname > 2 && IS_PATH_SEP (p[-1]) && p[-2] == '.') p 177 src/vfs/undelfs/undelfs.c *(p = p - 2) = 0; p 180 src/vfs/undelfs/undelfs.c while (p > dirname) p 182 src/vfs/undelfs/undelfs.c if (IS_PATH_SEP (*p)) p 186 src/vfs/undelfs/undelfs.c *file = g_strdup (p + 1); p 187 src/vfs/undelfs/undelfs.c tmp = g_strndup (dirname, p - dirname); p 192 src/vfs/undelfs/undelfs.c p--; p 437 src/vfs/undelfs/undelfs.c undelfs_file *p = NULL; p 465 src/vfs/undelfs/undelfs.c p = (undelfs_file *) g_try_malloc (((gsize) sizeof (undelfs_file))); p 466 src/vfs/undelfs/undelfs.c if (!p) p 472 src/vfs/undelfs/undelfs.c p->buf = g_try_malloc (fs->blocksize); p 473 src/vfs/undelfs/undelfs.c if (!p->buf) p 475 src/vfs/undelfs/undelfs.c g_free (p); p 480 src/vfs/undelfs/undelfs.c p->inode = inode; p 481 src/vfs/undelfs/undelfs.c p->finished = FALSE; p 482 src/vfs/undelfs/undelfs.c p->f_index = i; p 483 src/vfs/undelfs/undelfs.c p->error_code = 0; p 484 src/vfs/undelfs/undelfs.c p->pos = 0; p 485 src/vfs/undelfs/undelfs.c p->size = delarray[i].size; p 490 src/vfs/undelfs/undelfs.c return p; p 498 src/vfs/undelfs/undelfs.c undelfs_file *p = vfs_info; p 499 src/vfs/undelfs/undelfs.c g_free (p->buf); p 500 src/vfs/undelfs/undelfs.c g_free (p); p 511 src/vfs/undelfs/undelfs.c undelfs_file *p = (undelfs_file *) private; p 518 src/vfs/undelfs/undelfs.c p->error_code = io_channel_read_blk (param_fs->io, *blocknr, 1, p->buf); p 519 src/vfs/undelfs/undelfs.c if (p->error_code) p 523 src/vfs/undelfs/undelfs.c memset (p->buf, 0, param_fs->blocksize); p 525 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count < p->current) p 527 src/vfs/undelfs/undelfs.c p->finished = TRUE; p 530 src/vfs/undelfs/undelfs.c if (p->pos > p->current + param_fs->blocksize) p 532 src/vfs/undelfs/undelfs.c p->current += param_fs->blocksize; p 537 src/vfs/undelfs/undelfs.c if (p->pos >= p->current) p 541 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count <= p->current + param_fs->blocksize) p 544 src/vfs/undelfs/undelfs.c copy_count = p->count; p 545 src/vfs/undelfs/undelfs.c p->finished = (p->count != 0); p 550 src/vfs/undelfs/undelfs.c copy_count = param_fs->blocksize - (p->pos - p->current); p 552 src/vfs/undelfs/undelfs.c memcpy (p->dest_buffer, p->buf + (p->pos - p->current), copy_count); p 557 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count < p->current + param_fs->blocksize) p 559 src/vfs/undelfs/undelfs.c copy_count = (p->pos + p->count) - p->current; p 560 src/vfs/undelfs/undelfs.c p->finished = (p->count != 0); p 566 src/vfs/undelfs/undelfs.c memcpy (p->dest_buffer, p->buf, copy_count); p 568 src/vfs/undelfs/undelfs.c p->dest_buffer += copy_count; p 569 src/vfs/undelfs/undelfs.c p->current += param_fs->blocksize; p 570 src/vfs/undelfs/undelfs.c if (p->finished) p 582 src/vfs/undelfs/undelfs.c undelfs_file *p = vfs_info; p 585 src/vfs/undelfs/undelfs.c p->dest_buffer = buffer; p 586 src/vfs/undelfs/undelfs.c p->current = 0; p 587 src/vfs/undelfs/undelfs.c p->finished = FALSE; p 588 src/vfs/undelfs/undelfs.c p->count = count; p 590 src/vfs/undelfs/undelfs.c if (p->pos + (off_t) p->count > p->size) p 592 src/vfs/undelfs/undelfs.c p->count = p->size - p->pos; p 594 src/vfs/undelfs/undelfs.c retval = ext2fs_block_iterate (fs, p->inode, 0, NULL, undelfs_dump_read, p); p 600 src/vfs/undelfs/undelfs.c if (p->error_code && !p->finished) p 602 src/vfs/undelfs/undelfs.c p->pos = p->pos + (p->dest_buffer - buffer); p 603 src/vfs/undelfs/undelfs.c return p->dest_buffer - buffer; p 693 src/vfs/undelfs/undelfs.c undelfs_file *p = vfs_info; p 695 src/vfs/undelfs/undelfs.c return undelfs_stat_int (p->f_index, buf); p 79 src/viewer/datasource.c mcview_set_datasource_stdio_pipe (WView *view, mc_pipe_t *p) p 81 src/viewer/datasource.c p->out.len = MC_PIPE_BUFSIZE; p 82 src/viewer/datasource.c p->out.null_term = FALSE; p 83 src/viewer/datasource.c p->err.len = MC_PIPE_BUFSIZE; p 84 src/viewer/datasource.c p->err.null_term = TRUE; p 86 src/viewer/datasource.c view->ds_stdio_pipe = p; p 238 src/viewer/datasource.c char *p; p 243 src/viewer/datasource.c p = mcview_get_ptr_string (view, byte_index); p 244 src/viewer/datasource.c if (p == NULL) p 248 src/viewer/datasource.c *retval = (unsigned char) (*p); p 386 src/viewer/datasource.c mc_pipe_t *p; p 391 src/viewer/datasource.c p = mc_popen (command, TRUE, TRUE, &error); p 392 src/viewer/datasource.c if (p == NULL) p 401 src/viewer/datasource.c mcview_set_datasource_stdio_pipe (view, p); p 131 src/viewer/display.c mcview_display_percent (WView *view, off_t p) p 135 src/viewer/display.c percent = mcview_calc_percent (view, p); p 136 src/viewer/growbuf.c byte *p; p 150 src/viewer/growbuf.c p = (byte *) g_ptr_array_index (view->growbuf_blockptr, p 200 src/viewer/growbuf.c memmove (p, sp->out.buf, sp->out.len); p 231 src/viewer/growbuf.c nread = mc_read (view->ds_vfs_pipe, p, bytesfree); p 251 src/viewer/growbuf.c char *p; p 261 src/viewer/growbuf.c p = mcview_get_ptr_growing_buffer (view, byte_index); p 262 src/viewer/growbuf.c if (p == NULL) p 266 src/viewer/growbuf.c *retval = (unsigned char) (*p); p 298 src/viewer/internal.h int mcview_calc_percent (WView * view, off_t p); p 402 src/viewer/lib.c mcview_calc_percent (WView *view, off_t p) p 419 src/viewer/lib.c if (filesize == 0 || p >= filesize) p 421 src/viewer/lib.c else if (p > (INT_MAX / 100)) p 422 src/viewer/lib.c percent = p / (filesize / 100); p 424 src/viewer/lib.c percent = p * 100 / filesize; p 302 src/viewer/mcviewer.c vfs_path_t *p; p 304 src/viewer/mcviewer.c p = vfs_path_clone (vfs_get_raw_current_dir ()); p 305 src/viewer/mcviewer.c view->workdir_vpath = vfs_path_append_new (p, file, (char *) NULL); p 306 src/viewer/mcviewer.c vfs_path_free (p, TRUE); p 244 tests/lib/utilunix__mc_pstream_get_string.c mc_pipe_t *p; p 246 tests/lib/utilunix__mc_pstream_get_string.c p = g_try_new0 (mc_pipe_t, 1); p 248 tests/lib/utilunix__mc_pstream_get_string.c p->out.len = 128; p 252 tests/lib/utilunix__mc_pstream_get_string.c return p; p 256 tests/lib/utilunix__mc_pstream_get_string.c test_mc_pread (mc_pipe_t *p) p 260 tests/lib/utilunix__mc_pstream_get_string.c p->out.pos = 0; p 265 tests/lib/utilunix__mc_pstream_get_string.c p->out.len = MC_PIPE_STREAM_EOF; p 270 tests/lib/utilunix__mc_pstream_get_string.c len = MIN (len, (size_t) p->out.len); p 271 tests/lib/utilunix__mc_pstream_get_string.c memmove (p->out.buf, etalon_long_file_list + etalon_long_file_list_pos, len); p 272 tests/lib/utilunix__mc_pstream_get_string.c p->out.len = (ssize_t) len; p 91 tests/lib/vfs/vfs_parse_ls_lga.c char *p; p 98 tests/lib/vfs/vfs_parse_ls_lga.c p = g_strdup_vprintf (text, ap); p 100 tests/lib/vfs/vfs_parse_ls_lga.c printf ("message(): %s\n", p); p 101 tests/lib/vfs/vfs_parse_ls_lga.c g_free (p); p 222 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c char *p; p 229 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c p = g_strdup_vprintf (text, ap); p 231 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c printf ("message(): vfs_parse_ls_lga(): parsing error at: %s\n", p); p 232 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c g_free (p);