/third_party/node/test/parallel/ |
H A D | test-assert-calltracker-calls.js | 5 // This test ensures that assert.CallTracker.calls() works as intended. 15 // Ensures calls() throws on invalid input types. 17 const callsbar = tracker.calls(bar, '1'); 23 const callsbar = tracker.calls(bar, 0.1); 29 const callsbar = tracker.calls(bar, true); 35 const callsbar = tracker.calls(bar, () => {}); 41 const callsbar = tracker.calls(bar, null); 46 // Expects an error as tracker.calls() cannot be called within a process exit 49 assert.throws(() => tracker.calls(bar, 1), { 60 const callsfunc = tracker.calls(fun [all...] |
H A D | test-dns-default-verbatim-false.js | 12 const calls = []; 14 calls.push(args); 34 assert.strictEqual(calls.length, callsLength + 1); 35 verbatim = calls[callsLength][4];
|
H A D | test-dns-default-verbatim-true.js | 12 const calls = []; 14 calls.push(args); 34 assert.strictEqual(calls.length, callsLength + 1); 35 verbatim = calls[callsLength][4];
|
H A D | test-assert-calltracker-verify.js | 15 const callsfoo = tracker.calls(foo, 1); 16 const callsbar = tracker.calls(bar, 1); 36 const callsfoobar = tracker.calls(foo, 1);
|
H A D | test-dns-set-default-order.js | 13 const calls = []; 15 calls.push(args); 48 assert.strictEqual(calls.length, callsLength + 1); 49 verbatim = calls[callsLength][4];
|
H A D | test-stream2-objects.js | 177 let calls = 0; 181 calls++; 190 assert.strictEqual(calls, 0); 199 assert.strictEqual(calls, 1);
|
H A D | test-tls-connect-given-socket.js | 41 function establish(socket, calls) { 55 }, calls));
|
/third_party/ltp/testcases/network/nfs/nfsstat01/ |
H A D | nfsstat01.sh | 14 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" 35 tst_res TINFO "checking RPC calls for server/client" 40 tst_res TINFO "calls $server_calls/$client_calls" 42 tst_res TINFO "Checking for tracking of RPC calls fo [all...] |
H A D | nfsstat01 | 16 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" 37 tst_res TINFO "checking RPC calls for server/client" 42 tst_res TINFO "calls $server_calls/$client_calls" 44 tst_res TINFO "Checking for tracking of RPC calls fo [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | fast_uniform_bits_test.cc | 62 return ((++calls % 2) == 1 && reject) ? Hi : Val; in operator ()() 66 size_t calls = 0; member 254 EXPECT_EQ(64, urng0.calls); in TEST() 256 EXPECT_EQ(64, urng1.calls); in TEST() 260 EXPECT_EQ(16, urng4.calls); in TEST() 262 EXPECT_EQ(3, urng22.calls); in TEST() 264 EXPECT_EQ(3, urng31.calls); in TEST() 266 EXPECT_EQ(2, urng32.calls); in TEST() 268 EXPECT_EQ(3, urng33.calls); in TEST() 270 EXPECT_EQ(2, urng63.calls); in TEST() [all...] |
/third_party/node/lib/internal/test_runner/mock/ |
H A D | mock.js | 34 #calls; 41 this.#calls = []; 49 * Gets an array of recorded calls made to the mock function. 50 * @returns {Array} An array of recorded calls. 52 get calls() { 53 return ArrayPrototypeSlice(this.#calls, 0); 61 return this.#calls.length; 80 const nextCall = this.#calls.length; 103 * Resets the recorded calls to the mock function 106 this.#calls [all...] |
/third_party/node/test/cctest/ |
H A D | test_linked_binding.cc | 71 int calls = 0; in TEST_F() local 72 AddLinkedBinding(*test_env, "local_linked", InitializeLocalBinding, &calls); in TEST_F() 88 CHECK_EQ(calls, 1); in TEST_F() 346 int calls = 0; in TEST_F() local 347 AddLinkedBinding(*test_env, "local_linked1", InitializeLocalBinding, &calls); in TEST_F() 348 AddLinkedBinding(*test_env, "local_linked2", InitializeLocalBinding, &calls); in TEST_F() 349 AddLinkedBinding(*test_env, "local_linked3", InitializeLocalBinding, &calls); in TEST_F() 351 AddLinkedBinding(*test_env, "local_linked4", InitializeLocalBinding, &calls); in TEST_F() 352 AddLinkedBinding(*test_env, "local_linked5", InitializeLocalBinding, &calls); in TEST_F() 370 CHECK_EQ(calls, in TEST_F() [all...] |
/third_party/python/Lib/test/ |
H A D | _test_atexit.py | 29 calls = [] 32 calls.append(('func1', args, kwargs)) 35 calls.append(('func2', args, kwargs)) 43 self.assertEqual(calls,
|
H A D | test_subclassinit.py | 81 cls.calls = [] 89 cls.calls += [middle] 94 cls.calls += [right] 99 self.assertEqual(A.calls, ["right", "middle"]) 100 self.assertEqual(Left.calls, []) 101 self.assertEqual(Right.calls, [])
|
H A D | test_compare.py | 56 calls = [] 60 calls.append('Left.__eq__') 64 calls.append('Right.__eq__') 67 calls.append('Right.__ne__') 70 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__']) 74 calls = [] 78 calls.append('Base.__eq__') 82 calls.append('Derived.__eq__') 85 calls.append('Derived.__ne__') 88 self.assertSequenceEqual(calls, ['Derive [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | js-inlining-heuristic.cc | 210 // cases where f() is a small dispatch function that calls the appropriate in Reduce() 213 // to just inline one level in recursive calls. In some cases like tail in Reduce() 414 Node** if_successes, Node** calls, in TryReuseDispatch() 465 // calls and states directly to the inputs of the ex-phi, ex-effect-phi and in TryReuseDispatch() 606 // Clone the calls for each branch. in TryReuseDispatch() 607 // We need to specialize the calls to the correct target, effect, and in TryReuseDispatch() 632 calls[i] = if_successes[i] = in TryReuseDispatch() 651 Node** calls, Node** inputs, in CreateOrReuseDispatch() 655 if (TryReuseDispatch(node, callee, if_successes, calls, inputs, in CreateOrReuseDispatch() 665 // Create the appropriate control flow to dispatch to the cloned calls in CreateOrReuseDispatch() 413 TryReuseDispatch(Node* node, Node* callee, Node** if_successes, Node** calls, Node** inputs, int input_count) TryReuseDispatch() argument 648 CreateOrReuseDispatch(Node* node, Node* callee, Candidate const& candidate, Node** if_successes, Node** calls, Node** inputs, int input_count) CreateOrReuseDispatch() argument 719 Node* calls[kMaxCallPolymorphism + 1]; InlineCandidate() local [all...] |
/third_party/libunwind/libunwind/tests/ |
H A D | x64-test-dwarf-expressions.S | 19 # Main calls DW_CFA_expression_testcase, which sets up known state in a 21 # DW_CFA_expression_testcase then calls DW_CFA_expression_inner, which clobbers 24 # to recover clobbered state. DW_CFA_expression_inner calls recover_register to 32 # RAX flows back unchanged. Adding any function calls to the below may clobber
|
/third_party/python/Modules/ |
H A D | _lsprof.c | 34 rotating_node_t *calls; member 219 self->calls = EMPTY_ROTATING_TREE; in newProfilerEntry() 233 return (ProfilerSubEntry*) RotatingTree_Get(&caller->calls, in getSubEntry() 252 RotatingTree_Add(&caller->calls, &self->header); in newSubEntry() 266 RotatingTree_Enum(entry->calls, freeSubEntry, NULL); in freeEntry() 483 {"calls", "details of the calls"}, 547 if (entry->calls != EMPTY_ROTATING_TREE) { in statsForEntry() 551 if (RotatingTree_Enum(entry->calls, in statsForEntry() 596 calls detail [all...] |
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | crypt.h | 101 static unsigned calls = 0; /* ensure different random header each time */ in crypthead() local 110 if (++calls == 1) in crypthead()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | crypt.h | 101 static unsigned calls = 0; /* ensure different random header each time */ in crypthead() local 110 if (++calls == 1) in crypthead()
|
/third_party/zlib/contrib/minizip/ |
H A D | crypt.h | 102 static unsigned calls = 0; /* ensure different random header each time */ in crypthead() local 111 if (++calls == 1) in crypthead()
|
/third_party/json/tests/src/ |
H A D | unit-unicode4.cpp | 29 extern size_t calls; 30 size_t calls = 0; member 124 if (++calls % 100000 == 0) in check_utf8string() 126 std::cout << calls << " of 5517507 UTF-8 strings checked" << std::endl; in check_utf8string()
|
H A D | unit-unicode5.cpp | 29 extern size_t calls; 30 size_t calls = 0; member 124 if (++calls % 100000 == 0) in check_utf8string() 126 std::cout << calls << " of 1246225 UTF-8 strings checked" << std::endl; in check_utf8string()
|
H A D | unit-unicode3.cpp | 29 extern size_t calls; 30 size_t calls = 0; member 124 if (++calls % 100000 == 0) in check_utf8string() 126 std::cout << calls << " of 1641521 UTF-8 strings checked" << std::endl; in check_utf8string()
|
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | model.py | 225 def __init__(self, calls): 226 self.calls = calls 338 for call in node.calls:
|