| /third_party/alsa-utils/alsamixer/ |
| H A D | mixer_controls.c | 33 struct control *controls; 200 static void create_name(struct control *control) in create_name() argument 205 index = snd_mixer_selem_get_index(control->elem); in create_name() 207 control->name = casprintf("%s %u", snd_mixer_selem_get_name(control->elem), index); in create_name() 209 control->name = cstrdup(snd_mixer_selem_get_name(control->elem)); in create_name() 211 while ((s = strstr(control->name, "IEC958")) != NULL) in create_name() 215 static unsigned int create_controls_for_elem(snd_mixer_elem_t *elem, struct control *contro argument 495 struct control *control; create_controls() local [all...] |
| H A D | mixer_widget.c | 200 _("Left Move to the previous control"), in show_help() 201 _("Right Move to the next control"), in show_help() 240 static struct control *get_focus_control(unsigned int type) in get_focus_control() 251 static void change_enum_to_percent(struct control *control, int value) in change_enum_to_percent() argument 259 i = ffs(control->enum_channel_bits) - 1; in change_enum_to_percent() 260 err = snd_mixer_selem_get_enum_item(control->elem, i, &index); in change_enum_to_percent() 267 items = snd_mixer_selem_get_enum_items(control->elem); in change_enum_to_percent() 275 if (control->enum_channel_bits & (1 << i)) in change_enum_to_percent() 276 snd_mixer_selem_set_enum_item(control in change_enum_to_percent() 279 change_enum_relative(struct control *control, int delta) change_enum_relative() argument 305 change_volume_to_percent(struct control *control, int value, unsigned int channels) change_volume_to_percent() argument 330 change_volume_relative(struct control *control, int delta, unsigned int channels) change_volume_relative() argument 363 struct control *control; change_control_to_percent() local 377 struct control *control; change_control_relative() local 391 struct control *control; toggle_switches() local 446 struct control *control; balance_volumes() local 475 struct control *control; on_mouse_key() local [all...] |
| H A D | mixer_display.c | 245 struct control *control; in display_focus_item_info() local 262 control = &controls[focus_control_index]; in display_focus_item_info() 264 if (control->flags & TYPE_ENUM) { in display_focus_item_info() 265 err = snd_mixer_selem_get_enum_item(control->elem, ffs(control->enum_channel_bits) - 1, &index); in display_focus_item_info() 267 err = snd_mixer_selem_get_enum_item_name(control->elem, index, sizeof buf - 1, buf); in display_focus_item_info() 270 } else if (control->flags & (TYPE_PVOLUME | TYPE_CVOLUME)) { in display_focus_item_info() 273 if (control->flags & TYPE_PVOLUME) in display_focus_item_info() 277 if (!(control in display_focus_item_info() 405 struct control *control; display_control() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
| H A D | vktSubgroupUniformControlFlowTests.cpp | 139 // that support the subgroup size control extension and variants for those in checkSupport() 149 TCU_THROW(NotSupportedError, "Implementation does not support subgroup size control"); in checkSupport() 156 TCU_THROW(NotSupportedError, "These tests are not enabled for subgroup size control implementations"); in checkSupport() 240 bool control = controls[c]; in createSubgroupUniformControlFlowTests() local 242 const char* subdir = (control ? large_control_dir : large_dir); in createSubgroupUniformControlFlowTests() 245 group.add("subgroup_reconverge00", small, control, stage); in createSubgroupUniformControlFlowTests() 247 group.add("subgroup_reconverge01", small, control, stage); in createSubgroupUniformControlFlowTests() 249 group.add("subgroup_reconverge02", small, control, stage); in createSubgroupUniformControlFlowTests() 251 group.add("subgroup_reconverge03", small, control, stage); in createSubgroupUniformControlFlowTests() 253 group.add("subgroup_reconverge04", small, control, stag in createSubgroupUniformControlFlowTests() 343 bool control = controls[c]; createSubgroupUniformControlFlowTests() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
| H A D | vktSubgroupUniformControlFlowTests.cpp | 141 // that support the subgroup size control extension and variants for those in checkSupport() 151 TCU_THROW(NotSupportedError, "Implementation does not support subgroup size control"); in checkSupport() 158 TCU_THROW(NotSupportedError, "These tests are not enabled for subgroup size control implementations"); in checkSupport() 243 bool control = controls[c]; in createSubgroupUniformControlFlowTests() local 245 const char* subdir = (control ? large_control_dir : large_dir); in createSubgroupUniformControlFlowTests() 247 group.add("subgroup_reconverge00", "if/else diverge", small, control, stage); in createSubgroupUniformControlFlowTests() 248 group.add("subgroup_reconverge01", "do while diverge", small, control, stage); in createSubgroupUniformControlFlowTests() 249 group.add("subgroup_reconverge02", "while true with break", small, control, stage); in createSubgroupUniformControlFlowTests() 250 group.add("subgroup_reconverge03", "if/else diverge, volatile", small, control, stage); in createSubgroupUniformControlFlowTests() 251 group.add("subgroup_reconverge04", "early return and if/else diverge", small, control, stag in createSubgroupUniformControlFlowTests() 306 bool control = controls[c]; createSubgroupUniformControlFlowTests() local [all...] |
| /third_party/musl/src/thread/ |
| H A D | pthread_once.c | 3 static void undo(void *control) in undo() argument 6 * resetting control to the initial state. */ in undo() 7 if (a_swap(control, 0) == 3) in undo() 8 __wake(control, -1, 1); in undo() 11 hidden int __pthread_once_full(pthread_once_t *control, void (*init)(void)) in __pthread_once_full() argument 19 for (;;) switch (a_cas(control, 0, 1)) { in __pthread_once_full() 21 pthread_cleanup_push(undo, control); in __pthread_once_full() 25 if (a_swap(control, 2) == 3) in __pthread_once_full() 26 __wake(control, -1, 1); in __pthread_once_full() 30 a_cas(control, in __pthread_once_full() 40 __pthread_once(pthread_once_t *control, void (*init)(void)) __pthread_once() argument 50 __pthread_once(pthread_once_t *control, void (*init)(void)) __pthread_once() argument [all...] |
| /third_party/musl/porting/linux/user/src/thread/ |
| H A D | pthread_once.c | 3 static void undo(void *control) in undo() argument 6 * resetting control to the initial state. */ in undo() 7 if (a_swap(control, 0) == 3) in undo() 8 __wake(control, -1, 1); in undo() 11 hidden int __pthread_once_full(pthread_once_t *control, void (*init)(void)) in __pthread_once_full() argument 19 for (;;) switch (a_cas(control, 0, 1)) { in __pthread_once_full() 21 pthread_cleanup_push(undo, control); in __pthread_once_full() 25 if (a_swap(control, 2) == 3) in __pthread_once_full() 26 __wake(control, -1, 1); in __pthread_once_full() 30 a_cas(control, in __pthread_once_full() 40 __pthread_once(pthread_once_t *control, void (*init)(void)) __pthread_once() argument 50 __pthread_once(pthread_once_t *control, void (*init)(void)) __pthread_once() argument [all...] |
| /third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
| H A D | test_VIDIOC_CTRL.c | 39 struct v4l2_control control; in do_get_control() local 73 memset(&control, 0xff, sizeof(control)); in do_get_control() 74 control.id = id; in do_get_control() 75 ret_get = ioctl(get_video_fd(), VIDIOC_G_CTRL, &control); in do_get_control() 91 CU_ASSERT(queryctrl.minimum <= control.value); in do_get_control() 92 CU_ASSERT(control.value <= queryctrl.maximum); in do_get_control() 97 /* This control only performs an action, does not have in do_get_control() 148 struct v4l2_control control; in test_VIDIOC_G_CTRL_NULL() local 154 memset(&control, in test_VIDIOC_G_CTRL_NULL() 191 struct v4l2_control control; do_set_control() local 526 struct v4l2_control control; do_set_control_value() local 601 struct v4l2_control control; do_set_control_invalid() local [all...] |
| /third_party/pulseaudio/src/pulsecore/ |
| H A D | once.c | 31 bool pa_once_begin(pa_once *control) { in pa_once_begin() argument 34 pa_assert(control); in pa_once_begin() 36 if (pa_atomic_load(&control->done)) in pa_once_begin() 43 m = pa_static_mutex_get(&control->mutex, false, false); in pa_once_begin() 46 if (pa_atomic_load(&control->done)) { in pa_once_begin() 54 void pa_once_end(pa_once *control) { in pa_once_end() argument 57 pa_assert(control); in pa_once_end() 59 pa_assert(!pa_atomic_load(&control->done)); in pa_once_end() 60 pa_atomic_store(&control->done, 1); in pa_once_end() 62 m = pa_static_mutex_get(&control in pa_once_end() 67 pa_run_once(pa_once *control, pa_once_func_t func) pa_run_once() argument [all...] |
| /third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
| H A D | CollationThreadTest.java | 191 private Control control; field in CollationThreadTest.Test 194 Test(String name, String[] data, Collator collator, Random r, Control control) { in Test() argument 198 this.control = control; in Test() 205 synchronized (control) { in run() 206 while (!control.go()) { in run() 207 control.wait(); in run() 211 while (control.go()) { in run() 215 control.fail(name + ": incorrect sort"); in run() 221 control in run() 226 runThreads(Thread[] threads, Control control) runThreads() argument [all...] |
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
| H A D | CollationThreadTest.java | 194 private Control control; field in CollationThreadTest.Test 197 Test(String name, String[] data, Collator collator, Random r, Control control) { in Test() argument 201 this.control = control; in Test() 208 synchronized (control) { in run() 209 while (!control.go()) { in run() 210 control.wait(); in run() 214 while (control.go()) { in run() 218 control.fail(name + ": incorrect sort"); in run() 224 control in run() 229 runThreads(Thread[] threads, Control control) runThreads() argument [all...] |
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
| H A D | 4-1.c | 81 static int control = 0; variable 87 control++; in pre3() 89 if (control != 1) in pre3() 95 control++; in pre2() 97 if (control != 2) in pre2() 103 control++; in pre1() 105 if (control != 3) in pre1() 111 control++; in par1() 113 if (control != 4) in par1() 119 control in par2() [all...] |
| /third_party/node/deps/v8/src/compiler/ |
| H A D | js-type-hint-lowering.h | 39 // Flags that control the mode of operation. 52 // value, effect and control can be obtained by the {value}, {effect} and 53 // {control} methods. 56 // should connect {effect} and {control} nodes to the end. 64 Node* control() const { return control_; } in control() function in v8::internal::compiler::JSTypeHintLowering::LoweringResult 73 Node* control) { in SideEffectFree() 75 DCHECK_NOT_NULL(control); in SideEffectFree() 78 control); in SideEffectFree() 86 static LoweringResult Exit(Node* control) { in Exit() argument 88 control); in Exit() 72 SideEffectFree(Node* value, Node* effect, Node* control) SideEffectFree() argument 94 LoweringResult(LoweringResultKind kind, Node* value, Node* effect, Node* control) LoweringResult() argument [all...] |
| H A D | js-type-hint-lowering.cc | 69 Node* effect, Node* control, FeedbackSlot slot) in JSSpeculativeBinopBuilder() 75 control_(control), in JSSpeculativeBinopBuilder() 278 const Operator* op, Node* operand, Node* effect, Node* control, in ReduceUnaryOperation() 281 slot, effect, control, in ReduceUnaryOperation() 296 jsgraph()->SmiConstant(-1), effect, control, slot); in ReduceUnaryOperation() 305 jsgraph()->SmiConstant(1), effect, control, slot); in ReduceUnaryOperation() 314 control, slot); in ReduceUnaryOperation() 323 jsgraph()->SmiConstant(-1), effect, control, slot); in ReduceUnaryOperation() 330 node = jsgraph()->graph()->NewNode(op, operand, effect, control); in ReduceUnaryOperation() 341 return LoweringResult::SideEffectFree(node, node, control); in ReduceUnaryOperation() 67 JSSpeculativeBinopBuilder(const JSTypeHintLowering* lowering, const Operator* op, Node* left, Node* right, Node* effect, Node* control, FeedbackSlot slot) JSSpeculativeBinopBuilder() argument 277 ReduceUnaryOperation( const Operator* op, Node* operand, Node* effect, Node* control, FeedbackSlot slot) const ReduceUnaryOperation() argument 347 ReduceBinaryOperation( const Operator* op, Node* left, Node* right, Node* effect, Node* control, FeedbackSlot slot) const ReduceBinaryOperation() argument 424 ReduceForInNextOperation( Node* receiver, Node* cache_array, Node* cache_type, Node* index, Node* effect, Node* control, FeedbackSlot slot) const ReduceForInNextOperation() argument 436 ReduceForInPrepareOperation(Node* enumerator, Node* effect, Node* control, FeedbackSlot slot) const ReduceForInPrepareOperation() argument 447 ReduceToNumberOperation( Node* input, Node* effect, Node* control, FeedbackSlot slot) const ReduceToNumberOperation() argument 461 ReduceCallOperation( const Operator* op, Node* const* args, int arg_count, Node* effect, Node* control, FeedbackSlot slot) const ReduceCallOperation() argument 474 ReduceConstructOperation( const Operator* op, Node* const* args, int arg_count, Node* effect, Node* control, FeedbackSlot slot) const ReduceConstructOperation() argument 488 ReduceGetIteratorOperation(const Operator* op, Node* receiver, Node* effect, Node* control, FeedbackSlot load_slot, FeedbackSlot call_slot) const ReduceGetIteratorOperation() argument 507 ReduceLoadNamedOperation( const Operator* op, Node* effect, Node* control, FeedbackSlot slot) const ReduceLoadNamedOperation() argument 519 ReduceLoadKeyedOperation( const Operator* op, Node* obj, Node* key, Node* effect, Node* control, FeedbackSlot slot) const ReduceLoadKeyedOperation() argument 532 ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val, Node* effect, Node* control, FeedbackSlot slot) const ReduceStoreNamedOperation() argument 547 ReduceStoreKeyedOperation(const Operator* op, Node* obj, Node* key, Node* val, Node* effect, Node* control, FeedbackSlot slot) const ReduceStoreKeyedOperation() argument 563 BuildDeoptIfFeedbackIsInsufficient( FeedbackSlot slot, Node* effect, Node* control, DeoptimizeReason reason) const BuildDeoptIfFeedbackIsInsufficient() argument [all...] |
| H A D | js-native-context-specialization.cc | 221 Node* control = NodeProperties::GetControlInput(node); in ReduceJSAsyncFunctionEnter() local 239 AllocationBuilder ab(jsgraph(), effect, control); in ReduceJSAsyncFunctionEnter() local 245 closure, receiver, promise, context, effect, control); in ReduceJSAsyncFunctionEnter() 246 ReplaceWithValue(node, value, effect, control); in ReduceJSAsyncFunctionEnter() 258 Node* control = NodeProperties::GetControlInput(node); in ReduceJSAsyncFunctionReject() local 265 async_function_object, effect, control); in ReduceJSAsyncFunctionReject() 281 debug_event, context, frame_state, effect, control); in ReduceJSAsyncFunctionReject() 282 ReplaceWithValue(node, promise, effect, control); in ReduceJSAsyncFunctionReject() 294 Node* control = NodeProperties::GetControlInput(node); in ReduceJSAsyncFunctionResolve() local 301 async_function_object, effect, control); in ReduceJSAsyncFunctionResolve() 391 Control control = n.control(); ReduceJSInstanceOf() local 793 Node* control = NodeProperties::GetControlInput(node); ReduceGlobalAccess() local 1023 Control control = n.control(); ReduceJSStoreGlobal() local 1455 Control control = n.control(); ReduceJSGetIterator() local 1553 Node* control = NodeProperties::GetControlInput(node); ReduceElementAccessOnString() local 1860 Node* control = NodeProperties::GetControlInput(node); ReduceElementLoadFromHeapConstant() local 1982 Node* control = NodeProperties::GetControlInput(node); ReduceEagerDeoptimize() local 2049 Node* control = NodeProperties::GetControlInput(node); ReduceJSLoadPropertyWithEnumeratedKey() local 2144 InlinePropertyGetterCall( Node* receiver, ConvertReceiverMode receiver_mode, Node* lookup_start_object, Node* context, Node* frame_state, Node** effect, Node** control, ZoneVector<Node*>* if_exceptions, PropertyAccessInfo const& access_info) InlinePropertyGetterCall() argument 2193 InlinePropertySetterCall( Node* receiver, Node* value, Node* context, Node* frame_state, Node** effect, Node** control, ZoneVector<Node*>* if_exceptions, PropertyAccessInfo const& access_info) InlinePropertySetterCall() argument 2226 InlineApiCall( Node* receiver, Node* holder, Node* frame_state, Node* value, Node** effect, Node** control, FunctionTemplateInfoRef const& function_template_info) InlineApiCall() argument 2276 BuildPropertyLoad( Node* lookup_start_object, Node* receiver, Node* context, Node* frame_state, Node* effect, Node* control, NameRef const& name, ZoneVector<Node*>* if_exceptions, PropertyAccessInfo const& access_info) BuildPropertyLoad() argument 2330 BuildPropertyTest( Node* effect, Node* control, PropertyAccessInfo const& access_info) BuildPropertyTest() argument 2349 BuildPropertyAccess( Node* lookup_start_object, Node* receiver, Node* value, Node* context, Node* frame_state, Node* effect, Node* control, NameRef const& name, ZoneVector<Node*>* if_exceptions, PropertyAccessInfo const& access_info, AccessMode access_mode) BuildPropertyAccess() argument 2374 BuildPropertyStore( Node* receiver, Node* value, Node* context, Node* frame_state, Node* effect, Node* control, NameRef const& name, ZoneVector<Node*>* if_exceptions, PropertyAccessInfo const& access_info, AccessMode access_mode) BuildPropertyStore() argument 2433 AllocationBuilder a(jsgraph(), effect, control); BuildPropertyStore() local 2642 BuildElementAccess( Node* receiver, Node* index, Node* value, Node* effect, Node* control, ElementAccessInfo const& access_info, KeyedAccessMode const& keyed_mode) BuildElementAccess() argument 3245 BuildIndexedStringLoad( Node* receiver, Node* index, Node* length, Node** effect, Node** control, KeyedAccessLoadMode load_mode) BuildIndexedStringLoad() argument 3299 BuildExtendPropertiesBackingStore( const MapRef& map, Node* properties, Node* effect, Node* control) BuildExtendPropertiesBackingStore() argument 3356 AllocationBuilder a(jsgraph(), effect, control); BuildExtendPropertiesBackingStore() local 3367 BuildCheckEqualsName(NameRef const& name, Node* value, Node* effect, Node* control) BuildCheckEqualsName() argument 3437 BuildLoadPrototypeFromObject( Node* object, Node* effect, Node* control) BuildLoadPrototypeFromObject() argument [all...] |
| H A D | js-call-reducer.cc | 123 initial_control_(gasm->control()) {} in IfBuilder0() 146 // Ensure correct usage: effect/control must not have been modified while in ~IfBuilder0() 149 DCHECK_EQ(gasm_->control(), initial_control_); in ~IfBuilder0() 289 // Emplace a copy of the call node into the graph at current effect/control. 309 inference->InsertMapChecks(jsgraph(), &e, Control{control()}, feedback()); in MaybeInsertMapChecks() 310 InitializeEffectControl(e, control()); in MaybeInsertMapChecks() 323 // Note: AddNode is intentionally not called since effect and control in MayThrow() 326 graph()->NewNode(common()->IfException(), effect(), control()); in MayThrow() 330 AddNode(graph()->NewNode(common()->IfSuccess(), control())); in MayThrow() 795 value, effect(), control())); in CheckFloat64Hole() [all...] |
| H A D | property-access-builder.cc | 58 Control control) { in TryBuildStringCheck() 64 *effect, control); in TryBuildStringCheck() 73 Control control) { in TryBuildNumberCheck() 78 *effect, control); in TryBuildNumberCheck() 85 Control control, in BuildCheckMaps() 108 *effect, control); in BuildCheckMaps() 112 Control control, in BuildCheckValue() 121 check, *effect, control); in BuildCheckValue() 222 Node** control) { in BuildLoadDataField() 228 storage, *effect, *control); in BuildLoadDataField() 55 TryBuildStringCheck(JSHeapBroker* broker, ZoneVector<MapRef> const& maps, Node** receiver, Effect* effect, Control control) TryBuildStringCheck() argument 70 TryBuildNumberCheck(JSHeapBroker* broker, ZoneVector<MapRef> const& maps, Node** receiver, Effect* effect, Control control) TryBuildNumberCheck() argument 84 BuildCheckMaps(Node* object, Effect* effect, Control control, ZoneVector<MapRef> const& maps) BuildCheckMaps() argument 111 BuildCheckValue(Node* receiver, Effect* effect, Control control, Handle<HeapObject> value) BuildCheckValue() argument 218 BuildLoadDataField(NameRef const& name, Node* holder, FieldAccess& field_access, bool is_inobject, Node** effect, Node** control) BuildLoadDataField() argument 279 BuildLoadDataField( NameRef const& name, PropertyAccessInfo const& access_info, Node* lookup_start_object, Node** effect, Node** control) BuildLoadDataField() argument [all...] |
| H A D | js-typed-lowering.cc | 33 // JSOperator. This class manages the rewriting of context, control, and effect 137 effect(), control()); in CheckLeftInputToReceiver() 146 effect(), control()); in CheckLeftInputToReceiverOrNullOrUndefined() 160 right(), effect(), control()); in CheckInputsToReceiver() 176 right(), effect(), control()); in CheckInputsToReceiverOrNullOrUndefined() 185 effect(), control()); in CheckLeftInputToSymbol() 199 effect(), control()); in CheckInputsToSymbol() 212 effect(), control()); in CheckInputsToString() 219 effect(), control()); in CheckInputsToString() 231 simplified()->CheckInternalizedString(), left(), effect(), control()); in CheckInputsToInternalizedString() 389 Node* control() { return NodeProperties::GetControlInput(node_); } control() function in v8::internal::compiler::final 587 Node* control = NodeProperties::GetControlInput(node); ReduceJSAdd() local 1115 Node* control = NodeProperties::GetControlInput(node); ReduceJSToObject() local 1195 Node* control = NodeProperties::GetControlInput(node); ReduceJSHasInPrototypeChain() local 1362 Node* control = graph()->start(); ReduceJSHasContextExtension() local 1392 Node* control = graph()->start(); ReduceJSLoadContext() local 1413 Node* control = graph()->start(); ReduceJSStoreContext() local 1434 Node* control = NodeProperties::GetControlInput(node); BuildGetModuleCell() local 1469 Node* control = NodeProperties::GetControlInput(node); ReduceJSLoadModule() local 1484 Node* control = NodeProperties::GetControlInput(node); ReduceJSStoreModule() local 1690 Control control = n.control(); ReduceJSCall() local 1850 Control control = n.control(); ReduceJSForInNext() local 1957 Control control = n.control(); ReduceJSForInPrepare() local 2109 Node* control = NodeProperties::GetControlInput(node); ReduceJSGeneratorStore() local 2147 Node* control = NodeProperties::GetControlInput(node); ReduceJSGeneratorRestoreContinuation() local 2181 Node* control = NodeProperties::GetControlInput(node); ReduceJSGeneratorRestoreRegister() local 2222 Node* control = NodeProperties::GetControlInput(node); ReduceObjectIsArray() local [all...] |
| /third_party/mesa3d/src/util/ |
| H A D | debug.c | 31 const struct debug_control *control) in parse_debug_string() 36 for (; control->string != NULL; control++) { in parse_debug_string() 38 flag |= control->flag; in parse_debug_string() 45 if (strlen(control->string) == n && in parse_debug_string() 46 !strncmp(control->string, s, n)) in parse_debug_string() 47 flag |= control->flag; in parse_debug_string() 59 const struct debug_control *control) in parse_enable_string() 64 for (; control->string != NULL; control in parse_enable_string() 30 parse_debug_string(const char *debug, const struct debug_control *control) parse_debug_string() argument 57 parse_enable_string(const char *debug, uint64_t default_value, const struct debug_control *control) parse_enable_string() argument [all...] |
| /third_party/mesa3d/src/freedreno/afuc/ |
| H A D | emu.c | 189 uint32_t src1 = emu_get_gpr_reg(emu, instr->control.src1); in emu_instr() 190 uint32_t src2 = emu_get_gpr_reg(emu, instr->control.src2); in emu_instr() 192 if (instr->control.flags == 0x4) { in emu_instr() 193 emu_set_gpr_reg(emu, instr->control.src2, src2 + instr->control.uimm); in emu_instr() 194 } else if (instr->control.flags && !emu->quiet) { in emu_instr() 195 printf("unhandled flags: %x\n", instr->control.flags); in emu_instr() 198 emu_set_control_reg(emu, src2 + instr->control.uimm, src1); in emu_instr() 202 uint32_t src2 = emu_get_gpr_reg(emu, instr->control.src2); in emu_instr() 204 if (instr->control in emu_instr() [all...] |
| /third_party/alsa-lib/test/lsb/ |
| H A D | midi_event.c | 80 ev.data.control.value = 3; in test_decode() 84 ev.data.control.value = 0x444; in test_decode() 88 ev.data.control.value = 5; in test_decode() 113 ev.data.control.channel = 6; in test_decode() 114 ev.data.control.param = 7; in test_decode() 115 ev.data.control.value = 0x888; in test_decode() 123 ev.data.control.channel = 9; in test_decode() 124 ev.data.control.param = 0xaaa; in test_decode() 125 ev.data.control.value = 0xbbb; in test_decode() 129 ev.data.control in test_decode() [all...] |
| /third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
| H A D | ServiceTest.java | 61 private IMocksControl control; field in ServiceTest 72 control = EasyMock.createStrictControl(); in setUp() 73 mockController = control.createMock(RpcController.class); in setUp() 84 TestService mockService = control.createMock(TestService.class); in testCallMethod() 90 control.replay(); in testCallMethod() 96 control.verify(); in testCallMethod() 101 TestService mockService = control.createMock(TestService.class); in testGetPrototype() 119 RpcChannel mockChannel = control.createMock(RpcChannel.class); in testStub() 134 control.replay(); in testStub() 138 control in testStub() [all...] |
| /third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
| H A D | ServiceTest.java | 57 private IMocksControl control; field in ServiceTest 68 control = EasyMock.createStrictControl(); in setUp() 69 mockController = control.createMock(RpcController.class); in setUp() 80 TestService mockService = control.createMock(TestService.class); in testCallMethod() 90 control.replay(); in testCallMethod() 98 control.verify(); in testCallMethod() 103 TestService mockService = control.createMock(TestService.class); in testGetPrototype() 117 RpcChannel mockChannel = control.createMock(RpcChannel.class); in testStub() 132 control.replay(); in testStub() 136 control in testStub() [all...] |
| /third_party/alsa-lib/src/seq/ |
| H A D | seq_midi_event.c | 476 ev->data.control.channel = dev->buf[0] & 0x0f; in one_param_ctrl_event() 477 ev->data.control.value = dev->buf[1]; in one_param_ctrl_event() 483 ev->data.control.channel = dev->buf[0] & 0x0f; in pitchbend_ctrl_event() 484 ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1] - 8192; in pitchbend_ctrl_event() 487 /* encode midi control change */ 490 ev->data.control.channel = dev->buf[0] & 0x0f; in two_param_ctrl_event() 491 ev->data.control.param = dev->buf[1]; in two_param_ctrl_event() 492 ev->data.control.value = dev->buf[2]; in two_param_ctrl_event() 498 ev->data.control.value = dev->buf[1]; in one_param_event() 504 ev->data.control in songpos_event() [all...] |
| /third_party/mesa3d/src/intel/compiler/ |
| H A D | brw_disasm.c | 801 control(FILE *file, const char *name, const char *const ctrl[], in control() function 887 err |= control(file, "src reg file", reg_file, _reg_file, NULL); in reg() 936 err |= control(file, "horiz stride", horiz_stride, in dest() 948 err |= control(file, "horiz stride", horiz_stride, in dest() 962 err |= control(file, "writemask", writemask, in dest() 1014 err |= control(file, "writemask", writemask, in dest_3src() 1029 err |= control(file, "vert stride", vert_stride, _vert_stride, NULL); in src_align1_region() 1031 err |= control(file, "width", width, _width, NULL); in src_align1_region() 1033 err |= control(file, "horiz_stride", horiz_stride, _horiz_stride, NULL); in src_align1_region() 1050 err |= control(fil in src_da1() [all...] |