Searched refs:total (Results 1 - 25 of 442) sorted by relevance

1234567891011>>

/openbsd-current/games/canfield/cfscores/
H A Dcfscores.c49 long wins; /* total winnings */
87 struct betinfo total; local
95 i = read(dbfd, (char *)&total, sizeof(total));
100 if (i == 0 || total.hand == 0) {
106 if (total.worth >= 0) {
129 printf("| Hands %8ld |\n", total.hand);
130 printf("| Inspections %8ld |\n", total.inspection);
131 printf("| Games %8ld |\n", total.game);
132 printf("| Runs %8ld |\n", total
[all...]
/openbsd-current/gnu/gcc/libgomp/config/linux/
H A Dbar.h40 unsigned total; member in struct:__anon404
48 bar->total = count;
56 bar->total = count;
72 return ++bar->arrived == bar->total;
/openbsd-current/games/mille/
H A Dmille.c93 if (!restore || (Player[PLAYER].total >= 5000
94 || Player[COMP].total >= 5000)) {
95 if (Player[COMP].total < Player[PLAYER].total)
97 else if (Player[COMP].total > Player[PLAYER].total)
99 Player[COMP].total = 0;
100 Player[PLAYER].total = 0;
121 } while (Player[COMP].total < 5000
122 && Player[PLAYER].total < 500
[all...]
/openbsd-current/gnu/gcc/libgomp/testsuite/libgomp.c/
H A Domp_matvec.c6 * element b(i) and stores the summed products in vector c(i). A total is
8 * work-sharing construct. The update of the shared global total is
22 float A[SIZE][SIZE], b[SIZE], c[SIZE], total; local
26 total = 0.0;
45 #pragma omp parallel shared(A,b,c,total) private(tid,i)
56 /* Update and display of running total must be serialized */
59 total = total + c[i];
61 printf("Running total= %.2f\n",total);
[all...]
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dstrtoul.c25 unsigned long total = 0; local
84 if (total > maxdiv
85 || (total == maxdiv && digit > maxrem))
87 total = (total * base) + digit;
99 return negate ? -total : total;
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Daverage.c23 int total = 0, num_elements = 0, average = 0; local
24 total = sum(list, low, high);
27 average = total / num_elements;
/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.compat/
H A Daverage.c23 int total = 0, num_elements = 0, average = 0; local
24 total = sum(list, low, high);
27 average = total / num_elements;
/openbsd-current/gnu/gcc/libgomp/config/posix/
H A Dbar.h46 unsigned total; member in struct:__anon406
60 return ++bar->arrived == bar->total;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Drefs1.C22 void C::count (int& total) { argument
27 count (++total); // THIS IS WHERE THE TROUBLE STARTS
/openbsd-current/regress/usr.bin/ssh/
H A Dmodpipe.c80 size_t total; local
100 for (total = 0;;) {
110 if (mods[i].offset < total ||
111 mods[i].offset >= total + s)
115 buf[mods[i].offset - total] ^= mods[i].m1;
118 buf[mods[i].offset - total] &= mods[i].m1;
119 buf[mods[i].offset - total] |= mods[i].m2;
133 total += s;
138 if (mods[i].offset < total)
/openbsd-current/sys/dev/microcode/myx/
H A Dbuild.c43 size_t rlen, total = 0; local
71 rlen = ulen - total;
75 if (fwrite(&ufw[total], rlen, 1, f) < 1) {
81 total += rlen;
82 } while (total < ulen);
/openbsd-current/gnu/llvm/lld/Common/
H A DTimer.cpp30 Timer::Timer(llvm::StringRef name) : total(0), name(std::string(name)) {}
32 : total(0), name(std::string(name)) {
39 // We want to print the grand total under all the intermediate phases, so we
40 // print all children first, then print the total under that.
42 if (child->total > 0)
52 std::chrono::nanoseconds(total))
68 if (child->total > 0)
/openbsd-current/gnu/llvm/lldb/source/Core/
H A DProgress.cpp19 Progress::Progress(std::string title, uint64_t total, argument
21 : m_title(title), m_id(++g_id), m_completed(0), m_total(total) {
22 assert(total > 0);
/openbsd-current/sys/dev/pci/drm/i915/
H A Di915_drm_client.c56 u64 total = 0; local
62 total += intel_context_get_total_runtime_ns(ce);
65 return total;
75 u64 total = atomic64_read(&client->past_runtime[class]); local
80 total += busy_add(ctx, class);
85 uabi_class_names[class], total);
/openbsd-current/gnu/gcc/gcc/
H A Dtimevar.c380 a special meaning -- it's considered to be the total elapsed time,
389 struct timevar_time_def *total = &timevars[TV_TOTAL].elapsed; local
418 /* Don't print the total execution time here; that goes at the
442 (total->user == 0 ? 0 : tv->elapsed.user / total->user) * 100);
449 (total->sys == 0 ? 0 : tv->elapsed.sys / total->sys) * 100);
456 (total->wall == 0 ? 0 : tv->elapsed.wall / total->wall) * 100);
462 (total
495 print_time(const char *str, long total) argument
[all...]
/openbsd-current/usr.sbin/unbound/testcode/
H A Dunittcpreuse.c156 /** check removal of the LRU element on the given position of total elements */
157 static void check_removal(struct outside_network* outnet, int position, int total) argument
162 for(i=0; i<total; i++) {
165 check_tree_and_list(outnet, total);
169 check_tree_and_list(outnet, total-1);
172 /** check snipping off the last element of the LRU with total elements */
173 static void check_snip(struct outside_network* outnet, int total) argument
178 for(i=0; i<total; i++) {
181 check_tree_and_list(outnet, total);
185 check_tree_and_list(outnet, --total);
233 check_waiting_tcp_list(struct outside_network* outnet, struct waiting_tcp* first, struct waiting_tcp* last, size_t total) argument
273 check_waiting_tcp_removal(int is_pop, struct outside_network* outnet, struct waiting_tcp* store, size_t position, size_t total) argument
359 check_reuse_write_wait(struct reuse_tcp* reuse, struct waiting_tcp* first, struct waiting_tcp* last, size_t total) argument
414 check_reuse_write_wait_removal(int is_pop, struct reuse_tcp* reuse, struct waiting_tcp* store, size_t position, size_t total) argument
[all...]
/openbsd-current/lib/libc/gen/
H A Dpw_dup.c34 total += size; \
51 size_t nsize, psize, csize, gsize, dsize, ssize, total; local
55 total = sizeof(struct passwd);
63 if ((cp = malloc(total)) == NULL)
/openbsd-current/gnu/llvm/llvm/tools/opt-viewer/
H A Dopt-stats.py62 total = len(all_remarks) variable
63 print("{:24s} {:10d}".format("Total number of remarks", total))
73 print(" {:30s} {:2.0f}%". format(passname, count * 100. / total))
78 print(" {:30s} {:2.0f}%". format(name, count * 100. / total))
/openbsd-current/gnu/gcc/gcc/config/i386/
H A Dnetware.c44 unsigned total = 0; local
71 total += parm_size;
82 total / BITS_PER_UNIT));
92 unsigned total = 0; local
117 total += parm_size;
122 if (nregs > total / BITS_PER_WORD)
123 nregs = total / BITS_PER_WORD;
/openbsd-current/lib/libc/db/recno/
H A Drec_search.c66 recno_t total; local
70 for (pg = P_ROOT, total = 0;;) {
75 t->bt_cur.index = recno - total;
80 if (++idx == top || total + r->nrecs > recno)
82 total += r->nrecs;
/openbsd-current/usr.sbin/unbound/daemon/
H A Dstats.c434 void server_stats_add(struct ub_stats_info* total, struct ub_stats_info* a) argument
436 total->svr.num_queries += a->svr.num_queries;
437 total->svr.num_queries_ip_ratelimited += a->svr.num_queries_ip_ratelimited;
438 total->svr.num_queries_cookie_valid += a->svr.num_queries_cookie_valid;
439 total->svr.num_queries_cookie_client += a->svr.num_queries_cookie_client;
440 total->svr.num_queries_cookie_invalid += a->svr.num_queries_cookie_invalid;
441 total->svr.num_queries_missed_cache += a->svr.num_queries_missed_cache;
442 total->svr.num_queries_prefetch += a->svr.num_queries_prefetch;
443 total->svr.num_queries_timed_out += a->svr.num_queries_timed_out;
444 if (total
[all...]
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dkill0.t26 my $total = 30_000;
27 for my $pid (1 .. $total) {
31 # so $count should be less than $total.
32 ok( $count < $total, 'kill(0, $pid) returns false if $pid does not exist' );
/openbsd-current/usr.sbin/pkg_add/OpenBSD/ProgressMeter/
H A DTerm.pm32 sub count_and($self, $progress, $done, $total, $method, @r)
35 $progress->show($$done, $total);
49 my $total = 0;
50 $plist->compute_count(\$total);
51 $total = 1 if $total == 0;
52 return $total;
68 $plist->{total} //= $progress->compute_count($plist);
70 $progress->show($count, $plist->{total});
71 $plist->count_and($progress, \$count, $plist->{total},
[all...]
/openbsd-current/usr.sbin/nsd/
H A Dipc.c241 /** add stats to total */
243 stats_add(struct nsdst* total, struct nsdst* s) argument
246 for(i=0; i<sizeof(total->qtype)/sizeof(stc_type); i++)
247 total->qtype[i] += s->qtype[i];
248 for(i=0; i<sizeof(total->qclass)/sizeof(stc_type); i++)
249 total->qclass[i] += s->qclass[i];
250 total->qudp += s->qudp;
251 total->qudp6 += s->qudp6;
252 total->ctcp += s->ctcp;
253 total
277 stats_subtract(struct nsdst* total, struct nsdst* s) argument
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dgcov.c43 is no way to get the total execution counts for the included file, can
147 gcov_type total; member in struct:arcdata
830 gcov_type total;
869 total = 0;
872 total += arcptr->arc_count;
873 bb_graph[i].exec_count = total;
879 total = 0;
882 total += arcptr->arc_count;
883 bb_graph[i].exec_count = total;
892 total
828 gcov_type total; local
1105 gcov_type total; local
1591 struct coverage total; local
[all...]

Completed in 333 milliseconds

1234567891011>>