Lines Matching refs:pathbuf
68 pkgconf_buffer_t pathbuf = PKGCONF_BUFFER_INITIALIZER; in prepare_path_node() local
70 pkgconf_buffer_append(&pathbuf, text); in prepare_path_node()
71 pkgconf_path_relocate(&pathbuf); in prepare_path_node()
78 if (lstat(pkgconf_buffer_str(&pathbuf), &st) == -1) in prepare_path_node()
80 pkgconf_buffer_finalize(&pathbuf); in prepare_path_node()
87 char *linkdest = realpath(pkgconf_buffer_str(&pathbuf), realpathbuf); in prepare_path_node()
91 pkgconf_buffer_finalize(&pathbuf); in prepare_path_node()
96 if (path_list_contains_entry(&pathbuf, dirlist, &st)) in prepare_path_node()
98 pkgconf_buffer_finalize(&pathbuf); in prepare_path_node()
103 if (filter && path_list_contains_entry(&pathbuf, dirlist)) in prepare_path_node()
105 pkgconf_buffer_finalize(&pathbuf); in prepare_path_node()
113 pkgconf_buffer_finalize(&pathbuf); in prepare_path_node()
117 node->path = pkgconf_buffer_freeze(&pathbuf); in prepare_path_node()
404 normpath(const pkgconf_buffer_t *pathbuf) in normpath() argument
406 if (!pathbuf || pkgconf_buffer_len(pathbuf) == 0) in normpath()
409 const char *path = pkgconf_buffer_str(pathbuf); in normpath()
564 char pathbuf[PKGCONF_ITEM_SIZE]; in pkgconf_path_build_from_registry() local
566 DWORD pathbuflen = sizeof pathbuf; in pkgconf_path_build_from_registry()
568 if (RegQueryValueEx(key, buf, NULL, &type, (LPBYTE) pathbuf, &pathbuflen) in pkgconf_path_build_from_registry()
571 pkgconf_path_add(pathbuf, dir_list, filter); in pkgconf_path_build_from_registry()