Home
last modified time | relevance | path

Searched refs:slop (Results 1 - 11 of 11) sorted by relevance

/third_party/mesa3d/src/glx/
H A Dpacksingle.h123 GLint slop = alen*__GLX_SIZE_INT8 & 3; \
125 if (slop) _XEatData(dpy,4-slop); \
130 GLint slop = alen*__GLX_SIZE_INT8 & 3; \
132 if (slop) _XEatData(dpy,4-slop); \
138 GLint slop = (alen*__GLX_SIZE_INT16) & 3; \
140 if (slop) _XEatData(dpy,4-slop); \
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/
H A Dper_thread_sem_test.cc162 const absl::Duration slop = absl::Milliseconds(1); in TEST_F() local
163 EXPECT_LE(delay - slop, elapsed) in TEST_F()
165 << " early (with " << slop << " slop), start time was " << start; in TEST_F()
169 EXPECT_LE(negative_timeout, absl::Now() + slop); // trivially true :) in TEST_F()
/third_party/rust/crates/clap/examples/
H A Descaped-positional-derive.rs13 slop: Vec<String>,
19 // This is what will happen with `myprog -f -p=bob -- sloppy slop slop`... in main()
22 println!("'slops' values: {:?}", args.slop); // 'slops' values: Some(["sloppy", "slop", "slop"]) in main()
H A Descaped-positional.rs8 // Indicates that `slop` is only accessible after `--`. in main()
9 arg!(slop: [SLOP]) in main()
16 // This is what will happen with `myprog -f -p=bob -- sloppy slop slop`... in main()
22 // 'slops' values: Some(["sloppy", "slop", "slop"]) in main()
26 .get_many::<String>("slop") in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
H A Dnotification_test.cc82 const absl::Duration slop = absl::Microseconds(200); in BasicTests() local
83 EXPECT_LE(delay - slop, elapsed) in BasicTests()
85 << " early (with " << slop << " slop), start time was " << start; in BasicTests()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djmemmgr.c240 * we try to get enough space for the current request plus a "slop" factor,
241 * where the slop will be the amount of leftover space in the new pool.
242 * The speed vs. space tradeoff is largely determined by the slop values.
243 * A different slop value is provided for each pool class (lifetime),
273 size_t min_request, slop; in alloc_small() local
307 /* min_request is what we need now, slop is what will be leftover */ in alloc_small()
310 slop = first_pool_slop[pool_id]; in alloc_small()
312 slop = extra_pool_slop[pool_id]; in alloc_small()
314 if (slop > (size_t)(MAX_ALLOC_CHUNK - min_request)) in alloc_small()
315 slop in alloc_small()
[all...]
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_gesture_recognizer.cpp80 int32_t slop = static_cast<int32_t>(densityPixels * DOUBLE_TAP_SLOP + 0.5f); in AccessibilityGestureRecognizer() local
81 doubleTapScaledSlop_ = slop * slop; in AccessibilityGestureRecognizer()
87 int32_t slop = static_cast<int32_t>(1 * DOUBLE_TAP_SLOP + 0.5f); in AccessibilityGestureRecognizer() local
88 doubleTapScaledSlop_ = slop * slop; in AccessibilityGestureRecognizer()
219 HILOG_DEBUG("Cancel double tap event because the finger moves beyond preset slop."); in HandleTouchMoveEvent()
H A Daccessibility_multifinger_multitap.cpp172 int32_t slop = static_cast<int32_t>(density * DOUBLE_TAP_SLOP + SLOP_DELTA); in AccessibilityMultiTapGestureRecognizer() local
173 doubleTapOffsetThresh_ = slop; in AccessibilityMultiTapGestureRecognizer()
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
H A DNVCtrl.c438 int length, numbytes, slop; in XNVCTRLQueryTargetStringAttribute() local
463 slop = numbytes & 3; in XNVCTRLQueryTargetStringAttribute()
475 if (slop) _XEatData(dpy, 4-slop); in XNVCTRLQueryTargetStringAttribute()
982 int length, numbytes, slop; in XNVCTRLQueryTargetBinaryData() local
1007 slop = numbytes & 3; in XNVCTRLQueryTargetBinaryData()
1019 if (slop) _XEatData(dpy, 4-slop); in XNVCTRLQueryTargetBinaryData()
1053 int inSize, outSize, length, slop; in XNVCTRLStringOperation() local
1097 slop in XNVCTRLStringOperation()
[all...]
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dclick_recognizer.cpp284 Offset slop = currentFocusPoint - focusPoint_; in ExceedSlop() local
285 if (GreatOrEqual(slop.GetDistance(), MULTI_TAP_SLOP)) { in ExceedSlop()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dclick_recognizer.cpp261 TAG_LOGW(AceLogTag::ACE_GESTURE, "Fail to detect multi finger tap due to offset is out of slop"); in UpdateInfoWithDownEvent()
426 Offset slop = currentFocusPoint - focusPoint_; in ExceedSlop() local
427 if (GreatOrEqual(PipelineBase::Px2VpWithCurrentDensity(slop.GetDistance()), MAX_THRESHOLD_MANYTAP)) { in ExceedSlop()

Completed in 8 milliseconds