/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | int.rs | 124 pub fn signedness_matches(&self, val: i64) -> bool { in signedness_matches() 125 val >= 0 || self.is_signed() in signedness_matches()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deRandom.c | 102 deUint32 val = deRandom_getUint32(rnd); in deRandom_getBool() local 103 return ((val & 0xFFFFFF) < 0x800000); in deRandom_getBool()
|
/third_party/f2fs-tools/fsck/ |
H A D | dict.c | 1270 char *tok1, *tok2, *val; in construct() local 1275 "a <key> <val> add new entry\n"; in construct() 1306 val = dupstring(tok2); in construct() 1307 dn = dnode_create(val); in construct() 1309 if (!key || !val || !dn) { in construct() 1312 free(val); in construct() 1336 char *tok1, *tok2, *val; in main() local 1340 "a <key> <val> add value to dictionary\n" in main() 1377 val = dupstring(tok2); in main() 1379 if (!key || !val) { in main() [all...] |
/third_party/backends/backend/ |
H A D | hp5590_cmds.c | 1797 uint16_t val; in hp5590_send_reverse_calibration_map() local 1803 val = 0xffff; in hp5590_send_reverse_calibration_map() 1807 reverse_map[i] = htons (val); in hp5590_send_reverse_calibration_map() 1808 val -= 1; in hp5590_send_reverse_calibration_map() 1813 reverse_map[i] = htons (val); in hp5590_send_reverse_calibration_map() 1814 val -= 1; in hp5590_send_reverse_calibration_map() 1819 reverse_map[i] = htons (val); in hp5590_send_reverse_calibration_map() 1820 val -= 1; in hp5590_send_reverse_calibration_map() 1828 reverse_map[i] = htons (val); in hp5590_send_reverse_calibration_map() 1829 val in hp5590_send_reverse_calibration_map() 1855 uint16_t val; hp5590_send_forward_calibration_maps() local [all...] |
H A D | hp-scl.c | 892 hp_scsi_scl(HpScsi this, HpScl scl, int val) in hp_scsi_scl() argument 906 count = sprintf((char *)this->bufp, "\033*%c%d%c", group, val, param); in hp_scsi_scl() 1572 {int val = 0; in sanei_hp_scsi_pipeout() local 1575 sanei_hp_scl_inquire (this, SCL_FRONT_BUTTON, &val, 0, 0); in sanei_hp_scsi_pipeout() 1576 if (val) break; in sanei_hp_scsi_pipeout() 1751 int val, count; in _hp_scl_inq() local 1791 if (sscanf(buf, "%d%n", &val, &count) != 1) in _hp_scl_inq() 1807 *(int *)valp = val; /* Get integer value */ in _hp_scl_inq() 1810 if (val > (int)*lengthp) in _hp_scl_inq() 1813 val, (unsigne in _hp_scl_inq() 1833 int n, val, count; sanei_hp_scl_upload_binary() local 1913 sanei_hp_scl_set(HpScsi scsi, HpScl scl, int val) sanei_hp_scl_set() argument [all...] |
H A D | mustek_pp_ccd300.c | 119 u_char val; in get_bank_count() local 123 sanei_pa4s2_readbyte (dev->fd, &val); in get_bank_count() 126 priv->bank_count = (val & 0x07); in get_bank_count() 167 u_char val = 0; in set_dpi_value() local 175 val = 0x00; in set_dpi_value() 178 val = 0x10; in set_dpi_value() 181 val = 0x20; in set_dpi_value() 187 val |= 0x01; in set_dpi_value() 189 sanei_pa4s2_writebyte (dev->fd, 5, val); in set_dpi_value() 193 DBG (5, "set_dpi_value: value 0x%02x\n", val); in set_dpi_value() 1208 u_char val; motor_control_1015() local 1328 u_char val; config_ccd_1015() local [all...] |
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | cdcacm.c | 1380 int val = -EOPNOTSUPP; in cdcacm_setup() local 1419 val = cdcacm_setconfig(priv, dev); in cdcacm_setup() 1420 return val; in cdcacm_setup() 1455 val = (int)min_t(unsigned, len, sizeof(struct usb_cdc_line_state)); in cdcacm_setup() 1456 ret = memcpy_s(req->buf, USB_COMP_EP0_BUFSIZ, &priv->linecoding, (uint32_t)val); in cdcacm_setup() 1495 val = len; in cdcacm_setup() 1520 val = 0; in cdcacm_setup() 1535 if (val >= 0) in cdcacm_setup() 1539 req->len = (uint32_t)val; in cdcacm_setup() 1540 val in cdcacm_setup() 1769 userial_mask_set(unsigned int val) userial_mask_set() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 608 my $val = shift; 609 my $sign = ($val < 0) ? -1 : 0; 613 push @ret, $val&0x7f; 618 last if (($val>>6) == $sign); 621 $val >>= 7; 627 my $val = shift; 631 push @ret, $val&0x7f; 634 last if (($val >>= 7) == 0); 642 my $val = shift; 644 if ($val > [all...] |
/third_party/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 603 my $val = shift; 604 my $sign = ($val < 0) ? -1 : 0; 608 push @ret, $val&0x7f; 613 last if (($val>>6) == $sign); 616 $val >>= 7; 622 my $val = shift; 626 push @ret, $val&0x7f; 629 last if (($val >>= 7) == 0); 637 my $val = shift; 639 if ($val > [all...] |
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgBinaryOps.cpp | 889 T val = GetRandom()(rnd, T(-1), T(1)); in computeEqualityValueRange() local 891 aMin = val; in computeEqualityValueRange() 892 aMax = val; in computeEqualityValueRange() 893 bMin = val; in computeEqualityValueRange() 894 bMax = val; in computeEqualityValueRange() 911 bool val = rnd.getBool(); in computeEqualityValueRange() local 913 aMin = val; in computeEqualityValueRange() 914 aMax = val; in computeEqualityValueRange() 915 bMin = !val; in computeEqualityValueRange() 916 bMax = !val; in computeEqualityValueRange() 921 bool val = rnd.getBool(); computeEqualityValueRange() local [all...] |
/third_party/backends/backend/genesys/ |
H A D | genesys.cpp | 2789 unsigned int x, i, j, br, dk, res, avgpixels, basepixels, val; in compute_averaged_planar() local 2887 val = 0; in compute_averaged_planar() 2890 val = 65535; in compute_averaged_planar() 2893 val = (dk * target_bright - br * target_dark) / (target_bright - target_dark); in compute_averaged_planar() 2899 shading_data[(x/factor + o + i) * 2 * 2 + words_per_color * 2 * j] = val & 0xff; in compute_averaged_planar() 2900 shading_data[(x/factor + o + i) * 2 * 2 + words_per_color * 2 * j + 1] = val >> 8; in compute_averaged_planar() 2903 val = br - dk; in compute_averaged_planar() 2905 if (65535 * val > (target_bright - target_dark) * coeff) in compute_averaged_planar() 2907 val = (coeff * (target_bright - target_dark)) / val; in compute_averaged_planar() 2969 unsigned int val, br, dk; compute_coefficients() local 3043 std::uint32_t val, dk, br; compute_planar_coefficients() local [all...] |
/third_party/eudev/src/udev/ |
H A D | udev-rules.c | 127 TK_M_ACTION, /* val */ 128 TK_M_DEVPATH, /* val */ 129 TK_M_KERNEL, /* val */ 130 TK_M_DEVLINK, /* val */ 131 TK_M_NAME, /* val */ 132 TK_M_ENV, /* val, attr */ 133 TK_M_TAG, /* val */ 134 TK_M_SUBSYSTEM, /* val */ 135 TK_M_DRIVER, /* val */ 136 TK_M_WAITFOR, /* val */ 569 char *val; import_property_from_string() local 679 const char *val = udev_list_entry_get_value(list_entry); import_parent_into_properties() local 1770 match_key(struct udev_rules *rules, struct token *token, const char *val) match_key() argument [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | data.c | 79 const char *val = NULL; in tplg_parse_refs() local 86 if (snd_config_get_string(cfg, &val) < 0) in tplg_parse_refs() 89 tplg_dbg("\tref data: %s", val); in tplg_parse_refs() 90 err = tplg_ref_add(elem, type, val); in tplg_parse_refs() 104 const char *val; in tplg_parse_refs() local 107 if (snd_config_get_string(n, &val) < 0) in tplg_parse_refs() 110 tplg_dbg("\tref data: %s", val); in tplg_parse_refs() 111 err = tplg_ref_add(elem, type, val); in tplg_parse_refs() 344 unsigned long int val; in get_uuid() local 358 val in get_uuid() 412 long val; write_hex() local [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | encode_decode.c | 205 ctype val) { \ 207 RepeatedField_push_native(ary, &val); \ 490 ctype val) { \ 494 DEREF(closure, oneofdata->ofs, ctype) = val; \ 629 static bool doublewrapper_handler(void* closure, const void* hd, double val) { in doublewrapper_handler() argument 631 *rbval = DBL2NUM(val); in doublewrapper_handler() 635 static bool floatwrapper_handler(void* closure, const void* hd, float val) { in floatwrapper_handler() argument 637 *rbval = DBL2NUM(val); in floatwrapper_handler() 641 static bool int64wrapper_handler(void* closure, const void* hd, int64_t val) { in int64wrapper_handler() argument 643 *rbval = LL2NUM(val); in int64wrapper_handler() 647 uint64wrapper_handler(void* closure, const void* hd, uint64_t val) uint64wrapper_handler() argument 653 int32wrapper_handler(void* closure, const void* hd, int32_t val) int32wrapper_handler() argument 659 uint32wrapper_handler(void* closure, const void* hd, uint32_t val) uint32wrapper_handler() argument 699 boolwrapper_handler(void* closure, const void* hd, bool val) boolwrapper_handler() argument 1247 VALUE val = native_slot_get(UPB_TYPE_MESSAGE, type_class, memory); putary() local 1554 VALUE val = layout_get(desc->layout, Message_data(msg), f); putmsg() local [all...] |
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglWideColorTests.cpp | 769 EGLint val = 0; in writeEglConfig() local 785 val = eglu::getConfigAttribInt(egl, m_eglDisplay, config, EGL_BIND_TO_TEXTURE_RGB); in writeEglConfig() 786 info.bindToTextureRGB = val == EGL_TRUE ? true : false; in writeEglConfig() 788 val = eglu::getConfigAttribInt(egl, m_eglDisplay, config, EGL_BIND_TO_TEXTURE_RGBA); in writeEglConfig() 789 info.bindToTextureRGBA = val == EGL_TRUE ? true : false; in writeEglConfig() 791 val = eglu::getConfigAttribInt(egl, m_eglDisplay, config, EGL_COLOR_BUFFER_TYPE); in writeEglConfig() 792 std::string colorBufferType = de::toString(eglu::getColorBufferTypeStr(val)); in writeEglConfig() 795 val = eglu::getConfigAttribInt(egl, m_eglDisplay, config, EGL_CONFIG_CAVEAT); in writeEglConfig() 796 std::string caveat = de::toString(eglu::getConfigCaveatStr(val)); in writeEglConfig() 801 val in writeEglConfig() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | sae.c | 1149 struct crypto_bignum *tmp = NULL, *val = NULL, *one = NULL; in sae_derive_pwe_from_pt_ecc() local 1162 /* val = H(0^n, in sae_derive_pwe_from_pt_ecc() 1164 wpa_printf(MSG_DEBUG, "SAE: val = H(0^n, MAX(addrs) || MIN(addrs))"); in sae_derive_pwe_from_pt_ecc() 1169 wpa_hexdump(MSG_DEBUG, "SAE: val", hash, hash_len); in sae_derive_pwe_from_pt_ecc() 1171 /* val = val modulo (q - 1) + 1 */ in sae_derive_pwe_from_pt_ecc() 1174 val = crypto_bignum_init_set(hash, hash_len); in sae_derive_pwe_from_pt_ecc() 1176 if (!tmp || !val || !one || in sae_derive_pwe_from_pt_ecc() 1178 crypto_bignum_mod(val, tmp, val) < in sae_derive_pwe_from_pt_ecc() 1212 struct crypto_bignum *tmp = NULL, *val = NULL, *one = NULL; sae_derive_pwe_from_pt_ffc() local 1521 u8 zero[SAE_MAX_HASH_LEN], val[SAE_MAX_PRIME_LEN]; sae_derive_keys() local [all...] |
/foundation/multimedia/media_foundation/engine/pipeline/filters/source/audio_capture/ |
H A D | audio_capture_filter.cpp | 222 void AudioCaptureFilter::PickPreferSampleFmt(const std::shared_ptr<Plugin::Meta>& meta, const Plugin::ValueType& val) in PickPreferSampleFmt() argument 226 if (Any::IsSameTypeWith<FixedCapability<AudioSampleFormat>>(val) && in PickPreferSampleFmt() 227 preferFmt == Plugin::AnyCast<FixedCapability<AudioSampleFormat>>(val)) { in PickPreferSampleFmt() 229 } else if (Any::IsSameTypeWith<FixedCapability<DiscreteCapability<AudioSampleFormat>>>(val)) { in PickPreferSampleFmt() 230 const auto* fmts = Plugin::AnyCast<DiscreteCapability<AudioSampleFormat>>(&val); in PickPreferSampleFmt() 546 auto val = info->extra[PLUGIN_INFO_EXTRA_INPUT_TYPE]; in FindPlugin() local 547 if (Plugin::Any::IsSameTypeWith<Plugin::SrcInputType>(val)) { in FindPlugin() 548 auto supportInputType = OHOS::Media::Plugin::AnyCast<Plugin::SrcInputType>(val); in FindPlugin()
|
/third_party/ffmpeg/libavcodec/ |
H A D | hqx.c | 102 int val; in hqx_get_ac() local 104 val = show_bits(gb, ac->lut_bits); in hqx_get_ac() 105 if (ac->lut[val].bits == -1) { in hqx_get_ac() 108 val = ac->lut[val].lev + show_bits(&gb2, ac->extra_bits); in hqx_get_ac() 110 *run = ac->lut[val].run; in hqx_get_ac() 111 *lev = ac->lut[val].lev; in hqx_get_ac() 112 skip_bits(gb, ac->lut[val].bits); in hqx_get_ac()
|
/third_party/ffmpeg/libavfilter/ |
H A D | signature_lookup.c | 62 unsigned int val=0,i; in intersection_word() local 64 val += av_popcount( (first[i] & second[i] ) << 24 | in intersection_word() 69 val += av_popcount( (first[28] & second[28]) << 16 | in intersection_word() 72 return val; in intersection_word() 77 unsigned int val=0,i; in union_word() local 79 val += av_popcount( (first[i] | second[i] ) << 24 | in union_word() 84 val += av_popcount( (first[28] | second[28]) << 16 | in union_word() 87 return val; in union_word()
|
/third_party/backends/lib/ |
H A D | getopt.c | 502 `flag' field is nonzero, the value of the option's `val' field 687 || pfound->val != p->val) 783 optopt = pfound->val; 816 optopt = pfound->val; 825 *(pfound->flag) = pfound->val; 828 return pfound->val; 1126 *(pfound->flag) = pfound->val; 1129 return pfound->val;
|
/third_party/libdrm/freedreno/msm/ |
H A D | msm_ringbuffer.c | 228 void *val; in bo2idx() local 233 if (!drmHashLookup(msm_ring->bo_table, bo->handle, &val)) { in bo2idx() 235 idx = (uint32_t)(uintptr_t)val; in bo2idx() 238 val = (void *)(uintptr_t)idx; in bo2idx() 239 drmHashInsert(msm_ring->bo_table, bo->handle, val); in bo2idx() 264 void *val; in get_cmd() local 278 !drmHashLookup(msm_ring->cmd_table, (unsigned long)target_cmd, &val)) { in get_cmd() 279 i = VOID2U64(val); in get_cmd()
|
/third_party/lame/libmp3lame/ |
H A D | mpglib_interface.c | 566 long val; in hip123_decode1() local 567 mpg123_getstate(hip->mh, MPG123_ENC_DELAY, &val, NULL); in hip123_decode1() 568 *enc_delay = val > INT_MAX ? -1 : val; in hip123_decode1() 571 long val; in hip123_decode1() local 572 mpg123_getstate(hip->mh, MPG123_ENC_PADDING, &val, NULL); in hip123_decode1() 573 *enc_padding = val > INT_MAX ? -1 : val; in hip123_decode1()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io_to_vector.c | 653 nir_ssa_def *val = &intrin->dest.ssa; in nir_vectorize_tess_levels_impl() local 654 nir_ssa_def *u = nir_ssa_undef(&b, val->num_components, val->bit_size); in nir_vectorize_tess_levels_impl() 655 nir_ssa_def_rewrite_uses(val, u); in nir_vectorize_tess_levels_impl() 671 nir_ssa_def *val = &intrin->dest.ssa; in nir_vectorize_tess_levels_impl() local 672 val->num_components = intrin->num_components; in nir_vectorize_tess_levels_impl() 673 nir_ssa_def *comp = nir_channel(&b, val, index); in nir_vectorize_tess_levels_impl() 674 nir_ssa_def_rewrite_uses_after(val, comp, comp->parent_instr); in nir_vectorize_tess_levels_impl()
|
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | openssl-x509.c | 84 ASN1_OCTET_STRING *val; in lws_tls_openssl_cert_info() local 217 val = akid->keyid; in lws_tls_openssl_cert_info() 218 dp = (const unsigned char *)val->data; in lws_tls_openssl_cert_info() 219 xlen = val->length; in lws_tls_openssl_cert_info() 318 val = X509_EXTENSION_get_data(ext); in lws_tls_openssl_cert_info() 319 if (!val) in lws_tls_openssl_cert_info() 325 dp = (const unsigned char *)val->data; in lws_tls_openssl_cert_info() 328 &tag, &xclass, val->length) & 0x80) in lws_tls_openssl_cert_info()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | xmlparser.cpp | 609 UChar32 val = 0; in replaceCharRefs() local 611 val = (val << 4) + u_digit(hexString.charAt(i), 16); in replaceCharRefs() 614 replacement.setTo(val); in replaceCharRefs() 617 UChar32 val = 0; in replaceCharRefs() local 619 val = val*10 + u_digit(decimalString.charAt(i), 10); in replaceCharRefs() 622 replacement.setTo(val); in replaceCharRefs()
|