Searched refs:nodeSize (Results 1 - 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/network/dns_resolver/server/
H A Dmain.cpp105 uint32 nodeSize = node != NULL ? strlen(node) + 1 : 1; local
107 const char* service = buffer[nodeSize] == '\0' ? NULL : buffer + nodeSize;
111 = reinterpret_cast<const addrinfo*>(buffer + nodeSize + serviceSize);
/haiku/src/servers/media/
H A DNotificationManager.cpp82 ssize_t nodeSize; local
90 &nodeSize);
91 ASSERT(nodeSize == sizeof(media_node));
118 ssize_t nodeSize; local
126 &nodeSize);
127 ASSERT(nodeSize == sizeof(media_node));
/haiku/src/add-ons/kernel/network/dns_resolver/kernel_add_on/
H A Ddns_resolver.cpp129 uint32 nodeSize = node != NULL ? strlen(node) + 1 : 1; local
131 uint32 size = nodeSize + serviceSize + sizeof(*hints);
142 off += nodeSize;
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.h125 uint32 FragmentsUsed(uint32 nodeSize) const;
135 static inline uint32 MaxFragments(uint32 nodeSize);
137 status_t CheckIntegrity(uint32 nodeSize) const;
256 int32 nodeSize = BPLUSTREE_NODE_SIZE);
264 int32 nodeSize = BPLUSTREE_NODE_SIZE);
664 bplustree_node::MaxFragments(uint32 nodeSize) argument
666 return nodeSize / ((NUM_FRAGMENT_VALUES + 1) * sizeof(off_t));
H A DBPlusTree.cpp78 NodeChecker(const bplustree_node* node, int32 nodeSize, const char* text) argument
81 fSize(nodeSize),
582 BPlusTree::BPlusTree(Transaction& transaction, Inode* stream, int32 nodeSize) argument
643 BPlusTree::SetTo(Transaction& transaction, Inode* stream, int32 nodeSize) argument
653 fStatus = stream->SetFileSize(transaction, nodeSize * 2);
665 fNodeSize = nodeSize;
672 header->root_node_pointer = HOST_ENDIAN_TO_BFS_INT64(nodeSize);
675 header->maximum_size = HOST_ENDIAN_TO_BFS_INT64(nodeSize * 2);
2982 bplustree_node::FragmentsUsed(uint32 nodeSize) const
2985 for (uint32 i = 0; i < MaxFragments(nodeSize);
[all...]
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.h105 BPlusTree(int32 keyType, int32 nodeSize = BPLUSTREE_NODE_SIZE,
111 status_t SetTo(int32 keyType,int32 nodeSize = BPLUSTREE_NODE_SIZE,bool allowDuplicates = true);
147 void Initialize(int32 nodeSize);
H A DBPlusTree.cpp73 BPlusTree::BPlusTree(int32 keyType,int32 nodeSize,bool allowDuplicates) argument
80 SetTo(keyType,nodeSize,allowDuplicates);
114 void BPlusTree::Initialize(int32 nodeSize) argument
124 fNodeSize = nodeSize;
132 status_t BPlusTree::SetTo(int32 keyType,int32 nodeSize,bool allowDuplicates) argument
136 Initialize(nodeSize);
/haiku/src/bin/bfs_tools/
H A Dbfsinfo.cpp41 int32 nodeSize = header->node_size; local
45 bplustree_node *node = (bplustree_node *)(buffer + nodeSize);
57 node = (bplustree_node *)((addr_t)node + nodeSize);

Completed in 58 milliseconds