Home
last modified time | relevance | path

Searched refs:left (Results 1051 - 1075 of 3984) sorted by relevance

1...<<41424344454647484950>>...160

/third_party/skia/third_party/externals/zlib/
H A Dinflate.c480 left = strm->avail_out; \
491 strm->avail_out = left; \
569 input left to load n bits into the accumulator, or it continues. BITS(n)
582 state information is maintained to continue the loop where it left off
630 unsigned have, left; /* available input and output */ local
654 out = left;
909 if (copy > left) copy = left;
914 left -= copy;
1048 left >
[all...]
/third_party/zlib/
H A Dinflate.c460 left = strm->avail_out; \
471 strm->avail_out = left; \
549 input left to load n bits into the accumulator, or it continues. BITS(n)
562 state information is maintained to continue the loop where it left off
607 unsigned have, left; /* available input and output */ in inflate() local
637 out = left; in inflate()
957 if (copy > left) copy = left; in inflate()
962 left -= copy; in inflate()
1105 if (have >= 6 && left > in inflate()
[all...]
/kernel/linux/linux-5.10/block/
H A Dbio.c1009 ssize_t size, left; in __bio_iov_iter_get_pages() local
1025 for (left = size, i = 0; left > 0; left -= len, i++) { in __bio_iov_iter_get_pages()
1028 len = min_t(size_t, PAGE_SIZE - offset, left); in __bio_iov_iter_get_pages()
1035 bio_put_pages(pages + i, left, offset); in __bio_iov_iter_get_pages()
1055 ssize_t size, left; in __bio_iov_append_get_pages() local
1072 for (left = size, i = 0; left > 0; left in __bio_iov_append_get_pages()
[all...]
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dperf_event_cpu.c187 s64 left = local64_read(&hwc->period_left); in nds32_pmu_event_set_period() local
193 left = period - (hwc->last_period - left); in nds32_pmu_event_set_period()
195 if (unlikely(left <= -period)) { in nds32_pmu_event_set_period()
196 left = period; in nds32_pmu_event_set_period()
197 local64_set(&hwc->period_left, left); in nds32_pmu_event_set_period()
202 if (unlikely(left <= 0)) { in nds32_pmu_event_set_period()
203 left += period; in nds32_pmu_event_set_period()
204 local64_set(&hwc->period_left, left); in nds32_pmu_event_set_period()
209 if (left > (s6 in nds32_pmu_event_set_period()
[all...]
/kernel/linux/linux-5.10/sound/pci/au88x0/
H A Dau88x0_a3d.c162 static void a3dsrc_SetHrtfOutput(a3dsrc_t * a, short left, short right) in a3dsrc_SetHrtfOutput() argument
166 a3d_addrA(a->slice, a->source, A3D_A_HrtfOutL), left); in a3dsrc_SetHrtfOutput()
223 static void a3dsrc_GetHrtfOutput(a3dsrc_t * a, short *left, short *right)
226 *left =
327 static void a3dsrc_SetGainTarget(a3dsrc_t * a, short left, short right) in a3dsrc_SetGainTarget() argument
332 (right << 0x10) | left); in a3dsrc_SetGainTarget()
335 static void a3dsrc_SetGainCurrent(a3dsrc_t * a, short left, short right) in a3dsrc_SetGainCurrent() argument
340 (right << 0x10) | left); in a3dsrc_SetGainCurrent()
344 static void a3dsrc_GetGainTarget(a3dsrc_t * a, short *left, short *right)
350 *left
703 vortex_a3d_coord2ild(a3d_LRGains_t ild, int left, int right) vortex_a3d_coord2ild() argument
[all...]
/kernel/linux/linux-6.6/sound/pci/au88x0/
H A Dau88x0_a3d.c162 static void a3dsrc_SetHrtfOutput(a3dsrc_t * a, short left, short right) in a3dsrc_SetHrtfOutput() argument
166 a3d_addrA(a->slice, a->source, A3D_A_HrtfOutL), left); in a3dsrc_SetHrtfOutput()
223 static void a3dsrc_GetHrtfOutput(a3dsrc_t * a, short *left, short *right)
226 *left =
327 static void a3dsrc_SetGainTarget(a3dsrc_t * a, short left, short right) in a3dsrc_SetGainTarget() argument
332 (right << 0x10) | left); in a3dsrc_SetGainTarget()
335 static void a3dsrc_SetGainCurrent(a3dsrc_t * a, short left, short right) in a3dsrc_SetGainCurrent() argument
340 (right << 0x10) | left); in a3dsrc_SetGainCurrent()
344 static void a3dsrc_GetGainTarget(a3dsrc_t * a, short *left, short *right)
350 *left
703 vortex_a3d_coord2ild(a3d_LRGains_t ild, int left, int right) vortex_a3d_coord2ild() argument
[all...]
/third_party/ffmpeg/libavformat/
H A Did3v2.c249 int left = *maxread; in decode_str() local
260 while (left && ch) { in decode_str()
263 left--; in decode_str()
268 if ((left -= 2) < 0) { in decode_str()
294 left += 2; in decode_str()
307 *maxread = left; in decode_str()
314 while ((left > 1) && ch) { in decode_str()
315 GET_UTF16(ch, ((left -= 2) >= 0 ? get(pb) : 0), break;) in decode_str()
318 if (left < 0) in decode_str()
319 left in decode_str()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsnowenc.c236 const BlockNode *left = x ? &s->block[index-1] : &null_block; in encode_q_branch() local
240 const BlockNode *tl = y && x ? &s->block[index-w-1] : left; in encode_q_branch()
242 int pl = left->color[0]; in encode_q_branch()
243 int pcb= left->color[1]; in encode_q_branch()
244 int pcr= left->color[2]; in encode_q_branch()
258 int ref_context= av_log2(2*left->ref) + av_log2(2*top->ref); in encode_q_branch()
259 int mx_context= av_log2(2*FFABS(left->mx - top->mx)); in encode_q_branch()
260 int my_context= av_log2(2*FFABS(left->my - top->my)); in encode_q_branch()
261 int s_context= 2*left->level + 2*top->level + tl->level + tr->level; in encode_q_branch()
273 P_LEFT[0]= left in encode_q_branch()
460 const BlockNode *left = x ? &s->block[index-1] : &null_block; encode_q_branch2() local
573 const BlockNode *left = x ? &s->block[index-1] : &null_block; get_block_bits() local
[all...]
H A Dalacenc.c220 int32_t *left = s->sample_buf[0], *right = s->sample_buf[1]; in alac_stereo_decorrelation() local
224 mode = estimate_stereo_mode(left, right, n); in alac_stereo_decorrelation()
233 right[i] = left[i] - right[i]; in alac_stereo_decorrelation()
240 right[i] = left[i] - right[i]; in alac_stereo_decorrelation()
241 left[i] = tmp + (right[i] >> 31); in alac_stereo_decorrelation()
248 tmp = left[i]; in alac_stereo_decorrelation()
249 left[i] = (tmp + right[i]) >> 1; in alac_stereo_decorrelation()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_bmap.c1501 /* left is 0, right is 1, prev is 2 */ in xfs_bmap_add_extent_delay_real()
1543 * Check and set flags if this segment has a left neighbor. in xfs_bmap_add_extent_delay_real()
1593 * The left and right neighbors are both contiguous with new. in xfs_bmap_add_extent_delay_real()
1637 * The left neighbor is contiguous, the right is not. in xfs_bmap_add_extent_delay_real()
1666 * The right neighbor is contiguous, the left is not. Take care in xfs_bmap_add_extent_delay_real()
1699 * Neither the left nor right neighbors are contiguous with in xfs_bmap_add_extent_delay_real()
1731 * The left neighbor is contiguous. in xfs_bmap_add_extent_delay_real()
1768 * The left neighbor is not contiguous. in xfs_bmap_add_extent_delay_real()
2052 /* left is 0, right is 1, prev is 2 */ in xfs_bmap_add_extent_unwritten_real()
2091 * Check and set flags if this segment has a left neighbo in xfs_bmap_add_extent_unwritten_real()
2579 xfs_bmbt_irec_t left; /* left neighbor extent entry */ xfs_bmap_add_extent_hole_delay() local
2727 xfs_bmbt_irec_t left; /* left neighbor extent entry */ xfs_bmap_add_extent_hole_real() local
5615 xfs_bmse_can_merge( struct xfs_bmbt_irec *left, struct xfs_bmbt_irec *got, xfs_fileoff_t shift) xfs_bmse_can_merge() argument
5647 xfs_bmse_merge( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_fileoff_t shift, struct xfs_iext_cursor *icur, struct xfs_bmbt_irec *got, struct xfs_bmbt_irec *left, struct xfs_btree_cur *cur, int *logflags) xfs_bmse_merge() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_bmap.c1421 /* left is 0, right is 1, prev is 2 */ in xfs_bmap_add_extent_delay_real()
1463 * Check and set flags if this segment has a left neighbor. in xfs_bmap_add_extent_delay_real()
1513 * The left and right neighbors are both contiguous with new. in xfs_bmap_add_extent_delay_real()
1557 * The left neighbor is contiguous, the right is not. in xfs_bmap_add_extent_delay_real()
1586 * The right neighbor is contiguous, the left is not. Take care in xfs_bmap_add_extent_delay_real()
1619 * Neither the left nor right neighbors are contiguous with in xfs_bmap_add_extent_delay_real()
1651 * The left neighbor is contiguous. in xfs_bmap_add_extent_delay_real()
1688 * The left neighbor is not contiguous. in xfs_bmap_add_extent_delay_real()
1972 /* left is 0, right is 1, prev is 2 */ in xfs_bmap_add_extent_unwritten_real()
2011 * Check and set flags if this segment has a left neighbo in xfs_bmap_add_extent_unwritten_real()
2499 xfs_bmbt_irec_t left; /* left neighbor extent entry */ xfs_bmap_add_extent_hole_delay() local
2647 xfs_bmbt_irec_t left; /* left neighbor extent entry */ xfs_bmap_add_extent_hole_real() local
5587 xfs_bmse_can_merge( struct xfs_bmbt_irec *left, struct xfs_bmbt_irec *got, xfs_fileoff_t shift) xfs_bmse_can_merge() argument
5619 xfs_bmse_merge( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_fileoff_t shift, struct xfs_iext_cursor *icur, struct xfs_bmbt_irec *got, struct xfs_bmbt_irec *left, struct xfs_btree_cur *cur, int *logflags) xfs_bmse_merge() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/
H A Dpixel_map_from_surface.cpp407 OHOS::Rosen::Drawing::Rect(srcRect.left, srcRect.top, srcRect.width, srcRect.height), in DrawImageRectVK()
538 srcRect.left >= bufferWidth || srcRect.top >= bufferHeight || in GetNativeWindowBufferFromSurface()
539 srcRect.left + srcRect.width > bufferWidth || srcRect.top + srcRect.height > bufferHeight) { in GetNativeWindowBufferFromSurface()
542 srcRect.left, srcRect.top, srcRect.width, srcRect.height, bufferWidth, bufferHeight); in GetNativeWindowBufferFromSurface()
627 SkRect::MakeXYWH(srcRect.left, srcRect.top, srcRect.width, srcRect.height), in DrawImage()
647 if (srcRect.left < 0 || srcRect.top < 0 || srcRect.width <= 0 || srcRect.height <= 0) { in Create()
649 srcRect.left, srcRect.top, srcRect.width, srcRect.height); in Create()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_canvas_autocache.cpp149 if (a.left() < b.left()) { in CmpSkRectLTRB()
152 if (a.left() > b.left()) { in CmpSkRectLTRB()
418 void SkiaCanvasAutoCache::onDrawImage2(const SkImage* image, SkScalar left, SkScalar top, in onDrawImage2() argument
423 SkRect bounds = SkRect::MakeXYWH(left, top, image->width(), image->height()); in onDrawImage2()
428 this->SkNWayCanvas::onDrawImage2(image, left, top, sampling, paint); in onDrawImage2()
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/
H A Dfile_uri_n_exporter.cpp196 size_t left = 0; in NormalizeUri() local
197 while ((pos = uri.GetPath().find('/', left)) != std::string::npos) { in NormalizeUri()
198 temp.push_back(uri.GetPath().substr(left, pos - left)); in NormalizeUri()
199 left = pos + 1; in NormalizeUri()
201 if (left != pathLen) { in NormalizeUri()
202 temp.push_back(uri.GetPath().substr(left)); in NormalizeUri()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dreg.c115 int i, ret, left; in ath11k_reg_update_chan_list() local
118 left = wait_for_completion_timeout(&ar->completed_11d_scan, in ath11k_reg_update_chan_list()
120 if (!left) { in ath11k_reg_update_chan_list()
126 "11d scan wait left time %d\n", left); in ath11k_reg_update_chan_list()
132 left = wait_for_completion_timeout(&ar->scan.completed, in ath11k_reg_update_chan_list()
134 if (!left) in ath11k_reg_update_chan_list()
139 "hw scan wait left time %d\n", left); in ath11k_reg_update_chan_list()
/kernel/linux/linux-6.6/crypto/
H A Daegis128-core.c288 unsigned int left = size; in crypto_aegis128_process_ad() local
298 left -= fill; in crypto_aegis128_process_ad()
302 crypto_aegis128_ad(state, src, left, do_simd); in crypto_aegis128_process_ad()
303 src += left & ~(AEGIS_BLOCK_SIZE - 1); in crypto_aegis128_process_ad()
304 left &= AEGIS_BLOCK_SIZE - 1; in crypto_aegis128_process_ad()
307 memcpy(buf.bytes + pos, src, left); in crypto_aegis128_process_ad()
309 pos += left; in crypto_aegis128_process_ad()
/kernel/linux/linux-6.6/net/core/
H A Dsock_reuseport.c108 int left, right; in reuseport_sock_index() local
111 left = 0; in reuseport_sock_index()
114 left = reuse->max_socks - reuse->num_closed_socks; in reuseport_sock_index()
118 for (; left < right; left++) in reuseport_sock_index()
119 if (reuse->socks[left] == sk) in reuseport_sock_index()
120 return left; in reuseport_sock_index()
257 * Only reqsk left at this point. in reuseport_grow()
/third_party/mbedtls/library/
H A Dmd5.c209 uint32_t left; in mbedtls_md5_update() local
215 left = ctx->total[0] & 0x3F; in mbedtls_md5_update()
216 fill = 64 - left; in mbedtls_md5_update()
225 if (left && ilen >= fill) { in mbedtls_md5_update()
226 memcpy((void *) (ctx->buffer + left), input, fill); in mbedtls_md5_update()
233 left = 0; in mbedtls_md5_update()
246 memcpy((void *) (ctx->buffer + left), input, ilen); in mbedtls_md5_update()
/third_party/lwip/src/core/ipv4/
H A Dip4_frag.c771 u16_t left, fragsize; in ip4_frag() local
792 left = (u16_t)(p->tot_len - IP_HLEN); in ip4_frag()
794 while (left) { in ip4_frag()
796 fragsize = LWIP_MIN(left, (u16_t)(nfb * 8)); in ip4_frag()
872 last = (left <= netif->mtu - IP_HLEN); in ip4_frag()
903 left = (u16_t)(left - fragsize); in ip4_frag()
/third_party/lwip/src/core/ipv6/
H A Dip6_frag.c752 u16_t left, cop; in ip6_frag() local
765 left = (u16_t)(p->tot_len - IP6_HLEN); in ip6_frag()
767 while (left) { in ip6_frag()
768 last = (left <= nfb); in ip6_frag()
771 cop = last ? left : nfb; in ip6_frag()
876 left = (u16_t)(left - cop); in ip6_frag()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DByteStringTest.java76 // Compare the entire left array with a subset of the right array.
77 private boolean isArrayRange(byte[] left, byte[] right, int rightOffset, int length) { in isArrayRange() argument
78 boolean stillEqual = (left.length == length); in isArrayRange()
80 stillEqual = (left[i] == right[rightOffset + i]); in isArrayRange()
86 private boolean isArray(byte[] left, byte[] right) { in isArray() argument
87 return left.length == right.length && isArrayRange(left, right, 0, left.length); in isArray()
/third_party/skia/third_party/externals/angle2/util/windows/win32/
H A DWin32Window.cpp20 // Check the scancode to distinguish between left and right shift in VirtualKeyCodeToKey()
28 // Check the "extended" flag to distinguish between left and right alt in VirtualKeyCodeToKey()
32 // Check the "extended" flag to distinguish between left and right control in VirtualKeyCodeToKey()
265 topLeft.x = winRect.left; in WndProc()
287 topLeft.x = winRect.left; in WndProc()
562 sizeRect.right - sizeRect.left, sizeRect.bottom - sizeRect.top, in initializeImpl()
742 topLeft.x = winRect.left; in setMousePosition()
768 if (!MoveWindow(mParentWindow, x, y, windowRect.right - windowRect.left, in setPosition()
796 LONG diffX = (windowRect.right - windowRect.left) - clientRect.right; in resize()
798 if (!MoveWindow(mParentWindow, windowRect.left, windowRec in resize()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_gauge_ffi.cpp102 [](const std::pair<Color, Dimension>& left, const std::pair<Color, Dimension>& right) { in SortColorStopOffset()
103 return left.second.Value() < right.second.Value(); in SortColorStopOffset()
107 [](const std::pair<Color, Dimension>& left, const std::pair<Color, Dimension>& right) { in SortColorStopOffset()
108 return left.second.Value() == right.second.Value(); in SortColorStopOffset()
/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_decoration_test_ng.cpp83 PaddingProperty CreatePadding(float left, float top, float right, float bottom);
150 PaddingProperty SearchDecorationTestNg::CreatePadding(float left, float top, float right, float bottom) in CreatePadding() argument
153 padding.left = CalcLength(left); in CreatePadding()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dgauge_modifier.cpp188 [](const std::pair<Color, Dimension>& left, const std::pair<Color, Dimension>& right) { in SortColorStopByOffset()
189 return left.second.Value() < right.second.Value(); in SortColorStopByOffset()
193 [](const std::pair<Color, Dimension>& left, const std::pair<Color, Dimension>& right) { in SortColorStopByOffset()
194 return left.second.Value() == right.second.Value(); in SortColorStopByOffset()

Completed in 42 milliseconds

1...<<41424344454647484950>>...160