Home
last modified time | relevance | path

Searched full:expects (Results 1 – 25 of 5038) sorted by relevance

12345678910>>...202

/external/webrtc/modules/audio_coding/neteq/
Dneteq_network_stats_unittest.cc191 // expects.x = -1, do not care
192 // expects.x = 0, 'x' in current stats should equal 'x' in `stats_ref`
193 // expects.x = 1, 'x' in current stats should < 'x' in `stats_ref`
194 // expects.x = 2, 'x' in current stats should > 'x' in `stats_ref`
195 void CheckNetworkStatistics(NetEqNetworkStatsCheck expects) { in CheckNetworkStatistics() argument
200 switch (expects.x) { \ in CheckNetworkStatistics()
202 EXPECT_EQ(stats.x, expects.stats_ref.x); \ in CheckNetworkStatistics()
205 EXPECT_LT(stats.x, expects.stats_ref.x); \ in CheckNetworkStatistics()
208 EXPECT_GT(stats.x, expects.stats_ref.x); \ in CheckNetworkStatistics()
227 void RunTest(int num_loops, NetEqNetworkStatsCheck expects) { in RunTest() argument
[all …]
/external/easymock/src/org/easymock/
DEasyMock.java208 * Expects any boolean argument. For details, see the EasyMock
219 * Expects any byte argument. For details, see the EasyMock documentation.
229 * Expects any char argument. For details, see the EasyMock documentation.
239 * Expects any int argument. For details, see the EasyMock documentation.
249 * Expects any long argument. For details, see the EasyMock documentation.
259 * Expects any float argument. For details, see the EasyMock documentation.
269 * Expects any double argument. For details, see the EasyMock documentation.
279 * Expects any short argument. For details, see the EasyMock documentation.
289 * Expects any Object argument. For details, see the EasyMock documentation.
300 * Expects a comparable argument greater than or equal the given value. For details, see
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1q.sh487 local -a expects=("${@}")
509 local expect=${expects[$key]}
527 local -a expects=("${@}")
531 vxlan_flood_test $mac $dst $vid "${expects[@]}"
567 local -a expects=(0 0 0 0 0)
568 expects[$hit_idx]=10
570 vxlan_flood_test $mac $dst $vid "${expects[@]}"
616 local -a expects=(0 0 0 0 0)
624 expects[0]=10; expects[1]=10; expects[3]=10
625 vxlan_flood_test $mac $dst $vid "${expects[@]}"
[all …]
Dvxlan_bridge_1q_ipv6.sh629 local -a expects=("${@}")
651 local expect=${expects[$key]}
669 local -a expects=("${@}")
673 vxlan_flood_test $mac $dst $vid "${expects[@]}"
709 local -a expects=(0 0 0 0 0)
710 expects[$hit_idx]=10
712 vxlan_flood_test $mac $dst $vid "${expects[@]}"
758 local -a expects=(0 0 0 0 0)
766 expects[0]=10; expects[1]=10; expects[3]=10
767 vxlan_flood_test $mac $dst $vid "${expects[@]}"
[all …]
/external/executorch/backends/cadence/runtime/
Dutils.py16 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
19 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
21 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
30 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
32 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
71 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
77 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
83 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
88 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
99 # pyre-fixme[24]: Generic type `np.ndarray` expects 2 type parameters.
[all …]
/external/curl/include/curl/
Dtypecheck-gcc.h171 "curl_easy_setopt expects a long argument for this option")
173 "curl_easy_setopt expects a curl_off_t argument for this option")
175 "curl_easy_setopt expects a "
179 "curl_easy_setopt expects a curl_write_callback argument for this option")
181 "curl_easy_setopt expects a "
185 "curl_easy_setopt expects a curl_read_callback argument for this option")
187 "curl_easy_setopt expects a curl_ioctl_callback argument for this option")
189 "curl_easy_setopt expects a curl_sockopt_callback argument for this option")
191 "curl_easy_setopt expects a "
195 "curl_easy_setopt expects a curl_progress_callback argument for this option")
[all …]
/external/pytorch/aten/src/ATen/native/
DPixelShuffle.h9 "pixel_shuffle expects input to have at least 3 dimensions, but got input with ", in check_pixel_shuffle_shapes()
12 "pixel_shuffle expects a positive upscale_factor, but got ", in check_pixel_shuffle_shapes()
17 … "pixel_shuffle expects its input's 'channel' dimension to be divisible by the square of " in check_pixel_shuffle_shapes()
24 "pixel_unshuffle expects input to have at least 3 dimensions, but got input with ", in check_pixel_unshuffle_shapes()
29 "pixel_unshuffle expects a positive downscale_factor, but got ", in check_pixel_unshuffle_shapes()
35 "pixel_unshuffle expects height to be divisible by downscale_factor, but input.size(-2)=", in check_pixel_unshuffle_shapes()
41 "pixel_unshuffle expects width to be divisible by downscale_factor, but input.size(-1)=", in check_pixel_unshuffle_shapes()
DTensorShape.h42 TORCH_CHECK(self.dim() != 0, "split expects at least a 1-dimensional tensor"); in get_num_splits()
43 …TORCH_CHECK(split_size >= 0, "split expects split_size be non-negative, but got split_size=", spl… in get_num_splits()
76 "_chunk_cat expects same sizes of 0,...,dim-1 dimensions for all tensors" in leading_dimension_matches()
83 TORCH_CHECK(num_chunks >= 1, "_chunk_cat expects positive num_chunks"); in preprocess_chunk_cat_inputs()
85 "_chunk_cat expects a non-empty input tensor list"); in preprocess_chunk_cat_inputs()
89 TORCH_CHECK(tensors[i].numel() > 0, "_chunk_cat expects non-empty tensor"); in preprocess_chunk_cat_inputs()
90 …TORCH_CHECK(tensors[i].dtype() == expected_dtype, "_chunk_cat expects all input tensors with the s… in preprocess_chunk_cat_inputs()
91 …TORCH_CHECK(tensors[i].device() == expected_device, "_chunk_cat expects all inputs tensors on the … in preprocess_chunk_cat_inputs()
96 …TORCH_CHECK(dim >= 0, "_chunk_cat expects non-negative dim when input tensors have different ndims… in preprocess_chunk_cat_inputs()
98 … TORCH_CHECK(dim < tensors[i].ndimension(), "_chunk_cat expects dim < ndim for all input tensors"); in preprocess_chunk_cat_inputs()
/external/webrtc/modules/audio_coding/test/
DTestVADDTX.cc119 const int* expects) { in Run() argument
164 switch (expects[i]) { in Run()
205 int expects[] = {-1, 1, expect_dtx_enabled, 0, 0}; in Test() local
213 out_filename.str(), !new_outfile, expects); in Test()
218 int expects[] = {0, 1, 0, 0, 0}; in Perform() local
229 out_filename, false, expects); in Perform()
234 expects[static_cast<int>(AudioFrameType::kEmptyFrame)] = 1; in Perform()
235 expects[static_cast<int>(AudioFrameType::kAudioFrameCN)] = 1; in Perform()
237 out_filename, true, expects); in Perform()
245 expects[static_cast<int>(AudioFrameType::kEmptyFrame)] = 0; in Perform()
[all …]
/external/apache-http/src/org/apache/http/client/params/
DClientPNames.java53 * This parameter expects a value of type {@link String}.
61 …* This parameters expects a value of type {@link org.apache.http.conn.ClientConnectionManagerFacto…
69 * This parameter expects a value of type {@link Boolean}.
77 * This parameter expects a value of type {@link Boolean}.
86 * This parameter expects a value of type {@link Integer}.
96 * This parameter expects a value of type {@link Boolean}.
104 * This parameter expects a value of type {@link Boolean}.
112 * This parameter expects a value of type {@link String}.
120 * This parameter expects a value of type {@link org.apache.http.HttpHost}.
128 * This parameter expects a value of type {@link java.util.Collection}. The
[all …]
/external/google-breakpad/src/third_party/curl/
Dtypecheck-gcc.h126 "curl_easy_setopt expects a long argument for this option")
128 "curl_easy_setopt expects a curl_off_t argument for this option")
130 "curl_easy_setopt expects a string (char* or char[]) argument for this option"
133 "curl_easy_setopt expects a curl_write_callback argument for this option")
135 "curl_easy_setopt expects a curl_read_callback argument for this option")
137 "curl_easy_setopt expects a curl_ioctl_callback argument for this option")
139 "curl_easy_setopt expects a curl_sockopt_callback argument for this option")
141 "curl_easy_setopt expects a curl_opensocket_callback argument for this option"
144 "curl_easy_setopt expects a curl_progress_callback argument for this option")
146 "curl_easy_setopt expects a curl_debug_callback argument for this option")
[all …]
/external/apache-http/src/org/apache/http/params/
DCoreProtocolPNames.java53 * This parameter expects a value of type
62 * This parameter expects a value of type {@link String}.
70 * This parameter expects a value of type {@link String}.
78 * This parameter expects a value of type {@link String}.
86 * This parameter expects a value of type {@link String}.
95 * This parameter expects a value of type {@link Boolean}.
123 * This parameter expects a value of type {@link Boolean}.
133 * This parameter expects a value of type {@link Integer}.
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf_device_ops_invalid.mlir6 // expected-error@-1 {{'tf_device.replicate' expects 'n' to be at least 2, got 1}}
17 // expected-error@-1 {{'tf_device.replicate' expects number of operands for replicated input 0 to b…
29 // expected-error@-1 {{use of value '%arg0' expects different type than prior uses: 'tensor<*xf32>'…
39 // expected-error@-1 {{custom op 'tf_device.replicate' expects a single block region}}
52 // expected-error@-1 {{custom op 'tf_device.replicate' expects a tf_device.return terminator}}
73 // expected-error@-1 {{'tf_device.replicate' op expects a non-empty block}}
84 // expected-error@+2 {{'func.return' op expects parent op 'func.func'}}
108 // expected-error@-1 {{'tf_device.replicate' op expects number of devices (2) to be equal to 'n' (3…
120 // expected-error@-1 {{'tf_device.replicate' op expects number of devices (2) to be equal to 'n' (3…
131 // expected-error@-1 {{'tf_device.replicate' op expects number of replicated inputs (4) to be evenl…
[all …]
Dtf_executor_ops_invalid.mlir30 // expected-error@-1 {{'tf_executor.graph' op expects a non-empty block}}
64 // expected-error@-1 {{custom op 'tf_executor.graph' expects a tf_executor.fetch terminator}}
76 // expected-error@-1 {{'tf_executor.fetch' op expects parent op 'tf_executor.graph'}}
108 // expected-error@-1 {{custom op 'tf_executor.graph' expects a single block region}}
178 // expected-error@-1 {{'tf_executor.island' op expects parent op 'tf_executor.graph'}}
225 // expected-error@-1 {{'tf_executor.island' op expects a non-empty block}}
238 // expected-error@-1 {{expects body without any arguments}}
265 // expected-error@-1 {{'tf_executor.yield' op expects parent op 'tf_executor.island'}}
341 // expected-error@-1 {{'tf_executor.Switch' op expects parent op 'tf_executor.graph'}}
363 // expected-error@-1 {{custom op 'tf_executor.Switch' expects a single data type and a predicate}}
[all …]
/external/pytorch/aten/src/ATen/native/vulkan/ops/
DGru.cpp54 "Vulkan gru expects 'params_cpu' size to be 4 * 'num_layers'."); in gru_input()
57 "Vulkan gru expects 'input_vk' dims to be 3."); in gru_input()
59 hx_vk.sizes().size() == 3, "Vulkan gru expects 'hx_vk' dims to be 3."); in gru_input()
61 has_biases, "Vulkan gru expects 'has_biases' to be true."); in gru_input()
62 TORCH_INTERNAL_ASSERT(!train, "Vulkan gru expects 'train' to be false."); in gru_input()
64 !bidirectional, "Vulkan gru expects 'bidirectional' to be false."); in gru_input()
67 "Vulkan gru expects 'dropout' to be 0.0."); in gru_input()
74 "Vulkan gru expects batch-first input"); in gru_input()
144 "Vulkan gru expects 'params_cpu' size to be 4 * 'num_layers'." in pack_linear_op_contexts()
196 has_biases, "Vulkan gru expects 'has_biases' to be true."); in GruPackedContext()
[all …]
DLstm.cpp66 "Vulkan LSTM expects 'params_cpu' size to be 4 * 'num_layers'."); in lstm_input()
68 input_vk.sizes().size() == 3, "Vulkan LSTM expects input dims to be 3."); in lstm_input()
71 "Vulkan LSTM expects hidden state dims to be 3."); in lstm_input()
74 "Vulkan LSTM expects cell state dims to be 3."); in lstm_input()
76 has_biases, "Vulkan LSTM expects 'has_biases' to be true."); in lstm_input()
77 TORCH_INTERNAL_ASSERT(!train, "Vulkan LSTM expects 'train' to be false."); in lstm_input()
79 !bidirectional, "Vulkan LSTM expects 'bidirectional' to be false."); in lstm_input()
82 "Vulkan LSTM expects 'dropout' to be 0.0."); in lstm_input()
89 "Vulkan gru expects batch-first input"); in lstm_input()
180 "Vulkan LSTM expects 'params_cpu' size to be 4 * 'num_layers'." in pack_lstm_linear_op_contexts()
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DSafeJUnitRule.java48 // looks like the user expects a throwable but it was not thrown! in apply()
57 …* Expects that _after_ the test, the rule will fire specific exception with specific exception mes…
70 …* Expects that _after_ the test, the rule will fire specific exception with specific exception mes…
87 * Expects that _after_ the test, the rule will fire an exception
94 * Expects that _after_ the test, given assert will run
108 * Thrown when user expects the tested rule to throw an exception but no exception was thrown
/external/grpc-grpc/src/php/tests/unit_tests/
DServerCallTest.php83 $this->mockCall->expects($this->once())
99 $this->mockCall->expects($this->once())
117 $this->mockCall->expects($this->once())
137 $this->mockCall->expects($this->once())
157 $this->mockCall->expects($this->once())
179 $this->mockCall->expects($this->once())
197 $this->mockCall->expects($this->once())
219 $this->mockCall->expects($this->once())
242 $this->mockCall->expects($this->once())
264 $this->mockCall->expects($this->once())
[all …]
/external/uwb/src/rust/uwb_core/src/uci/
Dmock_uci_manager.rs89 /// MockUciManager expects call, returns out as response, followed by notfs sent.
100 /// MockUciManager expects call with parameters, returns out as response.
110 /// MockUciManager expects call with parameters, returns out as response.
120 /// MockUciManager expects call, returns out as response.
127 /// MockUciManager expects call, returns out as response.
134 /// MockUciManager expects call with parameters, returns out as response.
148 /// MockUciManager expects call with parameters, returns out as response.
162 /// MockUciManager expects call with parameters, returns out as response.
169 /// MockUciManager expects call with parameters, returns out as response, followed by notfs
188 /// MockUciManager expects call with parameters, returns out as response, followed by notfs
[all …]
/external/python/mobly/mobly/
Dexpects.py24 # the `android_device` controller directly, the `expects.recorder`
25 # `TestResultRecord` isn't set, which causes `expects` module methods to fail
27 # record for `expects` module to use as well as providing a way to get the
76 """Expects an expression evaluates to True.
95 """Expects an expression evaluates to False.
114 """Expects the equality of objects, otherwise fail the test.
140 """Expects no exception is raised in a context.
/external/kotlinx.serialization/core/commonMain/src/kotlinx/serialization/internal/
DCollectionDescriptors.kt21 require(index >= 0) { "Illegal index $index, $serialName expects only non-negative indices"} in getElementName()
26 require(index >= 0) { "Illegal index $index, $serialName expects only non-negative indices"} in getElementAnnotations()
31 require(index >= 0) { "Illegal index $index, $serialName expects only non-negative indices"} in getElementDescriptor()
61 require(index >= 0) { "Illegal index $index, $serialName expects only non-negative indices"} in toString()
66 require(index >= 0) { "Illegal index $index, $serialName expects only non-negative indices"} in toString()
71 require(index >= 0) { "Illegal index $index, $serialName expects only non-negative indices"} in toString()
/external/clang/test/CodeGen/
Davx-cmp-builtins.c14 // Expects that the third argument in LLVM IR is immediate expression in test_cmp_pd()
20 // Expects that the third argument in LLVM IR is immediate expression in test_cmp_ps()
26 // Expects that the third argument in LLVM IR is immediate expression in test_cmp_pd256()
32 // Expects that the third argument in LLVM IR is immediate expression in test_cmp_ps256()
38 // Expects that the third argument in LLVM IR is immediate expression in test_cmp_sd()
44 // Expects that the third argument in LLVM IR is immediate expression in test_cmp_ss()
/external/clang/test/Sema/
Dinline-asm-validate-x86.c9 … : "0"(i), "I"(j)); // expected-error{{constraint 'I' expects an integer constant expression}} in I()
26 … : "0"(i), "J"(j)); // expected-error{{constraint 'J' expects an integer constant expression}} in J()
43 … : "0"(i), "K"(j)); // expected-error{{constraint 'K' expects an integer constant expression}} in K()
63 … : "0"(i), "L"(j)); // expected-error{{constraint 'L' expects an integer constant expression}} in L()
86 … : "0"(i), "M"(j)); // expected-error{{constraint 'M' expects an integer constant expression}} in M()
103 … : "0"(i), "N"(j)); // expected-error{{constraint 'N' expects an integer constant expression}} in N()
120 … : "0"(i), "O"(j)); // expected-error{{constraint 'O' expects an integer constant expression}} in O()
Dformat-strings-freebsd.c10 // %b expects an int and a char * in check_freebsd_kernel_extensions()
17 // %D expects an unsigned char * and a char * in check_freebsd_kernel_extensions()
30 // %r expects an int in check_freebsd_kernel_extensions()
36 // h modifier expects a short in check_freebsd_kernel_extensions()
42 // %y expects an int in check_freebsd_kernel_extensions()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_info.h47 // expects a Tensor or list of Tensors, and it is described by an `ArgDef`.
48 // An *attribute* is a parameter that expects any other value type, and it is
65 // Information about a parameter that expects a non-Tensor value.
73 // Information about a parameter that expects a Tensor or list(Tensor).
160 // each input (parameter that expects a tensor value).
162 // each attribute (parameter that expects a non-tensor value).
178 // The ordered names of the canononical parameters that this API expects.
272 // The names of the parameters that this API expects.
280 // Information about the non-tensor-valued parameters that this API expects.
283 // Information about the tensor-valued parameters that this API expects.

12345678910>>...202