Searched refs:counter (Results 1 - 25 of 122) sorted by relevance

12345

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sem_init/
H A D6-1.c30 int counter = sysconf(_SC_SEM_VALUE_MAX); local
32 int counter = SEM_VALUE_MAX; local
35 if (counter >= INT_MAX)
41 ++counter;
42 sem_init (&mysemp, 0, counter);
/haiku-fatelf/src/bin/sharutils/src/
H A Dencode.c60 int counter; local
62 for (counter = 0; counter < buffer_size; counter++)
66 return counter;
67 buffer[counter] = character;
82 int counter; local
90 for (counter = 0; counter < number_of_bytes; counter
[all...]
H A Dshar.c618 int counter;
623 for (counter = 0; counter < mkdir_already_count; counter++)
624 if (!strcmp (path, mkdir_already[counter]))
724 int counter;
727 for (counter = 0; counter < argc; counter++)
733 (strcmp (argv[counter], "
613 int counter; local
718 int counter; local
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sem_open/
H A D5-1.c33 int counter = sysconf(_SC_SEM_VALUE_MAX); local
35 int counter = SEM_VALUE_MAX; local
38 if (counter >= INT_MAX)
45 ++counter;
46 mysemp = sem_open(semname, O_CREAT, 0444, counter);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigqueue/
H A D4-1.c33 int counter = 0; variable
36 counter++;
62 if (0 != counter) {
69 if (NUMCALLS != counter) {
70 printf("Test FAILED: %d was queued %d time(s) even though sigqueue was called %d time(s) for %d\n", SIGTOTEST, counter, NUMCALLS, SIGTOTEST);
H A D5-1.c33 int counter = 0; variable
36 counter++;
62 if (0 != counter) {
69 if (counter < 1) {
73 printf ("Test PASSED: %d was received %d times.\n", SIGTOTEST, counter);
H A D8-1.c34 int counter = 0; variable
37 counter++;
63 if (0 != counter) {
70 if (NUMCALLS != counter) {
71 printf("Test UNRESOLVED: %d was queued %d time(s) even though sigqueue was called %d time(s) for %d\n", SIGTOTEST, counter, NUMCALLS, SIGTOTEST);
/haiku-fatelf/src/kits/storage/disk_device/
H A DPartitionReference.cpp60 PartitionReference::SetChangeCounter(int32 counter) argument
62 fChangeCounter = counter;
H A DPartitionReference.h28 void SetChangeCounter(int32 counter);
/haiku-fatelf/src/apps/clock/
H A Dcl_view.cpp84 float counter; local
88 for (counter = 90; counter >= 0; counter -= 6, index++) {
89 x = mRadius * cos(((360 - counter)/180.0) * 3.1415);
91 y = mRadius * sin(((360 - counter)/180.0) * 3.1415);
94 x = hRadius * cos(((360 - counter)/180.0) * 3.1415);
96 y = hRadius * sin(((360 - counter)/180.0) * 3.1415);
101 for (counter = 354; counter > 9
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/
H A Dadditional_commands.c19 int counter = 0; local
42 if (++counter % 50 == 0)
43 printf(" %7d nodes processed\x1b[1A\n", counter);
81 counter, result.stats.missing, result.stats.already_set, result.stats.freed);
/haiku-fatelf/src/add-ons/accelerants/et6x00/
H A DEngineManagment.c36 st->counter = si->engine.count;
52 st->counter = si->engine.count;
58 si->engine.lastIdle = st->counter;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/
H A D6-1.c88 int counter = 0; local
101 counter++;
105 return counter;
/haiku-fatelf/src/tools/bfs_shell/
H A Dcommand_checkfs.cpp51 uint64 counter = 0; local
57 if (++counter % 50 == 0)
58 fssh_dprintf("%9Ld nodes processed\x1b[1A\n", counter);
94 counter = 0;
110 " blocks could be freed\n\n", counter, result.stats.missing,
/haiku-fatelf/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDeviceMixer.h33 void SetCachedUpdateCounter(int index, int counter);
/haiku-fatelf/src/apps/pulse/
H A DProgressBar.cpp23 for (int32 counter = 0; counter < 20; counter++) {
24 segments[counter].rect.Set(r.left + (counter * 7), r.top,
25 (r.left + (counter * 7) + 5), r.top + height);
26 segments[counter].rect.OffsetTo(BPoint((counter * 7) + 4, 4));
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/sigwaitinfo/
H A D7-1.c34 int counter = 0; variable
37 counter++;
/haiku-fatelf/src/bin/gdb/gdb/
H A Dcomplaints.c59 int counter; member in struct:complain
150 complaint->counter = 0;
178 complaint->counter++;
179 if (complaint->counter > stop_whining)
278 p->counter = 0;
/haiku-fatelf/src/servers/registrar/
H A DRecentApps.cpp164 int counter = 0; local
166 status == B_OK && counter < maxCount && item != fAppList.end();
167 counter++, item++) {
197 int counter = 1; local
199 printf("%d: '%s'\n", counter++, item->c_str());
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_chorus.c127 int counter; member in struct:_fluid_chorus_t
404 chorus->counter = 0;
445 chorus->chorusbuf[chorus->counter] = d_in;
455 int pos_subsamples = (INTERPOLATION_SUBSAMPLES * chorus->counter
487 chorus->counter++;
488 chorus->counter %= MAX_SAMPLES;
513 chorus->chorusbuf[chorus->counter] = d_in;
523 int pos_subsamples = (INTERPOLATION_SUBSAMPLES * chorus->counter
555 chorus->counter++;
556 chorus->counter
[all...]
/haiku-fatelf/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-fatelf/src/add-ons/accelerants/3dfx/
H A Dengine.cpp65 st->counter = 0;
/haiku-fatelf/src/add-ons/accelerants/ati/
H A Dengine.cpp65 st->counter = 0;
/haiku-fatelf/src/add-ons/accelerants/intel_810/
H A Dengine.cpp69 syncToken->counter = 0;
/haiku-fatelf/src/add-ons/accelerants/matrox/
H A DEngineManagment.c55 st->counter = si->engine.count;

Completed in 134 milliseconds

12345