/haiku/src/system/kernel/vm/ |
H A D | VMUtils.cpp | 38 BStackOrHeapArray<char, 128> basePath(nameLength + 2); 39 if (!basePath.IsValid()) 41 int32 len = snprintf(basePath, nameLength + 2, "/%s", volumeName); 43 if (basePath[i] == '/') 44 basePath[i] = '-'; 47 strncpy(path, basePath, pathLen); 53 snprintf(path, pathLen, "%s%d", (char*)basePath, i);
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | ProtocolHandler.h | 22 const char *basePath,
|
H A D | ProtocolHandler.cpp | 24 ProtocolHandler::ProtocolHandler(HIDDevice *device, const char *basePath, argument 28 fBasePath(basePath),
|
/haiku/src/servers/app/ |
H A D | DesktopSettings.cpp | 112 BPath basePath; local 113 status_t status = _GetPath(basePath); 119 BPath path(basePath); 147 path = basePath; 199 path = basePath; 228 path = basePath; 322 path = basePath; 346 BPath basePath; 347 status_t status = _GetPath(basePath); 352 BPath path(basePath); [all...] |
/haiku/src/tools/fs_shell/ |
H A D | vfs.h | 99 fssh_status_t vfs_get_module_path(const char *basePath,
|
H A D | vfs.cpp | 2506 vfs_get_module_path(const char *basePath, const char *moduleName, char *pathBuffer, argument 2514 if (bufferSize == 0 || fssh_strlcpy(pathBuffer, basePath, bufferSize) >= bufferSize) 2522 length = fssh_strlcpy(pathBuffer, basePath, bufferSize);
|
/haiku/src/system/libroot/os/ |
H A D | find_paths.cpp | 774 const char* basePath = get_relative_directory_path( local 776 const char* placeholder = strchr(basePath, '%'); 781 size_t prefixLength = placeholder - basePath; 782 if (strncmp(relativePath, basePath, prefixLength) != 0
|
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | Driver.cpp | 160 const char *basePath = handler->BasePath(); local 162 sprintf(pathBuffer, "%s%" B_PRId32, basePath, index++);
|
/haiku/src/system/kernel/device_manager/ |
H A D | legacy_drivers.cpp | 1033 DirectoryIterator::AddPath(const char* basePath, const char* subPath) argument 1035 KPath* path = new(nothrow) KPath(basePath); 1400 KPath basePath; local 1402 gBootDevice, false, basePath.LockBuffer(), basePath.BufferSize()); 1407 basePath.UnlockBuffer(); 1409 status = basePath.Append("kernel"); 1421 KPath imagePath(basePath);
|
H A D | device_manager.cpp | 1609 device_node::_AddPath(Stack<KPath*>& stack, const char* basePath, argument 1616 status_t status = path->SetTo(basePath);
|
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | Driver.cpp | 415 const char *basePath = handler->BasePath(); local 417 sprintf(pathBuffer, "%s%" B_PRId32, basePath, index++);
|
/haiku/src/preferences/screensaver/ |
H A D | ScreenSaverWindow.cpp | 797 BPath basePath; local 798 if (find_directory(which[i], &basePath) != B_OK) 800 else if (basePath.Append("Screen Savers", true) != B_OK) 803 BDirectory dir(basePath.Path()); 815 BPath path(basePath);
|
/haiku/src/kits/debugger/dwarf/ |
H A D | DwarfFile.cpp | 3289 BPath basePath; local 3290 status_t result = basePath.SetTo(fName); 3293 basePath.GetParent(&basePath); 3294 if (strcmp(basePath.Leaf(), "lib") == 0 || strcmp(basePath.Leaf(), 3296 _infoPath.SetToFormat("%s/../debug/%s", basePath.Path(), 3299 _infoPath.SetToFormat("%s/debug/%s", basePath.Path(), debugFileName); 3316 pathSuffix.String(), B_FIND_PATH_EXISTING_ONLY, basePath); 3318 _infoPath = basePath [all...] |
/haiku/src/system/kernel/ |
H A D | module.cpp | 638 KPath basePath; local 640 basePath.LockBuffer(), basePath.BufferSize()) != B_OK) 643 basePath.UnlockBuffer(); 644 basePath.Append("kernel"); 647 status = vfs_get_module_path(basePath.Path(), name, path.LockBuffer(),
|
/haiku/src/kits/storage/disk_device/ |
H A D | Partition.cpp | 524 BString basePath(mountPointPath); 534 mountPointPath = basePath;
|
/haiku/headers/private/kernel/ |
H A D | vfs.h | 140 status_t vfs_get_module_path(const char *basePath, const char *moduleName,
|
/haiku/src/tests/system/kernel/device_manager/playground/ |
H A D | device_manager.cpp | 1235 device_node::_AddPath(Stack<KPath*>& stack, const char* basePath, argument 1242 status_t status = path->SetTo(basePath);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 4361 \a basePath and \a pathBuffer must not point to the same space. 4364 vfs_get_module_path(const char* basePath, const char* moduleName, argument 4372 || strlcpy(pathBuffer, basePath, bufferSize) >= bufferSize) 4381 length = strlcpy(pathBuffer, basePath, bufferSize);
|