Home
last modified time | relevance | path

Searched refs:left (Results 226 - 250 of 4325) sorted by relevance

12345678910>>...173

/kernel/linux/linux-6.6/sound/core/oss/
H A Dmixer_oss.c261 int result = 0, left, right; in snd_mixer_oss_get_volume() local
267 left = pslot->volume[0]; in snd_mixer_oss_get_volume()
270 result = pslot->get_volume(fmixer, pslot, &left, &right); in snd_mixer_oss_get_volume()
272 right = left; in snd_mixer_oss_get_volume()
273 if (snd_BUG_ON(left < 0 || left > 100)) { in snd_mixer_oss_get_volume()
282 pslot->volume[0] = left; in snd_mixer_oss_get_volume()
284 result = (left & 0xff) | ((right & 0xff) << 8); in snd_mixer_oss_get_volume()
296 int result = 0, left = volume & 0xff, right = (volume >> 8) & 0xff; in snd_mixer_oss_set_volume() local
302 if (left > 10 in snd_mixer_oss_set_volume()
530 snd_mixer_oss_get_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right) snd_mixer_oss_get_volume1_vol() argument
568 snd_mixer_oss_get_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right, int route) snd_mixer_oss_get_volume1_sw() argument
608 snd_mixer_oss_get_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *left, int *right) snd_mixer_oss_get_volume1() argument
634 snd_mixer_oss_put_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right) snd_mixer_oss_put_volume1_vol() argument
676 snd_mixer_oss_put_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right, int route) snd_mixer_oss_put_volume1_sw() argument
723 snd_mixer_oss_put_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int left, int right) snd_mixer_oss_put_volume1() argument
777 int left, right; snd_mixer_oss_get_recsrc1_sw() local
790 int left, right; snd_mixer_oss_get_recsrc1_route() local
[all...]
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_conn.c494 if (rvint->left) { in conn_read_type()
552 if (stream->rstate.rvint.left) { in nghttp3_conn_read_uni()
618 return (int64_t)len >= rstate->left; in frame_fin()
649 if (rvint->left) { in nghttp3_conn_read_control()
669 if (rvint->left) { in nghttp3_conn_read_control()
673 rstate->left = rstate->fr.hd.length = rvint->acc; in nghttp3_conn_read_control()
688 if (rstate->left == 0) { in nghttp3_conn_read_control()
695 if (rstate->left == 0) { in nghttp3_conn_read_control()
704 if (rstate->left == 0) { in nghttp3_conn_read_control()
713 if (rstate->left in nghttp3_conn_read_control()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/
H A Dsnapshot.h67 Rect(int32_t left, int32_t top, int32_t right, int32_t bottom) in Rect()
69 this->left = left; in Rect()
77 if (!parcel.WriteInt32(left) || !parcel.WriteInt32(top) ||
86 int32_t left = parcel.ReadInt32(); in Unmarshalling() local
90 auto rectPtr = new Rect(left, top, right, bottom); in Unmarshalling()
94 int32_t left = 0; member
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-zpff.c30 int left, right; in zpff_play() local
38 left = effect->u.rumble.strong_magnitude; in zpff_play()
40 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in zpff_play()
42 left = left * 0x7f / 0xffff; in zpff_play()
45 zpff->report->field[2]->value[0] = left; in zpff_play()
47 dbg_hid("running with 0x%02x 0x%02x\n", left, right); in zpff_play()
/kernel/linux/linux-6.6/fs/ntfs3/lib/
H A Ddecompress_common.c47 * when zero-padded on the left to 'max_codeword_len' binary digits.
117 int left; in make_huffman_decode_table() local
141 left = 1; in make_huffman_decode_table()
143 left <<= 1; in make_huffman_decode_table()
144 left -= len_counts[len]; in make_huffman_decode_table()
145 if (left < 0) { in make_huffman_decode_table()
153 if (left) { in make_huffman_decode_table()
157 if (left == (1 << max_codeword_len)) { in make_huffman_decode_table()
281 * simply the index of the left child combined in make_huffman_decode_table()
299 /* Go to the left chil in make_huffman_decode_table()
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-zpff.c30 int left, right; in zpff_play() local
38 left = effect->u.rumble.strong_magnitude; in zpff_play()
40 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in zpff_play()
42 left = left * 0x7f / 0xffff; in zpff_play()
45 zpff->report->field[2]->value[0] = left; in zpff_play()
47 dbg_hid("running with 0x%02x 0x%02x\n", left, right); in zpff_play()
/third_party/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
H A Dtest_per_cpu_allocator_module.c101 size_t left = size; in fill_area() local
103 while (left >= sizeof(unsigned long)) { in fill_area()
105 left -= sizeof(unsigned long); in fill_area()
118 size_t left = size; in verify_area() local
120 while (left >= sizeof(unsigned long)) { in verify_area()
124 cmdno, size, cpu, size - left, p); in verify_area()
130 left -= sizeof(unsigned long); in verify_area()
/third_party/typescript/tests/baselines/reference/
H A DgenericFunctionsAndConditionalInference.js14 left: A
20 type LR<F extends Target, L, R> = [F] extends ["left"] ? L : R
29 const left: Ops<"left"> = {} as any
35 const leftOk = ok(left)
36 const leftOrphaned = orphaned(left)
46 var left = {};
50 var leftOk = ok(left);
51 var leftOrphaned = orphaned(left);
H A DgenericTypeAliases.js2 type Tree<T> = T | { left: Tree<T>, right: Tree<T> };
5 left: {
6 left: 0,
8 left: 1,
79 left: {
80 left: 0,
82 left: 1,
H A DspecialIntersectionsInMappedTypes.js4 type Alignment = (string & {}) | "left" | "center" | "right";
8 left: "align-left",
14 a.left.length;
22 left: "align-left",
27 a.left.length;
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c442 int left, count; in rtw_parse_wpa_ie() local
459 left = wpa_ie_len - 8; in rtw_parse_wpa_ie()
462 if (left >= WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie()
466 left -= WPA_SELECTOR_LEN; in rtw_parse_wpa_ie()
468 } else if (left > 0) in rtw_parse_wpa_ie()
472 if (left >= 2) { in rtw_parse_wpa_ie()
476 left -= 2; in rtw_parse_wpa_ie()
478 if (count == 0 || left < count * WPA_SELECTOR_LEN) in rtw_parse_wpa_ie()
485 left -= WPA_SELECTOR_LEN; in rtw_parse_wpa_ie()
488 } else if (left in rtw_parse_wpa_ie()
505 int left, count; rtw_parse_wpa2_ie() local
847 uint left = len; rtw_ieee802_11_parse_elems() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp24 std::optional<CalcDimension> left; in SetMarginProperty() local
28 JSViewAbstract::ParseMarginOrPaddingCorner(paddingObj, top, bottom, left, right); in SetMarginProperty()
46 if (left.has_value()) { in SetMarginProperty()
47 if (left.value().Unit() == DimensionUnit::CALC) { in SetMarginProperty()
48 margin.left = NG::CalcLength(left.value().CalcValue()); in SetMarginProperty()
50 margin.left = NG::CalcLength(left.value()); in SetMarginProperty()
/foundation/multimodalinput/input/util/common/include/
H A Dutil.h131 inline bool MMI_LNE(float left, float right) //less not equal in MMI_LNE() argument
134 return (left - right) < epsilon; in MMI_LNE()
137 inline bool MMI_GNE(float left, float right) //great not equal in MMI_GNE() argument
140 return (left - right) > epsilon; in MMI_GNE()
143 inline bool MMI_GE(float left, float right) //great or equal in MMI_GE() argument
146 return (left - right) > epsilon; in MMI_GE()
149 inline bool MMI_LE(float left, float right) //less or equal in MMI_LE() argument
152 return (left - right) < epsilon; in MMI_LE()
/foundation/window/window_manager/utils/src/
H A Dcutout_info.cpp27 return parcel.WriteInt32(waterfallDisplayAreaRects_.left.posX_) && in Marshalling()
28 parcel.WriteInt32(waterfallDisplayAreaRects_.left.posY_) && in Marshalling()
29 parcel.WriteUint32(waterfallDisplayAreaRects_.left.width_) && in Marshalling()
30 parcel.WriteUint32(waterfallDisplayAreaRects_.left.height_) && in Marshalling()
100 if (!(parcel.ReadInt32(waterfallDisplayAreaRects.left.posX_) && in ReadWaterfallDisplayAreaRects()
101 parcel.ReadInt32(waterfallDisplayAreaRects.left.posY_) && in ReadWaterfallDisplayAreaRects()
102 parcel.ReadUint32(waterfallDisplayAreaRects.left.width_) && in ReadWaterfallDisplayAreaRects()
103 parcel.ReadUint32(waterfallDisplayAreaRects.left.height_) && in ReadWaterfallDisplayAreaRects()
/third_party/eudev/src/shared/
H A Dstrbuf.c109 int left = 0, right = node->children_count; in bubbleinsert() local
111 while (right > left) { in bubbleinsert()
112 int middle = (right + left) / 2 ; in bubbleinsert()
114 left = middle + 1; in bubbleinsert()
119 memmove(node->children + left + 1, node->children + left, in bubbleinsert()
120 sizeof(struct strbuf_child_entry) * (node->children_count - left)); in bubbleinsert()
121 node->children[left] = new; in bubbleinsert()
/third_party/ffmpeg/libavformat/
H A Dflac_picture.c45 uint32_t len, left, trunclen = 0; in ff_flac_parse_picture() local
121 left = bytestream2_get_bytes_left(&g); in ff_flac_parse_picture()
122 if (len <= 0 || len > left) { in ff_flac_parse_picture()
135 len > left && (len & 0xffffff) == left) { in ff_flac_parse_picture()
136 av_log(s, AV_LOG_INFO, "Correcting truncated metadata picture size from %u to %u\n", left, len); in ff_flac_parse_picture()
137 trunclen = len - left; in ff_flac_parse_picture()
162 bytestream2_get_bufferu(&g, data->data, left); in ff_flac_parse_picture()
/third_party/mesa3d/src/util/
H A Drb_tree.h52 struct rb_node *left; member
108 * \param insert_left If true, the new node will be the left child of
131 bool left = false; in rb_tree_insert() local
134 left = cmp(x, node) < 0; in rb_tree_insert()
135 if (left) in rb_tree_insert()
136 x = x->left; in rb_tree_insert()
141 rb_tree_insert_at(T, y, node, left); in rb_tree_insert()
174 x = x->left; in rb_tree_search()
212 x = x->left; in rb_tree_search_sloppy()
222 /** Get the first (left
[all...]
/third_party/rust/crates/syn/examples/trace-var/trace-var/src/
H A Dlib.rs33 /// variables we intend to print. Expressions are used as the left-hand side
52 /// variables we intend to print. Patterns are used as the left-hand side of
61 /// Produces an expression that assigns the right-hand side to the left-hand
69 fn assign_and_print(&mut self, left: Expr, op: &dyn ToTokens, right: Expr) -> Expr { in assign_and_print()
72 #left #op #right; in assign_and_print()
73 println!(concat!(stringify!(#left), " = {:?}"), #left); in assign_and_print()
77 /// Produces a let-binding that assigns the right-hand side to the left-hand
119 if self.should_print_expr(&e.left) { in fold_expr()
120 self.assign_and_print(*e.left, in fold_expr()
[all...]
/third_party/curl/src/
H A Dtool_cb_see.c64 curl_off_t left = offset; in tool_seek_cb() local
74 while(left) { in tool_seek_cb()
75 long step = (left > OUR_MAX_SEEK_O) ? OUR_MAX_SEEK_L : (long)left; in tool_seek_cb()
79 left -= step; in tool_seek_cb()
/third_party/openssl/test/testutil/
H A Dtu_local.h23 const char *left, const char *right,
28 const char *left, const char *right,
34 const char *left, const char *right,
39 const char *left, const char *right,
44 const char *left, const char *right,
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dqat_bl.c70 unsigned int left; in __qat_bl_sgl_to_bufl() local
94 left = sskip; in __qat_bl_sgl_to_bufl()
102 if (left >= sg->length) { in __qat_bl_sgl_to_bufl()
103 left -= sg->length; in __qat_bl_sgl_to_bufl()
106 bufl->buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left, in __qat_bl_sgl_to_bufl()
107 sg->length - left, in __qat_bl_sgl_to_bufl()
113 if (left) { in __qat_bl_sgl_to_bufl()
114 bufl->buffers[y].len -= left; in __qat_bl_sgl_to_bufl()
115 left = 0; in __qat_bl_sgl_to_bufl()
133 left in __qat_bl_sgl_to_bufl()
[all...]
/test/xts/acts/graphic/displayNdk/entry/src/main/cpp/
H A Dnapi_init.cpp250 i, cutOutInfo->boundingRects[i].left, cutOutInfo->boundingRects[i].top, in CreateDefaultDisplayCutoutInfo()
253 OH_LOG_INFO(LOG_APP, "cutOutInfo waterfall left rect=[%{public}d %{public}d %{public}d %{public}d]", in CreateDefaultDisplayCutoutInfo()
254 cutOutInfo->waterfallDisplayAreaRects.left.left, cutOutInfo->waterfallDisplayAreaRects.left.top, in CreateDefaultDisplayCutoutInfo()
255 cutOutInfo->waterfallDisplayAreaRects.left.left, cutOutInfo->waterfallDisplayAreaRects.left.left); in CreateDefaultDisplayCutoutInfo()
257 cutOutInfo->waterfallDisplayAreaRects.top.left, cutOutInf in CreateDefaultDisplayCutoutInfo()
[all...]
/third_party/alsa-utils/alsamixer/
H A Dmixer_widget.c208 _("Q W E Increase left/both/right volumes"), in show_help()
210 _("Z X C Decrease left/both/right volumes"), in show_help()
211 _("B Balance left and right volumes"), in show_help()
215 _("< > Toggle left/right mute"), in show_help()
219 _("; ' Toggle left/right capture"), in show_help()
334 double left = 0, right = 0; in change_volume_relative() local
347 left = get_func(control->elem, control->volume_channels[0]); in change_volume_relative()
352 left = clamp_volume(left + delta / 100.0); in change_volume_relative()
353 set_func(control->elem, control->volume_channels[0], left, di in change_volume_relative()
396 int left, right; toggle_switches() local
447 double left, right; balance_volumes() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DFramebuffer9.cpp176 rect.left = gl::clamp(area.x, 0L, static_cast<LONG>(desc.Width)); in readPixelsImpl()
200 packParams.area.x = rect.left; in readPixelsImpl()
202 packParams.area.width = rect.right - rect.left; in readPixelsImpl()
263 srcRect.left = sourceArea.x; in blitImpl()
269 dstRect.left = destArea.x; in blitImpl()
277 if (dstRect.left < scissor->x) in blitImpl()
279 srcRect.left += (scissor->x - dstRect.left); in blitImpl()
280 dstRect.left = scissor->x; in blitImpl()
300 if (dstRect.left < in blitImpl()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp429 // CapturePred and others may have left the node in the pending queue, avoid in ReleasePred()
818 /// unscheduled, increase the succ left count of its predecessors. Remove
1655 bool operator()(SUnit* left, SUnit* right) const {
1656 // reverse left/right rather than simply !SortFunc(left, right)
1658 return SortFunc(right, left);
1675 bool operator()(SUnit* left, SUnit* right) const;
1689 bool operator()(SUnit* left, SUnit* right) const;
1705 bool operator()(SUnit* left, SUnit* right) const;
1722 bool operator()(SUnit* left, SUni
[all...]

Completed in 17 milliseconds

12345678910>>...173