/haiku/src/kits/app/ |
H A D | Roster.cpp | 78 \param info A pointer to a pre-allocated app_info to be filled in with the 121 \param ref An entry_ref referring to the application executable. 126 \retval B_ENTRY_NOT_FOUND \a ref doesn't refer to and existing entry. 127 \retval B_IS_A_DIRECTORY \a ref refers to a directory. 201 /*! Compares two applications to decide which one should be rather 208 If one file has a version info, it is said to be greater. If both 211 \param app1 An entry_ref referring to the first application. 212 \param app2 An entry_ref referring to the second application. 311 \param appRef A pointer to 357 char* to = string + length; local [all...] |
/haiku/src/system/kernel/device_manager/ |
H A D | legacy_drivers.cpp | 282 /*! Collects all published devices of a driver, compares them to what the 385 // just in case someone decides to bump up the api version 488 /*! Unpublishes all devices belonging to the \a driver. */ 523 // TODO: would it be better to initialize a static structure here 656 // so that we don't have to go through it again 669 // We don't have to do anything here. 686 // The driver file has been changed, so we need to update its listener 780 // try to reload the driver 983 // get over to next directory on the stack 1071 ino_t to local [all...] |
/haiku/src/build/libroot/ |
H A D | fs.cpp | 214 // Note: Linux doesn't seem to translate dirent::d_ino of 215 // mount points. Thus we always have to lstat(). 216 // We also need to compare the device, which is generally not 263 // Add CWD to relative paths. 321 // path contains no slash, so it is a path relative to the current dir 370 // stat the path to check, if it is still valid 469 // copy it back to the user buffer 675 // a symlink not to be followed: create a special descriptor 888 // stat it to see, if it is a symlink 914 // We're screwed, if the node to manipulat 1558 _haiku_build_renameat(int fromFD, const char* from, int toFD, const char* to) argument [all...] |
/haiku/headers/private/audio/ |
H A D | hmulti_audio.h | 8 /* forces a change before the end of August, we will try to stay binary compatible */ 10 /* Send feedback to trinity@be.com [1999-07-02] */ 55 B_MULTI_SET_BUFFERS, /* Set what buffers to use, if the driver supports soft buffers. */ 57 B_MULTI_SET_START_TIME, /* When to actually start */ 91 /* sample rate parameter global to all channels (input and output rates respectively) */ 93 /* output sample rate locked to input sample rate (output_rates only; the common case!) */ 109 /* 32-bit floating point, -1.0 to 1.0 */ 111 /* 64-bit floating point, -1.0 to 1.0 */ 113 /* 80-bit floating point, -1.0 to 1.0 */ 117 /* format parameter global to al [all...] |
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | cdda.cpp | 81 // Convert to 2 or 3-byte representation 203 // try to extract artist from album 351 \a id, \a track, and \a state must stay constant between calls to this 352 function. \a state must be initialized to zero for the first call. 491 // ioctl fails, we switch to reading 8 frames at a time. However the 492 // last read can read between 1 and 7 frames only, to not overflow 510 // drive couldn't read data - try again to read with a smaller block size 716 // we don't handle the case where we would need to split the request
|
/haiku/src/kits/media/ |
H A D | TimeSource.cpp | 406 // send the run mode change to all slaved nodes 558 ERROR("BTimeSource::DirectAddMe should not add itself to slave nodes\n"); 633 BTimeSource::DirectSeek(bigtime_t to, bigtime_t at) argument
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | RequestBuilder.cpp | 578 RequestBuilder::Rename(const char* from, const char* to) argument 587 fRequest->Stream().AddString(to);
|
/haiku/src/apps/mail/ |
H A D | MailApp.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 134 "UTF-8", "This string is used as a key to se 1113 NewWindow(const entry_ref* ref, const char* to, bool resend, BMessenger* trackerMessenger) argument [all...] |
/haiku/src/libs/compat/openbsd_wlan/crypto/ |
H A D | sha2.c | 19 * may be used to endorse or promote products derived from this software 43 * You can define SHA2_UNROLL_TRANSFORM to use the unrolled transform 89 #error Define BYTE_ORDER to be equal to either LITTLE_ENDIAN or BIG_ENDIAN 100 * Macro for incrementally adding the unsigned 64-bit integer n to the 310 /* Rounds 0 to 15 (unrolled): */ 321 /* Now for the remaining rounds to 64: */ 371 /* Apply the SHA-256 compression function to update a..h */ 393 /* Apply the SHA-256 compression function to update a..h */ 495 /* Do second-to [all...] |
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 123 /*! \brief Structure to manage a mounted file system 128 (e.g. by holding a reference to a vnode of that mount) (read) access 129 to those fields is always safe, even without additional locking. Morever 130 while mounted the mount holds a reference to the root_vnode->covers vnode, 132 safe if a reference to vnode is held (note that for the root mount 216 The holder is allowed to read/write access the sMountsTable. 231 The thread trying to lock the lock must not hold sVnodeLock or 238 The holder is allowed read/write access to sVnodeTable and to 239 any unbusy vnode in that table, save to th 2670 check_path(char* to) argument 8138 user_copy_name(char* to, const char* from, size_t length) argument [all...] |
H A D | rootfs.cpp | 38 # define user_strlcpy(to, from, len) (strlcpy(to, from, len), FSSH_B_OK) 131 // extern only to make forward declaration possible 226 /*! Makes sure none of the dircookies point to the vnode passed in. */ 300 // make sure all dircookies dont point to this vnode 331 // schedule this vnode to be removed when it's ref goes to zero 444 // release the reference to the root 575 // can't remove node if it's linked to the dir 576 panic("rootfs_remove_vnode: vnode %p asked to b [all...] |
/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 18 * may be used to endorse or promote products derived from this software 132 int maxtimeout = 7200;/* don't allow idle time to be set beyond 2 hours */ 199 char *pid_file = NULL; /* means default location to pidfile(3) */ 210 * to hosts that don't accept PORT cmds. This 236 /* It's OK to put an `else' clause after this macro. */ 294 * more reason in logging to syslog. 444 syslog(LOG_ERR, "failed to become a daemon"); 459 * Open a socket, bind it to the FTP port, and start 479 * children to handle them. 576 * Disable Nagle on the control channel so that we don't have to wai [all...] |
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 175 // Unlock caches in source -> consumer direction. This is important to 455 //! You need to have the address space locked when calling this function 490 // init the page protections for all pages to that of the area 549 implementation might need to map this page. 600 // It also makes sense to move it from the inactive to the active, since 601 // otherwise the page daemon wouldn't come to keep track of it (in idle 731 // unlock all lower caches to prevent locking order inversion. 778 // unlock all lower caches to prevent locking order inversion. 789 // We do that by shrinking the area to th 5493 vm_memcpy_from_physical(void* to, phys_addr_t from, size_t length, bool user) argument 5500 vm_memcpy_to_physical(phys_addr_t to, const void* _from, size_t length, bool user) argument 5508 vm_memcpy_physical_page(phys_addr_t to, phys_addr_t from) argument 5621 user_memcpy(void* to, const void* from, size_t size) argument 5643 user_strlcpy(char* to, const char* from, size_t size) argument [all...] |
/haiku/src/apps/terminal/ |
H A D | BasicTerminalBuffer.cpp | 428 // check whether we are supposed to find words only 544 // convert pattern to UTF8Char array 554 // if not case sensitive, convert to lower case 657 // TODO: Deal correctly with full-width chars! We must take care not to 870 int32 to = fCursor.x; local 872 to++; 873 for (int32 i = 0; i <= to; i++) { 1161 // Transfer the lines from the old history to the new one. 1210 // push the first lines to the history 1274 // The width changes. We have to allocat [all...] |
/haiku/src/add-ons/decorators/WinDecorator/ |
H A D | WinDecorator.cpp | 57 // common colors to both focus and non focus state 85 \param updateRect The rectangular area to update. 93 // We need to draw a few things: the tab, the resize knob, the borders, 108 // Easy way to draw everything - no worries about drawing only certain 323 \param tab The \a tab to update. 324 \param rect The area of the \a tab to update. 341 // Draw the buttons if we're supposed to 349 The main tasks for this function are to ensure that the decorator draws 354 \param tab The \a tab to update. 355 \param rect area of the title to updat 641 _MoveTab(int32 from, int32 to, bool isMoving, BRegion* updateRegion) argument [all...] |
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_vm.cpp | 119 TRACE_MTRR("set MTRRs to:\n"); 207 // no upper limit -- set an artificial one, so we don't need to 213 // Align the range's base and end to the greatest power of two possible. 216 // Once one side hit a limit we need to be careful. We can still 276 // round count to power of 2 353 // consider it the reponsibility of the callers not to define overlapping 393 // we need to start a new range -- find the strictest pending range 421 // Extend ranges to be more MTRR-friendly. A range is MTRR friendly, when it 422 // has a power of two size and a base address aligned to the size. For 424 // MTRR-friendliness by aligning a range's base and end address to th 710 arch_vm_aspace_swap(struct VMAddressSpace *from, struct VMAddressSpace *to) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BPlusTree.h | 400 status_t Goto(int8 to);
|
H A D | BPlusTree.cpp | 246 // is hard-coded to 1024 bytes, that's not an issue now. 274 // The B+tree header has been updated - we need to update the 512 // add the node to the free nodes list 559 // the maximum_size has to be changed before the call to SetTo() - or 623 // if there are any TreeIterators left, we need to stop them 883 // It's not important to write it out in a single transaction; just 983 // any time, so we need to protect this loop 1104 /*! Prepares the stack to contain all nodes that were passed while 1105 following the key, from the root node to th 2580 Goto(int8 to) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300eep.h | 4 * Permission to use, copy, modify, and/or distribute this software for any 29 #error AH_BYTE_ORDER needs to be defined! 78 // Add additional definitions to the end. 171 /* Delta from which to start power to pdadc table */ 240 u_int16_t reg_dmn[2]; //Does this need to be outside of this structure, if it gets written after calibration 247 int8_t pwrTableOffset; // offset in dB to be added to beginning of pdadc table in calibration 251 //bit2 - enable fastClock - default to 1 252 //bit3 - enable doubling - default to [all...] |
/haiku/headers/os/support/ |
H A D | String.h | 326 BString& SetByteAt(int32 pos, char to); 452 // it in any way will cause the computer to explode
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | ddm_userland_interface.cpp | 36 // TODO: Replace all instances, when it has been decided how to handle 45 \a from is longer than \to. If \c false, returns \c B_NAME_TOO_LONG 46 if \a from is longer than \to. 49 ddm_strlcpy(char *to, const char *from, size_t size, argument 52 ssize_t fromLen = user_strlcpy(to, from, size); 313 The function passes the buffer size required to hold the data back 321 chosen, on which the partition \a id refers to resides. 332 \param _neededSize Pointer to a variable into which the actually needed 341 - \c B_NO_MEMORY: Insufficient memory to complete the operation. 362 // do a dry run first to ge [all...] |
/haiku/src/system/libroot/posix/glibc/regex/ |
H A D | regexec.c | 17 License along with the GNU C Library; if not, write to the Free 26 int str_idx, int from, int to) 210 If NMATCH is zero or REG_NOSUB was set in the cflags argument to 212 least NMATCH elements, and we set them to the offsets of the 289 re_search() first tries matching at index START, then it tries to match 291 is START + RANGE. (Thus RANGE = 0 forces re_search to operate the same 300 computed relative to the concatenation, not relative to the individual 453 /* Nothing can be copied to regs. */ 556 /* Set REGS to hol 4201 match_ctx_add_entry(re_match_context_t *mctx, int node, int str_idx, int from, int to) argument [all...] |
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 30 // TODO: this is a naive but growing implementation to test the API: 78 // block in the parent transaction. It may point to current_data if the 80 // block has been changed in the current sub transaction already, to a 103 // This is set to the last transaction that was ended containing this 108 // transaction ends, the changes of the previous transaction have to 153 // with the size set to that of the (slightly larger) cache_listener. 335 // wait for all blocks to be written 840 // Notify listener, we need to copy the notification, as it might 904 /*! Adds the notification to the pending notifications list, or, if it's 906 Also marks the notification to b 2468 int64 to = from; local [all...] |
/haiku/src/libs/iconv/ |
H A D | aliases.h | 29 #error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
|
/haiku/src/libs/stdc++/legacy/ |
H A D | iostream.cc | 16 along with this library; see the file COPYING. If not, write to the Free 21 compiled with a GNU compiler to produce an executable, this does not cause 22 the resulting executable to be covered by the GNU General Public License. 540 // Optimization: Only use long long when we need to. 891 { Is in osform.cc, to avoid pulling in all of _IO_vfprintf by this file. */ }
|