/haiku-fatelf/src/system/kernel/util/ |
H A D | list.cpp | 14 /** Initializes the list with a specified offset to the link 21 list->link.next = list->link.prev = &list->link; 33 /** Adds a link to the head of the list 39 list_link *link = (list_link *)_link; local 41 link->next = list->link.next; 42 link->prev = &list->link; 55 list_link *link = (list_link *)_link; local 72 list_link *link = (list_link *)_link; local 80 get_next_link(struct list *list, list_link *link) argument 90 get_prev_link(struct list *list, list_link *link) argument 108 list_link *link; local 127 list_link *link; local 175 list_link *link; local 200 list_link *link; local 217 list_link *link; local [all...] |
/haiku-fatelf/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-fatelf/src/bin/coreutils/man/ |
H A D | link.x | 2 link \- call the link function to create a link to a file 6 link(2)
|
H A D | readlink.x | 2 readlink \- print value of a symbolic link or canonical file name
|
/haiku-fatelf/src/kits/network/libbind/include/isc/ |
H A D | list.h | 27 #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-fatelf/src/libs/tiff/ |
H A D | tif_extension.c | 69 TIFFClientInfoLink *link = tif->tif_clientinfo; local 71 while( link != NULL && strcmp(link->name,name) != 0 ) 72 link = link->next; 74 if( link != NULL ) 75 return link->data; 83 TIFFClientInfoLink *link = tif->tif_clientinfo; local 86 ** Do we have an existing link with this name? If so, just 89 while( link ! [all...] |
/haiku-fatelf/src/bin/gdb/gdb/osf-share/ |
H A D | cma_list.h | 46 #define cma__list_empty(head) ((head)->link == cma__c_null_list) 51 #define cma__list_init(head) (void)((head)->link = cma__c_null_list) 59 (element)->link = (list)->link, \ 60 (list)->link = (element)) 66 #define cma__list_next(element) ((element)->link) 73 struct CMA__T_LIST *link; /* Forward link */ member in struct:CMA__T_LIST
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | close-hook.c | 36 /* The first and last link in the doubly linked list. 57 register_close_hook (close_hook_fn hook, struct close_hook *link) argument 59 if (link->private_next == NULL && link->private_prev == NULL) 61 /* Add the link to the doubly linked list. */ 62 link->private_next = anchor.private_next; 63 link->private_prev = &anchor; 64 link->private_fn = hook; 65 anchor.private_next->private_prev = link; 66 anchor.private_next = link; 77 unregister_close_hook(struct close_hook *link) argument [all...] |
H A D | close-hook.h | 62 extern void register_close_hook (close_hook_fn hook, struct close_hook *link); 65 extern void unregister_close_hook (struct close_hook *link);
|
/haiku-fatelf/src/tests/kits/storage/ |
H A D | SymLinkTest.cpp | 106 BSymLink link; local 107 CPPUNIT_ASSERT( link.InitCheck() == B_NO_INIT ); 113 BSymLink link(fileLink); 114 CPPUNIT_ASSERT( link.InitCheck() == B_OK ); 118 BSymLink link(nonExisting); 119 CPPUNIT_ASSERT( link.InitCheck() == B_ENTRY_NOT_FOUND ); 123 BSymLink link((const char *)NULL); 124 CPPUNIT_ASSERT( equals(link.InitCheck(), B_BAD_VALUE, B_NO_INIT) ); 128 BSymLink link(""); 129 CPPUNIT_ASSERT( link 334 BSymLink link; local 504 BSymLink link; local 581 BSymLink link; local 803 BSymLink link; local 846 BSymLink link; local 873 BSymLink link; local 881 BSymLink link; local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/ |
H A D | Chain.h | 23 void Add(Link *link) argument 25 link->fNext = fFirst; 26 fFirst = link; 29 void Remove(Link *link) argument 33 for (entry = fFirst;link != entry;entry = entry->fNext) 35 if (link == entry) { 37 last->fNext = link->fNext; 39 fFirst = link->fNext;
|
/haiku-fatelf/src/kits/interface/ |
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 726 BPrivate::AppServerLink link; local 744 BPrivate::AppServerLink link; local [all...] |
H A D | Font.cpp | 148 BPrivate::AppServerLink link; local 149 link.StartMessage(AS_GET_FONT_LIST_REVISION); 152 if (link.FlushWithReply(code) != B_OK || code != B_OK) 156 link.Read<int32>(&revision); 177 BPrivate::AppServerLink link; local 180 link.StartMessage(AS_GET_FAMILY_AND_STYLES); 181 link.Attach<int32>(index); 184 if (link.FlushWithReply(status) != B_OK 192 link.ReadString(family->name); 193 link 337 BPrivate::AppServerLink link; local 394 BPrivate::AppServerLink link; local 409 BPrivate::AppServerLink link; local 573 BPrivate::AppServerLink link; local 602 BPrivate::AppServerLink link; local 702 BPrivate::AppServerLink link; local 815 BPrivate::AppServerLink link; local 842 BPrivate::AppServerLink link; local 864 BPrivate::AppServerLink link; local 990 BPrivate::AppServerLink link; local 1106 BPrivate::AppServerLink link; local 1132 BPrivate::AppServerLink link; local 1181 BPrivate::AppServerLink link; local 1225 BPrivate::AppServerLink link; local 1270 BPrivate::AppServerLink link; local 1302 BPrivate::AppServerLink link; local [all...] |
H A D | InterfaceDefs.cpp | 218 BPrivate::AppServerLink link; local 219 link.StartMessage(AS_GET_WORKSPACE_LAYOUT); 222 if (link.FlushWithReply(status) == B_OK && status == B_OK) { 223 link.Read<int32>(&columns); 224 link.Read<int32>(&rows); 240 BPrivate::AppServerLink link; 241 link.StartMessage(AS_SET_WORKSPACE_LAYOUT); 242 link.Attach<int32>(columns); 243 link.Attach<int32>(rows); 244 link 254 BPrivate::AppServerLink link; local 265 BPrivate::AppServerLink link; local 279 BPrivate::AppServerLink link; local 290 BPrivate::AppServerLink link; local 304 BPrivate::AppServerLink link; local 315 BPrivate::AppServerLink link; local 329 BPrivate::AppServerLink link; local 340 BPrivate::AppServerLink link; local 803 BPrivate::AppServerLink link; local 817 BPrivate::AppServerLink link; local 830 BPrivate::AppServerLink link; local 890 BPrivate::AppServerLink link; local 904 BPrivate::AppServerLink link; local 918 BPrivate::AppServerLink link; local 930 BPrivate::AppServerLink link; local 1045 BPrivate::AppServerLink link; local 1058 BPrivate::AppServerLink link; local 1097 BPrivate::AppServerLink link; local 1208 BPrivate::AppServerLink link; local 1227 BPrivate::AppServerLink link; local 1264 BPrivate::AppServerLink link; local 1292 BPrivate::AppServerLink link; local 1328 BPrivate::AppServerLink link; local 1342 BPrivate::AppServerLink link; local 1366 BPrivate::AppServerLink link; local 1391 BPrivate::AppServerLink link; local 1404 BPrivate::AppServerLink link; local [all...] |
/haiku-fatelf/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-fatelf/src/kits/app/ |
H A D | Cursor.cpp | 52 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 D | AppMisc.cpp | 194 create_desktop_connection(ServerLink* link, const char* name, int32 capacity) argument 205 link->SetTo(serverPort, clientPort); 207 link->StartMessage(AS_GET_DESKTOP); 208 link->Attach<port_id>(clientPort); 209 link->Attach<int32>(getuid()); 210 link->AttachString(getenv("TARGET_SCREEN")); 211 link->Attach<int32>(AS_PROTOCOL_VERSION); 214 if (link->FlushWithReply(code) != B_OK || code != B_OK) { 215 link->SetSenderPort(-1); 219 link [all...] |
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | rename.c | 29 if (link (zfrom, zto) < 0) 34 || link (zfrom, zto) < 0)
|
/haiku-fatelf/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-fatelf/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-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | PackageLinkDirectory.cpp | 40 while (DependencyLink* link = fDependencyLinks.RemoveHead()) 41 link->ReleaseReference(); 165 DependencyLink* link = it.Next();) { 166 NodeWriteLocker linkLocker(link); 167 listener->PackageLinkNodeAdded(link); 177 while (DependencyLink* link = fDependencyLinks.RemoveHead()) { 178 NodeWriteLocker linkLocker(link); 180 listener->PackageLinkNodeRemoved(link); 182 RemoveChild(link); 184 link 250 DependencyLink* link = static_cast<DependencyLink*>(node); local 256 DependencyLink* link = new(std::nothrow) DependencyLink( local [all...] |
/haiku-fatelf/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-fatelf/src/servers/app/ |
H A D | ServerApp.cpp | 522 ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver& link) argument 590 status_t status = _CreateWindow(code, link, clientReplyPort); 605 if (link.Read<team_id>(&team) == B_OK) 613 if (link.Read<int32>(&serverToken) == B_OK) 621 if (link.Read<int32>(&workspace) == B_OK) 629 if (link.Read<int32>(&workspace) == B_OK) 637 if (link.Read<team_id>(&team) == B_OK) 645 if (link.Read<team_id>(&team) == B_OK) 655 link.Read<int32>(&token); 656 if (link 3268 _CreateWindow(int32 code, BPrivate::LinkReceiver& link, port_id& clientReplyPort) argument [all...] |
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | convert.c | 54 /* Set of HTML/CSS files downloaded in this Wget run, used for link 210 struct urlpos *link; local 267 for (link = links; link; link = link->next) 269 char *url_start = fm->content + link->pos; 271 if (link->pos >= fm->length) 277 if (link->convert == CO_NOCONVERT) 279 DEBUGP (("Skipping %s at position %d.\n", link 370 char *link; local [all...] |
/haiku-fatelf/src/bin/network/wget/tests/ |
H A D | Test--spider-r--no-content-disposition-trivial.px | 18 Some text and a link to a <a href="http://localhost:{{port}}/secondpage.html">second page</a>. 19 Also, a <a href="http://localhost:{{port}}/nonexistent">broken link</a>. 32 Some text and a link to a <a href="http://localhost:{{port}}/thirdpage.html">third page</a>. 33 Also, a <a href="http://localhost:{{port}}/nonexistent">broken link</a>. 46 Some text and a link to a <a href="http://localhost:{{port}}/dummy.txt">text file</a>. 47 Also, another <a href="http://localhost:{{port}}/againnonexistent">broken link</a>.
|