/third_party/node/deps/cares/src/lib/ |
H A D | ares_dns_parse.c | 427 unsigned char *val = NULL; in ares_dns_parse_rr_opt() local 442 status = ares__buf_fetch_bytes_dup(buf, len, ARES_TRUE, &val); in ares_dns_parse_rr_opt() 448 status = ares_dns_rr_set_opt_own(rr, ARES_RR_OPT_OPTIONS, opt, val, len); in ares_dns_parse_rr_opt() 520 unsigned char *val = NULL; in ares_dns_parse_rr_svcb() local 535 status = ares__buf_fetch_bytes_dup(buf, len, ARES_TRUE, &val); in ares_dns_parse_rr_svcb() 541 status = ares_dns_rr_set_opt_own(rr, ARES_RR_SVCB_PARAMS, opt, val, len); in ares_dns_parse_rr_svcb() 571 unsigned char *val = NULL; in ares_dns_parse_rr_https() local 586 status = ares__buf_fetch_bytes_dup(buf, len, ARES_TRUE, &val); in ares_dns_parse_rr_https() 592 status = ares_dns_rr_set_opt_own(rr, ARES_RR_HTTPS_PARAMS, opt, val, len); in ares_dns_parse_rr_https()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | gen_perf.py | 443 val = units_map.get(unit) 444 if val is None: 446 if val == False: 559 c("\n".join(f"/* {idx} */ \"{val}\\0\"" for val, idx in str_to_idx.items())) 598 c("{ .reg = %s, .val = %s }," % (register.get('address'), register.get('value'))) 653 val = float(max_eq) 654 if val == 100: 671 val = float(max_eq) 672 if val [all...] |
/third_party/libdrm/ |
H A D | xf86drm.h | 553 #define DRM_SPINLOCK(spin,val) \ 557 DRM_CAS(spin,0,val,__ret); \ 562 #define DRM_SPINLOCK_TAKE(spin,val) \ 568 DRM_CAS(spin,cur,val,__ret); \ 572 #define DRM_SPINLOCK_COUNT(spin,val,count,__ret) \ 577 DRM_CAS(spin,0,val,__ret); \ 582 #define DRM_SPINUNLOCK(spin,val) \ 585 if ((*spin).lock == val) { /* else server stole lock */ \ 587 DRM_CAS(spin,val,0,__ret); \
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_parser.c | 623 int val, j; in parse_rsw() local 626 val = (*value >> (j * 3)) & 0x07; in parse_rsw() 627 fprintf(fp, "val %d-%d, ", j, val); in parse_rsw() 633 val = (*value >> (j * 3)) & 0x07; in parse_rsw() 634 fprintf(fp, "val %d-%d, ", j, val); in parse_rsw() 637 val = ((*value & 0xc0000000) >> 30) | ((*helper & 0x00000001) << 2); in parse_rsw() 638 fprintf(fp, "val %d-%d, ", j, val); in parse_rsw() [all...] |
/third_party/openssl/test/ |
H A D | params_api_test.c | 666 int ret, val; in test_param_copy_null() local 678 && TEST_true(OSSL_PARAM_get_int(p, &val)) in test_param_copy_null() 679 && TEST_int_eq(val, 1) in test_param_copy_null() 681 && TEST_true(OSSL_PARAM_get_int(p, &val)) in test_param_copy_null() 682 && TEST_int_eq(val, 2) in test_param_copy_null() 685 && TEST_true(OSSL_PARAM_get_int(p, &val)) in test_param_copy_null() 686 && TEST_int_eq(val, 1) in test_param_copy_null() 688 && TEST_true(OSSL_PARAM_get_int(p, &val)) in test_param_copy_null() 689 && TEST_int_eq(val, 2) in test_param_copy_null()
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | asn1.h | 609 int UTF8_getc(const unsigned char *str, int len, unsigned long *val); 807 void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it); 808 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, 810 int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); 811 int ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, 867 BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it); 869 int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, 871 int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, 873 int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
|
/third_party/python/Lib/email/ |
H A D | message.py | 420 def __setitem__(self, name, val): 436 self._headers.append(self.policy.header_store_parse(name, val)) 661 name, val = p.split('=', 1) 663 val = val.strip() 667 val = '' 668 params.append((name, val)) 901 val = SEMISPACE.join(parts) 902 newheaders.append(self.policy.header_store_parse(h, val))
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | LLVMReactor.cpp | 1048 // void __atomic_store(size_t size, void *ptr, void *val, int ordering) in createStore() 1094 void Nucleus::createMaskedStore(Value *ptr, Value *val, Value *mask, unsigned int alignment) in createMaskedStore() argument 1099 ASSERT(V(val)->getType()->isVectorTy()); in createMaskedStore() 1105 auto elVecTy = V(val)->getType(); in createMaskedStore() 1110 jit->builder->CreateCall(func, { V(val), V(ptr), align, i1Mask }); in createMaskedStore() 1208 static void createScatter(llvm::Value *base, llvm::Value *val, llvm::Value *offsets, llvm::Value *mask, unsigned int alignment) in createScatter() argument 1211 ASSERT(val->getType()->isVectorTy()); in createScatter() 1220 auto elVecTy = val->getType(); in createScatter() 1234 jit->builder->CreateCall(func, { val, elPtrs, align, i1Mask }); in createScatter() 1251 auto el = jit->builder->CreateExtractElement(val, id in createScatter() 1261 Scatter(RValue<Pointer<Float>> base, RValue<Float4> val, RValue<Int4> offsets, RValue<Int4> mask, unsigned int alignment) Scatter() argument 1266 Scatter(RValue<Pointer<Int>> base, RValue<Int4> val, RValue<Int4> offsets, RValue<Int4> mask, unsigned int alignment) Scatter() argument 2365 operator ++(Int &val, int) operator ++() argument 2376 operator ++(Int &val) operator ++() argument 2385 operator --(Int &val, int) operator --() argument 2396 operator --(Int &val) operator --() argument 2432 operator ++(UInt &val, int) operator ++() argument 2443 operator ++(UInt &val) operator ++() argument 2452 operator --(UInt &val, int) operator --() argument 2463 operator --(UInt &val) operator --() argument 3677 cvtss2si(RValue<Float> val) cvtss2si() argument 3685 cvtps2dq(RValue<Float4> val) cvtps2dq() argument 3690 rcpss(RValue<Float> val) rcpss() argument 3707 sqrtss(RValue<Float> val) sqrtss() argument 3712 rsqrtss(RValue<Float> val) rsqrtss() argument 3729 rcpps(RValue<Float4> val) rcpps() argument 3734 sqrtps(RValue<Float4> val) sqrtps() argument 3739 rsqrtps(RValue<Float4> val) rsqrtps() argument 3754 roundss(RValue<Float> val, unsigned char imm) roundss() argument 3773 floorss(RValue<Float> val) floorss() argument 3778 ceilss(RValue<Float> val) ceilss() argument 3783 roundps(RValue<Float4> val, unsigned char imm) roundps() argument 3788 floorps(RValue<Float4> val) floorps() argument 3793 ceilps(RValue<Float4> val) ceilps() argument 4329 yield(Value *val) yield() argument [all...] |
/third_party/ffmpeg/libswscale/ppc/ |
H A D | swscale_vsx.c | 96 int val = (src[i] + dither[(i + offset) & 7]) >> 7; in yuv2plane1_8_u() local 97 dest[i] = av_clip_uint8(val); in yuv2plane1_8_u() 106 LOCAL_ALIGNED(16, int16_t, val, [16]); in yuv2plane1_8_vsx() 112 val[j] = dither[(dst_u + offset + j) & 7]; in yuv2plane1_8_vsx() 115 ditherleft = vec_ld(0, val); in yuv2plane1_8_vsx() 116 ditherright = vec_ld(0, &val[8]); in yuv2plane1_8_vsx() 139 #define output_pixel(pos, val) \ 141 AV_WB16(pos, av_clip_uintp2(val >> shift, output_bits)); \ 143 AV_WL16(pos, av_clip_uintp2(val >> shift, output_bits)); \ 153 int val in yuv2plane1_nbps_u() local 196 int val = 1 << (shift - 1); yuv2planeX_nbps_u() local 274 int val = src[i] + (1 << (shift - 1)); yuv2plane1_16_u() local 324 int val = 1 << (shift - 1); yuv2planeX_16_u() local 1894 int val = 0; hScale8To19_vsx() local 1961 int val = 0; hScale16To19_vsx() local 2037 int val = 0; hScale16To15_vsx() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_nir.c | 58 cast_type(struct lp_build_nir_context *bld_base, LLVMValueRef val, in cast_type() argument 66 return LLVMBuildBitCast(builder, val, bld_base->half_bld.vec_type, ""); in cast_type() 68 return LLVMBuildBitCast(builder, val, bld_base->base.vec_type, ""); in cast_type() 70 return LLVMBuildBitCast(builder, val, bld_base->dbl_bld.vec_type, ""); in cast_type() 79 return LLVMBuildBitCast(builder, val, bld_base->int8_bld.vec_type, ""); in cast_type() 81 return LLVMBuildBitCast(builder, val, bld_base->int16_bld.vec_type, ""); in cast_type() 83 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type() 85 return LLVMBuildBitCast(builder, val, bld_base->int64_bld.vec_type, ""); in cast_type() 94 return LLVMBuildBitCast(builder, val, bld_base->uint8_bld.vec_type, ""); in cast_type() 96 return LLVMBuildBitCast(builder, val, bld_bas in cast_type() 247 int_to_bool32(struct lp_build_nir_context *bld_base, uint32_t src_bit_size, bool is_unsigned, LLVMValueRef val) int_to_bool32() argument 267 flt_to_bool32(struct lp_build_nir_context *bld_base, uint32_t src_bit_size, LLVMValueRef val) flt_to_bool32() argument 1550 LLVMValueRef val = get_src(bld_base, instr->src[0]); visit_store_ssbo() local 1581 LLVMValueRef val = get_src(bld_base, instr->src[2]); visit_ssbo_atomic() local 1823 LLVMValueRef val = get_src(bld_base, instr->src[0]); visit_shared_store() local 1839 LLVMValueRef val = get_src(bld_base, instr->src[1]); visit_shared_atomic() local 1901 LLVMValueRef val = get_src(bld_base, instr->src[0]); visit_store_global() local 1918 LLVMValueRef val = get_src(bld_base, instr->src[1]); visit_global_atomic() local 1992 LLVMValueRef val = get_src(bld_base, instr->src[0]); visit_store_scratch() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/ |
H A D | sbc_tables.h | 40 static inline int32_t SS4(int32_t val) in SS4() argument 42 return ((-2 >> 1 == -1) ? (static_cast<int32_t>(val)) >> (SCALE_SPROTO4_TBL) : in SS4() 43 (static_cast<int32_t>(val)) / (1 << (SCALE_SPROTO4_TBL))); in SS4() 45 static inline int32_t SS8(int32_t val) in SS8() argument 47 return ((-2 >> 1 == -1) ? (static_cast<int32_t>(val)) >> (SCALE_SPROTO8_TBL) : in SS8() 48 (static_cast<int32_t>(val)) / (1 << (SCALE_SPROTO8_TBL))); in SS8() 50 static inline int32_t SN4(int32_t val) in SN4() argument 52 return ((-2 >> 1 == -1) ? (static_cast<int32_t>(val)) >> (SCALE_NPROTO4_TBL + 1 + SBCDEC_FIXED_EXTRA_BITS) : in SN4() 53 (static_cast<int32_t>(val)) / (1 << (SCALE_NPROTO4_TBL + 1 + SBCDEC_FIXED_EXTRA_BITS))); in SN4() 55 static inline int32_t SN8(int32_t val) in SN8() argument [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | plugin_ops.h | 68 #define _put_triple_le(ptr,val) do { \ 70 uint32_t _val = (val); \ 75 #define _put_triple_be(ptr,val) do { \ 77 uint32_t _val = (val); \ 86 #define _put_triple(ptr,val) _put_triple_le(ptr,val) 87 #define _put_triple_s(ptr,val) _put_triple_be(ptr,val) 91 #define _put_triple(ptr,val) _put_triple_be(ptr,val) [all...] |
/third_party/backends/backend/ |
H A D | canon_pp.c | 733 void *val, SANE_Word *info) in sane_control_option() 741 * note that val can be null for buttons */ in sane_control_option() 742 if ((h == NULL) || ((val == NULL) && (opt != OPT_CAL))) in sane_control_option() 747 "(h=%p,val=%p,info=%p)\n",(void*)h, in sane_control_option() 748 val,(void*)info); in sane_control_option() 778 strcpy((char *)val, in sane_control_option() 782 strcpy((char *)val, in sane_control_option() 786 *((int *)val) = res600[cs->vals[opt]]; in sane_control_option() 789 *((int *)val) = cs->vals[opt]; in sane_control_option() 794 /* val ha in sane_control_option() 732 sane_control_option(SANE_Handle h, SANE_Int opt, SANE_Action act, void *val, SANE_Word *info) sane_control_option() argument [all...] |
/third_party/alsa-lib/src/alisp/ |
H A D | alisp_snd.c | 231 int err, int val) in new_result2() 236 val = 0; in new_result2() 241 p1->value.c.car = new_integer(instance, val); in new_result2() 280 typedef int (*snd_int_intp_t)(int *val); 282 typedef int (*snd_int_int_strp_t)(int val, char **str); 391 int val, err; in FA_int_intp() local 401 val = p1->value.i; in FA_int_intp() 403 err = ((snd_int_intp_t)item->xfunc)(&val); in FA_int_intp() 404 return new_result2(instance, err, val); in FA_int_intp() 429 long val; in FA_int_int_strp() local 230 new_result2(struct alisp_instance * instance, int err, int val) new_result2() argument [all...] |
/third_party/lzma/CPP/7zip/UI/Console/ |
H A D | List.cpp | 737 void Print_UInt64_and_String(AString &s, UInt64 val, const char *name);
811 static void PrintPropNameAndNumber(CStdOutStream &so, const char *name, UInt64 val)
in PrintPropNameAndNumber() argument 813 so << name << ": " << val << endl;
in PrintPropNameAndNumber() 830 static void PrintPropNameAndNumber(CStdOutStream &so, PROPID propID, UInt64 val)
in PrintPropNameAndNumber() argument 833 so << val << endl;
in PrintPropNameAndNumber() 836 static void PrintPropNameAndNumber_Signed(CStdOutStream &so, PROPID propID, Int64 val)
in PrintPropNameAndNumber_Signed() argument 839 so << val << endl;
in PrintPropNameAndNumber_Signed() 864 static void PrintPropVal_MultiLine(CStdOutStream &so, const wchar_t *val)
in PrintPropVal_MultiLine() argument 866 UString s (val);
in PrintPropVal_MultiLine() 887 static void PrintPropPair(CStdOutStream &so, const char *name, const wchar_t *val, boo argument [all...] |
/third_party/json/tests/src/ |
H A D | unit-class_parser.cpp | 31 bool boolean(bool val) in boolean() argument 33 events.emplace_back(val ? "boolean(true)" : "boolean(false)"); in boolean() 37 bool number_integer(json::number_integer_t val) in number_integer() argument 39 events.push_back("number_integer(" + std::to_string(val) + ")"); in number_integer() 43 bool number_unsigned(json::number_unsigned_t val) in number_unsigned() argument 45 events.push_back("number_unsigned(" + std::to_string(val) + ")"); in number_unsigned() 55 bool string(std::string& val) in string() argument 57 events.push_back("string(" + val + ")"); in string() 61 bool binary(json::binary_t& val) in binary() argument 65 for (auto b : val) in binary() 89 key(std::string& val) key() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream-pipeline.js | 691 }, common.mustSucceed((val) => { 692 assert.strictEqual(val, 'HELLOWORLD'); 751 }, s, common.mustCall((err, val) => { 761 }(), s, common.mustCall((err, val) => { 777 }, common.mustCall((err, val) => { 1383 for await (const val of previous) { 1384 res += String.fromCharCode(val); 1385 yield val; 1508 }, common.mustCall((err, val) => { 1510 assert.strictEqual(val, 'helloworl [all...] |
/third_party/mesa3d/src/util/ |
H A D | xxhash.h | 532 xxh_u32 val; in XXH_read32() local 533 memcpy(&val, memPtr, sizeof(val)); in XXH_read32() 534 return val; in XXH_read32() 1029 xxh_u64 val; in XXH_read64() local 1030 memcpy(&val, memPtr, sizeof(val)); in XXH_read64() 1031 return val; in XXH_read64() 1090 static xxh_u64 XXH64_mergeRound(xxh_u64 acc, xxh_u64 val) in XXH64_mergeRound() argument 1092 val in XXH64_mergeRound() [all...] |
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 3848 void get_arithmetic_value(const BasicJsonType& j, ArithmeticType& val) 3854 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>()); 3859 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>()); 3864 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>()); 3918 void from_json(const BasicJsonType& j, typename BasicJsonType::number_float_t& val) 3920 get_arithmetic_value(j, val); 3924 void from_json(const BasicJsonType& j, typename BasicJsonType::number_unsigned_t& val) 3926 get_arithmetic_value(j, val); 3930 void from_json(const BasicJsonType& j, typename BasicJsonType::number_integer_t& val) 3932 get_arithmetic_value(j, val); [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
H A D | worker.rs | 68 let val = ctx.get(); 69 if val.is_null() { 72 Some(unsafe { &*(val.cast::<WorkerHandle>()) }) 81 let val = ctx.get(); 82 if val.is_null() { 85 Some(unsafe { &*(val.cast::<WorkerContext>()) })
|
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_js_info.cpp | 284 std::string val; in ReadPkgNameMap() local 287 val = values.at(index); in ReadPkgNameMap() 288 modulePkgNameMap.emplace(key, val); in ReadPkgNameMap()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_app_scheduler_test/ |
H A D | ams_ipc_app_scheduler_module_test.cpp | 278 std::string val = "ZH-HANS"; in HWTEST_F() local 279 testConfig.AddItem(OHOS::AAFwk::GlobalConfigurationKey::SYSTEM_LANGUAGE, val); in HWTEST_F() 286 testResult = (val == config.GetItem(OHOS::AAFwk::GlobalConfigurationKey::SYSTEM_LANGUAGE)); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_relative_container.cpp | 158 JSRef<JSObject> val = JSRef<JSObject>::Cast(positionVal); in ParseGuideline() local 159 JSRef<JSVal> startVal = val->GetProperty("start"); in ParseGuideline() 160 JSRef<JSVal> endVal = val->GetProperty("end"); in ParseGuideline()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_animation_debug_trace_test.cpp | 128 float val = 1.0f; in HWTEST_F() local 129 auto floatProperty = std::make_shared<RSRenderAnimatableProperty<float>>(val); in HWTEST_F() 131 RSRenderPropertyType::PROPERTY_FLOAT), "float:" + std::to_string(val)); in HWTEST_F()
|
/foundation/multimedia/media_foundation/src/meta/ |
H A D | any.cpp | 134 std::vector<uint8_t> val; variable 135 (void)parcel.ReadUInt8Vector(&val); 136 Any tmp(val);
|