Searched refs:dir (Results 226 - 250 of 353) sorted by relevance

1234567891011>>

/haiku/src/apps/packageinstaller/
H A DPackageItem.cpp827 parser_debug("Create dir ret: %ld %s\n", ret, strerror(ret));
830 BDirectory dir(destination.Path());
834 dir.SetCreationTime(static_cast<time_t>(fCreationTime));
837 dir.SetModificationTime(static_cast<time_t>(fModificationTime));
842 ret = HandleAttributes(&destination, &dir, "FoDa");
1047 BDirectory *dir = &state->parent; local
1050 || dir->InitCheck() != B_OK) {
1062 ret = dir->SetTo(dirPath.Path());
1077 ret = dir->CreateSymLink(destination.Path(), fLink.String(), &symlink);
1084 ret = symlink.MakeLinkedPath(dir,
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dmodule.cpp136 void _FindModules(BDirectory &dir, const char *moduleDir,
175 // get the module dir relative path
499 BDirectory dir; local
501 && dir.SetTo(path.Path()) == B_OK) {
502 _FindModules(dir, gModuleDirs[i], suffix, list);
609 ModuleManager::_FindModules(BDirectory &dir, const char *moduleDir, argument
613 while (dir.GetNextEntry(&entry) == B_OK) {
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorSlider.cpp36 float value1, float value2, orientation dir, border_style border)
40 _Init(mode, value1, value2, dir, border);
46 float value1, float value2, orientation dir, border_style border)
51 _Init(mode, value1, value2, dir, border);
407 orientation dir, border_style border)
415 fOrientation = dir;
35 ColorSlider(SelectedColorMode mode, float value1, float value2, orientation dir, border_style border) argument
45 ColorSlider(BPoint offsetPoint, SelectedColorMode mode, float value1, float value2, orientation dir, border_style border) argument
406 _Init(SelectedColorMode mode, float value1, float value2, orientation dir, border_style border) argument
/haiku/headers/os/drivers/
H A Dfs_interface.h118 status_t (*lookup)(fs_volume* volume, fs_vnode* dir, const char* name,
157 status_t (*create_symlink)(fs_volume* volume, fs_vnode* dir,
160 status_t (*link)(fs_volume* volume, fs_vnode* dir, const char* name,
162 status_t (*unlink)(fs_volume* volume, fs_vnode* dir, const char* name);
175 status_t (*create)(fs_volume* volume, fs_vnode* dir, const char* name,
241 status_t (*create_special_node)(fs_volume* volume, fs_vnode* dir,
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylist.cpp514 BDirectory dir(&entry);
515 if (dir.InitCheck() != B_OK)
521 while (dir.GetNextRef(&subRef) == B_OK) {
770 BDirectory dir(dirPath.Path());
771 if (dir.InitCheck() != B_OK)
776 while (dir.GetNextEntry(&entry, true) == B_OK) {
/haiku/src/apps/icon-o-matic/
H A DCanvasView.cpp494 uint8 redLow = lut.dir(kAlphaLow.red);
495 uint8 greenLow = lut.dir(kAlphaLow.blue);
496 uint8 blueLow = lut.dir(kAlphaLow.green);
497 uint8 redHigh = lut.dir(kAlphaHigh.red);
498 uint8 greenHigh = lut.dir(kAlphaHigh.blue);
499 uint8 blueHigh = lut.dir(kAlphaHigh.green);
/haiku/src/libs/icon/
H A DIconRenderer.cpp176 fColor = agg::rgba8(fGammaTable.dir(c.red), fGammaTable.dir(c.green),
177 fGammaTable.dir(c.blue), c.alpha);
493 fBackgroundColor.r = fGammaTable.dir(background.r);
494 fBackgroundColor.g = fGammaTable.dir(background.g);
495 fBackgroundColor.b = fGammaTable.dir(background.b);
/haiku/src/preferences/printers/
H A DAddPrinterDialog.cpp307 BDirectory dir(addonPath.Path());
308 if (dir.InitCheck() != B_OK)
312 while (dir.GetNextEntry(&entry, true) == B_OK) {
/haiku/src/apps/diskusage/
H A DScanner.cpp229 Scanner::_GetFileInfo(BDirectory* dir, FileInfo* parent) argument
233 dir->GetEntry(&entry);
244 if (dir->GetNextEntry(&entry) == B_ENTRY_NOT_FOUND)
/haiku/src/build/libroot/
H A Dfs_darwin.cpp233 DIR* dir = opendir(path); local
234 if (dir != NULL)
237 return dir;
/haiku/src/apps/people/
H A DPeopleApp.cpp86 BDirectory dir(path.Path());
88 if (dir.FindEntry("People_data", &entry) == B_OK) {
97 if (dir.CreateFile("People_data", fPrefs) != B_OK) {
/haiku/src/tests/kits/storage/
H A DEntryTest.h94 void CreateDir(const char *dir);
99 // Checks, whether a dir exists.
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Inode.h36 status_t Link(Inode* dir, const char* name,
/haiku/src/add-ons/tracker/mark_as/
H A DMarkAs.cpp80 process_refs(entry_ref dir, BMessage* message, void* /*reserved*/) argument
/haiku/headers/os/mail/
H A DMailMessage.h115 status_t RenderTo(BDirectory* dir,
/haiku/src/preferences/mail/
H A DFilterConfigView.cpp387 direction dir; local
388 if (msg->FindInt32("direction", (int32*)&dir) != B_OK)
391 if (fDirection == dir)
394 _SetDirection(dir);
/haiku/src/apps/installer/
H A DPackageViews.h69 static Package* PackageFromEntry(BEntry &dir);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.cpp65 too (e.g. concerning dir iteration).
167 // get the root VNode (i.e. the root dir)
339 // NOTE: The node's parent dir ID is not initialized!
357 // for dirs get the ".." entry, since we need the parent dir ID
367 FATAL(("failed to find `..' entry for dir node "
380 \param dir The directory.
388 Volume::FindDirEntry(VNode *dir, const char *entryName, VNode *foundNode, argument
391 status_t error = (dir && foundNode ? B_OK : B_BAD_VALUE);
396 error = fTree->FindDirEntry(dir->GetDirID(), dir
[all...]
/haiku/src/kits/locale/
H A DDefaultCatalog.cpp521 BDirectory dir(&file);
524 while(dir.GetNextEntry(&file) == B_OK) {
549 BDirectory dir(&file);
552 while(dir.GetNextEntry(&file) == B_OK) {
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.h95 extern status_t nfs_lookup(fs_nspace *ns, const nfs_fhandle *dir, const char *filename, nfs_fhandle *fhandle, struct stat *st);
/haiku/src/kits/tracker/infowindow/
H A DInfoWindow.cpp507 BDirectory dir(window->TargetModel()->EntryRef());
510 if (dir.InitCheck() != B_OK) {
523 dir.GetEntry(&dirEntry);
528 // check if user has asked for trash dir info
535 FSRecursiveCalcSize(window, &loopControl, &dir, &size, &fileCount,
/haiku/headers/libs/agg/
H A Dagg_pixfmt_rgb.h45 p[Order::R] = m_gamma.dir(p[Order::R]);
46 p[Order::G] = m_gamma.dir(p[Order::G]);
47 p[Order::B] = m_gamma.dir(p[Order::B]);
156 calc_type r = m_gamma->dir(p[Order::R]);
157 calc_type g = m_gamma->dir(p[Order::G]);
158 calc_type b = m_gamma->dir(p[Order::B]);
159 p[Order::R] = m_gamma->inv((((m_gamma->dir(cr) - r) * alpha) >> base_shift) + r);
160 p[Order::G] = m_gamma->inv((((m_gamma->dir(cg) - g) * alpha) >> base_shift) + g);
161 p[Order::B] = m_gamma->inv((((m_gamma->dir(cb) - b) * alpha) >> base_shift) + b);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_adhoc.c319 uint8_t dir, type, subtype, qos; local
343 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK;
378 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK;
382 if (dir != IEEE80211_FC1_DIR_NODS)
469 if (dir != IEEE80211_FC1_DIR_NODS) {
471 wh, "data", "incorrect dir 0x%x", dir);
622 if (dir == IEEE80211_FC1_DIR_DSTODS && ni->ni_wdsvap != NULL)
631 if (dir != IEEE80211_FC1_DIR_NODS) {
633 wh, "data", "incorrect dir
[all...]
/haiku/src/system/kernel/
H A Dmodule.cpp263 status_t _ScanDirectory(Stack<DIR*>& stack, DIR* dir,
1373 // ? "dir" : "file", device, node, path);
1454 DIR* dir = NULL; local
1456 dir = opendir(directoryPath);
1457 if (dir != NULL || prefixPosition == 0)
1471 if (dir == NULL)
1475 stack.Push(dir);
1477 while (stack.Pop(&dir)) {
1478 status_t status = _ScanDirectory(stack, dir, prefix, prefixPosition);
1488 ModuleNotificationService::_ScanDirectory(Stack<DIR*>& stack, DIR* dir, argument
[all...]
/haiku/src/libs/stdc++/legacy/
H A Dparsestream.cc55 streampos parsebuf::seekoff(streamoff offset, _seek_dir dir, int) argument
58 switch (dir) {

Completed in 156 milliseconds

1234567891011>>