/haiku/src/servers/app/decorator/ |
H A D | Decorator.cpp | 178 Decorator::MoveTab(int32 from, int32 to, bool isMoving, BRegion* updateRegion) argument 182 if (_MoveTab(from, to, isMoving, updateRegion) == false) 184 if (fTabList.MoveItem(from, to) == false) { 186 _MoveTab(from, to, isMoving, updateRegion); 216 /*! \brief Assigns a display driver to the decorator 246 // we're nice to our subclasses - we make sure B_NOT_{H|V|}_RESIZABLE 536 // TODO: maybe it would be cleaner to handle the redraw here. 599 tab hits. Derived classes must override/enhance it to handle borders and 602 \param where The point to be tested. 647 If a subclass implements this method, be sure to cal [all...] |
H A D | TabDecorator.cpp | 67 // methods to the Decorator base class 96 \param updateRect The rectangular area to update. 152 // to check explicitly, if it has been it. 362 // distance from one item of the tab bar to another. 424 // make sure fTabOffset is within limits and apply it to 557 // Update the rect to guarantee it updates all the tabs 728 // to include it into the dirty region in it's 860 // Get a rect of all the tabs to the right - they will all be moved 874 TabDecorator::_MoveTab(int32 from, int32 to, bool isMoving, argument 877 Decorator::Tab* toTab = _TabAt(to); [all...] |
/haiku/headers/private/net/ |
H A D | net_datalink.h | 127 struct sockaddr** to, bool replaceWithZeros,
|
/haiku/src/apps/cortex/NodeManager/ |
H A D | NodeGroup.cpp | 16 * 3. The name of the author may not be used to endorse or promote products 106 // hand off to IObservable 130 // [e.moon 13oct99] moved to header 203 // first node? the transport is now ready to start 224 // add to cycle set if need be 256 // the manager lock applies to it 301 // // +++++ stop & set to invalid state? 396 // When cycle mode is enabled, this is the point to which each 421 // too late to change start position; defer 428 // not at deadline yet; fall through to se 1356 _changeState( transport_state_t to) argument 1374 _changeState( transport_state_t from, transport_state_t to) argument [all...] |
/haiku/src/kits/tracker/ |
H A D | TitleView.cpp | 8 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 this software and associated documentation files (the "Software"), to deal in 10 the Software without restriction, including without limitation the rights to 12 of the Software, and to permit persons to whom the Software is furnished to do 13 so, subject to the following conditions: 15 The above copyright notice and this permission notice applies to all licensees 26 used in advertising or otherwise to promote the sale, use or other dealings in 68 _DrawLine(BPoseView* view, BPoint from, BPoint to) argument 79 _UndrawLine(BPoseView* view, BPoint from, BPoint to) argument [all...] |
/haiku/src/bin/network/traceroute/ |
H A D | traceroute.c | 14 * the University nor the names of its contributors may be used to endorse 23 * traceroute host - trace the route ip packets follow going to "host". 25 * Attempt to trace the route an ip packet would follow to some 27 * packets with a small ttl (time to live) then listening for an 30 * unreachable" (which means we got to "host") or hit a max (which 31 * defaults to net.inet.ip.ttl hops & can be changed with the -m flag). 41 * host to process them so the destination port is set to an 48 * traceroute to ni 500 register struct sockaddr_in *to = (struct sockaddr_in *)&whereto; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | mwlhal.c | 15 * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 82 * The first 2 streams map to h/w; the remaining streams are 132 uint8_t macid; /* for passing to f/w */ 142 * submitting operations to the firmware. Access to this 144 * we spin waiting for cmds to complete which is bad. Not 145 * sure if it's possible to submit multiple requests or 147 * documentation and no example code to indicate what can 150 * the system comes to a crawl as we spin waiting for operations 151 * to finis 1672 cvtPeerInfo(PeerInfo_t *to, const MWL_HAL_PEERINFO *from) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | NFS4Inode.cpp | 360 NFS4Inode::RenameNode(Inode* from, Inode* to, const char* fromName, argument 365 ASSERT(to != NULL); 383 req.PutFH(to->fInfo.fAttrDir); 385 req.PutFH(to->fInfo.fHandle); 400 // If we have to wait, migrate to another server, etc then the first 402 // were invalid then we need to update both Inodes. 405 retry |= to->HandleErrors(attempt, reply.NFS4Error(), server); 565 // need to check for race conditions. 599 // Verify if the file we want to ope [all...] |
/haiku/src/build/libgnuregex/ |
H A D | regex.c | 19 along with this program; if not, write to the Free Software 22 /* AIX requires this to be the first thing in the file. */ 49 /* We used to test for `BSTRING' here, but only GCC and Emacs define 172 the other hand, malloc is more portable, and easier to debug. 174 Because we sometimes use alloca, some routines have to be macros, 243 So regex.h defines a symbol `RE_EXACTN_VALUE' to be 1; the value of 256 /* Matches any one char belonging to specified set. First 260 bit is 1. A character too large to have a bit in the map is 270 the range 0 to one less than the pattern buffer's re_nsub 272 inner to thi [all...] |
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.c | 144 static void strdecode( char* to, char* from ); 146 static void strencode( char* to, int tosize, char* from ); 193 ** non-blocking I/O to avoid stalling the server, but when it is called 194 ** from a sub-process it wants to use blocking I/O so that the whole 196 ** of a hack but it seems to do the right thing. 408 /* Bind to it. */ 413 poorman_log("can't bind to socket.\n", false, NULL, RED); 418 /* Set the listen file descriptor to no-delay / non-blocking mode. */ 423 poorman_log("can't listen to socket.\n", false, NULL, RED); 497 /* Conditional macro to allo 1246 strdecode( char* to, char* from ) argument 1265 strencode( char* to, int tosize, char* from ) argument [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_subr_sbuf.c | 60 # define va_copy(to, from) __va_copy(to, from) 188 * If buf is non-NULL, it points to a static or already-allocated string 189 * big enough to hold at least length characters. 202 ("attempt to create an sbuf smaller than %d bytes", 221 * If buf is non-NULL, it points to a static or already-allocated string 222 * big enough to hold at least length characters. 229 ("attempt to create an sbuf of negative length (%d)", length)); 318 * Set the sbuf's end position to an arbitrary value. 329 ("attempt to see [all...] |
/haiku/src/apps/mail/ |
H A D | Header.cpp | 8 Permission is hereby granted, free of charge, to any person obtaining a copy of 9 this software and associated documentation files (the "Software"), to deal in 10 the Software without restriction, including without limitation the rights to 12 of the Software, and to permit persons to whom the Software is furnished to do 13 so, subject to the following conditions: 15 The above copyright notice and this permission notice applies to all licensees 26 used in advertising or otherwise to promote the sale, use or other dealings in 339 // default account is invalid, set to marke 485 SetTo(const char* to) argument [all...] |
/haiku/src/bin/mail_utils/ |
H A D | mbox2mail.cpp | 11 handles news files from rn and trn, which have messages very similar to mail 48 STD_HDR_REPLY, /* Things in the reply-to: field. */ 74 * Global utility function to display an error message and return. The message 76 * ", error code $X (standard description)." appended to it. If the message 77 * is NULL then it gets defaulted to "Something went wrong". 119 * to "From blah Day MMM NN XX:XX:XX TZONE1 YYYY TZONE2". Blah is an e-mail 321 /* Skip over the newsgroup name (no spaces) to the colon. */ 339 * Saves the message text to a file in the output directory. The file name is 360 end the message with a single new line to avoid annoying text editors that 361 like to hav [all...] |
/haiku/src/kits/midi/ |
H A D | SoftSynth.cpp | 72 // created, it is assigned to the global variable be_synth. While 112 // We first search for a setting file (or symlink to it) 206 BSoftSynth::RemapInstrument(int16 from, int16 to) argument 216 // TODO: we may decide not to support this function because it's weird!
|
/haiku/src/servers/app/ |
H A D | Window.h | 57 bool Move(int32 from, int32 to); 114 // setting and getting the "hard" clipping, you need to have 117 // you need to have ReadLock()ed the clipping! 154 // need to know about Desktop (first version uses Desktop) 202 // some hooks to inform the client window 203 // TODO: move this to ServerWindow maybe? 347 // has to be called 352 // Our part of the "global" dirty region (what needs to be redrawn). 353 // It is calculated from the desktop thread, but we can write to it when we read locked 359 // windows. To avoid glitches, it must be set to [all...] |
H A D | Window.cpp | 60 // when contents have to be redrawn because of resizing 65 // cleared right away. maybe there ought to be a flag in 144 // do we need to change our size to let the decorator fit? 155 // TODO: MOVE THIS AWAY!!! ResizeBy contains calls to virtual methods! 199 // clip to region still available on screen 210 // TODO: if someone needs to call this from 211 // the outside, the clipping needs to be readlocked! 213 // start from the decorator border, extend to use the frame 222 // TODO: if someone needs to cal 2260 MoveToStackPosition(int32 to, bool isMoving) argument 2385 Move(int32 from, int32 to) argument [all...] |
/haiku/src/kits/app/ |
H A D | MessageAdapter.cpp | 243 MessageAdapter::ConvertToKMessage(const BMessage* from, KMessage& to) argument 260 status_t status = to.AddArray(name, field->type, fieldData, 268 status_t status = to.AddData(name, field->type, fieldData, 489 // we may have to adjust this to account for padding later 523 // adjust the field size to the padded value
|
/haiku/src/add-ons/decorators/MacDecorator/ |
H A D | MacDecorator.cpp | 87 // We need to draw a few things: the tab, the borders, 686 // TODO may this change the other tabs too ? (to make space for a longer 760 // each decorator defaults to not having the focus. 793 MacDecorator::_MoveTab(int32 from, int32 to, bool isMoving, argument 799 MacDecorator::Tab* toTab = _TabAt(to); 803 if (from < to) { 827 // relative to the view. This is most often used to set a Window 921 // figure out which colors to use
|
/haiku/src/servers/input/ |
H A D | AddOnManager.cpp | 45 // TODO: probably better to the syslog 277 // We have to stop manually the add-ons because the monitor doesn't 328 TRACE("AddOnManager::RegisterAddOn(): trying to load \"%s\"\n", 376 TRACE("AddOnManager::UnregisterAddOn(): trying to unload \"%s\"\n", 593 ERROR("Deskbar refuses to add method replicant: %s\n", strerror(err)); 596 BMessenger to; local 605 to = BMessenger("application/x-vnd.Be-TSKB", -1); 609 if (to.SendMessage(&request, &reply) == B_OK 642 // So here we want to get the Unique ID of the replicant at the given index 667 // We send a message to th [all...] |
/haiku/src/tests/kits/interface/picture/ |
H A D | SVGViewView.cpp | 1034 BPoint to(GetFloatAttribute(attributes, "x2"), GetFloatAttribute(attributes, "y2")); 1037 fState.fMatrix.Transform(&to); 1039 StrokeLine(from, to);
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | datalink.cpp | 65 CODE(SIOCSIFDSTADDR) /* set point-to-point address */ 66 CODE(SIOCGIFDSTADDR) /* get point-to-point address */ 178 fill_address(const sockaddr* from, sockaddr* to, size_t maxLength) argument 182 return user_memcpy(to, from, min_c(from->sa_len, maxLength)); 190 return user_memcpy(to, &empty, min_c(2, maxLength)); 242 // A new alias is added to this interface 251 // A new interface needs to be added 317 // determine size of buffer to hold the routing table 342 // try to pass the request to a [all...] |
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 72 // It may be chosen with respect to the available memory or enhanced 99 /** \brief Structure to manage a mounted file system 104 (e.g. by holding a reference to a vnode of that mount) (read) access 105 to those fields is always safe, even without additional locking. Morever 106 while mounted the mount holds a reference to the covers_vnode, and thus 108 reference to vnode is held (note that for the root mount covers_vnode 130 * The holder is allowed to read/write access the sMountsTable. 146 * The thread trying to lock the lock must not hold sVnodeMutex or 153 * The holder is allowed to read access the vnode::covered_by field of any 156 * The thread trying to loc 1551 check_path(char *to) argument [all...] |
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6.cpp | 81 // We use uint32 here due to the hash function 94 status_t Reassemble(net_buffer* to); 318 // Search for a position in the list to insert the fragment 420 // We couldn't merge the fragments, so we need to add it as is 442 /*! Reassembles the fragments to the specified buffer \a to. 446 FragmentPacket::Reassemble(net_buffer* to) argument 457 if (to == fragment) { 468 if (buffer != to) 471 to [all...] |
/haiku/src/add-ons/kernel/network/protocols/ipv4/ |
H A D | ipv4.cpp | 79 status_t Reassemble(net_buffer* to); 279 // Search for a position in the list to insert the fragment 381 // We couldn't merge the fragments, so we need to add it as is 403 /*! Reassembles the fragments to the specified buffer \a to. 407 FragmentPacket::Reassemble(net_buffer* to) argument 418 if (to == fragment) { 429 if (buffer != to) 432 to->index = fIndex; 533 /*! Attempts to r [all...] |
/haiku/src/kits/media/ |
H A D | MediaRoster.cpp | 12 * Permission is hereby granted, free of charge, to any person obtaining 14 * thereof (the "Software"), to deal in the Software without restriction, 15 * including without limitation the rights to use, copy, modify, merge, 17 * and to permit persons to whom the Software is furnished to do so, subject 18 * to the following conditions: 38 /* to comply with the license above, do not remove the following line */ 264 // so we are enough safe to don't care about that. 299 _msg->MakeEmpty(); // to b 1004 Connect(const media_source& from, const media_destination& to, media_format* _format, media_output* _output, media_input* _input) argument 1012 Connect(const media_source& from, const media_destination& to, media_format* io_format, media_output* out_output, media_input* out_input, uint32 in_flags, void* _reserved) argument [all...] |