/third_party/musl/src/linux/x32/ |
H A D | sysinfo.c | 32 kulong shifts; in __lsysinfo() local 34 __asm__("bsr %1,%0" : "=r"(shifts) : "r"(max)); in __lsysinfo() 35 shifts = shifts >= 32 ? shifts - 31 : 0; in __lsysinfo() 36 info->totalram = tmp.totalram >> shifts; in __lsysinfo() 37 info->freeram = tmp.freeram >> shifts; in __lsysinfo() 38 info->sharedram = tmp.sharedram >> shifts; in __lsysinfo() 39 info->bufferram = tmp.bufferram >> shifts; in __lsysinfo() 40 info->totalswap = tmp.totalswap >> shifts; in __lsysinfo() [all...] |
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | convert.rs | 31 shifts: u8, 45 shifts: 0, 51 (self.code_point >> (self.shifts * BYTE_SHIFT)) as u8 in get_raw_byte() 62 if let Some(shifts) = self.shifts.checked_sub(1) { in next() 63 self.shifts = shifts; in next() 83 self.shifts += 1; in next() 94 let shifts = self.shifts in size_hint() [all...] |
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_screen.c | 157 int shifts[4]; in driCreateConfigs() member 195 const int * shifts; in driCreateConfigs() local 211 shifts = format_table[0].shifts; in driCreateConfigs() 216 shifts = format_table[1].shifts; in driCreateConfigs() 221 shifts = format_table[2].shifts; in driCreateConfigs() 226 shifts = format_table[5].shifts; in driCreateConfigs() [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_encoder.h | 161 /* The values needing packing, in order, and the corresponding shifts. in panfrost_pack_work_groups_compute() 165 unsigned shifts[7] = { 0 }; in panfrost_pack_work_groups_compute() local 173 packed |= ((values[i] - 1) << shifts[i]); in panfrost_pack_work_groups_compute() 179 shifts[i + 1] = shifts[i] + bit_count; in panfrost_pack_work_groups_compute() 184 cfg.size_y_shift = shifts[1]; in panfrost_pack_work_groups_compute() 185 cfg.size_z_shift = shifts[2]; in panfrost_pack_work_groups_compute() 186 cfg.workgroups_x_shift = shifts[3]; in panfrost_pack_work_groups_compute() 190 cfg.workgroups_y_shift = shifts[4]; in panfrost_pack_work_groups_compute() 191 cfg.workgroups_z_shift = shifts[ in panfrost_pack_work_groups_compute() [all...] |
/third_party/backends/backend/genesys/ |
H A D | sensor.cpp | 31 if (config.shifts().empty()) { in operator <<() 36 out << "StaggerConfig{ " << config.shifts().front(); in operator <<() 37 for (auto it = std::next(config.shifts().begin()); it != config.shifts().end(); ++it) { in operator <<()
|
H A D | image_pipeline.cpp | 473 DBG_HELPER_ARGS(dbg, "shifts={%d, %d, %d}", shift_r, shift_g, shift_b); 529 ImagePipelineNode& source, const std::vector<std::size_t>& shifts) : in ImagePipelineNodePixelShiftLines() 531 pixel_shifts_{shifts}, in ImagePipelineNodePixelShiftLines() 575 ImagePipelineNode& source, const std::vector<std::size_t>& shifts) : in ImagePipelineNodePixelShiftColumns() 577 pixel_shifts_{shifts} in ImagePipelineNodePixelShiftColumns() 611 const std::vector<std::size_t>& shifts) in compute_pixel_shift_extra_width() 613 // we iterate across pixel shifts and find the pixel that needs the maximum shift according to in compute_pixel_shift_extra_width() 615 int group_size = shifts.size(); in compute_pixel_shift_extra_width() 616 int non_filled_group = source_width % shifts.size(); in compute_pixel_shift_extra_width() 620 int shift_groups = shifts[ in compute_pixel_shift_extra_width() 528 ImagePipelineNodePixelShiftLines( ImagePipelineNode& source, const std::vector<std::size_t>& shifts) ImagePipelineNodePixelShiftLines() argument 574 ImagePipelineNodePixelShiftColumns( ImagePipelineNode& source, const std::vector<std::size_t>& shifts) ImagePipelineNodePixelShiftColumns() argument 610 compute_pixel_shift_extra_width(std::size_t source_width, const std::vector<std::size_t>& shifts) compute_pixel_shift_extra_width() argument [all...] |
H A D | sensor.h | 53 explicit StaggerConfig(std::initializer_list<std::size_t> shifts) : in StaggerConfig() argument 54 shifts_{shifts} in StaggerConfig() 68 const std::vector<std::size_t>& shifts() const { return shifts_; } in shifts() function in genesys::StaggerConfig
|
H A D | image_pipeline.h | 351 // A pipeline node that shifts colors across lines by the given offsets 376 // A pipeline node that shifts pixels across lines by the given offsets (performs vertical 382 const std::vector<std::size_t>& shifts); 402 // A pipeline node that shifts pixels across columns by the given offsets. Each row is divided 403 // into pixel groups of shifts.size() pixels. For each output group starting at position xgroup, 404 // the i-th pixel will be set to the input pixel at position xgroup + shifts[i]. 409 const std::vector<std::size_t>& shifts); 431 const std::vector<std::size_t>& shifts);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CharsetRecog_2022.java | 39 int shifts = 0; in match() 68 shifts++; in match() 85 // Include shifts in this computation, so that KR does not get penalized in match() 86 // for having only a single Escape sequence, but many shifts. in match() 87 if (hits+shifts < 5) { in match() 88 quality -= (5-(hits+shifts))*10; in match()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CharsetRecog_2022.java | 40 int shifts = 0; in match() 69 shifts++; in match() 86 // Include shifts in this computation, so that KR does not get penalized in match() 87 // for having only a single Escape sequence, but many shifts. in match() 88 if (hits+shifts < 5) { in match() 89 quality -= (5-(hits+shifts))*10; in match()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | csr2022.cpp | 40 int32_t shifts = 0; in match_2022() local 74 shifts += 1; in match_2022() 94 // Include shifts in this computation, so that KR does not get penalized in match_2022() 95 // for having only a single Escape sequence, but many shifts. in match_2022() 96 if (hits+shifts < 5) { in match_2022() 97 quality -= (5-(hits+shifts))*10; in match_2022()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | csr2022.cpp | 40 int32_t shifts = 0; in match_2022() local 74 shifts += 1; in match_2022() 94 // Include shifts in this computation, so that KR does not get penalized in match_2022() 95 // for having only a single Escape sequence, but many shifts. in match_2022() 96 if (hits+shifts < 5) { in match_2022() 97 quality -= (5-(hits+shifts))*10; in match_2022()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | csr2022.cpp | 40 int32_t shifts = 0; in match_2022() local 74 shifts += 1; in match_2022() 94 // Include shifts in this computation, so that KR does not get penalized in match_2022() 95 // for having only a single Escape sequence, but many shifts. in match_2022() 96 if (hits+shifts < 5) { in match_2022() 97 quality -= (5-(hits+shifts))*10; in match_2022()
|
/third_party/mesa3d/src/intel/common/tests/ |
H A D | mi_builder_test.cpp | 719 uint32_t shifts[] = { 0, 1, 2, 4, 8, 16, 32 }; 720 memcpy(input + 8, shifts, sizeof(shifts)); 722 for (unsigned i = 0; i < ARRAY_SIZE(shifts); i++) { 729 for (unsigned i = 0; i < ARRAY_SIZE(shifts); i++) { 731 mi_ishl(&b, mi_imm(value), mi_imm(shifts[i]))); 740 uint32_t shifts[] = { 0, 1, 2, 4, 8, 16, 32 }; 741 memcpy(input + 8, shifts, sizeof(shifts)); 743 for (unsigned i = 0; i < ARRAY_SIZE(shifts); [all...] |
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 100 int shifts[4]; in dri2_drm_config_is_compatible() local 110 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes); in dri2_drm_config_is_compatible() 123 if (shifts[0] != visual->rgba_shifts.red || in dri2_drm_config_is_compatible() 124 shifts[1] != visual->rgba_shifts.green || in dri2_drm_config_is_compatible() 125 shifts[2] != visual->rgba_shifts.blue || in dri2_drm_config_is_compatible() 126 (shifts[3] > -1 && visual->rgba_shifts.alpha > -1 && in dri2_drm_config_is_compatible() 127 shifts[3] != visual->rgba_shifts.alpha) || in dri2_drm_config_is_compatible() 623 int shifts[4]; in drm_add_configs_for_visuals() local 627 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes); in drm_add_configs_for_visuals() 634 if (visuals[j].rgba_shifts.red != shifts[ in drm_add_configs_for_visuals() [all...] |
H A D | egl_dri2.c | 334 const __DRIconfig *config, int *shifts, in dri2_get_shifts_and_sizes() 339 if (core->getConfigAttrib(config, __DRI_ATTRIB_RED_SHIFT, (unsigned int *)&shifts[0])) { in dri2_get_shifts_and_sizes() 340 core->getConfigAttrib(config, __DRI_ATTRIB_GREEN_SHIFT, (unsigned int *)&shifts[1]); in dri2_get_shifts_and_sizes() 341 core->getConfigAttrib(config, __DRI_ATTRIB_BLUE_SHIFT, (unsigned int *)&shifts[2]); in dri2_get_shifts_and_sizes() 342 core->getConfigAttrib(config, __DRI_ATTRIB_ALPHA_SHIFT, (unsigned int *)&shifts[3]); in dri2_get_shifts_and_sizes() 344 /* Driver isn't exposing shifts, so convert masks to shifts */ in dri2_get_shifts_and_sizes() 346 shifts[0] = ffs(mask) - 1; in dri2_get_shifts_and_sizes() 348 shifts[1] = ffs(mask) - 1; in dri2_get_shifts_and_sizes() 350 shifts[ in dri2_get_shifts_and_sizes() 333 dri2_get_shifts_and_sizes(const __DRIcoreExtension *core, const __DRIconfig *config, int *shifts, unsigned int *sizes) dri2_get_shifts_and_sizes() argument 376 int shifts[4]; dri2_image_format_for_pbuffer_config() local [all...] |
/third_party/node/deps/base64/base64/lib/arch/avx512/ |
H A D | enc_reshuffle_translate.c | 42 const __m512i shifts = _mm512_set1_epi64(0x3036242a1016040alu); in enc_reshuffle_translate() local 43 __m512i shuffled_in = _mm512_multishift_epi64_epi8(shifts, in); in enc_reshuffle_translate()
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A D | APIInfo.java | 48 public int[] shifts = { 0, 3, 5, 6, 7, 8, 9 }; field in APIInfo 152 if (typ >= shifts.length) { in getVal() 155 return (info >>> shifts[typ]) & masks[typ]; in getVal() 177 int val = (info >>> shifts[typ]) & masks[typ]; in get() 189 info &= ~(masks[typ] << shifts[typ]); in setType() 190 info |= (val&masks[typ]) << shifts[typ]; in setType() 229 info &= ~(masks[typ] << shifts[typ]); in setType() 230 info |= i << shifts[typ]; in setType()
|
/third_party/mesa3d/src/amd/registers/ |
H A D | parse_kernel_headers.py | 740 shifts = {} 757 d = shifts if is_shift else masks 804 if name in shifts and name in masks: 805 for (field, shift) in shifts[name].items():
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos.c | 227 LLVMValueRef shifts[4]; in lp_build_unpack_arith_rgba_aos() local 269 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos() 282 shifts[i] = lp_build_const_int32(gallivm, shift); in lp_build_unpack_arith_rgba_aos() 303 * several vector shifts and shuffle/blend results together. in lp_build_unpack_arith_rgba_aos() 328 shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), ""); in lp_build_unpack_arith_rgba_aos() 373 LLVMValueRef shifts[4]; in lp_build_pack_rgba_aos() local 406 shifts[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_pack_rgba_aos() 415 shifts[i] = lp_build_const_int32(gallivm, shift); in lp_build_pack_rgba_aos() 433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), ""); in lp_build_pack_rgba_aos()
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_gcd.c | 553 int i, j, top, rlen, glen, m, bit = 1, delta = 1, cond = 0, shifts = 0, ret = 0; in BN_gcd() local 582 /* find shared powers of two, i.e. "shifts" >= 1 */ in BN_gcd() 587 shifts += bit; in BN_gcd() 592 /* subtract shared powers of two; shifts >= 1 */ in BN_gcd() 593 if (!BN_rshift(r, r, shifts) in BN_gcd() 594 || !BN_rshift(g, g, shifts)) in BN_gcd() 637 if (!BN_lshift(r, r, shifts) in BN_gcd()
|
/third_party/openssl/crypto/bn/ |
H A D | bn_gcd.c | 553 int i, j, top, rlen, glen, m, bit = 1, delta = 1, cond = 0, shifts = 0, ret = 0; in BN_gcd() local 582 /* find shared powers of two, i.e. "shifts" >= 1 */ in BN_gcd() 587 shifts += bit; in BN_gcd() 592 /* subtract shared powers of two; shifts >= 1 */ in BN_gcd() 593 if (!BN_rshift(r, r, shifts) in BN_gcd() 594 || !BN_rshift(g, g, shifts)) in BN_gcd() 637 if (!BN_lshift(r, r, shifts) in BN_gcd()
|
/third_party/musl/src/crypt/ |
H A D | crypt_des.c | 696 unsigned int shifts, round, i, ibit; in __des_setkey() local 726 shifts = 0; in __des_setkey() 731 shifts += key_shifts[round]; in __des_setkey() 733 t0 = (k0 << shifts) | (k0 >> (28 - shifts)); in __des_setkey() 734 t1 = (k1 << shifts) | (k1 >> (28 - shifts)); in __des_setkey()
|
/third_party/ffmpeg/libavutil/ |
H A D | camellia.c | 178 static const uint8_t shifts[2][12] = { variable 200 LR128(d, Kd[vars[0][i]], shifts[0][i]); in generate_round_keys() 217 LR128(d, Kd[vars[1][i]], shifts[1][i]); in generate_round_keys()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | bignum.cc | 435 int shifts = 0; 441 shifts++; 496 // And finally add the saved shifts. 497 ShiftLeft(shifts * power_exponent);
|