Home
last modified time | relevance | path

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

12345678910>>...116

/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.cc60 int calls = 0; in TEST() local
61 auto fetcher = [&calls](const string& filename, size_t offset, size_t n, in TEST()
63 calls++; in TEST()
75 EXPECT_EQ(calls, 1); in TEST()
80 EXPECT_EQ(calls, 1); in TEST()
85 EXPECT_EQ(calls, 2); in TEST()
92 int calls = 0; in TEST() local
93 auto fetcher = [&calls, want_filename, want_offset, want_n]( in TEST()
99 calls++; in TEST()
112 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 …]
/external/mesa3d/.gitlab-ci/tracie/
Ddump_trace_images.py70 def dump_with_apitrace(retrace_cmd, trace_path, calls, device_name): argument
74 if len(calls) == 0:
75 calls = [str(get_last_apitrace_frame_call(retrace_cmd[:-1], trace_path))]
77 "--snapshot=" + ','.join(calls),
82 def dump_with_renderdoc(trace_path, calls, device_name): argument
86 cmd.extend(calls)
90 def dump_with_gfxreconstruct(trace_path, calls, device_name): argument
95 if len(calls) == 0:
100 calls = [str(get_last_gfxreconstruct_frame_call(trace_path) - 1)]
105 env["VK_SCREENSHOT_FRAMES"] = ",".join(calls)
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dram_file_block_cache_test.cc65 int calls = 0; in TEST() local
66 auto fetcher = [&calls](const string& filename, size_t offset, size_t n, in TEST()
68 calls++; in TEST()
80 EXPECT_EQ(calls, 1); in TEST()
85 EXPECT_EQ(calls, 1); in TEST()
90 EXPECT_EQ(calls, 2); in TEST()
97 int calls = 0; in TEST() local
98 auto fetcher = [&calls, want_filename, want_offset, want_n]( in TEST()
104 calls++; in TEST()
117 EXPECT_EQ(calls, 1); in TEST()
[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/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPhoneTest.java22 Call[] calls = new Call[] {}; in getZeroCall_noCall() local
23 testAddCallGetCall(calls); in getZeroCall_noCall()
29 Call[] calls = new Call[] {call}; in getOneCall_hasOneCall() local
30 testAddCallGetCall(calls); in getOneCall_hasOneCall()
37 Call[] calls = new Call[] {call1, call2}; in getTwoCall_hasTwoCall() local
38 testAddCallGetCall(calls); in getTwoCall_hasTwoCall()
59 public static void testAddCallGetCall(Call[] calls) { in testAddCallGetCall() argument
63 for (Call call : calls) { in testAddCallGetCall()
69 for (int i = 0; i < calls.length; i++) { in testAddCallGetCall()
70 assertThat(callList.get(i)).isEqualTo(calls[i]); in testAddCallGetCall()
DShadowInCallServiceTest.java35 Call[] calls = new Call[] {}; in setCallListEmpty_getCallListEmpty() local
36 testSetCallListGetCallList(calls); in setCallListEmpty_getCallListEmpty()
42 Call[] calls = new Call[] {call}; in setCallListOne_getCallListOne() local
43 testSetCallListGetCallList(calls); in setCallListOne_getCallListOne()
50 Call[] calls = new Call[] {call1, call2}; in setCallListTwo_getCallListTwo() local
51 testSetCallListGetCallList(calls); in setCallListTwo_getCallListTwo()
99 public void testSetCallListGetCallList(Call[] calls) { in testSetCallListGetCallList() argument
102 for (Call call : calls) { in testSetCallListGetCallList()
108 for (int i = 0; i < calls.length; i++) { in testSetCallListGetCallList()
109 assertThat(callList.get(i)).isEqualTo(calls[i]); in testSetCallListGetCallList()
/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/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py28 self.calls = []
32 self.calls.append((args, kwargs))
54 self.assertListEqual(mock.calls, [((), None)])
64 self.assertListEqual(mock.calls, [
77 self.assertListEqual(mock.calls, [
93 self.assertListEqual(mock.calls, [
106 self.assertListEqual(mock.calls, [((1,), None)])
116 self.assertListEqual(mock.calls, [((1, 20), None)])
126 self.assertListEqual(mock.calls, [((1,), {'c': 20})])
140 self.assertListEqual(mock.calls, [((1, 2, 3), {'b': 4, 'c': 5})])
[all …]
/external/bcc/tools/
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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./ucalls -l python 2020 1 # trace Python calls and print every second
[all …]
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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./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 7913 (language: none)... Ctrl-C to quit.
52 Tracing calls in process 26914 (language: python)... Ctrl-C to quit.
67 Summarize method calls in high-level languages.
77 -T TOP, --top TOP number of most frequent/slow calls to print
79 recursive calls)
86 ./ucalls -l java 185 # trace Java calls and print statistics on ^C
87 ./ucalls -l python 2020 1 # trace Python calls and print every second
[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/python/cpython3/Lib/test/
Dtest_compare.py51 calls = []
55 calls.append('Left.__eq__')
59 calls.append('Right.__eq__')
62 calls.append('Right.__ne__')
65 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
69 calls = []
73 calls.append('Base.__eq__')
77 calls.append('Derived.__eq__')
80 calls.append('Derived.__ne__')
83 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
/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/cronet/base/timer/
Dmock_timer_unittest.cc17 int calls = 0; in TEST() local
21 base::BindOnce(&CallMeMaybe, base::Unretained(&calls))); in TEST()
26 EXPECT_EQ(1, calls); in TEST()
30 int calls = 0; in TEST() local
34 base::BindRepeating(&CallMeMaybe, base::Unretained(&calls))); in TEST()
40 EXPECT_EQ(3, calls); in TEST()
44 int calls = 0; in TEST() local
48 base::BindRepeating(&CallMeMaybe, base::Unretained(&calls))); in TEST()
/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]
/external/ltp/testcases/network/nfs/nfsstat01/
Dnfsstat01.sh14 local calls=
19 calls="$(grep $name /proc/net/rpc/$nfs_f | cut -d' ' -f$field)"
20 ROD nfsstat -c$opt | grep -q "$calls"
21 echo "$calls"
25 calls=$(tst_rhost_run -c "grep $name /proc/net/rpc/$nfs_f" | \
27 tst_rhost_run -s -c "nfsstat -s$opt" | grep -q "$calls"
28 echo "$calls"
/external/python/python-api-core/tests/unit/operations_v1/
Dtest_operations_client.py36 assert ("header", "foo") in channel.GetOperation.calls[0].metadata
37 assert ("x-goog-request-params", "name=name") in channel.GetOperation.calls[
60 assert ("header", "foo") in channel.ListOperations.calls[0].metadata
61 assert ("x-goog-request-params", "name=name") in channel.ListOperations.calls[
78 assert ("header", "foo") in channel.DeleteOperation.calls[0].metadata
79 assert ("x-goog-request-params", "name=name") in channel.DeleteOperation.calls[
93 assert ("header", "foo") in channel.CancelOperation.calls[0].metadata
94 assert ("x-goog-request-params", "name=name") in channel.CancelOperation.calls[

12345678910>>...116