Searched refs:used (Results 1 - 25 of 78) sorted by last modified time

1234

/haiku/src/apps/drivesetup/
H A DDiskView.cpp177 BRect used(b.LeftTop(), BSize(b.Width() / (100.0 / fUsed), b.Height()));
186 FillRect(used, B_SOLID_LOW);
/haiku/src/apps/terminal/
H A DTermWindow.cpp1939 "can be used:\n")) << kToolTipSetTabTitlePlaceholders << "\n"
1969 "can be used:\n")) << kToolTipSetWindowTitlePlaceholders << "\n"
2074 bool used = false; local
2079 used = true;
2084 if (!used)
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.h63 uint8 used; member in struct:xhci_endpoint
H A Dxhci.cpp655 // find out which protocol is used for each port
1099 endpoint->used, pipe, pipe->EndpointAddress());
1155 endpoint->used = 0;
1173 // as otherwise the endpoint could get "stuck" by having the "used"
1536 TRACE_ERROR("AllocateDevice: slot already used\n");
1671 endpoint0->used = 0;
1905 endpoint->used = 0;
2007 // "used" refers to the number of currently linked TDs, not the number of
2008 // used TRBs on the ring (we use 2 TRBs on the ring per transfer.)
2010 if (endpoint->used >
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c12 * contributors may be used to endorse or promote products derived from
425 qidx_t used; local
428 used = pidx - cidx;
430 used = size - cidx + pidx;
432 used = 0;
434 used = size;
438 return (used);
905 * This function is used both at initialization and in rxsync.
2230 * RDH points to the next receive descriptor to be used by the NIC,
3208 * 'npending' is used i
[all...]
/haiku/headers/posix/
H A Dregex.h40 /* The following bits are used to determine the regexp syntax we
166 /* This bit is used internally like RE_CONTEXT_INDEP_ANCHORS but only
181 some interfaces). When a regexp is compiled, the syntax used is
352 `unsigned char *' because its elements are sometimes used as
359 /* Number of bytes actually used in `buffer'. */
360 unsigned long int __REPB_PREFIX(used);
380 Well, in truth it's used only in `re_search_2', to see whether or
466 /* Compile a fastmap for the compiled pattern in BUFFER; used to
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp263 // ancillary data is not used by TCP
1168 size_t count = 16, used = 0; local
1171 vecs[used].iov_base = &pcap_header;
1172 vecs[used].iov_len = sizeof(pcap_header);
1173 used++;
1175 vecs[used].iov_base = &ip_header;
1176 vecs[used].iov_len = sizeof(ip_header);
1177 used++;
1179 used += gNetBufferModule.get_iovecs(buffer, vecs + used, coun
[all...]
/haiku/src/servers/app/
H A DWindow.h122 // make private? when used inside Window, it has the ReadLock()
146 // generic version, used by the Desktop
153 // can be used from inside classes that don't
404 void SetUsed(bool used);
H A DWindow.cpp149 // (so that it is always used when the workspace is changed)
473 // is used once to make sure it is valid, then fVisibleContentRegion
474 // is used directly)
898 different button has been used or a different window was targeted). This
1457 the value is -1, the window's current workspace will be used.
1493 the value is -1, the window's current workspace will be used.
1919 // (View::IsBackgroundDirty() can be used
2097 Window::UpdateSession::SetUsed(bool used) argument
2099 fInUse = used;
/haiku/src/system/kernel/
H A Dsem.cpp107 } used; member in union:sem_entry::__anon1
118 ThreadQueue queue; // should be in u.used, but has a constructor
158 || (last != -1 && sem->u.used.last_acquirer != last)
159 || (name != NULL && strstr(sem->u.used.name, name) == NULL)
160 || (owner != -1 && sem->u.used.owner != owner))
165 " %s\n", sem, sem->id, sem->u.used.count,
166 sem->u.used.owner,
167 sem->u.used.last_acquirer > 0 ? sem->u.used.last_acquirer : 0,
168 sem->u.used
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp3 * This file may be used under the terms of the MIT License.
34 /*! Simple array used for the duplicate handling in the B+Tree. This is an
2092 /*! Removes the specified key from the tree. The "value" parameter is only used
2977 used fragment count; at least, it can only count to two: it returns
2978 0, if there is no fragment used, 1 if there is only one fragment
2979 used, and 2 if there are at least 2 fragments used.
2984 uint32 used = 0; local
2987 if (array->Count() > 0 && ++used > 1)
2988 return used;
[all...]
/haiku/
H A Dconfigure20 packages will be used, instead they will be built
72 used outside of the Haiku build system.
76 architecture will be used.
90 available, they will be used to store hashes for
107 HAIKU_OBJCOPY_<arch> The <arch> objcopy to be used. Defaults to
341 # determine whether graphite loop optimization should/can be used
350 echo "GCC Graphite loop optimizations cannot be used on $targetArch"
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioQueue.cpp187 physAddr + ((addr_t)fRing.used - (addr_t)fRing.desc));
255 if (fRingUsedIndex == fRing.used->idx)
260 struct vring_used_elem *element = &fRing.used->ring[usedIndex];
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dwrapper.cpp189 // search for block in the used list (very slow!)
196 printf("freed block not in used list!\n");
595 int used = 0; local
606 used += classUsed;
611 stats.bytes_used = used;
613 stats.bytes_free = allocated - used;
/haiku/src/bin/bfs_tools/lib/
H A DBitmap.cpp66 // set root block, block bitmap, log as used
83 // calculate used blocks
138 Bitmap::BackupSetAt(off_t block, bool used) argument
151 if (used)
161 Bitmap::BackupSet(Inode *inode, bool used) argument
169 BackupSetAt(inode->Block(),used);
185 if (!BackupSetAt(block, used)) {
198 BackupSetAt(fDisk->ToBlock(node->data.indirect), used);
223 if (!BackupSetAt(block, used))
236 BackupSetAt(fDisk->ToBlock(node->data.double_indirect), used);
[all...]
/haiku/src/bin/
H A Dleak_analyser.sh25 excludes is used that removes known allocations that are never
H A Dlistport.c50 int32 max = 0, used = 0, left; local
55 used = sys.used_ports;
58 left = max - used;
61 "used: %5" B_PRId32 ", "
64 used,
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c683 int free, idx, used; local
708 used = rge_encap(q, m, idx);
709 if (used == 0) {
714 KASSERT(used <= free);
715 free -= used;
722 idx += used;
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp110 uint32 used; member in struct:swap_block
257 kprintf("used: %9" B_PRIu32 "\n", totalSwapPages - freeSwapPages);
303 // if this swap file has used more than 90% percent of its space
567 if (--swapBlock->used == 0) {
645 if (sourceSwapBlock == NULL || sourceSwapBlock->used == 0) {
652 for (; left > 0 && sourceSwapBlock->used > 0;
670 swapBlock->used = 0;
687 swapBlock->used++;
691 sourceSwapBlock->used--;
705 if (sourceSwapBlock->used
[all...]
/haiku/headers/private/userlandfs/fuse/
H A Dfuse_common.h288 * used to seek to the given offset before performing
329 * If splice is used, try to move pages from the source to the
480 # error On FreeBSD API version 25 or greater must be used
/haiku/src/add-ons/kernel/partitioning_systems/common/
H A DPartitionMap.h32 bool used; member in struct:partition_type
59 // an invalid CHS value, to notify the BIOS that LBA should be used instead.
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp82 uint16 used; // defines how much memory is used by this node member in struct:data_node
123 uint16 space = used + header->tail_space;
622 dprintf(" node %p, offset %lu, used %u, header %u, tail %u, "
623 "header %p\n", node, node->offset, node->used, node->HeaderSpace(),
630 dump_block((char*)node->start, min_c(node->used, 64), " ");
683 size += node->used;
956 node->used = 0;
995 // Move all used and tail space to the header space, which is useful in case
1016 while (node != NULL && node->offset + node->used <
1782 size_t used = buffer->size; local
[all...]
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dmode.cpp463 g. [DevCPT] Configure and enable Transcoder DisplayPort Control if DisplayPort will be used
651 // it is apparently used for something else on some Atom machines (no
/haiku/src/build/libgnuregex/
H A Dregex.c49 /* We used to test for `BSTRING' here, but only GCC and Emacs define
122 /* isalpha etc. are used for the character classes. */
170 re_search* or re_match* could cause memory leaks when C-g is used in
322 match; otherwise change to jump. This is used to jump
333 before the first repeat. Also used as an intermediary kind
730 print_partial_compiled_pattern (buffer, buffer + bufp->used);
731 printf ("%d bytes used/%d bytes allocated.\n", bufp->used, bufp->allocated);
1056 `used' is set to the length of the compiled pattern;
1073 they can be reliably used a
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.c60 * enum ntfs_compression_constants - constants used in the compression code
129 * This function is heavily used; it has to be optimized carefully.
320 * longer. This is the same strategy used by the high
412 /* Store the tag if fully used. */
421 /* Store the last tag if partially used. */
642 * is used at the moment. Please, do not make this function available for use
1445 s64 used, s64 reserved, BOOL appending,
1461 freecnt = (reserved - used) >> vol->cluster_size_bits;
1465 /* skip entries fully used, if any */
1444 ntfs_compress_free(ntfs_attr *na, runlist_element *rl, s64 used, s64 reserved, BOOL appending, VCN *update_from) argument

Completed in 196 milliseconds

1234