/haiku/headers/private/file_systems/ |
H A D | QueryParser.h | 142 void LiveUpdate(Entry* entry, Node* node, 146 void LiveUpdateRenameMove(Entry* entry, Node* node, 199 virtual status_t Match(Entry* entry, Node* node, 250 virtual status_t Match(Entry* entry, Node* node, 312 virtual status_t Match(Entry* entry, Node* node, 705 /*! Matches the node's attribute value with the equation. 711 Equation<QueryPolicy>::Match(Entry* entry, Node* node, argument 740 value.Int64 = QueryPolicy::NodeGetSize(node); 743 value.Int32 = QueryPolicy::NodeGetLastModifiedTime(node); 748 if (QueryPolicy::NodeGetAttribute(node, fAttribut [all...] |
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPFolder.cpp | 120 BNode node(&fRef); 121 status_t status = node.InitCheck(); 126 status = node.GetNodeRef(&nodeRef); 130 fNodeID = nodeRef.node; 133 if (node.ReadAttrString(kMailboxNameAttribute, &originalMailboxName) == B_OK 138 fUIDValidity = _ReadUInt32(node, kUIDValidityAttribute); 139 fLastUID = _ReadUInt32(node, kLastUIDAttribute); 144 status = node.GetAttrInfo(kStateAttribute, &info); 154 ssize_t bytesRead = node.ReadAttr(kStateAttribute, B_RAW_TYPE, 0, 193 BNode node( 244 BNode node; local 528 BNode node; local 653 _MailToIMAPFlags(BNode& node, uint32& flags) argument 714 _WriteUniqueID(BNode& node, uint32 uid) const argument 747 _WriteFlags(BNode& node, uint32 flags) const argument 754 _ReadUInt32(BNode& node, const char* attribute) const argument 767 _WriteUInt32(BNode& node, const char* attribute, uint32 value) const argument [all...] |
/haiku/src/servers/app/font/ |
H A D | GlobalFontManager.cpp | 89 ref.directory = nodeRef.node; 162 || message->FindInt64("directory", &nodeRef.node) != B_OK 197 uint64 node; local 199 || message->FindInt64("to directory", &nodeRef.node) != B_OK 201 || message->FindInt64("node", (int64 *)&node) != B_OK 215 nodeRef.node = fromNode; 228 nodeRef.node = node; 241 nodeRef.node 497 _RemoveStyle(dev_t device, uint64 directoryNode, uint64 node) argument [all...] |
H A D | FontStyle.cpp | 154 ref.directory = parentNodeRef.node;
|
/haiku/src/kits/tracker/ |
H A D | WidgetAttributeText.cpp | 1559 BNode node(fModel->EntryRef()); 1561 if (node.InitCheck() != B_OK)
|
H A D | FSUtils.cpp | 481 BNode node(entry); 482 status_t result = node.InitCheck(); 496 return FSSetPoseLocation(destNodeRef.node, &node, point); 501 FSGetPoseLocation(const BNode* node, BPoint* point) argument 504 if (ReadAttr(node, kAttrPoseInfo, kAttrPoseInfoForeign, 1094 // position of the original node 1260 node_ref node; 1261 destDir->GetNodeRef(&node); 1262 BVolume volume(node 3218 node_ref node; local 3291 ReadAttr(const BNode* node, const char* hostAttrName, const char* foreignAttrName, type_code type, off_t offset, void* buffer, size_t length, void (*swapFunc)(void*), bool isForeign) argument 3319 GetAttrInfo(const BNode* node, const char* hostAttrName, const char* foreignAttrName, type_code* type, size_t* size) argument 4052 Match(const node_ref* node) argument 4063 MatchEntry(const node_ref* node) argument 4073 MatchEntryCommon(const node_ref* node) argument 4101 node_ref node; local 4119 node_ref node; local 4132 node_ref node; local [all...] |
H A D | ContainerWindow.cpp | 311 NodeHasSavedState(const BNode* node) argument 314 return node->GetAttrInfo(kAttrWindowFrame, &info) == B_OK; 936 // look for background image info in the window's node 981 // look for background image info in the window's node 1112 BContainerWindow::GetLayoutState(BNode* node, BMessage* message) argument 1114 if (node == NULL || message == NULL) 1117 status_t result = node->InitCheck(); 1122 node->RewindAttrs(); 1124 while (node->GetNextAttrName(attrName) == B_OK) { 1126 if (node 1153 SetLayoutState(BNode* node, const BMessage* message) argument 3794 RestoreWindowState(AttributeStreamNode* node) argument 3905 SaveWindowState(AttributeStreamNode* node) argument 4242 SetTo(const BDirectory* node) argument [all...] |
H A D | FilePanelPriv.cpp | 397 message->FindInt64("node", (int64*)&itemNode.node); 402 message->FindInt64("to directory", (int64*)&dirNode.node); 422 message->FindInt64("node", (int64*)&itemNode.node); 932 TFilePanel::RestoreWindowState(AttributeStreamNode* node) argument 935 if (!node) 940 if (node->Read(rectAttributeName, 0, B_RECT_TYPE, sizeof(BRect), &frame) 1837 BFilePanelPoseView::RestoreState(AttributeStreamNode* node) argument 1839 _inherited::RestoreState(node); [all...] |
/haiku/src/apps/diskprobe/ |
H A D | ProbeView.cpp | 1146 BNode node(&fEditor.AttributeRef()); 1147 if (node.InitCheck() == B_OK) { 1149 node.RewindAttrs(); 1151 while (node.GetNextAttrName(attribute) == B_OK) { 1153 if (node.GetAttrInfo(attribute, &info) != B_OK)
|
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.cpp | 173 VideoConsumer::DeleteHook(BMediaNode* node) argument 175 return BMediaEventLooper::DeleteHook(node); 384 fIn.node = Node(); 472 fIn.node = Node();
|
/haiku/src/add-ons/kernel/network/protocols/l2cap/ |
H A D | L2capEndpointManager.h | 37 Value* GetValue(AVLTreeNode* node) const 39 return static_cast<Value*>(node);
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | kernel_interface.cpp | 71 notify_if_stat_changed(Volume *volume, Node *node) argument 73 if (volume && node && node->IsModified()) { 74 uint32 statFields = node->MarkUnmodified(); 75 notify_stat_changed(volume->GetID(), -1, node->GetID(), statFields); 203 Node *node = NULL; local 208 if (volume->GetVNode(*_vnodeID, &node) != B_OK) 212 if (parent && volume->GetVNode(parent->GetID(), &node) == B_OK) 213 *_vnodeID = node->GetID(); 220 error = dir->FindAndGetNode(entryName, &node); 234 ramfs_get_vnode(fs_volume* _volume, ino_t vnid, fs_vnode* node, int* _type, uint32* _flags, bool reenter) argument 274 Node* node = (Node*)_node->private_node; local 366 Node* node = (Node*)_node->private_node; local 421 Node *node = NULL; local 461 Node* node = (Node*)_node->private_node; local 520 Node *node = NULL; local 573 Node *node = NULL; local 666 Node* node = (Node*)_node->private_node; local 683 Node* node = (Node*)_node->private_node; local 713 Node* node = (Node*)_node->private_node; local 816 Node *node = NULL; local 881 Node* node = (Node*)_node->private_node; local 927 Node* node = (Node*)_node->private_node; local 959 Node* node = (Node*)_node->private_node; local 996 Node* node = (Node*)_node->private_node; local 1149 Node *node = NULL; local 1203 Node *node = NULL; local 1232 Node* node = (Node*)_node->private_node; local 1357 Node* node = (Node*)_node->private_node; local 1515 Node* node = (Node*)_node->private_node; local 1586 Node* node = (Node*)_node->private_node; local 1645 Node* node = (Node*)_node->private_node; local 1677 Node* node = (Node*)_node->private_node; local 1709 Node* node = (Node*)_node->private_node; local 1758 Node* node = (Node*)_node->private_node; local 1800 Node* node = (Node*)_node->private_node; local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/virtio/ |
H A D | virtio_sound.cpp | 20 device_node* node; member in struct:VirtIOSoundDriverInfo 64 InitDriver(device_node* node, void** cookie) argument 71 info->node = node;
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 452 // case the root node may still be NULL 734 /** \brief Looks up a vnode by mount and node ID in the sVnodeTable. 739 * \param vnodeID the node ID. 757 /** \brief Retrieves a vnode for a given mount ID, node ID pair. 759 * If the node is not yet in memory, it will be loaded. 764 * \param vnodeID the node ID. 890 * Given an arbitrary vnode, the function checks, whether the node is covered 892 * volume root node and returns it. 921 * Given an arbitrary vnode (identified by mount and node ID), the function 922 * checks, whether the node i 944 struct vnode *node; local [all...] |
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Inode.cpp | 452 char* node = new(std::nothrow) char[len]; local 453 if (node == NULL) 457 ArrayDeleter<char> nodeDeleter(node); 467 // The fs block that contains node at next lower level. Now read. 469 if (read_pos(volume->Device(), readPos, node, len) != len) { 473 LongBlock* curLongBlock = (LongBlock*)node; 474 if (!VerifyHeader<LongBlock>(curLongBlock, node, this, 480 // Get's the first pointer. This points to next node. 525 // We should be at the left most leaf node. 526 // This could be a multilevel node typ [all...] |
/haiku/src/system/kernel/device_manager/ |
H A D | device_manager.cpp | 71 device_node* owner; // associated node; NULL for temporary allocation 82 Device(device_node* node, const char* moduleName); 129 // The following two are only valid, if the node's driver is 134 void AddChild(device_node *node); 135 void RemoveChild(device_node *node); 222 find_attr(const device_node* node, const char* name, bool recursive, argument 227 = node->Attributes().GetIterator(); 239 node = node->Parent(); 240 } while (node ! 491 device_node* node = iterator.Next(); local 579 rescan_node(device_node* node) argument 633 unregister_node(device_node* node) argument 647 get_driver(device_node* node, driver_module_info** _module, void** _data) argument 682 device_node* node = iterator.Next(); local 690 device_node* node = iterator.Next(); local 713 get_parent_node(device_node* node) argument 728 put_node(device_node* node) argument 736 publish_device(device_node *node, const char *path, const char *moduleName) argument 786 unpublish_device(device_node *node, const char *path) argument 807 get_attr_uint8(const device_node* node, const char* name, uint8* _value, bool recursive) argument 823 get_attr_uint16(const device_node* node, const char* name, uint16* _value, bool recursive) argument 839 get_attr_uint32(const device_node* node, const char* name, uint32* _value, bool recursive) argument 855 get_attr_uint64(const device_node* node, const char* name, uint64* _value, bool recursive) argument 871 get_attr_string(const device_node* node, const char* name, const char** _value, bool recursive) argument 887 get_attr_raw(const device_node* node, const char* name, const void** _data, size_t* _length, bool recursive) argument 906 get_next_attr(device_node* node, device_attr** _attr) argument 939 device_node* node = iterator.Next(); local 1154 Device(device_node* node, const char* moduleName) argument 1467 AddChild(device_node* node) argument 1492 RemoveChild(device_node* node) argument 2394 device_node* node = NULL; local [all...] |
/haiku/src/apps/showimage/ |
H A D | ShowImageWindow.cpp | 1637 BNode node(&fNavigator.CurrentRef()); 1638 if (node.InitCheck() != B_OK) 1645 ssize_t attrSize = node.ReadAttr(kWidthAttrName, B_INT32_TYPE, 0, 1648 node.WriteAttr(kWidthAttrName, B_INT32_TYPE, 0, &width, sizeof(width)); 1651 attrSize = node.ReadAttr(kHeightAttrName, B_INT32_TYPE, 0, 1654 node.WriteAttr(kHeightAttrName, B_INT32_TYPE, 0, &height, sizeof(height));
|
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_pci.cpp | 44 init_bus_pci(device_node* node, void** bus_cookie) argument 52 device_node* parent = gDeviceManager->get_parent_node(node); 60 if (gDeviceManager->get_attr_uint8(node, SLOT_NUMBER, &slot, false) < B_OK 61 || gDeviceManager->get_attr_uint8(node, BAR_INDEX, &bar, false) < B_OK) 184 device_node* node; local 187 &node) != B_OK) 194 init_device_pci(device_node* node, SdhciDevice* context) argument 206 if (gDeviceManager->get_attr_uint16(node, B_DEVICE_VENDOR_ID, 208 || gDeviceManager->get_attr_uint16(node, B_DEVICE_ID, &deviceId, 304 // Device node registere [all...] |
H A D | sdhci.cpp | 394 // node property accordingly, making sure that we don't get asked to do 399 // published device node, so that the DMA resource manager knows that it 684 init_device(device_node* node, void** device_cookie) argument 691 context->fNode = node; 696 device_node* parent = gDeviceManager->get_parent_node(node); 704 return init_device_pci(node, context); 746 // make sure parent is either an ACPI or PCI SDHCI device node 811 // node for each SD slot in the device.
|
H A D | sdhci.h | 428 extern status_t init_device_pci(device_node* node, SdhciDevice* context); 431 extern status_t init_bus_acpi(device_node* node, void** bus_cookie); 432 extern status_t init_bus_pci(device_node* node, void** bus_cookie);
|
H A D | sdhci_acpi.cpp | 64 init_bus_acpi(device_node* node, void** bus_cookie) argument 72 device_node* parent = gDeviceManager->get_parent_node(node); 173 device_node* node; local 176 &node) != B_OK) 227 // Device node registered for each SD slot. It implements the MMC operations so
|
/haiku/src/add-ons/kernel/bus_managers/mmc/ |
H A D | mmc_bus.cpp | 15 MMCBus::MMCBus(device_node* node) argument 17 fNode(node), 27 device_node* parent = gDeviceManager->get_parent_node(node);
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 131 // the root node, or else its file cache cannot be created (we could 320 // We lock the node here and will unlock it in the "finished" hook. 452 btrfs_inode& node = inode->Node(); 456 bool isOwnerOrRoot = uid == 0 || uid == (uid_t)node.UserID(); 476 node.uid = B_HOST_TO_LENDIAN_INT32(stat->st_uid); 483 node.gid = B_HOST_TO_LENDIAN_INT32(stat->st_gid); 490 PRINT(("original mode = %ld, stat->st_mode = %d\n", node.Mode(), 492 node.mode = B_HOST_TO_LENDIAN_INT32((node.Mode() & ~S_IUMSK) 500 btrfs_inode::SetTime(node [all...] |
H A D | Inode.cpp | 101 btrfs_inode* node; local 102 if (fVolume->FSTree()->FindExact(&path, search_key, (void**)&node) 109 memcpy(&fNode, node, sizeof(btrfs_inode)); 110 free(node); 440 * Basically, make a link between name and its node (location)
|
/haiku/src/preferences/filetypes/ |
H A D | IconView.cpp | 1227 // we'll pick it up via node monitoring 1271 BNodeInfo node; local 1289 node.SetTo(&file); 1293 node.SetTo(&refdir); 1295 if (node.InitCheck() == B_OK) { 1297 node.SetIcon(large, B_LARGE_ICON); 1299 node.SetIcon(mini, B_MINI_ICON); 1301 node.SetIcon(data, size); 1303 // the icon shown will be updated using node monitoring 1423 BNode node( [all...] |