/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 379 int left, int right, bool force_notify) in snd_saa7134_capsrc_set() 392 active = left != 0 || right != 0; in snd_saa7134_capsrc_set() 398 chip->capture_source[0] != left || in snd_saa7134_capsrc_set() 401 chip->capture_source[0] = left; in snd_saa7134_capsrc_set() 456 if (left || right) { in snd_saa7134_capsrc_set() 933 int left, right; in snd_saa7134_volume_put() local 935 left = ucontrol->value.integer.value[0]; in snd_saa7134_volume_put() 936 if (left < 0) in snd_saa7134_volume_put() 937 left = 0; in snd_saa7134_volume_put() 938 if (left > 2 in snd_saa7134_volume_put() 378 snd_saa7134_capsrc_set(struct snd_kcontrol *kcontrol, int left, int right, bool force_notify) snd_saa7134_capsrc_set() argument 1034 int left, right; snd_saa7134_capsrc_put() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 379 int left, int right, bool force_notify) in snd_saa7134_capsrc_set() 392 active = left != 0 || right != 0; in snd_saa7134_capsrc_set() 398 chip->capture_source[0] != left || in snd_saa7134_capsrc_set() 401 chip->capture_source[0] = left; in snd_saa7134_capsrc_set() 456 if (left || right) { in snd_saa7134_capsrc_set() 933 int left, right; in snd_saa7134_volume_put() local 935 left = ucontrol->value.integer.value[0]; in snd_saa7134_volume_put() 936 if (left < 0) in snd_saa7134_volume_put() 937 left = 0; in snd_saa7134_volume_put() 938 if (left > 2 in snd_saa7134_volume_put() 378 snd_saa7134_capsrc_set(struct snd_kcontrol *kcontrol, int left, int right, bool force_notify) snd_saa7134_capsrc_set() argument 1034 int left, right; snd_saa7134_capsrc_put() local [all...] |
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | TransliteratorParser.java | 379 // Record the offset to the cursor either to the left or to the 966 // chars left. in parseRules() 1140 // Locate the left side, operator, and right side in parseRule() 1148 RuleHalf left = new RuleHalf(); in parseRule() 1152 pos = left.parse(rule, pos, limit, this); in parseRule() 1202 if (left.text.length() != 1 || left.text.charAt(0) != variableLimit) { in parseRule() 1205 if (left.anchorStart || left.anchorEnd || in parseRule() 1251 RuleHalf temp = left; in parseRule() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | TransliteratorParser.java | 380 // Record the offset to the cursor either to the left or to the 967 // chars left. in parseRules() 1141 // Locate the left side, operator, and right side in parseRule() 1149 RuleHalf left = new RuleHalf(); in parseRule() 1153 pos = left.parse(rule, pos, limit, this); in parseRule() 1203 if (left.text.length() != 1 || left.text.charAt(0) != variableLimit) { in parseRule() 1206 if (left.anchorStart || left.anchorEnd || in parseRule() 1252 RuleHalf temp = left; in parseRule() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 468 int left, count; in rtw_parse_wpa_ie() local 485 left = wpa_ie_len - 8; in rtw_parse_wpa_ie() 488 if (left >= WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie() 492 left -= WPA_SELECTOR_LEN; in rtw_parse_wpa_ie() 494 } else if (left > 0) { in rtw_parse_wpa_ie() 495 RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("%s: ie length mismatch, %u too much", __func__, left)); in rtw_parse_wpa_ie() 501 if (left >= 2) { in rtw_parse_wpa_ie() 505 left -= 2; in rtw_parse_wpa_ie() 507 if (count == 0 || left < count * WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie() 509 "count %u left in rtw_parse_wpa_ie() 541 int left, count; rtw_parse_wpa2_ie() local 968 uint left = len; rtw_ieee802_11_parse_elems() local [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | ak4531_codec.c | 147 int left, right; in snd_ak4531_get_double() local 150 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double() 154 left = mask - left; in snd_ak4531_get_double() 157 ucontrol->value.integer.value[0] = left; in snd_ak4531_get_double() 172 int left, right; in snd_ak4531_put_double() local 174 left = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_double() 177 left = mask - left; in snd_ak4531_put_double() 180 left << in snd_ak4531_put_double() [all...] |
/kernel/linux/linux-5.10/lib/zlib_inflate/ |
H A D | inflate.c | 188 left = strm->avail_out; \ 199 strm->avail_out = left; \ 277 input left to load n bits into the accumulator, or it continues. BITS(n) 290 state information is maintained to continue the loop where it left off 336 unsigned have, left; /* available input and output */ in zlib_inflate() local 361 out = left; in zlib_inflate() 454 if (copy > left) copy = left; in zlib_inflate() 459 left -= copy; in zlib_inflate() 580 if (have >= 6 && left > in zlib_inflate() [all...] |
/kernel/linux/linux-6.6/sound/pci/ |
H A D | ak4531_codec.c | 147 int left, right; in snd_ak4531_get_double() local 150 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double() 154 left = mask - left; in snd_ak4531_get_double() 157 ucontrol->value.integer.value[0] = left; in snd_ak4531_get_double() 172 int left, right; in snd_ak4531_put_double() local 174 left = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_double() 177 left = mask - left; in snd_ak4531_put_double() 180 left << in snd_ak4531_put_double() [all...] |
/kernel/linux/linux-6.6/lib/zlib_inflate/ |
H A D | inflate.c | 188 left = strm->avail_out; \ 199 strm->avail_out = left; \ 277 input left to load n bits into the accumulator, or it continues. BITS(n) 290 state information is maintained to continue the loop where it left off 336 unsigned have, left; /* available input and output */ in zlib_inflate() local 361 out = left; in zlib_inflate() 454 if (copy > left) copy = left; in zlib_inflate() 459 left -= copy; in zlib_inflate() 580 if (have >= 6 && left > in zlib_inflate() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/ |
H A D | ump_kernel_memory_backend_os.c | 103 u32 left; in os_allocate() local 112 left = descriptor->size_bytes; in os_allocate() 121 descriptor->nr_blocks = ((left + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) >> PAGE_SHIFT; in os_allocate() 132 while (left > 0 && ((info->num_pages_allocated + pages_allocated) < info->num_pages_max)) { in os_allocate() 155 if (left < PAGE_SIZE) { in os_allocate() 156 left = 0; in os_allocate() 158 left -= PAGE_SIZE; in os_allocate() 166 if (left) { in os_allocate()
|
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | accessibility_ability_utils.cpp | 61 headerStream << std::left << std::setw(NUM_COLUMN_WIDTH) << "NO" in FormatAbilityInfos() 62 << std::left << std::setw(BUNDLE_NAME_COLUMN_WIDTH) << "bundleName" in FormatAbilityInfos() 63 << std::left << std::setw(ABILITY_NAME_COLUMN_WIDTH) << "abilityName" in FormatAbilityInfos() 64 << std::left << std::setw(CAPABILITIES_ABBR_COLUMN_WIDTH) << "capabilities-abbr" << std::endl; in FormatAbilityInfos() 70 lineStream << std::left << std::setw(NUM_COLUMN_WIDTH) << std::to_string(num) in FormatAbilityInfos() 71 << std::left << std::setw(BUNDLE_NAME_COLUMN_WIDTH) << ability.GetPackageName() in FormatAbilityInfos() 72 << std::left << std::setw(ABILITY_NAME_COLUMN_WIDTH) << ability.GetName() in FormatAbilityInfos() 73 << std::left << capabilityNames << std::endl; in FormatAbilityInfos()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | idals.h | 198 size_t left; in idal_buffer_to_user() local 203 left = copy_to_user(to, ib->data[i], IDA_BLOCK_SIZE); in idal_buffer_to_user() 204 if (left) in idal_buffer_to_user() 205 return left + count - IDA_BLOCK_SIZE; in idal_buffer_to_user() 218 size_t left; in idal_buffer_from_user() local 223 left = copy_from_user(ib->data[i], from, IDA_BLOCK_SIZE); in idal_buffer_from_user() 224 if (left) in idal_buffer_from_user() 225 return left + count - IDA_BLOCK_SIZE; in idal_buffer_from_user()
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | idals.h | 210 size_t left; in idal_buffer_to_user() local 215 left = copy_to_user(to, ib->data[i], IDA_BLOCK_SIZE); in idal_buffer_to_user() 216 if (left) in idal_buffer_to_user() 217 return left + count - IDA_BLOCK_SIZE; in idal_buffer_to_user() 230 size_t left; in idal_buffer_from_user() local 235 left = copy_from_user(ib->data[i], from, IDA_BLOCK_SIZE); in idal_buffer_from_user() 236 if (left) in idal_buffer_from_user() 237 return left + count - IDA_BLOCK_SIZE; in idal_buffer_from_user()
|
/third_party/alsa-utils/alsamixer/ |
H A D | textbox.c | 187 int left; in move_x() local 189 left = current_left + delta; in move_x() 190 if (left < 0) in move_x() 191 left = 0; in move_x() 192 else if (left > max_scroll_x) in move_x() 193 left = max_scroll_x; in move_x() 194 if (left != current_left) { in move_x() 195 current_left = left; in move_x()
|
/third_party/skia/src/core/ |
H A D | SkBlitter_Sprite.cpp | 23 bool SkSpriteBlitter::setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) { in setup() argument 25 fLeft = left; in setup() 114 bool setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override { 116 fLeft = left; 177 const SkPixmap& source, int left, int top, in ChooseSprite() 182 a bit of a hack, since we "could" pass in the fractional left/top for the bitmap, in ChooseSprite() 191 return SkVMBlitter::Make(dst, paint, source,left,top, alloc, std::move(clipShader)); in ChooseSprite() 225 if (blitter && blitter->setup(dst, left,top, paint)) { in ChooseSprite() 229 return SkVMBlitter::Make(dst, paint, source,left,top, alloc, std::move(clipShader)); in ChooseSprite() 176 ChooseSprite(const SkPixmap& dst, const SkPaint& paint, const SkPixmap& source, int left, int top, SkArenaAlloc* alloc, sk_sp<SkShader> clipShader) ChooseSprite() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | GrallocAndroid.cpp | 137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) in lock() argument 145 rect.left = left; in lock() 171 rect.left = left; in lock() 198 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); in lock() 204 outRect.left = left; in lock()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | GrallocAndroid.cpp | 137 int GrallocModule::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) in lock() argument 145 rect.left = left; in lock() 171 rect.left = left; in lock() 198 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); in lock() 204 outRect.left = left; in lock()
|
/third_party/python/Lib/turtledemo/ |
H A D | sorting_animate.py | 103 def partition(shelf, left, right, pivot_index): 106 store_index = left 107 for i in range(left, right): # range is non-inclusive of ending value 114 def qsort(shelf, left, right): 115 if left < right: 116 pivot_index = left 117 pivot_new_index = partition(shelf, left, right, pivot_index) 118 qsort(shelf, left, pivot_new_index - 1)
|
/third_party/rust/crates/nom/tests/ |
H A D | arithmetic_ast.rs | 38 Add(ref left, ref right) => write!(format, "{} + {}", left, right), 39 Sub(ref left, ref right) => write!(format, "{} - {}", left, right), 40 Mul(ref left, ref right) => write!(format, "{} * {}", left, right), 41 Div(ref left, ref right) => write!(format, "{} / {}", left, right), 52 Add(ref left, ref right) => write!(format, "({:?} + {:?})", left, righ [all...] |
/third_party/node/deps/v8/src/compiler/backend/ppc/ |
H A D | instruction-selector-ppc.cc | 128 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop() 434 if ((m->left().IsWord32Xor() || m->left().IsWord64Xor()) && left_can_cover) { in VisitLogical() 435 Matcher mleft(m->left().node()); in VisitLogical() 439 g.UseRegister(mleft.left().node())); in VisitLogical() 451 g.UseRegister(m->left().node()), in VisitLogical() 452 g.UseRegister(mright.left().node())); in VisitLogical() 493 Node* left = m.left().node(); in VisitWord32And() local 494 if ((m.left() in VisitWord32And() 532 Node* left = m.left().node(); VisitWord64And() local 1547 VisitCompare(InstructionSelector* selector, InstructionCode opcode, InstructionOperand left, InstructionOperand right, FlagsContinuation* cont) VisitCompare() argument 1558 Node* left = node->InputAt(0); VisitWordCompare() local 1593 Node* left = node->InputAt(0); VisitFloat32Compare() local 1603 Node* left = node->InputAt(0); VisitFloat64Compare() local 1937 Node* left = node->InputAt(0); VisitFloat64InsertLowWord32() local 1952 Node* left = node->InputAt(0); VisitFloat64InsertHighWord32() local [all...] |
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.cpp | 394 e->fTop->fID, e->fBottom->fID, fID, side == kLeft_Side ? "left" : "right"); in addEdge() 635 void GrTriangulator::FindEnclosingEdges(Vertex* v, EdgeList* edges, Edge** left, Edge** right) { in FindEnclosingEdges() argument 637 *left = v->fFirstEdgeAbove->fLeft; in FindEnclosingEdges() 649 *left = prev; in FindEnclosingEdges() 844 static bool top_collinear(Edge* left, Edge* right) { in top_collinear() argument 845 if (!left || !right) { in top_collinear() 848 return left->fTop->fPoint == right->fTop->fPoint || in top_collinear() 849 !left->isLeftOf(right->fTop) || !right->isRightOf(left->fTop); in top_collinear() 852 static bool bottom_collinear(Edge* left, Edg argument 922 intersectEdgePair(Edge* left, Edge* right, EdgeList* activeEdges, Vertex** current, const Comparator& c) const intersectEdgePair() argument 1056 checkForIntersection(Edge* left, Edge* right, EdgeList* activeEdges, Vertex** current, VertexList* mesh, const Comparator& c) const checkForIntersection() argument 1260 validate_edge_pair(Edge* left, Edge* right, const Comparator& c) validate_edge_pair() argument 1283 Edge* left = edges->fHead; validate_edge_list() local [all...] |
/third_party/gn/src/gn/ |
H A D | parser.cc | 128 All binary operators are left-associative. 168 left-hand list. It is an error to remove an item not in the list. This is to 225 // Currently all operators are left-associative so this list is sequential. To 228 // of "<left-associated-precedence> - 1". 441 std::unique_ptr<ParseNode> left = (this->*prefix)(token); in ParseExpression() local 443 return left; in ParseExpression() 454 left = (this->*infix)(std::move(left), next_token); in ParseExpression() 459 return left; in ParseExpression() 514 std::unique_ptr<ParseNode> left, in BinaryOperator() 513 BinaryOperator( std::unique_ptr<ParseNode> left, const Token& token) BinaryOperator() argument 532 IdentifierOrCall( std::unique_ptr<ParseNode> left, const Token& token) IdentifierOrCall() argument 573 Assignment(std::unique_ptr<ParseNode> left, const Token& token) Assignment() argument 594 Subscript(std::unique_ptr<ParseNode> left, const Token& token) Subscript() argument 614 DotOperator(std::unique_ptr<ParseNode> left, const Token& token) DotOperator() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | enc_sse2.c | 540 static WEBP_INLINE void HE8uv_SSE2(uint8_t* dst, const uint8_t* left) { in HE8uv_SSE2() argument 543 const __m128i values = _mm_set1_epi8(left[j]); in HE8uv_SSE2() 549 static WEBP_INLINE void HE16_SSE2(uint8_t* dst, const uint8_t* left) { in HE16_SSE2() argument 552 const __m128i values = _mm_set1_epi8(left[j]); in HE16_SSE2() 559 const uint8_t* left, int size) { in HorizontalPred_SSE2() 560 if (left != NULL) { in HorizontalPred_SSE2() 562 HE8uv_SSE2(dst, left); in HorizontalPred_SSE2() 564 HE16_SSE2(dst, left); in HorizontalPred_SSE2() 571 static WEBP_INLINE void TM_SSE2(uint8_t* dst, const uint8_t* left, in TM_SSE2() argument 579 const int val = left[ in TM_SSE2() 558 HorizontalPred_SSE2(uint8_t* dst, const uint8_t* left, int size) HorizontalPred_SSE2() argument 599 TrueMotion_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top, int size) TrueMotion_SSE2() argument 620 DC8uv_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top) DC8uv_SSE2() argument 637 DC8uvNoTop_SSE2(uint8_t* dst, const uint8_t* left) DC8uvNoTop_SSE2() argument 646 DC8uvMode_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top) DC8uvMode_SSE2() argument 661 DC16_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top) DC16_SSE2() argument 676 DC16NoTop_SSE2(uint8_t* dst, const uint8_t* left) DC16NoTop_SSE2() argument 685 DC16Mode_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top) DC16Mode_SSE2() argument 914 IntraChromaPreds_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top) IntraChromaPreds_SSE2() argument 934 Intra16Preds_SSE2(uint8_t* dst, const uint8_t* left, const uint8_t* top) Intra16Preds_SSE2() argument [all...] |
/kernel/linux/linux-5.10/net/rds/ |
H A D | tcp_recv.c | 162 size_t left = len, to_copy; in rds_tcp_data_recv() local 171 while (left) { in rds_tcp_data_recv() 193 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv() 194 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv() 203 left -= to_copy; in rds_tcp_data_recv() 215 if (left && tc->t_tinc_data_rem) { in rds_tcp_data_recv() 216 to_copy = min(tc->t_tinc_data_rem, left); in rds_tcp_data_recv() 232 left -= to_copy; in rds_tcp_data_recv() 255 rdsdebug("returning len %zu left %zu skb len %d rx queue depth %d\n", in rds_tcp_data_recv() 256 len, left, sk in rds_tcp_data_recv() [all...] |
/kernel/linux/linux-6.6/net/rds/ |
H A D | tcp_recv.c | 163 size_t left = len, to_copy; in rds_tcp_data_recv() local 172 while (left) { in rds_tcp_data_recv() 194 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv() 195 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv() 204 left -= to_copy; in rds_tcp_data_recv() 216 if (left && tc->t_tinc_data_rem) { in rds_tcp_data_recv() 217 to_copy = min(tc->t_tinc_data_rem, left); in rds_tcp_data_recv() 233 left -= to_copy; in rds_tcp_data_recv() 256 rdsdebug("returning len %zu left %zu skb len %d rx queue depth %d\n", in rds_tcp_data_recv() 257 len, left, sk in rds_tcp_data_recv() [all...] |