Home
last modified time | relevance | path

Searched refs:calls (Results 1 – 25 of 2658) sorted by relevance

12345678910>>...107

/external/vboot_reference/tests/
Dtlcl_tests.c40 static struct srcall calls[MAXCALLS]; variable
53 memset(calls, 0, sizeof(calls)); in ResetMocks()
55 calls[i].rsp = calls[i].rsp_buf; in ResetMocks()
64 struct srcall *c = calls + call_idx; in SetResponse()
86 struct srcall *c = calls + ncalls++; in VbExTpmSendReceive()
133 TEST_PTR_EQ(calls[0].req, buf, "SendReceive req ptr"); in TlclTest()
134 TEST_EQ(calls[0].req_size, 10, "SendReceive size"); in TlclTest()
137 calls[0].retval = VBERROR_SIMULATED; in TlclTest()
161 TEST_EQ(calls[0].req_cmd, TPM_ORD_Startup, " cmd"); in SendCommandTest()
165 TEST_EQ(calls[0].req_cmd, TPM_ORD_SaveState, " cmd"); in SendCommandTest()
[all …]
/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationInOrderWithCallsTest.java32 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodNotCalled()
40 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenMethodNotCalled()
52 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenMethodCalledTooFewTimes()
61 verifier.verify( mockOne, calls(2)).oneArg( 2 ); in shouldFailWhenMethodCalledTooFewTimes()
73 verifier.verify( mockOne, calls(1)).oneArg( 2 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence()
81 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenSingleMethodCallsAreOutOfSequence()
93 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenDifferentMethodCallsAreOutOfSequence()
101 verifier.verify( mockOne, calls(1)).oneArg( 1 ); in shouldFailWhenDifferentMethodCallsAreOutOfSequence()
113 verifier.verify( mockTwo, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence()
121 verifier.verify( mockOne, calls(1)).voidMethod(); in shouldFailWhenMethodCallsOnDifferentMocksAreOutOfSequence()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache_test.cc58 int calls = 0; in TEST() local
59 auto fetcher = [&calls](const string& filename, size_t offset, size_t n, in TEST()
61 calls++; in TEST()
73 EXPECT_EQ(calls, 1); in TEST()
78 EXPECT_EQ(calls, 1); in TEST()
83 EXPECT_EQ(calls, 2); in TEST()
90 int calls = 0; in TEST() local
91 auto fetcher = [&calls, want_filename, want_offset, want_n]( in TEST()
97 calls++; in TEST()
108 EXPECT_EQ(calls, 1); in TEST()
[all …]
/external/grpc-grpc/test/core/memory_usage/
Dclient.cc54 static fling_call calls[10001]; variable
62 grpc_metadata_array_init(&calls[call_idx].initial_metadata_recv); in init_ping_pong_request()
72 &calls[call_idx].initial_metadata_recv; in init_ping_pong_request()
76 calls[call_idx].call = grpc_channel_create_call( in init_ping_pong_request()
81 GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(calls[call_idx].call, in init_ping_pong_request()
90 grpc_metadata_array_init(&calls[call_idx].trailing_metadata_recv); in finish_ping_pong_request()
96 &calls[call_idx].trailing_metadata_recv; in finish_ping_pong_request()
97 op->data.recv_status_on_client.status = &calls[call_idx].status; in finish_ping_pong_request()
98 op->data.recv_status_on_client.status_details = &calls[call_idx].details; in finish_ping_pong_request()
101 GPR_ASSERT(GRPC_CALL_OK == grpc_call_start_batch(calls[call_idx].call, in finish_ping_pong_request()
[all …]
Dserver.cc73 static fling_call calls[100006]; variable
76 if (call_idx == static_cast<int>(sizeof(calls) / sizeof(fling_call))) { in request_call_unary()
80 grpc_metadata_array_init(&calls[call_idx].request_metadata_recv); in request_call_unary()
82 server, &calls[call_idx].call, &calls[call_idx].call_details, in request_call_unary()
83 &calls[call_idx].request_metadata_recv, cq, cq, &calls[call_idx]); in request_call_unary()
209 for (int i = 0; i < static_cast<int>(sizeof(calls) / sizeof(fling_call)); in main()
211 grpc_call_details_init(&calls[i].call_details); in main()
212 calls[i].state = FLING_SERVER_NEW_REQUEST; in main()
288 k < static_cast<int>(sizeof(calls) / sizeof(fling_call)); in main()
290 if (calls[k].state == FLING_SERVER_WAIT_FOR_DESTROY) { in main()
[all …]
/external/syzkaller/prog/
Ddecl_test.go30 calls := make(map[*Syscall]bool)
32 calls[c] = true
34 enabled, disabled := target.TransitivelyEnabledCalls(calls)
68 calls := make(map[*Syscall]bool)
70 calls[c] = true
72 delete(calls, target.SyscallMap["epoll_create"])
73 …rans, disabled := target.TransitivelyEnabledCalls(calls); len(disabled) != 0 || len(trans) != len(
76 delete(calls, target.SyscallMap["epoll_create1"])
77 trans, disabled := target.TransitivelyEnabledCalls(calls)
78 if len(calls)-6 != len(trans) ||
[all …]
Drand.go252 func (r *randGen) createResource(s *state, res *ResourceType) (arg Arg, calls []*Call) {
289 calls := r.generateParticularCall(s, meta)
291 s1.analyze(calls[len(calls)-1])
302 return arg, calls
308 for _, c := range calls {
408 func (r *randGen) generateParticularCall(s *state, meta *Syscall) (calls []*Call) {
413 c.Args, calls = r.generateArgs(s, meta.Args)
415 calls = append(calls, c)
416 for _, c1 := range calls {
419 return calls
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/Inputs/
Dtest_-b_-f.output4 No calls
9 No calls
14 No calls
19 No calls
24 No calls
29 No calls
35 No calls
41 No calls
46 No calls
51 No calls
[all …]
/external/llvm/test/tools/llvm-cov/Inputs/
Dtest_-b_-f.output4 No calls
9 No calls
14 No calls
19 No calls
24 No calls
29 No calls
35 No calls
41 No calls
46 No calls
51 No calls
[all …]
/external/eigen/unsupported/test/
DBVH.cpp48 BallPointStuff() : calls(0), count(0) {} in BallPointStuff()
49 BallPointStuff(const VectorType &inP) : p(inP), calls(0), count(0) {} in BallPointStuff()
52 bool intersectVolume(const BoxType &r) { ++calls; return r.contains(p); } in intersectVolume()
54 ++calls; in intersectObject()
60 …bool intersectVolumeVolume(const BoxType &r1, const BoxType &r2) { ++calls; return !(r1.intersecti… in intersectVolumeVolume()
61 …bool intersectVolumeObject(const BoxType &r, const BallType &b) { ++calls; return r.squaredExterio… in intersectVolumeObject()
62 …bool intersectObjectVolume(const BallType &b, const BoxType &r) { ++calls; return r.squaredExterio… in intersectObjectVolume()
64 ++calls; in intersectObjectObject()
69 …bool intersectVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.contains(v);… in intersectVolumeObject()
71 ++calls; in intersectObjectObject()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/RISCV/
Ddisable-tail-calls.ll1 ; Check that command line option "-disable-tail-calls" overrides function
2 ; attribute "disable-tail-calls".
6 ; RUN: llc < %s -mtriple=riscv32-unknown-elf -disable-tail-calls \
8 ; RUN: llc < %s -mtriple=riscv32-unknown-elf -disable-tail-calls=false \
13 ; RUN: llc < %s -mtriple=riscv32-unknown-elf -disable-tail-calls \
15 ; RUN: llc < %s -mtriple=riscv32-unknown-elf -disable-tail-calls=false \
20 ; RUN: llc < %s -mtriple=riscv32-unknown-elf -disable-tail-calls \
22 ; RUN: llc < %s -mtriple=riscv32-unknown-elf -disable-tail-calls=false \
33 ; Function with attribute #0 = { "disable-tail-calls"="true" }
40 ; Function with attribute #1 = { "disable-tail-calls"="false" }
[all …]
/external/eigen/unsupported/doc/examples/
DBVH_Example.cpp14 PointPointMinimizer() : calls(0) {} in PointPointMinimizer()
17 …double minimumOnVolumeVolume(const Box2d &r1, const Box2d &r2) { ++calls; return r1.squaredExterio… in minimumOnVolumeVolume()
18 …double minimumOnVolumeObject(const Box2d &r, const Vector2d &v) { ++calls; return r.squaredExterio… in minimumOnVolumeObject()
19 …double minimumOnObjectVolume(const Vector2d &v, const Box2d &r) { ++calls; return r.squaredExterio… in minimumOnObjectVolume()
20 …double minimumOnObjectObject(const Vector2d &v1, const Vector2d &v2) { ++calls; return (v1 - v2).s… in minimumOnObjectObject()
22 int calls; member
41 …std::cout << "Brute force distance = " << sqrt(minDistSq) << ", calls = " << minimizer.calls << st… in main()
44 minimizer.calls = 0; in main()
47 …std::cout << "BVH distance = " << sqrt(minDistSq) << ", calls = " << minimizer.calls << st… in main()
/external/bcc/tools/
Dpythoncalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
Dperlcalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
Drubycalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
Djavacalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
Dtclcalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
Dphpcalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
/external/bcc/tools/lib/
Ducalls_example.txt4 ucalls summarizes method calls in various high-level languages, including Java,
5 Perl, PHP, Python, Ruby, Tcl, and Linux system calls. It displays statistics on
17 Tracing calls in process 26877 (language: java)... Ctrl-C to quit.
32 Tracing calls in process 3018 (language: none)... Ctrl-C to quit.
53 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
68 Summarize method calls in high-level languages.
78 -T TOP, --top TOP number of most frequent/slow calls to print
80 recursive calls)
87 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
88 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
/external/python/cpython3/Lib/test/
Dtest_compare.py57 calls = []
61 calls.append('Left.__eq__')
65 calls.append('Right.__eq__')
68 calls.append('Right.__ne__')
71 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
75 calls = []
79 calls.append('Base.__eq__')
83 calls.append('Derived.__eq__')
86 calls.append('Derived.__ne__')
89 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/llvm-ir/
Dcall.ll3 ; RUN: llc -march=mips -mcpu=mips32 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck …
4 ; RUN: llc -march=mips -mcpu=mips32r2 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck …
5 ; RUN: llc -march=mips -mcpu=mips32r3 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck …
6 ; RUN: llc -march=mips -mcpu=mips32r5 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck …
7 …cpu=mips32r6 -relocation-model=pic -disable-mips-delay-filler -mips-tail-calls=1 < %s | FileCheck…
8 …model=pic -mattr=+fp64,+nooddspreg -disable-mips-delay-filler -mips-tail-calls=1 < %s | FileCheck…
9 ; RUN: llc -march=mips64 -mcpu=mips4 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck…
10 ; RUN: llc -march=mips64 -mcpu=mips64 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck…
11 ; RUN: llc -march=mips64 -mcpu=mips64r2 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck…
12 ; RUN: llc -march=mips64 -mcpu=mips64r3 -relocation-model=pic -mips-tail-calls=1 < %s | FileCheck…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Mips/
Dbrind-tailcall.ll1 ; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
3 ; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
5 ; RUN: llc -march=mips64 -debug-only=isel -mips-tail-calls=1 \
7 ; RUN: llc -march=mips64 -debug-only=isel -mips-tail-calls=1 \
9 ; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
11 ; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
13 ; RUN: llc -march=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
15 ; RUN: llc -march=mips -mcpu=mips32r6 -debug-only=isel -mips-tail-calls=1 \
17 ; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
19 ; RUN: llc -march=mips -debug-only=isel -mips-tail-calls=1 \
[all …]
/external/libchrome/base/timer/
Dmock_timer_unittest.cc17 int calls = 0; in TEST() local
22 base::Unretained(&calls))); in TEST()
27 EXPECT_EQ(1, calls); in TEST()
31 int calls = 0; in TEST() local
36 base::Unretained(&calls))); in TEST()
42 EXPECT_EQ(3, calls); in TEST()
46 int calls = 0; in TEST() local
51 base::Unretained(&calls))); in TEST()
/external/ltp/testcases/network/nfs/nfsstat01/
Dnfsstat0116 local calls=
21 calls="$(grep $name /proc/net/rpc/$nfs_f | cut -d' ' -f$field)"
22 ROD nfsstat -c$opt | grep -q "$calls"
23 echo "$calls"
27 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \
29 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
30 echo "$calls"
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/framework/foundation/
Dstream_testing.py28 self.calls = []
32 self.calls.append((value, False))
36 self.calls.append((None, True))
40 self.calls.append((value, True))
45 for value, terminal in self.calls:
57 return [value for value, _ in self.calls if value]

12345678910>>...107