Leaf
const char* Leaf() const;
const char *Leaf() const;
const char* Leaf() const;
owner->DrawString(fPath.Leaf());
fLocalizedName = fPath.Leaf();
if (!strcmp(path.Leaf(), "serial")) {
const char *getDeviceShortName() { return dev_path.Leaf(); }
fModuleName.Append(fPath.Leaf());
AddInterface(path.Leaf(), true);
if (fMode == B_SAVE_PANEL && file.Leaf() != NULL)
fFilePanel->SetSaveText(file.Leaf());
if (strcmp(sourceFileName.String(), targetFilePath.Leaf()) != 0) {
sourceFileName.String(), targetFilePath.Leaf());
query.PushString(filePath.Leaf());
text.ReplaceFirst("%s", path.Leaf());
text.ReplaceFirst("%s", path.Leaf());
damagedLeaf.SetToFormat("%s__damaged", currentFilePath.Leaf());
SwapExtensionOnPathComponent(path.Leaf(), extension).String());
result.SetToFormat("%s; @ %" B_PRIu64, fPath.Leaf(), fLastAccessMillisSinceEpoch);
fCurrentItem = sourcePath.Leaf();
ret = dstFolder.CreateSymLink(sourcePath.Leaf(), linkPath, NULL);
BPath targetPath(targetPkgDir.Path(), pkgPath.Leaf());
enclosure->name = strdup(path.Leaf());
leafName.SetTo(dataPath.Leaf());
leafName.SetTo(dataPath.Leaf());
leafName.SetTo(dataPath.Leaf());
leafName.SetTo(dataPath.Leaf());
const char* label = label_path.Leaf();
name.SetTo(path.Leaf());
BString linkName(destination.Leaf());
snprintf(buffer, sizeof(buffer), formatString, path.Leaf());
const char* filename = path.Leaf();
errorMessage.ReplaceFirst("%leaf%", path.Leaf());
fStatusBar = new BStatusBar("download progress", fPath.Leaf());
fStatusBar->Reset(fPath.Leaf());
fFileNameView->SetText(fPath.Leaf());
success.SetContent(fPath.Leaf());
success.SetContent(fPath.Leaf());
status = directory.CreateDirectory(path.Leaf(), NULL);
status = directory.CreateSymLink(path.Leaf(),to,&link);
error = destEntryPath.SetTo(destPath, normalizedSourcePath.Leaf());
if (strlen (TempPath.Leaf ()) > NAME_MAX-strlen(g_BackupSuffix)-1)
strcpy (TempString, TempPath.Leaf ());
result = tempRepositoryFile.Rename(targetRepositoryFilePath.Leaf(), true);
if (strcmp(device.Leaf(), "raw") != 0) {
fSourceName = path.Leaf();
if (strcmp(basePath.Leaf(), "lib") == 0 || strcmp(basePath.Leaf(),
B_PRId32 ".report", teamPath.Leaf(), team->ID(),
B_PRId32 ".core", teamPath.Leaf(), team->ID(),
if (_Load(path.Leaf(), &type) == B_OK) {
result << "; filename=\"" << element->File().Leaf() << '"';
const char* leaf = path->Leaf();
path->Leaf(), Index());
srcString.RemoveLast(path.Leaf());
source.Append(path.Leaf());
panel->SetSaveText(path.Leaf());
fName = path.Leaf();
folderMenuText.ReplaceFirst("%path", path.Leaf());
fName = fPath.Leaf();
strcmp("current", name.Leaf()) == 0) {
BMenuItem* item = new BMenuItem(name.Leaf(), message);
if (addOnMap.find(path.Leaf()) == addOnMap.end())
addOnMap.insert(std::pair<BString, BPath>(path.Leaf(), path));
BString text(path.Leaf());
AppUsage* appUsage = new AppUsage(path.Leaf(), buf, true);
msg->AddString("name", transportPath.Leaf());
menu->AddItem(new BMenuItem(transportPath.Leaf(), msg));
SetField(new BStringField(_path ? path.Leaf() : B_TRANSLATE("<none>")),
BMenuItem* item = menu->FindItem(path.Leaf());
BMenuItem* menuitem = menu->FindItem(path.Leaf());
menu->AddItem(menuitem = new BMenuItem(path.Leaf(), msg), 0);
BMenuItem* item = menu->FindItem(path.Leaf());
if (menu->FindItem(path.Leaf()))
menu->AddItem(new BMenuItem(path.Leaf(), msg), 0);
if (menu->FindItem(item_path.Leaf()))
menu->AddItem(new BMenuItem(item_path.Leaf(), msg), 0);
ref.set_name(fPath.Leaf());
value = path.Leaf();
|| directory.CreateDirectory(path.Leaf(), NULL) < B_OK
item = new BMenuItem(navMenu = new BNavMenu(path.Leaf(),
item = new BMenuItem(path.Leaf(), msg);
relativeSourcePath.Leaf()),
relativeSourcePath.Leaf())));
relativeSourcePath.Leaf());
relativeSourcePath.Leaf()),
FSUtils::Entry(sourceDirectory, relativeSourcePath.Leaf()),
relativeSourcePath.Leaf()),
scriptsDirectory.CreateSymLink(scriptPath.Leaf(),
FSUtils::Entry(sourceDirectory, relativeSourcePath.Leaf()),
relativeSourcePath.Leaf()),
status_t error = sourceDirectory.GetStatFor(relativeSourcePath.Leaf(),
const char* Leaf() const
"failed: %d (errno: %s)\n", scriptPath.Leaf(), errno, strerror(errno));
if (Transport::Find(path.Leaf()) != NULL)
BString Name() const { return fPath.Leaf(); }
dprintf("driver \"%s\" %s\n", path.Leaf(),
const char* leaf = Leaf();
const char* leaf = Leaf();
const char* leaf = Leaf();
const char* leaf = Leaf();
strLabel.Append(path.Leaf());
printf(": Version: %s\n", path.Leaf());
if (path.Leaf()[0] == 'b')
CPPUNIT_ASSERT( testSet.test(path.Leaf()) == true );
CPPUNIT_ASSERT( testSet.test(path.Leaf()) == true );
BFile file(&dir, path.Leaf(),
status_t result = file.SetTo(&dir, path.Leaf(),
CHK(string(path.Leaf()) == shortDescription);
CPPUNIT_ASSERT( path.Leaf() == NULL );
CPPUNIT_ASSERT( string("") == path.Leaf() );
CPPUNIT_ASSERT( string("boot") == path.Leaf() );
CPPUNIT_ASSERT( string("home") == path.Leaf() );
CPPUNIT_ASSERT( string("Desktop") == path.Leaf() );
CPPUNIT_ASSERT( string("non-existing") == path.Leaf() );
CPPUNIT_ASSERT( string("dir") == path.Leaf() );
name = path.Leaf();
CPPUNIT_ASSERT(strcmp(path.Leaf(), "a") == 0);
CPPUNIT_ASSERT(strcmp(path.Leaf(), "") == 0);
CPPUNIT_ASSERT(strcmp(path.Leaf(), "") == 0);
CPPUNIT_ASSERT(strcmp(path.Leaf(), "b") == 0);
CPPUNIT_ASSERT(strcmp(path.Leaf(), "b") == 0);
CPPUNIT_ASSERT(strcmp(path.Leaf(), "c") == 0);
CPPUNIT_ASSERT(path.Path() == path.Leaf());
CPPUNIT_ASSERT(path.Path() == path.Leaf());
BString filename(addonPath.Leaf());
const char *leaf = Leaf();
pwin->SetTitle(path.Leaf());
new BTranslatorItem(path.Leaf(), path.Path(), group));