Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 25 of 47) sorted by relevance

12

/glibc-2.36/sysdeps/ieee754/dbl-64/
Dbranred.c57 double r[6],s,t,sum,b,bb,sum1,sum2,b1,bb1,b2,bb2,x1,x2,t1,t2; in __branred() local
63 sum=0; in __branred()
75 sum+=s; in __branred()
83 sum+=s; in __branred()
87 s=(sum+big1.x)-big1.x; in __branred()
88 sum-=s; in __branred()
91 sum1=sum; in __branred()
92 sum=0; in __branred()
105 sum+=s; in __branred()
113 sum+=s; in __branred()
[all …]
/glibc-2.36/crypt/
Dsha256test.c48 char sum[32]; in main() local
57 __sha256_finish_ctx (&ctx, sum); in main()
58 if (memcmp (tests[cnt].result, sum, 32) != 0) in main()
67 __sha256_finish_ctx (&ctx, sum); in main()
68 if (memcmp (tests[cnt].result, sum, 32) != 0) in main()
81 __sha256_finish_ctx (&ctx, sum); in main()
85 if (memcmp (expected, sum, 32) != 0) in main()
94 __sha256_finish_ctx (&ctx, sum); in main()
95 if (memcmp (expected, sum, 32) != 0) in main()
Dsha512test.c67 char sum[64]; in main() local
76 __sha512_finish_ctx (&ctx, sum); in main()
77 if (memcmp (tests[cnt].result, sum, 64) != 0) in main()
86 __sha512_finish_ctx (&ctx, sum); in main()
87 if (memcmp (tests[cnt].result, sum, 64) != 0) in main()
100 __sha512_finish_ctx (&ctx, sum); in main()
106 if (memcmp (expected, sum, 64) != 0) in main()
Dmd5test-giant.c75 char sum[16]; in test_single() local
80 __md5_finish_ctx (&ctx, sum); in test_single()
82 return report ("single", sum, len, ref); in test_single()
90 char sum[16]; in test_double() local
102 __md5_finish_ctx (&ctx, sum); in test_double()
104 return report ("double", sum, len, ref); in test_double()
Dmd5.c138 size_t sum; in md5_stream() local
150 sum = 0; in md5_stream()
155 n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream); in md5_stream()
157 sum += n; in md5_stream()
159 while (sum < BLOCKSIZE && n != 0); in md5_stream()
174 if (sum > 0) in md5_stream()
175 md5_process_bytes (buffer, sum, &ctx); in md5_stream()
Dmd5test.c32 char sum[16]; in main() local
42 __md5_finish_ctx (&ctx, sum); in main()
43 result |= memcmp (tests[cnt].result, sum, 16); in main()
48 __md5_finish_ctx (&ctx, sum); in main()
49 result |= memcmp (tests[cnt].result, sum, 16); in main()
/glibc-2.36/sysdeps/pthread/
Dposix-timer.h133 timespec_add (struct timespec *sum, const struct timespec *left, in timespec_add() argument
136 sum->tv_sec = left->tv_sec + right->tv_sec; in timespec_add()
137 sum->tv_nsec = left->tv_nsec + right->tv_nsec; in timespec_add()
139 if (sum->tv_nsec >= 1000000000) in timespec_add()
141 ++sum->tv_sec; in timespec_add()
142 sum->tv_nsec -= 1000000000; in timespec_add()
/glibc-2.36/manual/examples/
Dadd.c25 int i, sum; in add_em_up() local
29 sum = 0; in add_em_up()
31 sum += va_arg (ap, int); /* Get the next argument value. */ in add_em_up()
34 return sum; in add_em_up()
/glibc-2.36/sunrpc/
Dtst-udp-timeout.c61 uint32_t sum; member
69 && xdr_uint32_t (xdrs, &p->sum); in xdr_test_response()
160 .sum = query.a + query.b, in server_dispatch()
280 TEST_VERIFY (response.sum == 21); in test_udp_server()
292 TEST_VERIFY (response.sum == 23); in test_udp_server()
311 TEST_VERIFY (response.sum == 210); in test_udp_server()
Dtst-udp-nonblocking.c55 uint32_t sum; member
64 && xdr_uint32_t (xdrs, &p->sum); in xdr_test_response()
124 .sum = query.a + query.b, in server_dispatch()
300 xid, response.server_id, response.seq, response.sum); in do_test()
305 TEST_VERIFY (response.sum == 102); in do_test()
/glibc-2.36/sysdeps/ia64/fpu/
Dimport_check53 sum=$(($summands))
54 if [ $sum != $size ]; then
55 echo -e "$(basename $file):\tError: sum of objects=$sum bytes, .rodata size=$size bytes"
/glibc-2.36/
DMakefile647 > $(objpfx)subdir-tests.sum
648 $(..)scripts/merge-test-results.sh -t $(objpfx) subdir-tests.sum \
650 > $(objpfx)tests.sum
651 $(call summarize-tests,tests.sum)
653 $(..)scripts/merge-test-results.sh -t $(objpfx) subdir-xtests.sum \
655 > $(objpfx)xtests.sum
656 $(call summarize-tests,xtests.sum, for extra tests)
/glibc-2.36/locale/programs/
Dlocarchive.c503 old_data[idx].sum); in enlarge_archive()
911 __md5_buffer (data[LC_ALL].addr, data[LC_ALL].size, data[LC_ALL].sum); in add_locale()
923 hval = archive_hashval (data[cnt].sum, 16); in add_locale()
930 if (memcmp (data[cnt].sum, sumhashtab[idx].sum, 16) == 0) in add_locale()
1051 md5hval = archive_hashval (data[cnt].sum, 16); in add_locale()
1063 memcpy (sumhashtab[idx].sum, data[cnt].sum, 16); in add_locale()
1496 __md5_buffer (data[cnt].addr, st.st_size, data[cnt].sum); in add_locales_to_archive()
1596 const unsigned char *sum; member
1672 files[sumused].sum = (const unsigned char *) sumhashtab[cnt].sum; in show_archive_content()
1744 data->sum[i], data->sum[i + 1], in show_archive_content()
[all …]
/glibc-2.36/benchtests/
Dbench-timing.h36 #define TIMING_ACCUM(sum, diff) HP_TIMING_ACCUM_NT ((sum), (diff)) argument
/glibc-2.36/gmon/
Dtst-sprofil.c64 long int sum = 0; in main() local
141 sum += fac (i); in main()
149 printf ("sum = 0x%lx\n", sum); in main()
/glibc-2.36/string/
Dtst-xbzero-opt.c103 unsigned int sum = 0; in use_test_buffer() local
106 sum += buf[i * PATTERN_SIZE]; in use_test_buffer()
108 return (sum == 2 * PATTERN_REPS) ? 0 : 1; in use_test_buffer()
/glibc-2.36/locale/
Dlocarchive.h65 char sum[16]; member
104 char sum[16]; member
/glibc-2.36/debug/
Dtst-longjmp_chk2.c56 int sum = 0; in recurse() local
57 return *recurse_1 (n, &sum); in recurse()
/glibc-2.36/nptl/
Dperf.c138 unsigned int sum; variable
191 sum += a[0] + a[1] + a[2] + a[3]; in work()
245 printf ("Result: %08x\n", sum); in thread_function()
510 printf ("Result: %08x\n", sum); in main()
/glibc-2.36/benchtests/scripts/
Dimport_bench.py39 return sum(lst) / len(lst)
/glibc-2.36/sysdeps/sparc/sparc64/
Dadd_n.S48 addcc %g1,%o3,%g1 ! add s1 limb to sum
Dsub_n.S45 subcc %o3,%g1,%g1 ! subtract s1 limb from sum
/glibc-2.36/sysdeps/alpha/
Dffs.S77 s8addl $0, $2, $0 # e0 : mult byte ofs by 8 and sum
/glibc-2.36/localedata/
Dfr_CA.UTF-8.in89sumé
Dfr_FR.UTF-8.in89sumé

12