Searched refs:current (Results 51 - 75 of 168) sorted by last modified time

1234567

/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dkernel_interface.cpp248 Inode* current; member in struct:dir_cookie
261 Attribute* current; member in struct:attr_cookie
867 Inode* current = fFirstEntry; local
869 while (current != NULL) {
870 last = current;
871 current = current->Next();
1348 if (cookie->current == attribute) {
1349 cookie->current
1383 cookie->current
[all...]
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DDeviceList.cpp31 device_list_entry *current = fDeviceList; local
32 while (current) {
33 device_list_entry *next = current->next;
34 free(current->name);
35 delete current;
36 current = next;
60 device_list_entry *current = fDeviceList; local
61 while (current) {
62 if (current->next == NULL) {
63 current
83 device_list_entry *current = fDeviceList; local
133 device_list_entry *current = fDeviceList; local
148 device_list_entry *current = fDeviceList; local
170 device_list_entry *current = fDeviceList; local
[all...]
/haiku/src/system/kernel/
H A Dteam.cpp925 /*! Returns the team's current total CPU time (kernel + user + offset).
929 \param ignoreCurrentRun If \c true and the current thread is one team's
934 \return The team's current total CPU time.
964 /*! Returns the team's current user CPU time.
968 \return The team's current user CPU time.
1186 kprintf("No current team!\n");
1371 Team* current; local
1378 for (current = group->teams; current != NULL;
1379 current
[all...]
H A Dcpu.cpp70 cpufreq_module_info* current = NULL; local
75 if (get_module(name, (module_info**)&current) == B_OK) {
79 if (sCPUPerformanceModule->rank < current->rank) {
81 sCPUPerformanceModule = current;
85 sCPUPerformanceModule = current;
106 cpuidle_module_info* current = NULL; local
111 if (get_module(name, (module_info**)&current) == B_OK) {
115 if (sCPUIdleModule->rank < current->rank) {
117 sCPUIdleModule = current;
121 sCPUIdleModule = current;
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dusb.cpp76 usb_device current; local
78 current = *cookie;
81 config = sUSB->get_configuration(current);
88 result->haiku_usb_device = current;
/haiku/src/bin/debug/strace/
H A DNetworkTypes.cpp693 uint8 *current = buffer, *bufferEnd = buffer + bytesRead; local
695 if ((bufferEnd - current) < (IF_NAMESIZE + 1))
698 ifreq *ifr = (ifreq *)current;
701 if ((bufferEnd - current) < size)
710 current += size;
713 if (current < bufferEnd)
/haiku/src/add-ons/kernel/bus_managers/agp_gart/
H A Dagp_gart.cpp747 aperture_memory *current = fFirstMemory, *last = NULL; local
749 while (current != NULL) {
750 if (memory == current) {
752 last->next = current->next;
754 fFirstMemory = current->next;
759 last = current;
760 current = current->next;
/haiku/headers/private/kernel/util/
H A DOpenHashTable.h349 The iterator is not invalidated when removing the current element from
367 ValueType* current = fNext; local
369 return current;
/haiku/src/system/kernel/vm/
H A DVMAddressSpaceLocking.cpp512 for (VMArea* current = firstArea; current;
513 current = current->cache_next) {
514 error = AddArea(current,
515 current == area ? writeLockThisOne : writeLockOthers);
562 // Release all references to the current address spaces.
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dringbuff.c20 size_t current; /* index of next byte to read */ member in struct:ring_buffer
32 rb->current = 0;
39 rb->current = 0;
61 index = (rb->current + rb->avail) % rb->size;
88 index = rb->current;
97 rb->current += len;
104 rb->current = len;
H A Dringbuff.h10 size_t current; /* index of next byte to read */ member in struct:ring_buffer
/haiku/src/apps/devices/
H A DPropertyList.cpp107 PropertyRow* current = (PropertyRow*)RowAt(i); local
108 if (current->IsSelected())
109 strings << current->Name()
110 << "\t" << current->Value() << "\n";
/haiku/src/kits/interface/
H A DView.cpp331 // (that's NOT the current View visible clipping but the additional
1441 BMessage* current = fOwner->CurrentMessage(); local
1442 if (!current || current->FindPoint("be:view_where", &offset) != B_OK)
1636 // we get the current mouse location and buttons from the app_server
1688 // if we want to make this view the current focus view
2147 // This will update the current state, if necessary
2158 // This will update the current state, if necessary
5116 // queue, just ignore the current one, the newer one
6086 // current vie
[all...]
/haiku/headers/private/graphics/nvidia/
H A DDriverInterface.h322 display_mode dm; /* current display mode configuration: head1 */
323 uint32 dpms_flags; /* current DPMS mode */
345 uint32 current; /* first free 32-bit-word adress in buffer */ member in struct:__anon21::__anon23::__anon25
439 overlay_window ow; /* current position of overlay output window */
440 overlay_buffer ob; /* current inputbuffer in use */
441 overlay_view my_ov; /* current corrected view in inputbuffer */
442 uint32 h_ifactor; /* current 'unclipped' horizontal inverse scaling factor */
443 uint32 v_ifactor; /* current 'unclipped' vertical inverse scaling factor */
/haiku/src/kits/network/libnetservices/
H A DNetworkCookieJar.cpp203 const BNetworkCookie* current = list->ItemAt(i); local
204 if (current->Path().Length() < cookie->Path().Length())
674 // Get an element from the current list
H A DHttpTime.cpp112 // Save the current locale, switch to POSIX for strptime to match strings
114 locale_t current = uselocale(posix); local
132 uselocale(current);
/haiku/src/add-ons/screen_savers/ifs/
H A DIFS.cpp521 // with the contents of the current bitmap
569 // copy current points (white) and erase them from the
659 IFS::_RandomSimilitudes(FRACTAL* fractal, SIMILITUDE* current, int i) const argument
662 current->c_x = gauss_rand(0.0, .8, 4.0);
663 current->c_y = gauss_rand(0.0, .8, 4.0);
664 current->r = gauss_rand(fractal->r_mean, fractal->dr_mean, 3.0);
665 current->r2 = half_gauss_rand(0.0,fractal->dr2_mean, 2.0);
666 current->A = gauss_rand(0.0, 360.0, 4.0) * (M_PI / 180.0);
667 current->A2 = gauss_rand(0.0, 360.0, 4.0) * (M_PI / 180.0);
668 current
[all...]
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DResampler.cpp50 float current = 0.0f; local
63 current += delta;
64 int32 skipcount = (int32)current;
65 current -= skipcount;
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp766 decorator_bitmap* current = sBitmapList; local
767 while (current) {
768 if (current->item == item && current->down == down
769 && current->width == width && current->height == height
770 && current->baseColor == colors[COLOR_BUTTON]
771 && current->lightColor == colors[COLOR_BUTTON_LIGHT]) {
772 return current->bitmap;
775 current
[all...]
/haiku/src/add-ons/kernel/network/dns_resolver/kernel_add_on/
H A Ddns_resolver.cpp101 struct addrinfo* current = addr; local
102 while (current != NULL) {
103 uint64 addrOffset = reinterpret_cast<uint64>(current->ai_addr);
104 uint64 nameOffset = reinterpret_cast<uint64>(current->ai_canonname);
105 uint64 nextOffset = reinterpret_cast<uint64>(current->ai_next);
107 if (current->ai_addr != NULL) {
108 current->ai_addr
112 if (current->ai_canonname != NULL)
113 current->ai_canonname = generalOffset + nameOffset;
115 if (current
[all...]
/haiku/src/add-ons/kernel/network/dns_resolver/server/
H A Dmain.cpp35 const struct addrinfo* current = ai; local
36 while (current != NULL) {
37 if (current->ai_canonname != NULL)
38 namesSize += strlen(current->ai_canonname) + 1;
39 if (current->ai_addr != NULL) {
40 if (current->ai_family == AF_INET)
45 if (current->ai_next != NULL)
47 current = current->ai_next;
61 current
[all...]
/haiku/src/system/kernel/scheduler/
H A Dscheduler_cpu.h553 PackageEntry* current = &gPackageEntries[0]; local
555 if (gPackageEntries[i].fIdleCoreCount > current->fIdleCoreCount)
556 current = &gPackageEntries[i];
559 if (current->fIdleCoreCount == 0)
562 return current;
574 PackageEntry* current = &gPackageEntries[i]; local
576 int32 currentIdleCoreCount = current->fIdleCoreCount;
579 package = current;
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.c745 fs_node *current; local
749 current = ns->first;
751 while (current != NULL && current->vnid != vnid)
752 current = current->next;
756 return current->fhandle;
763 fs_node *current; local
767 current = ns->first;
769 while (current !
788 fs_node *current; local
822 fs_node *current; local
[all...]
/haiku/src/system/libroot/posix/glibc/locale/
H A Dlc-ctype.c1 /* Define current locale data for LC_CTYPE category.
40 #define current(type,x,offset) \ macro
/haiku/src/add-ons/kernel/network/stack/
H A Dnet_buffer.cpp138 // the current place where we allocate header space (nodes, ...)
752 int32 current = atomic_add(&sAllocatedDataHeaderCount, 1) + 1; local
754 if (current > max)
755 atomic_test_and_set(&sMaxAllocatedDataHeaderCount, current, max);
767 int32 current = atomic_add(&sAllocatedNetBufferCount, 1) + 1; local
769 if (current > max)
770 atomic_test_and_set(&sMaxAllocatedNetBufferCount, current, max);
913 // try to allocate in our current allocation header
1460 \return B_BAD_VALUE if you write outside of the buffers current
2063 /*! Stores the current heade
[all...]

Completed in 276 milliseconds

1234567