Home
last modified time | relevance | path

Searched refs:path_buf (Results 1 – 6 of 6) sorted by relevance

/external/ltp/lib/
Dtst_kconfig.c16 static const char *kconfig_path(char *path_buf, size_t path_buf_len) in kconfig_path() argument
34 snprintf(path_buf, path_buf_len, "/boot/config-%s", un.release); in kconfig_path()
36 if (!access(path_buf, F_OK)) in kconfig_path()
37 return path_buf; in kconfig_path()
40 snprintf(path_buf, path_buf_len, "/lib/kernel/config-%s", un.release); in kconfig_path()
42 if (!access(path_buf, F_OK)) in kconfig_path()
43 return path_buf; in kconfig_path()
56 char path_buf[1024]; in open_kconfig() local
57 const char *path = kconfig_path(path_buf, sizeof(path_buf)); in open_kconfig()
/external/openssh/
Dsftp.c1540 char path_buf[PATH_MAX]; in parse_dispatch_command() local
1754 if (!getcwd(path_buf, sizeof(path_buf))) { in parse_dispatch_command()
1759 mprintf("Local working directory: %s\n", path_buf); in parse_dispatch_command()
/external/kmod/tools/
Ddepmod.c1318 char *path_buf; in depmod_modules_search_path() local
1336 path_buf = scratchbuf_str(&s_path_buf); in depmod_modules_search_path()
1338 memcpy(path_buf, path, baselen); in depmod_modules_search_path()
1339 path_buf[baselen] = '/'; in depmod_modules_search_path()
1341 path_buf[baselen] = '\0'; in depmod_modules_search_path()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c1620 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_network() local
3595 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *bss_obj_path = path_buf; in wpas_dbus_getter_current_bss() local
3623 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *net_obj_path = path_buf; in wpas_dbus_getter_current_network() local
Ddbus_new_handlers_p2p.c1362 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX]; in wpas_dbus_getter_p2p_group() local
1363 char *dbus_groupobj_path = path_buf; in wpas_dbus_getter_p2p_group()
2128 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; in wpas_dbus_handler_add_persistent_group() local
/external/python/cpython3/Modules/
Dposixmodule.c1721 wchar_t path_buf[MAX_PATH], *new_path = path_buf; in win32_wchdir() local
1727 result = GetCurrentDirectoryW(Py_ARRAY_LENGTH(path_buf), new_path); in win32_wchdir()
1730 if (result > Py_ARRAY_LENGTH(path_buf)) { in win32_wchdir()
1748 if (new_path != path_buf) in win32_wchdir()