Home | History | Annotate | Download | only in libedit

Lines Matching defs:aptr

795 	char *aptr;
796 if ((aptr = strrchr(*tmp, c)) == NULL)
798 aptr = strdup(aptr + 1); // XXX: check
800 *tmp = aptr;
817 char *tmp, *search = NULL, *aptr, delim;
824 aptr = NULL;
845 if ((aptr = el_calloc(offs + 1, sizeof(*aptr)))
848 (void)strlcpy(aptr, command, offs + 1);
860 if (ptr == NULL && aptr == NULL)
864 *result = strdup(aptr ? aptr : ptr);
865 if (aptr)
866 el_free(aptr);
909 tmp = history_arg_extract(start, end, aptr? aptr:ptr);
913 if (aptr)
914 el_free(aptr);
918 tmp = strdup(aptr? aptr:ptr);
920 if (aptr)
921 el_free(aptr);
933 if ((aptr = strrchr(tmp, '/')) != NULL)
934 *aptr = '\0';
940 if ((aptr = strrchr(tmp, '.')) != NULL)
941 *aptr = '\0';
965 aptr = _rl_compat_sub(tmp, from, to, g_on);
966 if (aptr) {
968 tmp = aptr;