Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 25 of 927) sorted by relevance

12345678910>>...38

/external/grpc-grpc/test/cpp/interop/
Dclient.cc108 std::unordered_map<grpc::string, std::function<bool()>> actions; in main() local
109 actions["empty_unary"] = in main()
111 actions["large_unary"] = in main()
113 actions["server_compressed_unary"] = std::bind( in main()
115 actions["client_compressed_unary"] = std::bind( in main()
117 actions["client_streaming"] = in main()
119 actions["server_streaming"] = in main()
121 actions["server_compressed_streaming"] = std::bind( in main()
123 actions["client_compressed_streaming"] = std::bind( in main()
125 actions["slow_consumer"] = std::bind( in main()
[all …]
/external/libchrome/base/posix/
Dfile_descriptor_shuffle_unittest.cc60 const std::vector<Action>& actions() const { return actions_; } in actions() function in base::InjectionTracer
72 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
81 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
90 EXPECT_EQ(0u, tracer.actions().size()); in TEST()
99 ASSERT_EQ(1u, tracer.actions().size()); in TEST()
100 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
110 ASSERT_EQ(2u, tracer.actions().size()); in TEST()
111 EXPECT_TRUE(tracer.actions()[0] == Action(Action::MOVE, 0, 1)); in TEST()
112 EXPECT_TRUE(tracer.actions()[1] == Action(Action::MOVE, 2, 3)); in TEST()
121 ASSERT_EQ(2u, tracer.actions().size()); in TEST()
[all …]
/external/OpenCL-CTS/test_conformance/events/
Dtest_callbacks.cpp190 Action * actions[ 19 ] = { 0 }; variable
198 …log_info( "\tEvent callback triggered for action %s callback type %s \n", actions[actionIndex]->Ge… in simultaneous_event_callback_function()
214 actions[ index++ ] = new NDRangeKernelAction(); in test_callbacks_simultaneous()
215 actions[ index++ ] = new ReadBufferAction(); in test_callbacks_simultaneous()
216 actions[ index++ ] = new WriteBufferAction(); in test_callbacks_simultaneous()
217 actions[ index++ ] = new MapBufferAction(); in test_callbacks_simultaneous()
218 actions[ index++ ] = new UnmapBufferAction(); in test_callbacks_simultaneous()
222 actions[ index++ ] = new ReadImage2DAction(); in test_callbacks_simultaneous()
223 actions[ index++ ] = new WriteImage2DAction(); in test_callbacks_simultaneous()
224 actions[ index++ ] = new CopyImage2Dto2DAction(); in test_callbacks_simultaneous()
[all …]
/external/libtextclassifier/native/actions/
Dranker_test.cc40 response.actions = { in TEST()
55 response.actions, in TEST()
62 response.actions = { in TEST()
82 response.actions, in TEST()
97 response.actions.push_back({/*response_text=*/"", in TEST()
108 response.actions.push_back({/*response_text=*/"", in TEST()
119 response.actions.push_back({/*response_text=*/"", in TEST()
135 EXPECT_THAT(response.actions, in TEST()
149 response.actions.push_back({/*response_text=*/"", in TEST()
160 response.actions.push_back({/*response_text=*/"", in TEST()
[all …]
Dactions-suggestions_test.cc111 EXPECT_THAT(response.actions, IsEmpty()); in TEST_F()
125 EXPECT_THAT(response.actions, IsEmpty()); in TEST_F()
136 EXPECT_EQ(response.actions.size(), 3 /* share_location + 2 smart replies*/); in TEST_F()
147 EXPECT_THAT(response.actions, testing::IsEmpty()); in TEST_F()
163 ASSERT_GE(response.actions.size(), 1); in TEST_F()
164 EXPECT_EQ(response.actions.front().type, "view_map"); in TEST_F()
165 EXPECT_EQ(response.actions.front().score, 1.0); in TEST_F()
208 ASSERT_GE(response.actions.size(), 1); in TEST_F()
209 EXPECT_EQ(response.actions.front().type, "save_location"); in TEST_F()
210 EXPECT_EQ(response.actions.front().score, 1.0); in TEST_F()
[all …]
Dranker.cc36 void SortByScoreAndType(std::vector<ActionSuggestion>* actions) { in SortByScoreAndType() argument
37 std::sort(actions->begin(), actions->end(), in SortByScoreAndType()
151 const std::vector<ActionSuggestion>& actions) { in IsAnyActionEquivalent() argument
152 for (const ActionSuggestion& other : actions) { in IsAnyActionEquivalent()
189 const std::vector<ActionSuggestion>& actions) { in IsAnyActionConflicting() argument
190 for (const ActionSuggestion& other : actions) { in IsAnyActionConflicting()
246 response->actions.begin(), response->actions.end(), in RankActions()
255 for (const ActionSuggestion& candidate : response->actions) { in RankActions()
261 response->actions = std::move(deduplicated_actions); in RankActions()
268 for (const ActionSuggestion& candidate : response->actions) { in RankActions()
[all …]
Dlua-ranker_test.cc71 response.actions = { in TEST()
88 EXPECT_THAT(response.actions, in TEST()
97 response.actions = { in TEST()
110 EXPECT_THAT(response.actions, testing::IsEmpty()); in TEST()
116 response.actions = { in TEST()
133 EXPECT_THAT(response.actions, in TEST()
142 response.actions = { in TEST()
163 EXPECT_THAT(response.actions, in TEST()
172 response.actions = { in TEST()
191 EXPECT_THAT(response.actions, in TEST()
[all …]
/external/autotest/server/cros/cfm/configurable_test/
Dactions_unittest.py6 from autotest_lib.server.cros.cfm.configurable_test import actions
41 action = actions.AssertFileDoesNotContain('/foo', ['EE', 'WW'])
47 action = actions.AssertFileDoesNotContain('/foo', ['EE', 'WW'])
53 action = actions.AssertFileDoesNotContain('/foo', ['EE', 'W{3}Q+'])
59 action = actions.RebootDut()
65 action = actions.RebootDut(restart_chrome_for_cfm=True)
76 action = actions.AssertUsbDevices([spec], lambda x: True)
86 action = actions.AssertUsbDevices(
97 action = actions.AssertUsbDevices(
105 action = actions.AssertUsbDevices([USB_DEVICE_SPEC])
[all …]
/external/antlr/tool/src/main/java/org/antlr/tool/
DInterpreter.java127 DebugEventListener actions, in scan() argument
151 actions, visitedStates); in scan()
164 LexerActionGetTokenType actions = new LexerActionGetTokenType(grammar); in scan() local
165 scan(startRule, actions, visitedStates); in scan()
166 return actions.token; in scan()
170 DebugEventListener actions, in parse() argument
188 actions, visitedStates); in parse()
200 ParseTreeBuilder actions = new ParseTreeBuilder(grammar.name); in parse() local
202 parse(startRule, actions, visitedStates); in parse()
209 return actions.getTree(); in parse()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DCryptoServicesPermission.java28 private final Set<String> actions = new HashSet<String>(); field in CryptoServicesPermission
34 this.actions.add(name); in CryptoServicesPermission()
48 if (this.actions.containsAll(other.actions)) in implies()
63 if (this.actions.equals(other.actions)) in equals()
74 return actions.hashCode(); in hashCode()
79 return actions.toString(); in getActions()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DCryptoServicesPermission.java30 private final Set<String> actions = new HashSet<String>(); field in CryptoServicesPermission
36 this.actions.add(name); in CryptoServicesPermission()
50 if (this.actions.containsAll(other.actions)) in implies()
65 if (this.actions.equals(other.actions)) in equals()
76 return actions.hashCode(); in hashCode()
81 return actions.toString(); in getActions()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/
DCryptoServicesPermission.java30 private final Set<String> actions = new HashSet<String>(); field in CryptoServicesPermission
36 this.actions.add(name); in CryptoServicesPermission()
50 if (this.actions.containsAll(other.actions)) in implies()
65 if (this.actions.equals(other.actions)) in equals()
76 return actions.hashCode(); in hashCode()
81 return actions.toString(); in getActions()
/external/llvm-project/libcxx/utils/libcxx/test/
Dparams.py45 actions=lambda std: [
52 actions=lambda exceptions: [] if exceptions else [
59 actions=lambda rtti: [] if rtti else [
66 actions=lambda stdlib: [
72 actions=lambda warnings: [] if not warnings else [
79 actions=lambda useSystem: [
91 actions=lambda filesystem: [] if filesystem else [
97 actions=lambda experimental: [] if not experimental else [
104 actions=lambda enabled: [] if not enabled else [
110 actions=lambda enabled: [] if enabled else [
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/
DProviderConfigurationPermission.java49 private final String actions; field in ProviderConfigurationPermission
55 this.actions = "all"; in ProviderConfigurationPermission()
59 public ProviderConfigurationPermission(String name, String actions) in ProviderConfigurationPermission() argument
61 super(name, actions); in ProviderConfigurationPermission()
62 this.actions = actions; in ProviderConfigurationPermission()
63 this.permissionMask = calculateMask(actions); in ProviderConfigurationPermission()
67 String actions) in calculateMask() argument
69 StringTokenizer tok = new StringTokenizer(Strings.toLowerCase(actions), " ,"); in calculateMask()
116 return actions; in getActions()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/config/
DProviderConfigurationPermission.java51 private final String actions; field in ProviderConfigurationPermission
57 this.actions = "all"; in ProviderConfigurationPermission()
61 public ProviderConfigurationPermission(String name, String actions) in ProviderConfigurationPermission() argument
63 super(name, actions); in ProviderConfigurationPermission()
64 this.actions = actions; in ProviderConfigurationPermission()
65 this.permissionMask = calculateMask(actions); in ProviderConfigurationPermission()
69 String actions) in calculateMask() argument
71 StringTokenizer tok = new StringTokenizer(Strings.toLowerCase(actions), " ,"); in calculateMask()
118 return actions; in getActions()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/config/
DProviderConfigurationPermission.java51 private final String actions; field in ProviderConfigurationPermission
57 this.actions = "all"; in ProviderConfigurationPermission()
61 public ProviderConfigurationPermission(String name, String actions) in ProviderConfigurationPermission() argument
63 super(name, actions); in ProviderConfigurationPermission()
64 this.actions = actions; in ProviderConfigurationPermission()
65 this.permissionMask = calculateMask(actions); in ProviderConfigurationPermission()
69 String actions) in calculateMask() argument
71 StringTokenizer tok = new StringTokenizer(Strings.toLowerCase(actions), " ,"); in calculateMask()
118 return actions; in getActions()
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc5-rocm/
Dcc_toolchain_config.bzl100 actions = all_compile_actions,
108 actions = all_compile_actions,
117 actions = all_compile_actions,
126 actions = all_cpp_compile_actions + [ACTION_NAMES.lto_backend],
141 actions = all_link_actions + lto_index_actions,
149 actions = all_link_actions + lto_index_actions,
169 actions = [
194 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
216 actions = all_compile_actions,
233 actions = all_compile_actions,
[all …]
/external/tensorflow/third_party/gpus/crosstool/
Dhipcc_cc_toolchain_config.bzl.tpl100 actions = all_compile_actions,
108 actions = all_compile_actions,
117 actions = all_compile_actions,
126 actions = all_cpp_compile_actions + [ACTION_NAMES.lto_backend],
141 actions = all_link_actions + lto_index_actions,
149 actions = all_link_actions + lto_index_actions,
169 actions = [
194 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
216 actions = all_compile_actions,
233 actions = all_compile_actions,
[all …]
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda11/
Dcc_toolchain_config.bzl269 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
286 actions = [
316 actions = all_link_actions,
332 actions = [
353 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
372 actions = [
396 actions = all_link_actions,
412 actions = all_link_actions,
423 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
435 actions = [
[all …]
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/clang_manylinux2010-cuda10.0/
Dcc_toolchain_config.bzl269 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
286 actions = [
316 actions = all_link_actions,
332 actions = [
353 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
372 actions = [
396 actions = all_link_actions,
412 actions = all_link_actions,
423 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
435 actions = [
[all …]
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.1/
Dcc_toolchain_config.bzl269 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
286 actions = [
316 actions = all_link_actions,
332 actions = [
353 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
372 actions = [
396 actions = all_link_actions,
412 actions = all_link_actions,
423 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
435 actions = [
[all …]
/external/tensorflow/third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.0/
Dcc_toolchain_config.bzl269 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
286 actions = [
316 actions = all_link_actions,
332 actions = [
353 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
372 actions = [
396 actions = all_link_actions,
412 actions = all_link_actions,
423 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
435 actions = [
[all …]
/external/tensorflow/third_party/toolchains/preconfig/win/bazel_211/
Dwindows_cc_toolchain_config.bzl272 actions = all_link_actions +
283 actions = [
297 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
316 actions = [
343 actions = [
374 actions = [
386 actions = all_link_actions,
396 actions = all_link_actions +
452 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
456 actions = all_link_actions,
[all …]
/external/tensorflow/third_party/toolchains/preconfig/win/tf_win_08062020/
Dwindows_cc_toolchain_config.bzl272 actions = all_link_actions +
283 actions = [
297 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
316 actions = [
343 actions = [
374 actions = [
386 actions = all_link_actions,
396 actions = all_link_actions +
452 actions = [ACTION_NAMES.c_compile, ACTION_NAMES.cpp_compile],
456 actions = all_link_actions,
[all …]
/external/rust/crates/tokio-test/src/
Dio.rs54 actions: VecDeque<Action>, field
69 actions: VecDeque<Action>, field
87 self.actions.push_back(Action::Read(buf.into())); in read()
97 self.actions.push_back(Action::ReadError(error)); in read_error()
106 self.actions.push_back(Action::Write(buf.into())); in write()
116 self.actions.push_back(Action::WriteError(error)); in write_error()
126 self.actions.push_back(Action::Wait(duration)); in wait()
138 let (inner, handle) = Inner::new(self.actions.clone()); in build_with_handle()
187 fn new(actions: VecDeque<Action>) -> (Inner, Handle) { in new()
193 actions, in new()
[all …]

12345678910>>...38