Searched refs:counter (Results 1 - 25 of 57) sorted by last modified time

123

/haiku/src/system/kernel/arch/generic/
H A Dacpi_irq_routing_table.cpp745 void* counter = NULL; local
747 childName, sizeof(childName), &counter) == B_OK) {
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DBusManager.cpp64 uint32* counter = (uint32*)context; local
71 if (counter[0] == counter[1]) {
86 counter[1]++;
469 size_t length, void **counter)
485 child = *counter;
491 *counter = newChild;
517 uint32 counter[2] = {index, 0}; local
522 counter, (void**)&buffer);
468 get_next_entry(uint32 objectType, const char *base, char *result, size_t length, void **counter) argument
H A DNamespaceDump.cpp94 void *counter = NULL; local
95 while (device->acpi->get_next_entry(ACPI_TYPE_ANY, root, result, 255, &counter) == B_OK) {
H A DModule.cpp74 void* counter = NULL; local
79 sizeof(result), &counter) == B_OK) {
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DEndpointManager.cpp476 uint32 counter = fLastPort + step; local
478 while (counter < max) {
479 uint16 port = counter & 0xffff;
500 counter += step;
/haiku/src/servers/registrar/
H A DRecentEntries.cpp254 int counter = 1; local
257 "name == '%s', app == '%s', index == %" B_PRId32 "\n", counter++,
H A DRecentApps.cpp170 int counter = 0; local
172 status == B_OK && counter < maxCount && item != fAppList.end();
173 counter++, item++) {
203 int counter = 1; local
205 printf("%d: '%s'\n", counter++, item->c_str());
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp1079 size_t counter[8]; local
1081 memset(counter, 0, sizeof(counter));
1104 counter[pageState]++;
1139 counter[PAGE_STATE_ACTIVE], busyCounter[PAGE_STATE_ACTIVE]);
1141 counter[PAGE_STATE_INACTIVE], busyCounter[PAGE_STATE_INACTIVE]);
1143 counter[PAGE_STATE_CACHED], busyCounter[PAGE_STATE_CACHED]);
1145 counter[PAGE_STATE_UNUSED], busyCounter[PAGE_STATE_UNUSED]);
1147 counter[PAGE_STATE_WIRED], busyCounter[PAGE_STATE_WIRED]);
1149 counter[PAGE_STATE_MODIFIE
[all...]
/haiku/src/apps/magnify/
H A DMagnify.cpp1679 static long counter = 0; local
1687 if (force || fLastLoc != loc || counter++ % 35 == 0) {
1691 counter = 0;
/haiku/src/kits/app/
H A DMessage.cpp455 int32 counter = -1; local
459 counter++;
461 if (counter == index) {
472 if (counter == -1)
/haiku/src/build/libbe/app/
H A DMessage.cpp369 int32 counter = -1; local
373 counter++;
375 if (counter == index) {
386 if (counter == -1)
/haiku/src/system/kernel/
H A Dsignal.cpp181 /*! Creates a counter with the given limit.
182 The limit defines the maximum the counter may reach. Since the
185 counter value.
186 \param limit The maximum allowed value the counter may have. When
196 /*! Increments the counter, if the limit allows that.
197 \return \c true, if incrementing the counter succeeded, \c false otherwise.
295 // increment the queued signals counter
296 QueuedSignalsCounter* counter
298 if (!counter->Increment())
304 counter
[all...]
H A Dguarded_heap.cpp396 guarded_heap_add_area(guarded_heap& heap, int32 counter, uint32 flags) argument
404 counter + 1, counter) == counter) {
429 int32 counter = atomic_get(&heap.area_creation_counter); local
433 bool added = guarded_heap_add_area(heap, counter, flags);
769 kprintf("area creation counter: %" B_PRId32 "\n",
/haiku/src/kits/network/libnetservices2/
H A DHttpSession.cpp54 void operator()(int32* counter) const noexcept { atomic_add(counter, -1); }
75 void SetCounter(int32* counter) noexcept;
119 // Connection counter
733 BHttpSession::Request::SetCounter(int32* counter) noexcept
735 fConnectionCounter = std::unique_ptr<int32, CounterDeleter>(counter);
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dif_var.h83 #include <sys/counter.h>
264 if_get_counter_t if_get_counter; /* get counter values */
/haiku/src/kits/storage/disk_device/
H A DPartition.cpp525 int counter = 1; local
535 mountPointPath << counter; local
536 counter++;
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.cpp261 uint64 counter = 0; local
267 if (++counter % 50 == 0)
268 printf("%9" B_PRIu64 " nodes processed\x1b[1A\n", counter);
304 counter = 0;
315 " blocks could be freed\n\n", counter, result.stats.missing,
/haiku/src/system/runtime_loader/
H A Delf_tls.cpp43 void SetCounter(unsigned counter) { fCounter = counter; } argument
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Ddma_buffer.cpp468 scsi_dma_buffer_daemon(void *dev, int counter) argument
H A Dscsi_internal.h290 void scsi_dma_buffer_daemon(void *dev, int counter);
/haiku/src/add-ons/translators/rtf/
H A Dconvert.cpp529 TextOutput counter(header, NULL, false);
531 counter.Work();
532 textSize = counter.Length();
/haiku/src/libs/compat/freebsd_iflib/
H A Dmp_ring.c34 #include <sys/counter.h>
/haiku/src/system/libroot/posix/malloc_debug/
H A Dguarded_heap.cpp492 guarded_heap_add_area(guarded_heap& heap, uint32 counter) argument
495 if (heap.area_creation_counter != counter)
590 uint32 counter = heap.area_creation_counter; local
594 guarded_heap_add_area(heap, counter);
957 printf("area creation counter: %" B_PRIu32 "\n",
/haiku/src/bin/network/arp/
H A Darp.cpp258 int32 counter = 0; local
262 counter++;
274 kProgramName, counter);
284 kProgramName, counter, argument, strerror(errno));
289 kProgramName, counter, argument);
303 kProgramName, counter);
310 kProgramName, counter, argument);
320 kProgramName, counter, argument);
327 kProgramName, counter, strerror(status));
/haiku/headers/posix/arpa/
H A Dnameser.h250 int counter; member in struct:ns_tcp_tsig_state

Completed in 220 milliseconds

123