Searched refs:pathbuf (Results 1 – 3 of 3) sorted by relevance
1129 char *pathbuf; in map_finder_callback() local1142 if (!(pathbuf = PyMem_New(char, in map_finder_callback()1150 mch_memmove(pathbuf, path, pathlen + 1); in map_finder_callback()1151 add_pathsep((char_u *) pathbuf); in map_finder_callback()1153 pathlen = STRLEN(pathbuf); in map_finder_callback()1154 mch_memmove(pathbuf + pathlen, PY_MAIN_DIR_STRING, in map_finder_callback()1157 if (!(pathObject1 = PyString_FromString(pathbuf))) in map_finder_callback()1160 PyMem_Free(pathbuf); in map_finder_callback()1167 if (!(pathObject2 = PyString_FromString(pathbuf))) in map_finder_callback()1170 PyMem_Free(pathbuf); in map_finder_callback()[all …]
2135 char_u *pathbuf = NULL; in executable_exists() local2213 pathbuf = alloc(STRLEN(p) + 3); in executable_exists()2214 if (pathbuf == NULL) in executable_exists()2219 STRCPY(pathbuf, ".;"); in executable_exists()2220 STRCAT(pathbuf, p); in executable_exists()2228 p = (pathbuf != NULL) ? pathbuf : (char_u *)"."; in executable_exists()2297 free(pathbuf); in executable_exists()
947 char_u pathbuf[NUMBUFLEN]; in findfilendir() local967 p = tv_get_string_buf_chk(&argvars[1], pathbuf); in findfilendir()