/third_party/ffmpeg/libavcodec/ |
H A D | scpr3.c | 482 static int update_model1_to_2(PixelModel3 *m, uint32_t val) in update_model1_to_2() argument 492 n.symbols[b] = val; in update_model1_to_2() 499 static int update_model1_to_4(PixelModel3 *m, uint32_t val) in update_model1_to_4() argument 512 if (val == n.symbols[i]) { in update_model1_to_4() 525 static int update_model1_to_5(PixelModel3 *m, uint32_t val) in update_model1_to_5() argument 530 update_model1_to_4(m, val); in update_model1_to_5() 541 static int decode_static1(PixelModel3 *m, uint32_t val) in decode_static1() argument 547 if (val == m->symbols[i]) { in decode_static1() 549 return update_model1_to_4(m, val); in decode_static1() 551 return update_model1_to_5(m, val); in decode_static1() 622 update_model2_to_3(PixelModel3 *m, uint32_t val) update_model2_to_3() argument 640 decode_static2(PixelModel3 *m, uint32_t val) decode_static2() argument 706 decode_static3(PixelModel3 *m, uint32_t val) decode_static3() argument [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | pixdesc.c | 56 int val = (*p >> shift) & mask; in av_read_image_line2() local 58 val = data[1][4*val + c]; in av_read_image_line2() 62 if (dst_element_size == 4) *dst32++ = val; in av_read_image_line2() 63 else *dst16++ = val; in av_read_image_line2() 75 unsigned val; in av_read_image_line2() local 76 if (is_8bit) val = *p; in av_read_image_line2() 77 else if(is_16bit) val = flags & AV_PIX_FMT_FLAG_BE ? AV_RB16(p) : AV_RL16(p); in av_read_image_line2() 78 else val = flags & AV_PIX_FMT_FLAG_BE ? AV_RB32(p) : AV_RL32(p); in av_read_image_line2() 79 val in av_read_image_line2() 140 uint16_t val = AV_RB16(p) | (s << shift); av_write_image_line2() local 143 uint16_t val = AV_RL16(p) | (s << shift); av_write_image_line2() local 148 uint32_t val = AV_RB32(p) | (s << shift); av_write_image_line2() local 151 uint32_t val = AV_RL32(p) | (s << shift); av_write_image_line2() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | pre-process.c | 119 static void replace_with_integer(struct token *token, unsigned int val) in replace_with_integer() argument 122 sprintf(buf, "%u", val); in replace_with_integer() 150 static void replace_with_bool(struct token *token, bool val) in replace_with_bool() argument 155 token->number = string[val]; in replace_with_bool() 418 const char *val = quote ? quote_token(token) : show_token(token); in show_token_sequence() local 419 int len = strlen(val); in show_token_sequence() 428 memcpy(ptr, val, len); in show_token_sequence() 795 const char *val = token->string->data; in token_name_sequence() local 797 val = show_token(token); in token_name_sequence() 798 len = strlen(val); in token_name_sequence() 2016 bool val = false; expand_has_extension() local 2041 bool val = false; expand_has_feature() local [all...] |
/third_party/skia/src/core/ |
H A D | SkBlitter_ARGB32.cpp | 497 vdst.val[NEON_A] = vbsl_u8(vsel_trans, vdst.val[NEON_A], vdup_n_u8(0xFF)); in blit_row_lcd16_opaque() 498 vdst.val[NEON_A] = vbsl_u8(vsel_opq, vopqDstA, vdst.val[NEON_A]); in blit_row_lcd16_opaque() 500 vdst.val[NEON_R] = blend_32_neon(vcolR, vdst.val[NEON_R], vmaskR); in blit_row_lcd16_opaque() 501 vdst.val[NEON_G] = blend_32_neon(vcolG, vdst.val[NEON_G], vmaskG); in blit_row_lcd16_opaque() 502 vdst.val[NEON_B] = blend_32_neon(vcolB, vdst.val[NEON_ in blit_row_lcd16_opaque() [all...] |
/third_party/alsa-lib/src/ucm/ |
H A D | utils.c | 403 static void uc_mgr_free_value1(struct ucm_value *val) in uc_mgr_free_value1() argument 405 free(val->name); in uc_mgr_free_value1() 406 free(val->data); in uc_mgr_free_value1() 407 list_del(&val->list); in uc_mgr_free_value1() 408 free(val); in uc_mgr_free_value1() 414 struct ucm_value *val; in uc_mgr_free_value() local 417 val = list_entry(pos, struct ucm_value, list); in uc_mgr_free_value() 418 uc_mgr_free_value1(val); in uc_mgr_free_value() 680 const char *val) in uc_mgr_set_variable() 689 val2 = strdup(val); in uc_mgr_set_variable() 679 uc_mgr_set_variable(snd_use_case_mgr_t *uc_mgr, const char *name, const char *val) uc_mgr_set_variable() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec_mult.c | 428 EC_POINT **val = NULL; /* precomputation */ in ossl_ec_wNAF_mul() local 430 EC_POINT ***val_sub = NULL; /* pointers to sub-arrays of 'val' or in ossl_ec_wNAF_mul() 659 * All points we precompute now go into a single array 'val'. in ossl_ec_wNAF_mul() 663 val = OPENSSL_malloc((num_val + 1) * sizeof(val[0])); in ossl_ec_wNAF_mul() 664 if (val == NULL) { in ossl_ec_wNAF_mul() 668 val[num_val] = NULL; /* pivot element */ in ossl_ec_wNAF_mul() 671 v = val; in ossl_ec_wNAF_mul() 681 if (!(v == val + num_val)) { in ossl_ec_wNAF_mul() 717 || !group->meth->points_make_affine(group, num_val, val, ct in ossl_ec_wNAF_mul() [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ec_mult.c | 428 EC_POINT **val = NULL; /* precomputation */ in ossl_ec_wNAF_mul() local 430 EC_POINT ***val_sub = NULL; /* pointers to sub-arrays of 'val' or in ossl_ec_wNAF_mul() 659 * All points we precompute now go into a single array 'val'. in ossl_ec_wNAF_mul() 663 val = OPENSSL_malloc((num_val + 1) * sizeof(val[0])); in ossl_ec_wNAF_mul() 664 if (val == NULL) { in ossl_ec_wNAF_mul() 668 val[num_val] = NULL; /* pivot element */ in ossl_ec_wNAF_mul() 671 v = val; in ossl_ec_wNAF_mul() 681 if (!(v == val + num_val)) { in ossl_ec_wNAF_mul() 717 || !group->meth->points_make_affine(group, num_val, val, ct in ossl_ec_wNAF_mul() [all...] |
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 710 let val = NonZeroUsize::new(92).unwrap(); in once_non_zero_usize_smoke_test() 716 val in once_non_zero_usize_smoke_test() 718 val in once_non_zero_usize_smoke_test() 725 val in once_non_zero_usize_smoke_test() 727 val in once_non_zero_usize_smoke_test() 733 assert_eq!(cell.get(), Some(val)); in once_non_zero_usize_smoke_test() 850 val: T, 864 fn new_pebble<T>(&self, val: T) -> Pebble<T> { in new_pebble() 866 Pebble { val, total: Arc::clone(&self.total) } in new_pebble() 914 assert_eq!(cell.get().unwrap().val, "hell in once_box_set() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | tncc.c | 899 TCHAR name[255], *val; in tncc_read_config_reg() local 937 val = os_malloc(buflen); in tncc_read_config_reg() 938 if (val == NULL) { in tncc_read_config_reg() 944 (LPBYTE) val, &buflen); in tncc_read_config_reg() 946 os_free(val); in tncc_read_config_reg() 953 wpa_unicode2ascii_inplace(val); in tncc_read_config_reg() 954 wpa_printf(MSG_DEBUG, "TNC: IMC Path '%s'", (char *) val); in tncc_read_config_reg() 962 os_free(val); in tncc_read_config_reg() 968 os_free(val); in tncc_read_config_reg() 976 imc->path = os_strdup((char *) val); in tncc_read_config_reg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | hlr_auc_gw.c | 229 char cmd[128], val[13], *pos; in db_update_milenage_sqn() local 234 pos = val; in db_update_milenage_sqn() 235 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6); in db_update_milenage_sqn() 239 val, m->imsi); in db_update_milenage_sqn() 714 u64 val, seq, ind; in inc_sqn() local 725 val = ((u64) WPA_GET_BE32(sqn) << 16) | ((u64) WPA_GET_BE16(sqn + 4)); in inc_sqn() 726 seq = (val >> ind_len) + 1; in inc_sqn() 727 ind = (val + 1) & ((1 << ind_len) - 1); in inc_sqn() 728 val = (seq << ind_len) | ind; in inc_sqn() 729 WPA_PUT_BE32(sqn, val >> 1 in inc_sqn() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ieee802_11_shared.c | 706 unsigned int val; in hostapd_eid_bss_max_idle_period() local 709 val = hapd->conf->ap_max_inactivity; in hostapd_eid_bss_max_idle_period() 710 if (val > 68000) in hostapd_eid_bss_max_idle_period() 711 val = 68000; in hostapd_eid_bss_max_idle_period() 712 val *= 1000; in hostapd_eid_bss_max_idle_period() 713 val /= 1024; in hostapd_eid_bss_max_idle_period() 714 if (val == 0) in hostapd_eid_bss_max_idle_period() 715 val = 1; in hostapd_eid_bss_max_idle_period() 716 if (val > 65535) in hostapd_eid_bss_max_idle_period() 717 val in hostapd_eid_bss_max_idle_period() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | tncc.c | 898 TCHAR name[255], *val; in tncc_read_config_reg() local 936 val = os_malloc(buflen); in tncc_read_config_reg() 937 if (val == NULL) { in tncc_read_config_reg() 943 (LPBYTE) val, &buflen); in tncc_read_config_reg() 945 os_free(val); in tncc_read_config_reg() 952 wpa_unicode2ascii_inplace(val); in tncc_read_config_reg() 953 wpa_printf(MSG_DEBUG, "TNC: IMC Path '%s'", (char *) val); in tncc_read_config_reg() 961 os_free(val); in tncc_read_config_reg() 967 os_free(val); in tncc_read_config_reg() 975 imc->path = os_strdup((char *) val); in tncc_read_config_reg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | hlr_auc_gw.c | 229 char cmd[128], val[13], *pos; in db_update_milenage_sqn() local 234 pos = val; in db_update_milenage_sqn() 235 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6); in db_update_milenage_sqn() 239 val, m->imsi); in db_update_milenage_sqn() 714 u64 val, seq, ind; in inc_sqn() local 725 val = ((u64) WPA_GET_BE32(sqn) << 16) | ((u64) WPA_GET_BE16(sqn + 4)); in inc_sqn() 726 seq = (val >> ind_len) + 1; in inc_sqn() 727 ind = (val + 1) & ((1 << ind_len) - 1); in inc_sqn() 728 val = (seq << ind_len) | ind; in inc_sqn() 729 WPA_PUT_BE32(sqn, val >> 1 in inc_sqn() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ieee802_11_shared.c | 690 unsigned int val; in hostapd_eid_bss_max_idle_period() local 693 val = hapd->conf->ap_max_inactivity; in hostapd_eid_bss_max_idle_period() 694 if (val > 68000) in hostapd_eid_bss_max_idle_period() 695 val = 68000; in hostapd_eid_bss_max_idle_period() 696 val *= 1000; in hostapd_eid_bss_max_idle_period() 697 val /= 1024; in hostapd_eid_bss_max_idle_period() 698 if (val == 0) in hostapd_eid_bss_max_idle_period() 699 val = 1; in hostapd_eid_bss_max_idle_period() 700 if (val > 65535) in hostapd_eid_bss_max_idle_period() 701 val in hostapd_eid_bss_max_idle_period() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/common/ |
H A D | kv_operator.h | 45 bool GetValues(const std::string &key, std::string &val); 50 bool QueryFromJson(const nlohmann::json &jsonObj, const std::string &key, std::string &val);
|
/foundation/arkui/ace_engine/frameworks/core/components/coverage/ |
H A D | coverage_component.h | 40 void SetTextVal(const std::string& val) in SetTextVal() argument 42 textComponent_->SetData(val); in SetTextVal()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | js_types.h | 43 inline auto ToJSValue(T&& val) in ToJSValue() argument 45 return JsiValueConvertor::toJsiValue(std::forward<T>(val)); in ToJSValue()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/parameter/ |
H A D | parameters.cpp | 65 bool SetParameter(const std::string& key, const std::string& val)
in SetParameter() argument 68 paramMap[key] = val;
in SetParameter()
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | util_ex.h | 69 Enum EnumAdd(Enum const e, T val) in EnumAdd() argument 73 return static_cast<Enum>(a + val); in EnumAdd()
|
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/ |
H A D | profile_change_notification.h | 37 ProfileEntry(T&& k, T&& val, ProfileChangeType type) in ProfileEntry() 38 : key(std::forward<T>(k)), value(std::forward<T>(val)), changeType(type) {} in ProfileEntry()
|
/third_party/gn/src/gn/ |
H A D | scope_per_file_provider_unittest.cc | 17 #define GPV(val) provider.GetProgrammaticValue(val)->string_value() in TEST()
|
/third_party/libwebsockets/lib/plat/freertos/esp32/drivers/ |
H A D | gpio-esp32.c | 73 lws_gpio_esp32_set(_lws_plat_gpio_t gpio, int val) in lws_gpio_esp32_set() argument 75 gpio_set_level(gpio, val); in lws_gpio_esp32_set()
|
/third_party/jerryscript/tests/jerry/ |
H A D | date-construct.js | 57 var Obj = function (val) 59 this.value = val;
|
/third_party/mesa3d/src/freedreno/computerator/ |
H A D | main.h | 87 #define COND(bool, val) ((bool) ? (val) : 0)
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
H A D | sem_comm.c | 45 .val = 1, in chld1_sem() 70 .val = 1, in chld2_sem()
|