/kernel/linux/linux-5.10/tools/lib/perf/ |
H A D | lib.c | 13 size_t left = n; in ion() local 15 while (left) { in ion() 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion() 18 write(fd, buf, left); in ion() 25 left -= ret; in ion()
|
/third_party/node/deps/npm/node_modules/diff/lib/diff/ |
H A D | word.js | 61 wordDiff.equals = function (left, right) { 63 left = left.toLowerCase(); 67 return left === right || this.options.ignoreWhitespace && !reWhitespace.test(left) && !reWhitespace.test(right);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | aes-ctr.c | 29 size_t j, len, left = data_len; in aes_ctr_encrypt() local 39 while (left > 0) { in aes_ctr_encrypt() 42 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE; in aes_ctr_encrypt() 46 left -= len; in aes_ctr_encrypt()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | aes-ctr.c | 29 size_t j, len, left = data_len; in aes_ctr_encrypt() local 39 while (left > 0) { in aes_ctr_encrypt() 42 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE; in aes_ctr_encrypt() 46 left -= len; in aes_ctr_encrypt()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | numberOnLeftSideOfInExpression.js | 2 var left: number; variable 4 left in right;
7 var left;
variable 9 left in right;
|
H A D | genericFunctionsAndConditionalInference.js | 14 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 D | genericTypeAliases.js | 2 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,
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 442 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...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mjpeg.h | 118 #define PREDICT(ret, topleft, top, left, predictor)\ 121 case 1: ret= left; break;\ 124 case 4: ret= left + top - topleft; break;\ 125 case 5: ret= left + ((top - topleft)>>1); break;\ 126 case 6: ret= top + ((left - topleft)>>1); break;\ 128 case 7: ret= (left + top)>>1; break;\
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-priority-queue.hh | 107 unsigned left = left_child (index); in bubble_down() local 110 bool has_left = left < heap.length; in bubble_down() 112 // If there's no left, then there's also no right. in bubble_down() 116 if (heap[index].first <= heap[left].first in bubble_down() 120 if (!has_right || heap[left].first < heap[right].first) in bubble_down() 122 swap (index, left); in bubble_down() 123 bubble_down (left); in bubble_down()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGRRList.cpp | 429 // 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...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_bl.c | 70 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 D | napi_init.cpp | 250 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 D | mixer_widget.c | 208 _("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 D | Framebuffer9.cpp | 176 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...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-zpff.c | 30 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 D | decompress_common.c | 47 * 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 D | hid-zpff.c | 30 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 D | test_per_cpu_allocator_module.c | 101 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/eudev/src/shared/ |
H A D | strbuf.c | 109 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 D | flac_picture.c | 45 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 D | rb_tree.h | 52 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 D | lib.rs | 33 /// 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/node/deps/v8/src/compiler/backend/loong64/ |
H A D | instruction-selector-loong64.cc | 225 if (m.left().IsLoad() && m.right().Is(32) && in Initialize() 226 selector_->CanCover(m.node(), m.left().node())) { in Initialize() 228 selector_->GetEffectLevel(m.left().node())); in Initialize() 230 LoadRepresentationOf(m.left().node()->op()).representation(); in Initialize() 240 Node* load = m.left().node(); in Initialize() 297 inputs[0] = g.UseRegister(m.left().node()); in VisitBinop() 300 TryMatchImmediate(selector, &reverse_opcode, m.left().node(), in VisitBinop() 306 inputs[input_count++] = g.UseRegister(m.left().node()); in VisitBinop() 593 if (m.left().IsWord32Shr() && CanCover(node, m.left() in VisitWord32And() 1059 Node* left = node->InputAt(0); VisitInt32Mul() local 1120 Node* left = node->InputAt(0); VisitInt32Div() local 1149 Node* left = node->InputAt(0); VisitInt32Mod() local 1742 VisitCompare(InstructionSelector* selector, InstructionCode opcode, InstructionOperand left, InstructionOperand right, FlagsContinuation* cont) VisitCompare() argument 1781 Node* left = node->InputAt(0); VisitWordCompare() local 2444 Node* left = node->InputAt(0); VisitFloat64InsertLowWord32() local 2452 Node* left = node->InputAt(0); VisitFloat64InsertHighWord32() local [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__slist.c | 149 ares__slist_node_t *left = NULL; in ares__slist_node_push() local 154 /* set left if left is NULL and the current node value is greater than the in ares__slist_node_push() 156 if (left == NULL && list->head[i] != NULL && in ares__slist_node_push() 158 left = list->head[i]; in ares__slist_node_push() 161 if (left != NULL) { in ares__slist_node_push() 163 while (left->next[i] != NULL && in ares__slist_node_push() 164 list->cmp(node->data, left->next[i]->data) > 0) { in ares__slist_node_push() 165 left = left in ares__slist_node_push() [all...] |