Home
last modified time | relevance | path

Searched refs:zeroes (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/internal/
H A Dbits.h151 int zeroes = 28; in CountLeadingZeroes32()
153 zeroes -= 16; in CountLeadingZeroes32()
157 zeroes -= 8; in CountLeadingZeroes32()
161 zeroes -= 4; in CountLeadingZeroes32()
164 return "\4\3\2\2\1\1\1\1\0\0\0\0\0\0\0"[x] + zeroes; in CountLeadingZeroes32()
211 int zeroes = 60; in CountLeadingZeroes64()
213 zeroes -= 32; in CountLeadingZeroes64()
217 zeroes -= 16; in CountLeadingZeroes64()
221 zeroes -= 8; in CountLeadingZeroes64()
225 zeroes in CountLeadingZeroes64()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcbs_av1.c33 uint32_t zeroes, bits_value, value; in cbs_av1_read_uvlc() local
39 zeroes = 0; in cbs_av1_read_uvlc()
49 ++zeroes; in cbs_av1_read_uvlc()
52 if (zeroes >= 32) { in cbs_av1_read_uvlc()
55 if (get_bits_left(gbc) < zeroes) { in cbs_av1_read_uvlc()
61 bits_value = get_bits_long(gbc, zeroes); in cbs_av1_read_uvlc()
62 value = bits_value + (UINT32_C(1) << zeroes) - 1; in cbs_av1_read_uvlc()
69 if (zeroes >= 32) { in cbs_av1_read_uvlc()
70 while (zeroes > 32) { in cbs_av1_read_uvlc()
71 k = FFMIN(zeroes in cbs_av1_read_uvlc()
112 int position, zeroes; cbs_av1_write_uvlc() local
[all...]
H A Daaccoder_twoloop.h61 return (!g || !sce->zeroes[w*16+g-1] || !sce->can_pns[w*16+g-1]) ? 9 : 5; in ff_pns_bits()
226 sce->zeroes[(w+w2)*16+g] = 1; in search_for_quantizers_twoloop()
248 sce->zeroes[w*16+g] = !nz; in search_for_quantizers_twoloop()
266 if (sce->zeroes[w*16+g]) { in search_for_quantizers_twoloop()
289 if (!sce->zeroes[w*16+g]) in search_for_quantizers_twoloop()
385 if (sce->zeroes[w*16+g] || sce->sf_idx[w*16+g] >= 218) { in search_for_quantizers_twoloop()
466 if (sce->zeroes[w*16+g] || sce->sf_idx[w*16+g] >= 218) { in search_for_quantizers_twoloop()
508 if (!sce->zeroes[w*16+g] && sce->sf_idx[w*16+g] > SCALE_ONE_POS && dists[w*16+g] > uplims[w*16+g]*ovrfactor) { in search_for_quantizers_twoloop()
516 /* We have overdistorted bands, trade for zeroes (that can be noise) in search_for_quantizers_twoloop()
527 if (start >= pns_start_pos && !sce->zeroes[ in search_for_quantizers_twoloop()
[all...]
H A Daaccoder.c100 if (sce->zeroes[win*16 + swb]) { in encode_window_bands_info()
173 memset(sce->zeroes + win*16 + start, !cb, count); in encode_window_bands_info()
204 if (sce->zeroes[w*16+g]) in set_special_band_scalefactors()
224 if (sce->zeroes[w*16+g]) in set_special_band_scalefactors()
261 memset(sce->zeroes, 1, sizeof(sce->zeroes)); in search_for_quantizers_anmr()
316 sce->zeroes[(w+w2)*16+g] = 1; in search_for_quantizers_anmr()
319 sce->zeroes[(w+w2)*16+g] = 0; in search_for_quantizers_anmr()
369 sce->zeroes[w*16+g] = !nz; in search_for_quantizers_anmr()
422 sce->zeroes[( in search_for_quantizers_fast()
[all...]
H A Daacenc_is.c116 cpe->ch[0].band_type[w*16+g] != NOISE_BT && !cpe->ch[0].zeroes[w*16+g] && in ff_aac_search_for_is()
117 cpe->ch[1].band_type[w*16+g] != NOISE_BT && !cpe->ch[1].zeroes[w*16+g] && in ff_aac_search_for_is()
151 if (!sce1->zeroes[w*16+g] && sce1->band_type[w*16+g] < RESERVED_BT) in ff_aac_search_for_is()
H A Daaccoder_trellis.h82 if (sce->zeroes[win*16 + swb]) { in codebook_trellis_rate()
177 memset(sce->zeroes + win*16 + start, !cb, count); in codebook_trellis_rate()
H A Daacenc_pred.c260 const int cb_n = sce->zeroes[sfb] ? 0 : sce->band_type[sfb]; in ff_aac_search_for_pred()
261 const int cb_min = sce->zeroes[sfb] ? 0 : 1; in ff_aac_search_for_pred()
262 const int cb_max = sce->zeroes[sfb] ? 0 : RESERVED_BT; in ff_aac_search_for_pred()
H A Dwavpack.c80 int zero, one, zeroes; member
185 if (ctx->zeroes) { in wv_get_value()
186 ctx->zeroes--; in wv_get_value()
187 if (ctx->zeroes) { in wv_get_value()
201 ctx->zeroes = t; in wv_get_value()
202 if (ctx->zeroes) { in wv_get_value()
794 s->one = s->zero = s->zeroes = 0; in wv_unpack_stereo()
922 s->one = s->zero = s->zeroes = 0; in wv_unpack_mono()
H A Daac.h258 uint8_t zeroes[128]; ///< band is not coded (used by encoder) member
H A Daacenc_utils.h210 if (!sce->zeroes[w*16+g] && sce->band_type[w*16+g] < RESERVED_BT) in ff_init_nextband_map()
H A Daacenc.c268 for (cmaxsfb = ics->num_swb; cmaxsfb > 0 && cpe->ch[ch].zeroes[w*16+cmaxsfb-1]; cmaxsfb--) in adjust_frame_information()
280 if (!cpe->ch[ch].zeroes[w2*16 + g]) { in adjust_frame_information()
285 cpe->ch[ch].zeroes[w*16 + g] = i; in adjust_frame_information()
394 if (!sce->zeroes[w*16 + i]) { in encode_scale_factors()
447 if (sce->zeroes[w*16 + i]) { in encode_spectral_coeffs()
/third_party/libcoap/src/oscore/
H A Doscore_crypto.c84 coap_bin_const_t zeroes; in oscore_hkdf_extract() local
87 zeroes.s = zeroes_data; in oscore_hkdf_extract()
88 zeroes.length = sizeof(zeroes_data); in oscore_hkdf_extract()
90 return oscore_hmac_hash(hmac_alg, &zeroes, ikm, hkdf_extract); in oscore_hkdf_extract()
/third_party/mbedtls/library/
H A Dchachapoly.c37 unsigned char zeroes[15]; in chachapoly_pad_aad() local
43 memset(zeroes, 0, sizeof(zeroes)); in chachapoly_pad_aad()
46 zeroes, in chachapoly_pad_aad()
58 unsigned char zeroes[15]; in chachapoly_pad_ciphertext() local
64 memset(zeroes, 0, sizeof(zeroes)); in chachapoly_pad_ciphertext()
66 zeroes, in chachapoly_pad_ciphertext()
118 * counter = 0. This is the same as encrypting a buffer of zeroes. in mbedtls_chachapoly_starts()
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_pss.c25 static const unsigned char zeroes[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; variable
122 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_verify_PKCS1_PSS_mgf1()
217 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_padding_add_PKCS1_PSS_mgf1()
232 * Initial PS XORs with all zeroes which is a NOP so just update pointer. in RSA_padding_add_PKCS1_PSS_mgf1()
/third_party/openssl/crypto/rsa/
H A Drsa_pss.c25 static const unsigned char zeroes[] = { 0, 0, 0, 0, 0, 0, 0, 0 }; variable
122 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_verify_PKCS1_PSS_mgf1()
217 || !EVP_DigestUpdate(ctx, zeroes, sizeof(zeroes)) in RSA_padding_add_PKCS1_PSS_mgf1()
232 * Initial PS XORs with all zeroes which is a NOP so just update pointer. in RSA_padding_add_PKCS1_PSS_mgf1()
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbi_lower_divergent_indirects.c96 nir_ssa_def *zeroes[4] = { zero, zero, zero, zero }; in bi_lower_divergent_indirects_impl() local
98 nir_vec(b, zeroes, nir_dest_num_components(intr->dest)) : NULL; in bi_lower_divergent_indirects_impl()
/third_party/node/deps/npm/node_modules/ip-address/dist/
H A Dipv6.js480 const zeroes = [];
488 zeroes.push([i - zeroCounter, i - 1]);
493 // Do we end with a string of zeroes?
495 zeroes.push([this.parsedAddress.length - zeroCounter, this.parsedAddress.length - 1]);
497 const zeroLengths = zeroes.map((n) => n[1] - n[0] + 1);
498 if (zeroes.length > 0) {
500 groups = compact(this.parsedAddress, zeroes[index]);
540 throw new address_error_1.AddressError("IPv4 addresses can't have leading zeroes.", address.replace(constants4.RE_ADDRESS, this.address4.parsedAddress.map(spanLeadingZeroes4).join('.')));
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_context.c204 uint32_t zeroes[8] = { 0 }; in v3d_ensure_prim_counts_allocated()
206 0, sizeof(zeroes), 32, zeroes, in v3d_ensure_prim_counts_allocated()
/third_party/mesa3d/src/asahi/lib/
H A Ddecode.c306 uint8_t zeroes[16] = { 0 }; in agxdecode_pipeline() local
382 } else if (memcmp(map, zeroes, 16) == 0) { in agxdecode_pipeline()
509 uint32_t zeroes[356 - 344] = { 0 }; in agxdecode_cmdstream() local
510 assert(memcmp(((uint32_t *) cmdbuf->ptr.cpu) + 344, zeroes, 4 * (356 - 344)) == 0); in agxdecode_cmdstream()
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
H A Decdsa_vectors.js132 vector.name = `${vector.name} - The signature is all zeroes`;
/third_party/python/Tools/clinic/
H A Dclinic.py3350 def str_converter_key(types, encoding, zeroes):
3351 return (frozenset(types), bool(encoding), bool(zeroes))
3360 def converter_init(self, *, accept={str}, encoding=None, zeroes=False):
3362 key = str_converter_key(accept, encoding, zeroes)
3368 self.length = bool(zeroes)
3438 def r(format_unit, *, accept, encoding=False, zeroes=False):
3451 if zeroes:
3452 kwargs['zeroes'] = True
3457 key = str_converter_key(accept, encoding, zeroes)
3463 r('es#', encoding=True, zeroes
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmir.c261 unsigned zeroes = __builtin_ctz(ins->mask); in mir_upper_override() local
264 return (zeroes >= threshold) ? threshold : 0; in mir_upper_override()
/third_party/skia/third_party/externals/libwebp/imageio/
H A Dimage_enc.c341 // write padding zeroes in WebPWriteBMP()
343 const uint8_t zeroes[3] = { 0 }; in WebPWriteBMP() local
344 if (fwrite(zeroes, bmp_stride - line_size, 1, fout) != 1) { in WebPWriteBMP()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_context.c891 uint8_t *zeroes = alloca(size); in panfrost_begin_query() local
892 memset(zeroes, 0, size); in panfrost_begin_query()
893 pipe_buffer_write(pipe, query->rsrc, 0, size, zeroes); in panfrost_begin_query()
/third_party/ffmpeg/libavcodec/x86/
H A Dcelt_pvq_search.asm220 shl Nd, 2 ; N *= sizeof(float); also 32 bit operation zeroes the high 32 bits in 64 bit mode.
293 sub Kd, r4d ; K -= pulses , also 32 bit operation zeroes high 32 bit in 64 bit mode.

Completed in 34 milliseconds

12