Home
last modified time | relevance | path

Searched refs:path_buffer (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/xen/xenbus/
H A Dxenbus.c75 char *path_buffer = malloc(strlen("error/") in error_path() local
78 strcpy(path_buffer, "error/"); in error_path()
79 strcpy(path_buffer + strlen("error/"), xenbus_get_node(dev)); in error_path()
81 return (path_buffer); in error_path()
107 char *printf_buffer = NULL, *path_buffer = NULL; in xenbus_dev_verror() local
117 path_buffer = error_path(dev); in xenbus_dev_verror()
119 if (path_buffer == NULL) { in xenbus_dev_verror()
125 if (xs_write(XST_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_dev_verror()
134 if (path_buffer) in xenbus_dev_verror()
135 free(path_buffer,M_XENBUS); in xenbus_dev_verror()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cpp111 static wchar_t path_buffer[kSymPathSize + 1 + MAX_PATH]; in InitializeDbgHelpIfNeeded() local
112 if (!SymGetSearchPathW(GetCurrentProcess(), path_buffer, kSymPathSize)) { in InitializeDbgHelpIfNeeded()
116 size_t sz = wcslen(path_buffer); in InitializeDbgHelpIfNeeded()
118 CHECK_EQ(0, wcscat_s(path_buffer, L";")); in InitializeDbgHelpIfNeeded()
121 DWORD res = GetModuleFileNameW(NULL, path_buffer + sz, MAX_PATH); in InitializeDbgHelpIfNeeded()
128 wchar_t *last_bslash = wcsrchr(path_buffer + sz, L'\\'); in InitializeDbgHelpIfNeeded()
131 if (!SymSetSearchPathW(GetCurrentProcess(), path_buffer)) { in InitializeDbgHelpIfNeeded()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ctldir.c1065 char *path_buffer, *path_ptr; in get_root_path() local
1069 path_buffer = kmem_zalloc(len, KM_SLEEP); in get_root_path()
1070 path_ptr = d_path(path, path_buffer, len); in get_root_path()
1076 kmem_free(path_buffer, len); in get_root_path()
/freebsd/contrib/libucl/src/
H A Ducl_util.c157 static char path_buffer[_MAX_PATH]; in dirname() local
164 _makepath(path_buffer, drive, dir, NULL, NULL); in dirname()
166 return path_buffer; in dirname()
171 static char path_buffer[_MAX_PATH]; in basename() local
178 _makepath(path_buffer, NULL, NULL, fname, ext); in basename()
180 return path_buffer; in basename()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h3609 const CXXBaseSpecifier * const *path_buffer() const { in path_buffer() function
3610 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
3612 CXXBaseSpecifier **path_buffer();
3674 path_iterator path_begin() { return path_buffer(); } in path_begin()
3675 path_iterator path_end() { return path_buffer() + path_size(); } in path_end()
3676 path_const_iterator path_begin() const { return path_buffer(); } in path_begin()
3677 path_const_iterator path_end() const { return path_buffer() + path_size(); } in path_end()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2018 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer() function in CastExpr
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc10269 {"_ZN5clang8CastExpr11path_bufferEv", "clang::CastExpr::path_buffer()"},