/haiku/src/tools/fs_shell/ |
H A D | list.cpp | 17 /** Initializes the list with a specified offset to the link 24 list->link.next = list->link.prev = &list->link; 36 /** Adds a link to the head of the list 42 list_link *link = (list_link *)_link; local 44 link->next = list->link.next; 45 link->prev = &list->link; 58 list_link *link = (list_link *)_link; local 75 list_link *link = (list_link *)_link; local 83 get_next_link(struct list *list, list_link *link) argument 93 get_prev_link(struct list *list, list_link *link) argument 111 list_link *link; local 130 list_link *link; local 178 list_link *link; local 203 list_link *link; local 220 list_link *link; local [all...] |
/haiku/src/system/libnetwork/netresolv/include/isc/ |
H A D | list.h | 29 #define INIT_LINK_TYPE(elt, link, type) \ 31 (elt)->link.prev = (type *)(-1); \ 32 (elt)->link.next = (type *)(-1); \ 34 #define INIT_LINK(elt, link) \ 35 INIT_LINK_TYPE(elt, link, void) 36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ 37 (void *)((elt)->link.next) != (void *)(-1)) 43 #define PREPEND(list, elt, link) \ 45 INSIST(!LINKED(elt, link));\ [all...] |
/haiku/src/system/kernel/util/ |
H A D | list.cpp | 20 /** Initializes the list with a specified offset to the link 27 list->link.next = list->link.prev = &list->link; 39 /** Adds a link to the head of the list 45 list_link *link = (list_link *)_link; local 47 link->next = list->link.next; 48 link->prev = &list->link; 65 list_link *link = (list_link *)_link; local 86 list_link *link = (list_link *)_link; local 98 get_next_link(struct list *list, list_link *link) argument 108 get_prev_link(struct list *list, list_link *link) argument 126 list_link *link; local 145 list_link *link; local 193 list_link *link; local 218 list_link *link; local 235 list_link *link; local [all...] |
/haiku/src/tests/kits/storage/ |
H A D | SymLinkTest.cpp | 109 BSymLink link; local 110 CPPUNIT_ASSERT( link.InitCheck() == B_NO_INIT ); 116 BSymLink link(fileLink); 117 CPPUNIT_ASSERT( link.InitCheck() == B_OK ); 121 BSymLink link(nonExisting); 122 CPPUNIT_ASSERT( link.InitCheck() == B_ENTRY_NOT_FOUND ); 126 BSymLink link((const char *)NULL); 127 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); 131 BSymLink link(""); 132 CPPUNIT_ASSERT( link 337 BSymLink link; local 507 BSymLink link; local 594 BSymLink link; local 816 BSymLink link; local 859 BSymLink link; local 886 BSymLink link; local 894 BSymLink link; local [all...] |
/haiku/src/kits/interface/ |
H A D | Font.cpp | 237 BPrivate::AppServerLink link; local 240 link.StartMessage(AS_GET_FAMILY_AND_STYLES); 241 link.Attach<int32>(index); 244 if (link.FlushWithReply(status) != B_OK 252 link.ReadString(family->name); 253 link.Read<uint32>(&family->flags); 256 link.Read<int32>(&styleCount); 265 link.ReadString(style->name); 266 link.Read<uint16>(&style->face); 267 link 299 BPrivate::AppServerLink link; local 342 BPrivate::AppServerLink link; local 404 BPrivate::AppServerLink link; local 419 BPrivate::AppServerLink link; local 584 BPrivate::AppServerLink link; local 613 BPrivate::AppServerLink link; local 713 BPrivate::AppServerLink link; local 826 BPrivate::AppServerLink link; local 846 BPrivate::AppServerLink link; local 866 BPrivate::AppServerLink link; local 889 BPrivate::AppServerLink link; local 911 BPrivate::AppServerLink link; local 1041 BPrivate::AppServerLink link; local 1157 BPrivate::AppServerLink link; local 1183 BPrivate::AppServerLink link; local 1232 BPrivate::AppServerLink link; local 1276 BPrivate::AppServerLink link; local 1321 BPrivate::AppServerLink link; local 1353 BPrivate::AppServerLink link; local 1469 BPrivate::AppServerLink link; local 1499 BPrivate::AppServerLink link; local 1527 BPrivate::AppServerLink link; local [all...] |
H A D | PrivateScreen.cpp | 94 BPrivate::AppServerLink link; local 95 link.StartMessage(AS_GET_SCREEN_ID_FROM_WINDOW); 96 link.Attach<int32>(_get_object_token_(window)); 99 if (link.FlushWithReply(status) == B_OK && status == B_OK) 100 link.Read<int32>(&id); 194 BPrivate::AppServerLink link; local 195 link.StartMessage(AS_VALID_SCREEN_ID); 196 link.Attach<int32>(id); 199 if (link.FlushWithReply(status) != B_OK || status < B_OK) 225 BPrivate::AppServerLink link; local 251 BPrivate::AppServerLink link; local 340 BPrivate::AppServerLink link; local 397 BPrivate::AppServerLink link; local 415 BPrivate::AppServerLink link; local 433 BPrivate::AppServerLink link; local 635 BPrivate::AppServerLink link; local 652 BPrivate::AppServerLink link; local 669 BPrivate::AppServerLink link; local 702 BPrivate::AppServerLink link; local 759 BPrivate::AppServerLink link; local 777 BPrivate::AppServerLink link; local [all...] |
H A D | InterfaceDefs.cpp | 319 BPrivate::AppServerLink link; local 320 link.StartMessage(AS_GET_WORKSPACE_LAYOUT); 323 if (link.FlushWithReply(status) == B_OK && status == B_OK) { 324 link.Read<int32>(&columns); 325 link.Read<int32>(&rows); 341 BPrivate::AppServerLink link; 342 link.StartMessage(AS_SET_WORKSPACE_LAYOUT); 343 link.Attach<int32>(columns); 344 link.Attach<int32>(rows); 345 link 355 BPrivate::AppServerLink link; local 366 BPrivate::AppServerLink link; local 380 BPrivate::AppServerLink link; local 391 BPrivate::AppServerLink link; local 405 BPrivate::AppServerLink link; local 416 BPrivate::AppServerLink link; local 430 BPrivate::AppServerLink link; local 441 BPrivate::AppServerLink link; local 1007 BPrivate::AppServerLink link; local 1021 BPrivate::AppServerLink link; local 1034 BPrivate::AppServerLink link; local 1094 BPrivate::AppServerLink link; local 1108 BPrivate::AppServerLink link; local 1122 BPrivate::AppServerLink link; local 1134 BPrivate::AppServerLink link; local 1251 BPrivate::AppServerLink link; local 1264 BPrivate::AppServerLink link; local 1530 BPrivate::AppServerLink link; local 1549 BPrivate::AppServerLink link; local 1589 BPrivate::AppServerLink link; local 1608 BPrivate::AppServerLink link; local 1626 BPrivate::AppServerLink link; local 1654 BPrivate::AppServerLink link; local 1690 BPrivate::AppServerLink link; local 1704 BPrivate::AppServerLink link; local 1728 BPrivate::AppServerLink link; local 1753 BPrivate::AppServerLink link; local 1766 BPrivate::AppServerLink link; local [all...] |
/haiku/docs/interface_guidelines/docbook-css/ |
H A D | opera.css | 14 * Discovered -o-link from, 18 -o-link: attr(url); 19 -o-link-source: current;
|
/haiku/src/preferences/appearance/ |
H A D | SysCursorAPI.cpp | 13 PortLink link(server); 14 link.SetOpCode(AS_SET_SYSCURSOR_BCURSOR); 15 link.Attach<cursor_which>(which); 16 link.Attach<int32>(cursor->m_serverToken); 17 link.Flush(); 27 PortLink link(server); 28 link.SetOpCode(AS_SET_SYSCURSOR_BBITMAP); 29 link.Attach<cursor_which>(which); 30 link.Attach<int32>(cursor->fToken); 31 link [all...] |
/haiku/headers/private/kernel/util/ |
H A D | MinMaxHeap.h | 91 void _MoveUp(MinMaxHeapLink<Element, Key>* link); 92 void _MoveDown(MinMaxHeapLink<Element, Key>* link); 93 bool _ChangeTree(MinMaxHeapLink<Element, Key>* link); 233 MinMaxHeapLink<Element, Key>* link = sGetLink(element); local 235 Key oldKey = link->fKey; 236 link->fKey = newKey; 241 if (sCompare(newKey, oldKey) ^ !link->fMinTree) 242 _MoveUp(link); 244 _MoveDown(link); 260 MinMaxHeapLink<Element, Key>* link local 281 MinMaxHeapLink<Element, Key>* link = sGetLink(element); local [all...] |
H A D | Heap.h | 93 void _MoveUp(HeapLink<Element, Key>* link); 94 void _MoveDown(HeapLink<Element, Key>* link); 211 HeapLink<Element, Key>* link = sGetLink(element); local 213 ASSERT(link->fIndex >= 0 && link->fIndex < fLastElement); 214 Key oldKey = link->fKey; 215 link->fKey = newKey; 218 _MoveUp(link); 220 _MoveDown(link); 232 HeapLink<Element, Key>* link local 259 HeapLink<Element, Key>* link = sGetLink(element); local 293 _MoveUp(HeapLink<Element, Key>* link) argument 315 _MoveDown(HeapLink<Element, Key>* link) argument [all...] |
/haiku/src/kits/app/ |
H A D | Cursor.cpp | 54 BPrivate::AppServerLink link; 55 link.StartMessage(AS_CREATE_CURSOR); 56 link.Attach(cursorData, 68); 59 if (link.FlushWithReply(status) == B_OK && status == B_OK) { 60 link.Read<int32>(&fServerToken); 107 BPrivate::AppServerLink link; 108 link.StartMessage(AS_CREATE_CURSOR_BITMAP); 109 link.Attach<BRect>(bounds); 110 link.Attach<BPoint>(hotspot); 111 link 168 BPrivate::AppServerLink link; local 209 BPrivate::AppServerLink link; local [all...] |
H A D | AppMisc.cpp | 211 create_desktop_connection(ServerLink* link, const char* name, int32 capacity) argument 218 link->SetReceiverPort(clientPort); 235 link->SetSenderPort(desktopPort); 262 create_desktop_connection(ServerLink* link, const char* name, int32 capacity) argument 273 link->SetTo(serverPort, clientPort); 275 link->StartMessage(AS_GET_DESKTOP); 276 link->Attach<port_id>(clientPort); 277 link->Attach<int32>(getuid()); 278 link->AttachString(getenv("TARGET_SCREEN")); 279 link [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/package_links/ |
H A D | PackageLinkDirectory.cpp | 42 while (DependencyLink* link = fDependencyLinks.RemoveHead()) 43 link->ReleaseReference(); 168 while (DependencyLink* link = fDependencyLinks.RemoveHead()) 169 _RemoveLink(link, listener); 174 // remove self and settings link 184 // create/update self and settings link 218 // link already exists -- update 219 DependencyLink* link = static_cast<DependencyLink*>(node); local 221 NodeWriteLocker linkLocker(link); 222 link 225 DependencyLink* link = new(std::nothrow) DependencyLink( local 251 _RemoveLink(Link* link, PackageLinksListener* listener) argument 266 _CreateOrUpdateLink(Link*& link, Package* package, Link::Type type, const String& name, PackageLinksListener* listener) argument [all...] |
/haiku/src/add-ons/input_server/filters/switch_workspace/ |
H A D | SwitchWorkspaceInputFilter.cpp | 76 BPrivate::AppServerLink link; local 77 link.StartMessage(AS_GET_WORKSPACE_LAYOUT); 82 if (link.FlushWithReply(status) != B_OK || status != B_OK) 85 link.Read<int32>(&columns); 86 link.Read<int32>(&rows); 104 BPrivate::AppServerLink link; local 105 link.StartMessage(AS_ACTIVATE_WORKSPACE); 106 link.Attach<int32>(next); 107 link.Attach<bool>(takeMeThere); 108 link [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | cache.c | 67 struct HASH_ENTRY *link; local 73 /* get a free link and insert at top of hash list */ 74 link = cache->free_hash; 75 if (link) { 76 cache->free_hash = link->next; 79 link->next = first; 81 link->next = NULL; 82 link->entry = current; 83 cache->first_hash[h] = link; 106 struct HASH_ENTRY *link; local 152 struct HASH_ENTRY *link; local 218 struct HASH_ENTRY *link; local 380 struct HASH_ENTRY *link; local [all...] |
/haiku/src/tests/apps/fake_app_server/ |
H A D | ServerApp.cpp | 138 BPrivate::LinkSender link(gAppServerPort); 139 link.StartMessage(AS_DELETE_APP); 140 link.Attach(&fMonitorThreadID, sizeof(thread_id)); 141 link.Flush(); 154 BPrivate::LinkSender link(fMessagePort); 155 link.StartMessage(code); 156 link.Flush(); 214 BPrivate::LinkSender link(gAppServerPort); 215 link.StartMessage(AS_DELETE_APP); 216 link 271 DispatchMessage(int32 code, BPrivate::LinkReceiver &link) argument [all...] |
/haiku/src/kits/network/libnetservices/ |
H A D | GopherRequest.cpp | 47 * gopher://gopher.floodgap.com/1/gopher broken link 66 GOPHER_TYPE_TELNET = '8', /**< telnet link */ 457 BString link("gopher://"); 460 link << fields.StringAt(FIELD_HOST); 462 link << ":" << fields.StringAt(FIELD_PORT); 463 link << "/" << type; 465 // link << "/"; 466 link << fields.StringAt(FIELD_SELECTOR); 469 _HTMLEscapeString(link); 476 item << "<a href=\"" << link << "\">" [all...] |
/haiku/src/tests/servers/app/ |
H A D | app_server_debug.cpp | 20 BPrivate::DesktopLink link; local 22 status_t status = link.InitCheck(); 27 status = link.StartMessage(code); 31 status = link.Attach(team); 36 return link.Flush();
|
/haiku/src/servers/app/ |
H A D | ServerWindow.cpp | 500 ServerWindow::_CreateView(BPrivate::LinkReceiver& link, View** _parent) argument 516 link.Read<int32>(&token); 517 link.ReadString(&name); 518 link.Read<BRect>(&frame); 519 link.Read<BPoint>(&scrollingOffset); 520 link.Read<uint32>(&resizeMask); 521 link.Read<uint32>(&eventMask); 522 link.Read<uint32>(&eventOptions); 523 link.Read<uint32>(&flags); 524 link 597 _DispatchMessage(int32 code, BPrivate::LinkReceiver& link) argument 1205 _DispatchViewMessage(int32 code, BPrivate::LinkReceiver &link) argument 2482 _DispatchViewDrawingMessage(int32 code, BPrivate::LinkReceiver &link) argument 3215 _DispatchPictureMessage(int32 code, BPrivate::LinkReceiver& link) argument [all...] |
H A D | TestServerLoopAdapter.cpp | 58 BPrivate::LinkReceiver& link) 64 link.Read<port_id>(&replyPort); 67 link.Read<int32>(&userID); 70 link.ReadString(&targetScreen); 73 link.Read<int32>(&version); 57 _DispatchMessage(int32 code, BPrivate::LinkReceiver& link) argument
|
H A D | ServerApp.cpp | 526 ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver& link) argument 594 status_t status = _CreateWindow(code, link, clientReplyPort); 609 if (link.Read<team_id>(&team) == B_OK) 617 if (link.Read<int32>(&serverToken) == B_OK) 625 if (link.Read<int32>(&workspace) == B_OK) 633 if (link.Read<int32>(&workspace) == B_OK) 641 if (link.Read<team_id>(&team) == B_OK) 649 if (link.Read<team_id>(&team) == B_OK) 659 link.Read<int32>(&token); 660 if (link 3685 _CreateWindow(int32 code, BPrivate::LinkReceiver& link, port_id& clientReplyPort) argument [all...] |
/haiku/src/servers/app/stackandtile/ |
H A D | Stacking.cpp | 34 BPrivate::LinkReceiver& link, BPrivate::LinkSender& reply) 40 link.Read<int32>(&what); 48 link.Read<port_id>(&port); 49 link.Read<int32>(&token); 50 link.Read<team_id>(&team); 52 if (link.Read<int32>(&position) != B_OK) 92 link.Read<port_id>(&port); 93 link.Read<int32>(&token); 94 if (link.Read<team_id>(&team) != B_OK) 117 if (link 33 HandleMessage(SATWindow* sender, BPrivate::LinkReceiver& link, BPrivate::LinkSender& reply) argument [all...] |
/haiku/src/tests/kits/net/ |
H A D | link_echo.cpp | 126 BNetworkAddress link;
local 127 if (interface.GetHardwareAddress(link) != B_OK)
158 link.SetLinkLevelFrameType(kFrameType);
161 if (bind(fd, link, link.Length()) != 0)
164 socklen_t length = sizeof(link);
165 if (getsockname(fd, link, &length) != 0)
168 printf("bound to %s\n", link.ToString().String());
|
/haiku/src/apps/haikudepot/packagemanagement/ |
H A D | OpenPackageProcess.h | 28 const DeskbarLink& link);
|