/third_party/mbedtls/programs/test/ |
H A D | udp_proxy.c | 651 * ("held") twice: this only results in uninteresting timeouts. We can't rely 658 * times a record has been held correctly. However, the only known reason 663 static unsigned char held[2048] = { 0 }; variable 690 id = cur.len % sizeof(held); in handle_message() 728 held[id] < HOLD_MAX && in handle_message() 730 ++held[id]; in handle_message() 739 held[id] < HOLD_MAX && in handle_message() 741 ++held[id]; in handle_message() 852 memset(held, 0, sizeof(held)); in main() [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 591 // 'Repeat' mode acts when held regardless of _PressedOn flags (see table above). in ButtonBehavior() 622 // Process while held in ButtonBehavior() 623 bool held = false; in ButtonBehavior() local 635 held = true; in ButtonBehavior() 665 if (out_held) *out_held = held; in ButtonBehavior() 694 bool hovered, held; in ButtonEx() local 695 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); in ButtonEx() 698 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in ButtonEx() 748 bool hovered, held; in InvisibleButton() 749 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flag in InvisibleButton() 771 bool hovered, held; ArrowButtonEx() local 808 bool hovered, held; CloseButton() local 836 bool hovered, held; CollapseButton() local 944 bool held = false; ScrollbarEx() local 1091 bool hovered, held; Checkbox() local 1200 bool hovered, held; RadioButton() local [all...] |
H A D | imgui_tables.cpp | 1173 bool hovered = false, held = false; in TableUpdateBorders() local 1174 bool pressed = ButtonBehavior(hit_rect, column_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_AllowItemOverlap | ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_NoNavFocus); in TableUpdateBorders() 1179 held = hovered = false; in TableUpdateBorders() 1181 if (held) in TableUpdateBorders() 1188 if ((hovered && g.HoveredIdTimer > TABLE_RESIZE_SEPARATOR_FEEDBACK_TIMER) || held) in TableUpdateBorders() 2913 bool hovered, held; 2914 bool pressed = ButtonBehavior(bb, id, &hovered, &held, ImGuiButtonFlags_AllowItemOverlap); 2917 if (held || hovered || selected) 2919 const ImU32 col = GetColorU32(held ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header); 2930 if (held) [all...] |
H A D | imgui.cpp | 357 0.0f= not held. 1.0f= fully held. Pass intermediate 0.0f..1.0f values for analog triggers/sticks. 3812 // Horizontal Mouse Wheel scrolling, or Vertical Mouse Wheel w/ Shift held in UpdateMouseWheel() 3938 // Update io.WantTextInput flag, this is to allow systems without a keyboard (e.g. mobile, hand-held) to show a software keyboard if possible in UpdateHoveredWindowAndCaptureFlags() 5438 bool hovered, held; in UpdateWindowManualResize() local 5443 ButtonBehavior(resize_rect, resize_grip_id, &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); in UpdateWindowManualResize() 5445 if (hovered || held) in UpdateWindowManualResize() 5448 if (held && g.IO.MouseDoubleClicked[0] && resize_grip_n == 0) in UpdateWindowManualResize() 5455 else if (held) in UpdateWindowManualResize() 5467 if (resize_grip_n == 0 || held || hovere in UpdateWindowManualResize() 5475 bool hovered, held; UpdateWindowManualResize() local [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 475 // 'Repeat' mode acts when held regardless of _PressedOn flags (see table above). in ButtonBehavior() 507 bool held = false; in ButtonBehavior() local 518 held = true; in ButtonBehavior() 539 if (out_held) *out_held = held; in ButtonBehavior() 567 bool hovered, held; in ButtonEx() local 568 bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags); in ButtonEx() 573 const ImU32 col = GetColorU32((held && hovered) ? ImGuiCol_ButtonActive : hovered ? ImGuiCol_ButtonHovered : ImGuiCol_Button); in ButtonEx() 620 bool hovered, held; in InvisibleButton() 621 bool pressed = ButtonBehavior(bb, id, &hovered, &held); in InvisibleButton() 643 bool hovered, held; in ArrowButtonEx() local 672 bool hovered, held; CloseButton() local 698 bool hovered, held; CollapseButton() local 781 bool held = false; Scrollbar() local 989 bool hovered, held; RadioButton() local [all...] |
H A D | imgui.cpp | 332 0.0f= not held. 1.0f= fully held. Pass intermediate 0.0f..1.0f values for analog triggers/sticks. 3353 // Update io.WantTextInput flag, this is to allow systems without a keyboard (e.g. mobile, hand-held) to show a software keyboard if possible in UpdateHoveredWindowAndCaptureFlags() 4725 bool hovered, held; in UpdateManualResize() local 4726 ButtonBehavior(resize_rect, window->GetID((void*)(intptr_t)resize_grip_n), &hovered, &held, ImGuiButtonFlags_FlattenChildren | ImGuiButtonFlags_NoNavFocus); in UpdateManualResize() 4728 if (hovered || held) in UpdateManualResize() 4731 if (held && g.IO.MouseDoubleClicked[0] && resize_grip_n == 0) in UpdateManualResize() 4737 else if (held) in UpdateManualResize() 4744 if (resize_grip_n == 0 || held || hovered) in UpdateManualResize() 4745 resize_grip_col[resize_grip_n] = GetColorU32(held in UpdateManualResize() 4749 bool hovered, held; UpdateManualResize() local 8418 bool hovered = false, held = false; EndColumns() local [all...] |