Home
last modified time | relevance | path

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

/freebsd/sys/xen/xenbus/
H A Dxenbus.c76 char *path_buffer = malloc(strlen("error/") in error_path() local
79 strcpy(path_buffer, "error/"); in error_path()
80 strcpy(path_buffer + strlen("error/"), xenbus_get_node(dev)); in error_path()
82 return (path_buffer); in error_path()
108 char *printf_buffer = NULL, *path_buffer = NULL; in xenbus_dev_verror() local
118 path_buffer = error_path(dev); in xenbus_dev_verror()
120 if (path_buffer == NULL) { in xenbus_dev_verror()
126 if (xs_write(XST_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_dev_verror()
135 if (path_buffer) in xenbus_dev_verror()
136 free(path_buffer,M_XENBUS); in xenbus_dev_verror()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_win.cpp110 static wchar_t path_buffer[kSymPathSize + 1 + MAX_PATH]; in InitializeDbgHelpIfNeeded() local
111 if (!SymGetSearchPathW(GetCurrentProcess(), path_buffer, kSymPathSize)) { in InitializeDbgHelpIfNeeded()
115 size_t sz = wcslen(path_buffer); in InitializeDbgHelpIfNeeded()
117 CHECK_EQ(0, wcscat_s(path_buffer, L";")); in InitializeDbgHelpIfNeeded()
120 DWORD res = GetModuleFileNameW(NULL, path_buffer + sz, MAX_PATH); in InitializeDbgHelpIfNeeded()
127 wchar_t *last_bslash = wcsrchr(path_buffer + sz, L'\\'); in InitializeDbgHelpIfNeeded()
130 if (!SymSetSearchPathW(GetCurrentProcess(), path_buffer)) { in InitializeDbgHelpIfNeeded()
/freebsd/contrib/libucl/src/
H A Ducl_util.c160 static char path_buffer[_MAX_PATH]; in dirname() local
167 _makepath(path_buffer, drive, dir, NULL, NULL); in dirname()
169 return path_buffer; in dirname()
174 static char path_buffer[_MAX_PATH]; in basename() local
181 _makepath(path_buffer, NULL, NULL, fname, ext); in basename()
183 return path_buffer; in basename()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h3471 const CXXBaseSpecifier * const *path_buffer() const { in path_buffer() function
3472 return const_cast<CastExpr*>(this)->path_buffer(); in path_buffer()
3474 CXXBaseSpecifier **path_buffer();
3536 path_iterator path_begin() { return path_buffer(); } in path_begin()
3537 path_iterator path_end() { return path_buffer() + path_size(); } in path_end()
3538 path_const_iterator path_begin() const { return path_buffer(); } in path_begin()
3539 path_const_iterator path_end() const { return path_buffer() + path_size(); } in path_end()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1996 CXXBaseSpecifier **CastExpr::path_buffer() { in path_buffer() function in CastExpr