Searched refs:link (Results 1 - 25 of 242) sorted by relevance

12345678910

/haiku/src/tools/fs_shell/
H A Dlist.cpp17 /** 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 Dlist.h27 #define INIT_LINK_TYPE(elt, link, type) \
29 (elt)->link.prev = (type *)(-1); \
30 (elt)->link.next = (type *)(-1); \
32 #define INIT_LINK(elt, link) \
33 INIT_LINK_TYPE(elt, link, void)
34 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \
35 (void *)((elt)->link.next) != (void *)(-1))
41 #define PREPEND(list, elt, link) \
43 INSIST(!LINKED(elt, link));\
[all...]
/haiku/src/system/kernel/util/
H A Dlist.cpp16 /** Initializes the list with a specified offset to the link
23 list->link.next = list->link.prev = &list->link;
35 /** Adds a link to the head of the list
41 list_link *link = (list_link *)_link; local
43 link->next = list->link.next;
44 link->prev = &list->link;
57 list_link *link = (list_link *)_link; local
74 list_link *link = (list_link *)_link; local
82 get_next_link(struct list *list, list_link *link) argument
92 get_prev_link(struct list *list, list_link *link) argument
110 list_link *link; local
129 list_link *link; local
177 list_link *link; local
202 list_link *link; local
219 list_link *link; local
[all...]
/haiku/src/tests/kits/storage/
H A DSymLinkTest.cpp109 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
584 BSymLink link; local
806 BSymLink link; local
849 BSymLink link; local
876 BSymLink link; local
884 BSymLink link; local
[all...]
/haiku/src/kits/interface/
H A DPrivateScreen.cpp94 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 DFont.cpp237 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
583 BPrivate::AppServerLink link; local
612 BPrivate::AppServerLink link; local
712 BPrivate::AppServerLink link; local
825 BPrivate::AppServerLink link; local
844 BPrivate::AppServerLink link; local
864 BPrivate::AppServerLink link; local
887 BPrivate::AppServerLink link; local
909 BPrivate::AppServerLink link; local
1038 BPrivate::AppServerLink link; local
1154 BPrivate::AppServerLink link; local
1180 BPrivate::AppServerLink link; local
1229 BPrivate::AppServerLink link; local
1273 BPrivate::AppServerLink link; local
1318 BPrivate::AppServerLink link; local
1350 BPrivate::AppServerLink link; local
[all...]
H A DInterfaceDefs.cpp274 BPrivate::AppServerLink link; local
275 link.StartMessage(AS_GET_WORKSPACE_LAYOUT);
278 if (link.FlushWithReply(status) == B_OK && status == B_OK) {
279 link.Read<int32>(&columns);
280 link.Read<int32>(&rows);
296 BPrivate::AppServerLink link;
297 link.StartMessage(AS_SET_WORKSPACE_LAYOUT);
298 link.Attach<int32>(columns);
299 link.Attach<int32>(rows);
300 link
310 BPrivate::AppServerLink link; local
321 BPrivate::AppServerLink link; local
335 BPrivate::AppServerLink link; local
346 BPrivate::AppServerLink link; local
360 BPrivate::AppServerLink link; local
371 BPrivate::AppServerLink link; local
385 BPrivate::AppServerLink link; local
396 BPrivate::AppServerLink link; local
859 BPrivate::AppServerLink link; local
873 BPrivate::AppServerLink link; local
886 BPrivate::AppServerLink link; local
946 BPrivate::AppServerLink link; local
960 BPrivate::AppServerLink link; local
974 BPrivate::AppServerLink link; local
986 BPrivate::AppServerLink link; local
1101 BPrivate::AppServerLink link; local
1114 BPrivate::AppServerLink link; local
1370 BPrivate::AppServerLink link; local
1389 BPrivate::AppServerLink link; local
1429 BPrivate::AppServerLink link; local
1448 BPrivate::AppServerLink link; local
1466 BPrivate::AppServerLink link; local
1494 BPrivate::AppServerLink link; local
1530 BPrivate::AppServerLink link; local
1544 BPrivate::AppServerLink link; local
1568 BPrivate::AppServerLink link; local
1593 BPrivate::AppServerLink link; local
1606 BPrivate::AppServerLink link; local
[all...]
/haiku/docs/interface_guidelines/docbook-css/
H A Dopera.css14 * Discovered -o-link from,
18 -o-link: attr(url);
19 -o-link-source: current;
/haiku/src/preferences/appearance/
H A DSysCursorAPI.cpp13 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 DMinMaxHeap.h91 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 DHeap.h93 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 DCursor.cpp52 BPrivate::AppServerLink link;
53 link.StartMessage(AS_CREATE_CURSOR);
54 link.Attach(cursorData, 68);
57 if (link.FlushWithReply(status) == B_OK && status == B_OK) {
58 link.Read<int32>(&fServerToken);
123 BPrivate::AppServerLink link; local
124 link.StartMessage(AS_REFERENCE_CURSOR);
125 link.Attach<int32>(fServerToken);
164 BPrivate::AppServerLink link; local
165 link
[all...]
H A DAppMisc.cpp211 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 DPackageLinkDirectory.cpp42 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 DSwitchWorkspaceInputFilter.cpp76 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 Dcache.c67 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 DServerApp.cpp138 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/libnetapi/
H A DGopherRequest.cpp44 * gopher://gopher.floodgap.com/1/gopher broken link
63 GOPHER_TYPE_TELNET = '8', /**< telnet link */
448 BString link("gopher://");
451 link << fields.StringAt(FIELD_HOST);
453 link << ":" << fields.StringAt(FIELD_PORT);
454 link << "/" << type;
456 // link << "/";
457 link << fields.StringAt(FIELD_SELECTOR);
460 _HTMLEscapeString(link);
467 item << "<a href=\"" << link << "\">"
[all...]
/haiku/src/servers/app/
H A DServerApp.cpp531 ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver& link) argument
599 status_t status = _CreateWindow(code, link, clientReplyPort);
614 if (link.Read<team_id>(&team) == B_OK)
622 if (link.Read<int32>(&serverToken) == B_OK)
630 if (link.Read<int32>(&workspace) == B_OK)
638 if (link.Read<int32>(&workspace) == B_OK)
646 if (link.Read<team_id>(&team) == B_OK)
654 if (link.Read<team_id>(&team) == B_OK)
664 link.Read<int32>(&token);
665 if (link
3402 _CreateWindow(int32 code, BPrivate::LinkReceiver& link, port_id& clientReplyPort) argument
[all...]
H A DServerWindow.cpp504 ServerWindow::_CreateView(BPrivate::LinkReceiver& link, View** _parent) argument
520 link.Read<int32>(&token);
521 link.ReadString(&name);
522 link.Read<BRect>(&frame);
523 link.Read<BPoint>(&scrollingOffset);
524 link.Read<uint32>(&resizeMask);
525 link.Read<uint32>(&eventMask);
526 link.Read<uint32>(&eventOptions);
527 link.Read<uint32>(&flags);
528 link
601 _DispatchMessage(int32 code, BPrivate::LinkReceiver& link) argument
1209 _DispatchViewMessage(int32 code, BPrivate::LinkReceiver &link) argument
2479 _DispatchViewDrawingMessage(int32 code, BPrivate::LinkReceiver &link) argument
3241 _DispatchPictureMessage(int32 code, BPrivate::LinkReceiver& link) argument
[all...]
H A DTestServerLoopAdapter.cpp58 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
/haiku/src/tests/servers/app/
H A Dapp_server_debug.cpp20 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/libs/compat/freebsd_network/compat/sys/
H A D_callout.h15 struct list_link link; member in struct:callout
/haiku/src/servers/app/stackandtile/
H A DStacking.cpp34 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)
84 link.Read<port_id>(&port);
85 link.Read<int32>(&token);
86 if (link.Read<team_id>(&team) != B_OK)
109 if (link
33 HandleMessage(SATWindow* sender, BPrivate::LinkReceiver& link, BPrivate::LinkSender& reply) argument
[all...]
/haiku/src/tests/kits/net/
H A Dlink_echo.cpp126 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());

Completed in 216 milliseconds

12345678910