/external/grpc-grpc/test/cpp/interop/ |
D | client.cc | 108 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/ |
D | file_descriptor_shuffle_unittest.cc | 60 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/libtextclassifier/actions/ |
D | ranker_test.cc | 40 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 …]
|
D | actions-suggestions_test.cc | 78 EXPECT_EQ(response.actions.size(), 3 /* share_location + 2 smart replies*/); in TEST_F() 88 EXPECT_THAT(response.actions, testing::IsEmpty()); in TEST_F() 103 ASSERT_GE(response.actions.size(), 1); in TEST_F() 104 EXPECT_EQ(response.actions.front().type, "view_map"); in TEST_F() 105 EXPECT_EQ(response.actions.front().score, 1.0); in TEST_F() 148 ASSERT_GE(response.actions.size(), 1); in TEST_F() 149 EXPECT_EQ(response.actions.front().type, "save_location"); in TEST_F() 150 EXPECT_EQ(response.actions.front().score, 1.0); in TEST_F() 156 response.actions.front().serialized_entity_data.data())); in TEST_F() 183 ASSERT_GE(response.actions.size(), 2); in TEST_F() [all …]
|
D | ranker.cc | 32 void SortByScoreAndType(std::vector<ActionSuggestion>* actions) { in SortByScoreAndType() argument 33 std::sort(actions->begin(), actions->end(), in SortByScoreAndType() 147 const std::vector<ActionSuggestion>& actions) { in IsAnyActionEquivalent() argument 148 for (const ActionSuggestion& other : actions) { in IsAnyActionEquivalent() 185 const std::vector<ActionSuggestion>& actions) { in IsAnyActionConflicting() argument 186 for (const ActionSuggestion& other : actions) { in IsAnyActionConflicting() 240 response->actions.begin(), response->actions.end(), in RankActions() 249 for (const ActionSuggestion& candidate : response->actions) { in RankActions() 255 response->actions = std::move(deduplicated_actions); in RankActions() 262 for (const ActionSuggestion& candidate : response->actions) { in RankActions() [all …]
|
D | lua-ranker_test.cc | 71 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 …]
|
D | actions-suggestions.cc | 87 auto actions = std::unique_ptr<ActionsSuggestions>(new ActionsSuggestions()); in FromUnownedBuffer() local 92 actions->model_ = model; in FromUnownedBuffer() 93 actions->SetOrCreateUnilib(unilib); in FromUnownedBuffer() 94 actions->triggering_preconditions_overlay_buffer_ = in FromUnownedBuffer() 96 if (!actions->ValidateAndInitialize()) { in FromUnownedBuffer() 99 return actions; in FromUnownedBuffer() 116 auto actions = std::unique_ptr<ActionsSuggestions>(new ActionsSuggestions()); in FromScopedMmap() local 117 actions->model_ = model; in FromScopedMmap() 118 actions->mmap_ = std::move(mmap); in FromScopedMmap() 119 actions->SetOrCreateUnilib(unilib); in FromScopedMmap() [all …]
|
/external/autotest/server/cros/cfm/configurable_test/ |
D | actions_unittest.py | 6 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/ |
D | Interpreter.java | 127 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/jcajce/provider/config/ |
D | ProviderConfigurationPermission.java | 49 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/crypto/ |
D | CryptoServicesPermission.java | 30 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/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | CryptoServicesPermission.java | 28 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/jcajce/provider/config/ |
D | ProviderConfigurationPermission.java | 51 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/tensorflow/contrib/autograph/examples/benchmarks/ |
D | cartpole_benchmark.py | 100 actions = tf.multinomial(tf.log(action_probs), 1) 101 return logits, actions 134 logits, actions = self(obs) # pylint:disable=not-callable 136 actions = tf.reshape(actions, ()) 138 labels = 1.0 - tf.cast(actions, tf.float32) 147 obs, reward, done = cart_pole_env.step(actions) 221 def step(self, actions): argument 223 def take_one_step(actions): argument 224 obs, reward, done, _ = self.env.step(actions) 230 (tf.float32, tf.float32, tf.bool), (actions,)) [all …]
|
/external/libunwind/src/unwind/ |
D | unwind-internal.h | 69 _Unwind_Action actions; in _Unwind_Phase2() local 78 actions = _UA_CLEANUP_PHASE; in _Unwind_Phase2() 80 actions |= _UA_FORCE_UNWIND; in _Unwind_Phase2() 89 actions |= _UA_END_OF_STACK; in _Unwind_Phase2() 100 reason = (*stop) (_U_VERSION, actions, exception_class, in _Unwind_Phase2() 130 actions |= _UA_HANDLER_FRAME; in _Unwind_Phase2() 133 reason = (*personality) (_U_VERSION, actions, exception_class, in _Unwind_Phase2() 146 if (actions & _UA_HANDLER_FRAME) in _Unwind_Phase2()
|
/external/u-boot/arch/arm/mach-exynos/ |
D | lowlevel_init.c | 174 int actions = 0; in do_lowlevel_init() local 202 actions = DO_CLOCKS | DO_WAKEUP; in do_lowlevel_init() 206 actions = DO_WAKEUP; in do_lowlevel_init() 210 actions = DO_CLOCKS | DO_MEM_RESET | DO_POWER; in do_lowlevel_init() 213 if (actions & DO_POWER) in do_lowlevel_init() 216 if (actions & DO_CLOCKS) { in do_lowlevel_init() 225 mem_ctrl_init(actions & DO_MEM_RESET); in do_lowlevel_init() 229 return actions & DO_WAKEUP; in do_lowlevel_init()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 157 struct actions { struct 206 static struct actions pipe_actions = { 245 static struct actions yield_actions = { 375 static struct actions futex_actions = { 411 struct actions *actions = &yield_actions; in main() local 435 actions = &pipe_actions; in main() 437 actions = &yield_actions; in main() 439 actions = &futex_actions; in main() 470 if (actions == &pipe_actions) in main() 472 else if (actions == &yield_actions) in main() [all …]
|
/external/vogar/src/vogar/ |
D | ActionFinder.java | 28 private final Map<String, Action> actions; field in ActionFinder 31 public ActionFinder(Log log, Map<String, Action> actions, Map<String, Outcome> outcomes) { in ActionFinder() argument 33 this.actions = actions; in ActionFinder() 43 int size = actions.size(); in findActionsRecursive() 48 log.verbose("found " + (actions.size() - size) + " actions in " + file); in findActionsRecursive() 60 actions.put(action.getName(), action); in findActionsRecursive() 64 actions.put(actionName, action); in findActionsRecursive()
|
/external/libcxxabi/src/ |
D | cxa_personality.cpp | 564 static void scan_eh_tab(scan_results &results, _Unwind_Action actions, in scan_eh_tab() argument 576 if (actions & _UA_SEARCH_PHASE) in scan_eh_tab() 579 if (actions & (_UA_CLEANUP_PHASE | _UA_HANDLER_FRAME | _UA_FORCE_UNWIND)) in scan_eh_tab() 587 else if (actions & _UA_CLEANUP_PHASE) in scan_eh_tab() 589 if ((actions & _UA_HANDLER_FRAME) && (actions & _UA_FORCE_UNWIND)) in scan_eh_tab() 696 if ((actions & _UA_CLEANUP_PHASE) && !(actions & _UA_HANDLER_FRAME)) in scan_eh_tab() 729 if ((actions & _UA_SEARCH_PHASE) || (actions & _UA_HANDLER_FRAME)) in scan_eh_tab() 739 else if (!(actions & _UA_FORCE_UNWIND)) in scan_eh_tab() 765 if (actions & _UA_SEARCH_PHASE) in scan_eh_tab() 775 else if (!(actions & _UA_FORCE_UNWIND)) in scan_eh_tab() [all …]
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | CSharp3Target.java | 93 Map<String, Object> actions = rootGrammar.getActions().get(actionScope); in genRecognizerFile() local 94 Object rootNamespace = actions != null ? actions.get("namespace") : null; in genRecognizerFile() 95 if (actions != null && rootNamespace != null) in genRecognizerFile() 97 actions = grammar.getActions().get(actionScope); in genRecognizerFile() 98 if (actions == null) in genRecognizerFile() 100 actions = new HashMap<String, Object>(); in genRecognizerFile() 101 grammar.getActions().put(actionScope, actions); in genRecognizerFile() 104 actions.put("namespace", rootNamespace); in genRecognizerFile()
|
/external/libyuv/files/ |
D | setup_links.py | 259 actions = [] 262 actions += self._ActionForPath( 265 actions += self._ActionForPath( 275 actions.append(Remove(entries_file, dangerous=True)) 277 actions.sort() 280 for action in actions: 285 if any(a.dangerous for a in actions): 287 for action in (a for a in actions if a.dangerous): 322 for action in actions: 393 actions = [] [all …]
|
/external/webrtc/ |
D | setup_links.py | 280 actions = [] 283 actions += self._ActionForPath( 286 actions += self._ActionForPath( 296 actions.append(Remove(entries_file, dangerous=True)) 298 actions.sort() 301 for action in actions: 306 if any(a.dangerous for a in actions): 308 for action in (a for a in actions if a.dangerous): 343 for action in actions: 414 actions = [] [all …]
|
/external/strace/tests/ |
D | seccomp_get_action_avail.c | 70 } actions [] = { in main() local 93 for (i = 0; i < ARRAY_SIZE(actions); ++i) { in main() 94 *act = actions[i].val; in main() 97 actions[i].str, errstr); in main() 100 *act = actions[0].val; in main()
|
/external/strace/tests-m32/ |
D | seccomp_get_action_avail.c | 70 } actions [] = { in main() local 93 for (i = 0; i < ARRAY_SIZE(actions); ++i) { in main() 94 *act = actions[i].val; in main() 97 actions[i].str, errstr); in main() 100 *act = actions[0].val; in main()
|
/external/strace/tests-mx32/ |
D | seccomp_get_action_avail.c | 70 } actions [] = { in main() local 93 for (i = 0; i < ARRAY_SIZE(actions); ++i) { in main() 94 *act = actions[i].val; in main() 97 actions[i].str, errstr); in main() 100 *act = actions[0].val; in main()
|