Home
last modified time | relevance | path

Searched refs:anchor (Results 1 – 25 of 96) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Durb.c126 void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) in usb_anchor_urb() argument
130 spin_lock_irqsave(&anchor->lock, flags); in usb_anchor_urb()
132 list_add_tail(&urb->anchor_list, &anchor->urb_list); in usb_anchor_urb()
133 urb->anchor = anchor; in usb_anchor_urb()
135 if (unlikely(anchor->poisoned)) in usb_anchor_urb()
138 spin_unlock_irqrestore(&anchor->lock, flags); in usb_anchor_urb()
142 static int usb_anchor_check_wakeup(struct usb_anchor *anchor) in usb_anchor_check_wakeup() argument
144 return atomic_read(&anchor->suspend_wakeups) == 0 && in usb_anchor_check_wakeup()
145 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup()
149 static void __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) in __usb_unanchor_urb() argument
[all …]
/OK3568_Linux_fs/u-boot/test/py/
H A Dmultiplexed_log.py183 def __init__(self, log, marker, anchor): argument
197 self.anchor = anchor
200 self.anchor = self.log.start_section(self.marker, self.anchor)
223 self.anchor = 0
358 def _note(self, note_type, msg, anchor=None): argument
373 if anchor:
374 self.f.write('<a href="#%s">\n' % anchor)
378 if anchor:
382 def start_section(self, marker, anchor=None): argument
397 if not anchor:
[all …]
H A Dconftest.py386 anchor = anchors.get(test, None)
387 log.status_skipped('... ' + test, anchor)
391 anchor = anchors.get(test, None)
392 log.status_xpass('... ' + test, anchor)
396 anchor = anchors.get(test, None)
397 log.status_xfail('... ' + test, anchor)
401 anchor = anchors.get(test, None)
402 log.status_fail('... ' + test, anchor)
406 anchor = anchors.get(test, None)
407 log.status_fail('... ' + test, anchor)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_layout.cpp276 auto addSymbolInstance = [&] (const GeometryCoordinates& line, Anchor& anchor) { in addFeature() argument
290 …const bool withinPlus0 = anchor.point.x >= 0 && anchor.point.x < util::EXTENT && anchor.point.y >=… in addFeature()
291 …const bool inside = withinPlus0 || anchor.point.x == util::EXTENT || anchor.point.y == util::EXTEN… in addFeature()
296 symbolInstances.emplace_back(anchor, line, shapedTextOrientations, shapedIcon, in addFeature()
320 for (auto& anchor : anchors) { in addFeature() local
321 if (!feature.text || !anchorIsTooClose(*feature.text, textRepeatDistance, anchor)) { in addFeature()
322 addSymbolInstance(line, anchor); in addFeature()
331 optional<Anchor> anchor = getCenterAnchor(line, in addFeature() local
339 if (anchor) { in addFeature()
340 addSymbolInstance(line, *anchor); in addFeature()
[all …]
H A Dsymbol_instance.cpp27 anchor(anchor_), in SymbolInstance()
33 …textCollisionFeature(line_, anchor, shapedTextOrientations.first, textBoxScale, textPadding, textP… in SymbolInstance()
34 iconCollisionFeature(line_, anchor, shapedIcon, iconBoxScale, iconPadding, indexedFeature), in SymbolInstance()
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A Danchors.rst4 What is anchor?
11 for them. The anchor is a data structure takes care of
18 There's no API to allocate an anchor. It is simply declared
25 Once it has no more URBs associated with it, the anchor can be
31 An association of URBs to an anchor is made by an explicit
35 all URBs associated with an anchor.
44 This function kills all URBs associated with an anchor. The URBs
52 This function unlinks all URBs associated with an anchor. The URBs
62 All URBs of an anchor are unanchored en masse.
67 This function waits for all URBs associated with an anchor to finish
[all …]
/OK3568_Linux_fs/kernel/fs/jfs/
H A Djfs_unicode.h31 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
34 return anchor; in UniStrcpy()
45 __le16 *anchor = ucs1; in UniStrncpy_le() local
53 return anchor; in UniStrncpy_le()
77 __le16 *anchor = ucs1; in UniStrncpy_to_le() local
85 return anchor; in UniStrncpy_to_le()
94 wchar_t *anchor = ucs1; in UniStrncpy_from_le() local
102 return anchor; in UniStrncpy_from_le()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/map/
H A Dtransform.cpp342 void Transform::setLatLng(const LatLng& latLng, optional<ScreenCoordinate> anchor, const AnimationO… in setLatLng() argument
345 if (anchor) { in setLatLng()
346 …camera.padding = EdgeInsets(anchor->y, anchor->x, state.size.height - anchor->y, state.size.width … in setLatLng()
390 void Transform::setZoom(double zoom, optional<ScreenCoordinate> anchor, const AnimationOptions& ani… in setZoom() argument
393 camera.anchor = anchor; in setZoom()
400 if (!padding.isFlush()) camera.anchor = getScreenCoordinate(padding); in setZoom()
462 void Transform::setAngle(double angle, optional<ScreenCoordinate> anchor, const AnimationOptions& a… in setAngle() argument
466 camera.anchor = anchor; in setAngle()
471 optional<ScreenCoordinate> anchor; in setAngle() local
472 if (!padding.isFlush()) anchor = getScreenCoordinate(padding); in setAngle()
[all …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifs_unicode.h120 __le16 *anchor = ucs1; /* save a pointer to start of ucs1 */ in UniStrcat() local
125 return anchor; in UniStrcat()
170 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() local
173 return anchor; in UniStrcpy()
212 wchar_t *anchor = ucs1; /* save pointer to string 1 */ in UniStrncat() local
221 return (anchor); in UniStrncat()
260 wchar_t *anchor = ucs1; in UniStrncpy() local
268 return anchor; in UniStrncpy()
277 wchar_t *anchor = ucs1; in UniStrncpy_le() local
285 return anchor; in UniStrncpy_le()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/text/
H A Dcollision_feature.hpp15anchor(std::move(_anchor)), offset(_offset), x1(_x1), y1(_y1), x2(_x2), y2(_y2), used(true), signe… in CollisionBox()
18 Point<float> anchor; member in mbgl::CollisionBox
49 const Anchor& anchor, in CollisionFeature() argument
56 …: CollisionFeature(line, anchor, shapedText.top, shapedText.bottom, shapedText.left, shapedText.ri… in CollisionFeature()
65 const Anchor& anchor, in CollisionFeature() argument
70 : CollisionFeature(line, anchor, in CollisionFeature()
H A Dget_anchors.cpp64 Anchor anchor(::round(x), ::round(y), angle, 0.5f, i); in resample() local
66 … if (!angleWindowSize || checkMaxAngle(line, anchor, labelLength, angleWindowSize, maxAngle)) { in resample()
67 anchors.push_back(anchor); in resample()
164 Anchor anchor(::round(x), ::round(y), util::angle_to(b, a), 0.5f, i); in getCenterAnchor() local
166 … if (!angleWindowSize || checkMaxAngle(line, anchor, labelLength, angleWindowSize, maxAngle)) { in getCenterAnchor()
167 return anchor; in getCenterAnchor()
H A Dcheck_max_angle.cpp17 const Anchor& anchor, in checkMaxAngle() argument
22 if (anchor.segment < 0) return true; in checkMaxAngle()
24 GeometryCoordinate anchorPoint = convertPoint<int16_t>(anchor.point); in checkMaxAngle()
26 int index = anchor.segment + 1; in checkMaxAngle()
H A Dcollision_feature.cpp8 const Anchor& anchor, in CollisionFeature() argument
35 GeometryCoordinate anchorPoint = convertPoint<int16_t>(anchor.point); in CollisionFeature()
36 bboxifyLabel(line, anchorPoint, anchor.segment, length, height, overscaling); in CollisionFeature()
38 boxes.emplace_back(anchor.point, Point<float>{ 0, 0 }, x1, y1, x2, y2); in CollisionFeature()
/OK3568_Linux_fs/kernel/lib/zstd/
H A Dzstd_opt.h412 const BYTE *anchor = istart; in ZSTD_compressBlock_opt_generic() local
444 litlen = (U32)(ip - anchor); in ZSTD_compressBlock_opt_generic()
448 U32 i, last_i = ZSTD_REP_CHECK + (ip == anchor); in ZSTD_compressBlock_opt_generic()
449 for (i = (ip == anchor); i < last_i; i++) { in ZSTD_compressBlock_opt_generic()
461 best_off = i - (ip == anchor); in ZSTD_compressBlock_opt_generic()
463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
493 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
523 price = ZSTD_getLiteralPrice(seqStorePtr, litlen, anchor); in ZSTD_compressBlock_opt_generic()
577 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
612 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
[all …]
H A Dcompress.c1016 const BYTE *anchor = istart; in ZSTD_compressBlock_fast_generic() local
1046 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH); in ZSTD_compressBlock_fast_generic()
1050 ip += ((ip - anchor) >> g_searchStrength) + 1; in ZSTD_compressBlock_fast_generic()
1055 while (((ip > anchor) & (match > lowest)) && (ip[-1] == match[-1])) { in ZSTD_compressBlock_fast_generic()
1063 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH); in ZSTD_compressBlock_fast_generic()
1068 anchor = ip; in ZSTD_compressBlock_fast_generic()
1084 ZSTD_storeSeq(seqStorePtr, 0, anchor, 0, rLength - MINMATCH); in ZSTD_compressBlock_fast_generic()
1086 anchor = ip; in ZSTD_compressBlock_fast_generic()
1098 size_t const lastLLSize = iend - anchor; in ZSTD_compressBlock_fast_generic()
1099 memcpy(seqStorePtr->lit, anchor, lastLLSize); in ZSTD_compressBlock_fast_generic()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/
H A Drender_tile.cpp16 TranslateAnchorType anchor, in translateVtxMatrix() argument
26 (anchor == TranslateAnchorType::Map ? state.getAngle() : 0) : in translateVtxMatrix()
27 (anchor == TranslateAnchorType::Viewport ? -state.getAngle() : 0); in translateVtxMatrix()
44 TranslateAnchorType anchor, in translatedMatrix() argument
46 return translateVtxMatrix(matrix, translation, anchor, state, false); in translatedMatrix()
50 TranslateAnchorType anchor, in translatedClipMatrix() argument
52 return translateVtxMatrix(nearClippedMatrix, translation, anchor, state, false); in translatedClipMatrix()
H A Drender_tile.hpp34 style::TranslateAnchorType anchor,
38 style::TranslateAnchorType anchor,
47 style::TranslateAnchorType anchor,
/OK3568_Linux_fs/kernel/lib/lz4/
H A Dlz4hc_compress.c265 const BYTE **anchor, in LZ4HC_encodeSequence() argument
275 length = (int)(*ip - *anchor); in LZ4HC_encodeSequence()
296 LZ4_wildCopy(*op, *anchor, (*op) + length); in LZ4HC_encodeSequence()
333 *anchor = *ip; in LZ4HC_encodeSequence()
349 const BYTE *anchor = ip; in LZ4HC_compress_generic() local
403 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic()
468 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
472 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
498 if (LZ4HC_encodeSequence(&ip, &op, &anchor, in LZ4HC_compress_generic()
539 if (LZ4HC_encodeSequence(&ip, &op, &anchor, ml, in LZ4HC_compress_generic()
[all …]
H A Dlz4_compress.c195 const BYTE *anchor = (const BYTE *) source; in LZ4_compress_generic() local
294 while (((ip > anchor) & (match + refDelta > lowLimit)) in LZ4_compress_generic()
302 unsigned const int litLength = (unsigned int)(ip - anchor); in LZ4_compress_generic()
325 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_generic()
391 anchor = ip; in LZ4_compress_generic()
431 size_t const lastRun = (size_t)(iend - anchor); in LZ4_compress_generic()
449 LZ4_memcpy(op, anchor, lastRun); in LZ4_compress_generic()
533 const BYTE *anchor = ip; in LZ4_compress_destSize_generic() local
603 while ((ip > anchor) in LZ4_compress_destSize_generic()
612 unsigned int litLength = (unsigned int)(ip - anchor); in LZ4_compress_destSize_generic()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/programs/
H A Dcollision_box_program.hpp41 …static CollisionBoxLayoutAttributes::Vertex vertex(Point<float> a, Point<float> anchor, Point<floa… in vertex() argument
48 static_cast<int16_t>(anchor.x), in vertex()
49 static_cast<int16_t>(anchor.y) in vertex()
120 …static CollisionBoxLayoutAttributes::Vertex vertex(Point<float> a, Point<float> anchor, Point<floa… in vertex() argument
127 static_cast<int16_t>(anchor.x), in vertex()
128 static_cast<int16_t>(anchor.y) in vertex()
/OK3568_Linux_fs/kernel/include/linux/
H A Dusb.h1396 static inline void init_usb_anchor(struct usb_anchor *anchor) in init_usb_anchor() argument
1398 memset(anchor, 0, sizeof(*anchor)); in init_usb_anchor()
1399 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1400 init_waitqueue_head(&anchor->wait); in init_usb_anchor()
1401 spin_lock_init(&anchor->lock); in init_usb_anchor()
1601 struct usb_anchor *anchor; member
1761 extern void usb_kill_anchored_urbs(struct usb_anchor *anchor);
1762 extern void usb_poison_anchored_urbs(struct usb_anchor *anchor);
1763 extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
1764 extern void usb_unlink_anchored_urbs(struct usb_anchor *anchor);
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/map/
H A Dcamera.hpp24 optional<ScreenCoordinate> anchor; member
42 && a.anchor == b.anchor in operator ==()
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Deffects_i.c341 char anchor, combine; in lsx_parseposition() local
345 anchor = def; in lsx_parseposition()
347 anchor = *str++; in lsx_parseposition()
350 if (strchr("+-", anchor)) { in lsx_parseposition()
351 combine = anchor; in lsx_parseposition()
362 switch (anchor) { in lsx_parseposition()
368 if (anchor == '-' && end == SOX_UNKNOWN_LEN) { in lsx_parseposition()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dfastmap-wl.c75 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb() argument
82 if (anchor) in ubi_wl_get_fm_peb()
311 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() local
322 anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs()
323 if (anchor) { in ubi_ensure_anchor_pebs()
324 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/
H A Dlight.cpp18 const auto anchor = objectMember(value, "anchor"); in operator ()() local
19 if (anchor) { in operator ()()
21 convert<PropertyValue<LightAnchorType>>(*anchor, error, false); in operator ()()

1234