/kernel/liteos_m/testsuites/sample/kernel/atomic/ |
H A D | it_los_atomic_003.c | 37 volatile INT32 value = 0; in TestCase() local 44 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 46 ICUNIT_ASSERT_EQUAL(value, 0, value); in TestCase() 49 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 51 ICUNIT_ASSERT_EQUAL(value, 0xff, value); in TestCase() 55 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 57 ICUNIT_ASSERT_EQUAL(value, 0xff, value); in TestCase() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Reactor.cpp | 163 Value *Variable::storeValue(Value *value) const in storeValue() 167 return Nucleus::createStore(value, address, getType(), false, 0); in storeValue() 170 rvalue = value; in storeValue() 172 return value; in storeValue() 197 // NOTE: Only 12 bits out of 16 of the |select| value are used. 198 // More specifically, the value should look like: 224 // NOTE: Only 8 bits out of 16 of the |select| value are used. 225 // More specifically, the value should look like: 311 return RValue<Bool>(Nucleus::createNot(val.value())); in operator !() 316 return RValue<Bool>(Nucleus::createAnd(lhs.value(), rh in operator &&() [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonenumber.pb.h | 75 bool PhoneNumber_CountryCodeSource_IsValid(int value); 80 const std::string& PhoneNumber_CountryCodeSource_Name(PhoneNumber_CountryCodeSource value); 83 static_assert(::std::is_same<T, PhoneNumber_CountryCodeSource>::value || in PhoneNumber_CountryCodeSource_Name() 84 ::std::is_integral<T>::value, in PhoneNumber_CountryCodeSource_Name() 89 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PhoneNumber_CountryCodeSource* value); 205 static inline bool CountryCodeSource_IsValid(int value) { in CountryCodeSource_IsValid() argument 206 return PhoneNumber_CountryCodeSource_IsValid(value); in CountryCodeSource_IsValid() 216 static_assert(::std::is_same<T, CountryCodeSource>::value || in CountryCodeSource_Name() 217 ::std::is_integral<T>::value, in CountryCodeSource_Name() 222 CountryCodeSource* value) { in CountryCodeSource_Parse() 221 CountryCodeSource_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CountryCodeSource* value) CountryCodeSource_Parse() argument 398 bool value = (_has_bits_[0] & 0x00000010u) != 0; _internal_has_country_code() local 415 _internal_set_country_code(::PROTOBUF_NAMESPACE_ID::int32 value) _internal_set_country_code() argument 419 set_country_code(::PROTOBUF_NAMESPACE_ID::int32 value) set_country_code() argument 426 bool value = (_has_bits_[0] & 0x00000008u) != 0; _internal_has_national_number() local 443 _internal_set_national_number(::PROTOBUF_NAMESPACE_ID::uint64 value) _internal_set_national_number() argument 447 set_national_number(::PROTOBUF_NAMESPACE_ID::uint64 value) set_national_number() argument 454 bool value = (_has_bits_[0] & 0x00000001u) != 0; _internal_has_extension() local 468 set_extension(const std::string& value) set_extension() argument 479 _internal_set_extension(const std::string& value) _internal_set_extension() argument 481 extension_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); _internal_set_extension() local 483 set_extension(std::string&& value) set_extension() argument 489 set_extension(const char* value) set_extension() argument 496 set_extension(const char* value, size_t size) set_extension() argument 528 bool value = (_has_bits_[0] & 0x00000020u) != 0; _internal_has_italian_leading_zero() local 545 _internal_set_italian_leading_zero(bool value) _internal_set_italian_leading_zero() argument 549 set_italian_leading_zero(bool value) set_italian_leading_zero() argument 556 bool value = (_has_bits_[0] & 0x00000080u) != 0; _internal_has_number_of_leading_zeros() local 573 _internal_set_number_of_leading_zeros(::PROTOBUF_NAMESPACE_ID::int32 value) _internal_set_number_of_leading_zeros() argument 577 set_number_of_leading_zeros(::PROTOBUF_NAMESPACE_ID::int32 value) set_number_of_leading_zeros() argument 584 bool value = (_has_bits_[0] & 0x00000002u) != 0; _internal_has_raw_input() local 598 set_raw_input(const std::string& value) set_raw_input() argument 609 _internal_set_raw_input(const std::string& value) _internal_set_raw_input() argument 611 raw_input_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); _internal_set_raw_input() local 613 set_raw_input(std::string&& value) set_raw_input() argument 619 set_raw_input(const char* value) set_raw_input() argument 626 set_raw_input(const char* value, size_t size) set_raw_input() argument 658 bool value = (_has_bits_[0] & 0x00000040u) != 0; _internal_has_country_code_source() local 675 _internal_set_country_code_source(::i18n::phonenumbers::PhoneNumber_CountryCodeSource value) _internal_set_country_code_source() argument 680 set_country_code_source(::i18n::phonenumbers::PhoneNumber_CountryCodeSource value) set_country_code_source() argument 687 bool value = (_has_bits_[0] & 0x00000004u) != 0; _internal_has_preferred_domestic_carrier_code() local 701 set_preferred_domestic_carrier_code(const std::string& value) set_preferred_domestic_carrier_code() argument 712 _internal_set_preferred_domestic_carrier_code(const std::string& value) _internal_set_preferred_domestic_carrier_code() argument 714 preferred_domestic_carrier_code_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); _internal_set_preferred_domestic_carrier_code() local 716 set_preferred_domestic_carrier_code(std::string&& value) set_preferred_domestic_carrier_code() argument 722 set_preferred_domestic_carrier_code(const char* value) set_preferred_domestic_carrier_code() argument 729 set_preferred_domestic_carrier_code(const char* value, size_t size) set_preferred_domestic_carrier_code() argument [all...] |
/foundation/multimedia/image_framework/plugins/manager/src/common/ |
H A D | attr_data.cpp | 51 AttrData::AttrData(bool value) : type_(AttrDataType::ATTR_DATA_BOOL) in AttrData() argument 53 value_.boolValue = value; in AttrData() 56 AttrData::AttrData(uint32_t value) : type_(AttrDataType::ATTR_DATA_UINT32) in AttrData() argument 58 value_.uint32Value = value; in AttrData() 61 AttrData::AttrData(const string &value) : type_(AttrDataType::ATTR_DATA_STRING) in AttrData() argument 63 value_.stringValue = new (std::nothrow) string(value); in AttrData() 70 AttrData::AttrData(string &&value) : type_(AttrDataType::ATTR_DATA_STRING) in AttrData() argument 72 value_.stringValue = new (std::nothrow) string(std::move(value)); in AttrData() 178 void AttrData::SetData(bool value) in SetData() argument 181 value_.boolValue = value; in SetData() 185 SetData(uint32_t value) SetData() argument 192 SetData(const string &value) SetData() argument 211 SetData(string &&value) SetData() argument 279 InsertSet(uint32_t value) InsertSet() argument 306 InsertSet(const string &value) InsertSet() argument 333 InsertSet(string &&value) InsertSet() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_core.c | 27 u32 value = readl(ioaddr + GMAC_CONTROL); in dwmac1000_core_init() local 31 value |= GMAC_CORE_INIT; in dwmac1000_core_init() 34 value |= GMAC_CONTROL_2K; in dwmac1000_core_init() 36 value |= GMAC_CONTROL_JE; in dwmac1000_core_init() 39 value |= GMAC_CONTROL_TE; in dwmac1000_core_init() 41 value &= ~hw->link.speed_mask; in dwmac1000_core_init() 44 value |= hw->link.speed1000; in dwmac1000_core_init() 47 value |= hw->link.speed100; in dwmac1000_core_init() 50 value |= hw->link.speed10; in dwmac1000_core_init() 55 writel(value, ioadd in dwmac1000_core_init() 74 u32 value = readl(ioaddr + GMAC_CONTROL); dwmac1000_rx_ipc_enable() local 144 unsigned int value = 0; dwmac1000_set_filter() local 348 u32 value; dwmac1000_set_eee_mode() local 364 u32 value; dwmac1000_reset_eee_mode() local 374 u32 value; dwmac1000_set_eee_pls() local 389 int value = ((tw & 0xffff)) | ((ls & 0x7ff) << 16); dwmac1000_set_eee_timer() local 421 u32 value = readl(ioaddr + GMAC_DEBUG); dwmac1000_debug() local 495 u32 value = readl(ioaddr + GMAC_CONTROL); dwmac1000_set_mac_loopback() local [all...] |
H A D | dwmac-tegra.c | 72 u32 value; in tegra_mgbe_resume() local 89 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_STATUS); in tegra_mgbe_resume() 90 if ((value & XPCS_WRAP_UPHY_STATUS_TX_P_UP) == 0) { in tegra_mgbe_resume() 91 value = readl(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume() 92 value |= XPCS_WRAP_UPHY_HW_INIT_CTRL_TX_EN; in tegra_mgbe_resume() 93 writel(value, mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL); in tegra_mgbe_resume() 96 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_resume() 97 (value & XPCS_WRAP_UPHY_HW_INIT_CTRL_TX_EN) == 0, in tegra_mgbe_resume() 115 u32 value; in mgbe_uphy_lane_bringup_serdes_up() local 118 value in mgbe_uphy_lane_bringup_serdes_up() 179 u32 value; mgbe_uphy_lane_bringup_serdes_down() local 208 u32 value; tegra_mgbe_probe() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | TrieTest.java | 55 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument 59 this.value = value; in SetRange() 64 int value; field in TrieTest.SetRange 70 * value is set from the previous boundary's limit to before 75 CheckRange(int limit, int value) in CheckRange() argument 78 this.value = value; in CheckRange() 82 int value; field in TrieTest.CheckRange 99 int value in getFoldedValue() 122 getFoldingOffset(int value) getFoldingOffset() argument 136 extract(int value) extract() argument 483 getFoldingOffset(int value) getFoldingOffset() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieTest.java | 52 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument 56 this.value = value; in SetRange() 61 int value; field in TrieTest.SetRange 67 * value is set from the previous boundary's limit to before 72 CheckRange(int limit, int value) in CheckRange() argument 75 this.value = value; in CheckRange() 79 int value; field in TrieTest.CheckRange 96 int value in getFoldedValue() 119 getFoldingOffset(int value) getFoldingOffset() argument 133 extract(int value) extract() argument 480 getFoldingOffset(int value) getFoldingOffset() argument [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/include/ |
H A D | js_napi_utils.h | 50 inline napi_value CreateJsNumber(napi_env env, int32_t value) in CreateJsNumber() argument 53 napi_create_int32(env, value, &result); in CreateJsNumber() 57 inline napi_value CreateJsNumber(napi_env env, uint32_t value) in CreateJsNumber() argument 60 napi_create_uint32(env, value, &result); in CreateJsNumber() 64 inline napi_value CreateJsNumber(napi_env env, int64_t value) in CreateJsNumber() argument 67 napi_create_int64(env, value, &result); in CreateJsNumber() 71 inline napi_value CreateJsNumber(napi_env env, double value) in CreateJsNumber() argument 74 napi_create_double(env, value, &result); in CreateJsNumber() 79 napi_value CreateJsValue(napi_env env, const T& value) in CreateJsValue() argument 84 napi_get_boolean(env, value, in CreateJsValue() 100 ConvertFromJsNumber(napi_env env, napi_value jsValue, int32_t& value) ConvertFromJsNumber() argument 106 ConvertFromJsNumber(napi_env env, napi_value jsValue, uint32_t& value) ConvertFromJsNumber() argument 112 ConvertFromJsNumber(napi_env env, napi_value jsValue, int64_t& value) ConvertFromJsNumber() argument 118 ConvertFromJsNumber(napi_env env, napi_value jsValue, double& value) ConvertFromJsNumber() argument 125 ConvertFromJsValue(napi_env env, napi_value jsValue, T& value) ConvertFromJsValue() argument [all...] |
/third_party/cmsis/CMSIS/Core/Include/a-profile/ |
H A D | cmsis_cp15.h | 33 \return Auxiliary Control register value 43 \param [in] actlr Auxiliary Control value to set 51 \return Coprocessor Access Control register value 61 \param [in] cpacr Coprocessor Access Control value to set 69 \return Data Fault Status Register value 79 \param [in] dfsr Data Fault Status value to set 87 \return Instruction Fault Status Register value 97 \param [in] ifsr Instruction Fault Status value to set 105 \return Interrupt Status Register value 115 \return Configuration Base Address register value 263 __set_CNTFRQ(uint32_t value) __set_CNTFRQ() argument 287 __set_CNTP_TVAL(uint32_t value) __set_CNTP_TVAL() argument 324 __set_CNTP_CVAL(uint64_t value) __set_CNTP_CVAL() argument 348 __set_CNTP_CTL(uint32_t value) __set_CNTP_CTL() argument 369 __set_TLBIALL(uint32_t value) __set_TLBIALL() argument 378 __set_BPIALL(uint32_t value) __set_BPIALL() argument 387 __set_ICIALLU(uint32_t value) __set_ICIALLU() argument 396 __set_ICIMVAC(uint32_t value) __set_ICIMVAC() argument 405 __set_DCCMVAC(uint32_t value) __set_DCCMVAC() argument 414 __set_DCIMVAC(uint32_t value) __set_DCIMVAC() argument 423 __set_DCCIMVAC(uint32_t value) __set_DCCIMVAC() argument 430 __set_CSSELR(uint32_t value) __set_CSSELR() argument 467 __set_DCISW(uint32_t value) __set_DCISW() argument 474 __set_DCCSW(uint32_t value) __set_DCCSW() argument 481 __set_DCCISW(uint32_t value) __set_DCCISW() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucnv_ext.h | 56 * The lookup value of a unit points to another table that is to be searched 85 * which are output value limits in the data structure. 159 * Array of byte/value pairs for lookups for toUnicode conversion. 162 * a default value for when the lookup in this section yields no match. 174 * Each uint32_t contains an input byte value in bits 31..24 and the 175 * corresponding lookup value in bits 23..0. 176 * Interpret the value as follows: 177 * if(value==0) { 179 * } else if(value<0x1f0000) { 180 * partial match - use value a [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv_ext.h | 56 * The lookup value of a unit points to another table that is to be searched 85 * which are output value limits in the data structure. 159 * Array of byte/value pairs for lookups for toUnicode conversion. 162 * a default value for when the lookup in this section yields no match. 174 * Each uint32_t contains an input byte value in bits 31..24 and the 175 * corresponding lookup value in bits 23..0. 176 * Interpret the value as follows: 177 * if(value==0) { 179 * } else if(value<0x1f0000) { 180 * partial match - use value a [all...] |
/third_party/node/deps/v8/src/numbers/ |
H A D | conversions-inl.h | 29 // rounding towards zero, or any reasonable value if the argument is larger 105 // Masking to a 32-bit value ensures that the result of the 106 // static_cast<int64_t> below is not the minimal int64_t value, 142 bool DoubleToSmiInteger(double value, int* smi_int_value) { in DoubleToSmiInteger() argument 143 if (!IsSmiDouble(value)) return false; in DoubleToSmiInteger() 144 *smi_int_value = FastD2I(value); in DoubleToSmiInteger() 149 bool IsSmiDouble(double value) { in IsSmiDouble() argument 150 return value >= Smi::kMinValue && value <= Smi::kMaxValue && in IsSmiDouble() 151 !IsMinusZero(value) in IsSmiDouble() 154 IsInt32Double(double value) IsInt32Double() argument 159 IsUint32Double(double value) IsUint32Double() argument 164 DoubleToUint32IfEqualToSelf(double value, uint32_t* uint32_value) DoubleToUint32IfEqualToSelf() argument 206 int value = Smi::ToInt(number); DoubleToUint32IfEqualToSelf() local 210 double value = HeapNumber::cast(number).value(); DoubleToUint32IfEqualToSelf() local 233 int value = Smi::ToInt(number); DoubleToUint32IfEqualToSelf() local 237 double value = HeapNumber::cast(number).value(); DoubleToUint32IfEqualToSelf() local 249 int value = Smi::ToInt(number); DoubleToUint32IfEqualToSelf() local 258 double value = HeapNumber::cast(number).value(); DoubleToUint32IfEqualToSelf() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnv_ext.h | 56 * The lookup value of a unit points to another table that is to be searched 85 * which are output value limits in the data structure. 159 * Array of byte/value pairs for lookups for toUnicode conversion. 162 * a default value for when the lookup in this section yields no match. 174 * Each uint32_t contains an input byte value in bits 31..24 and the 175 * corresponding lookup value in bits 23..0. 176 * Interpret the value as follows: 177 * if(value==0) { 179 * } else if(value<0x1f0000) { 180 * partial match - use value a [all...] |
/foundation/communication/dsoftbus/tests/common/include/ |
H A D | fuzz_data_generator.h | 48 inline bool GenerateFromList(T &value, const std::vector<T> &candidateValues) in GenerateFromList() argument 57 value = candidateValues[rawData % candidateValues.size()]; in GenerateFromList() 61 inline bool GenerateBool(bool &value) in GenerateBool() argument 63 return DataGenerator::GetInstance().ReadBool(value); in GenerateBool() 66 inline bool GenerateInt8(int8_t &value) in GenerateInt8() argument 68 return DataGenerator::GetInstance().ReadInt8(value); in GenerateInt8() 71 inline bool GenerateInt16(int16_t &value) in GenerateInt16() argument 73 return DataGenerator::GetInstance().ReadInt16(value); in GenerateInt16() 76 inline bool GenerateInt32(int32_t &value) in GenerateInt32() argument 78 return DataGenerator::GetInstance().ReadInt32(value); in GenerateInt32() 81 GenerateInt64(int64_t &value) GenerateInt64() argument 86 GenerateUint8(uint8_t &value) GenerateUint8() argument 91 GenerateUint16(uint16_t &value) GenerateUint16() argument 96 GenerateUint32(uint32_t &value) GenerateUint32() argument 101 GenerateUint64(uint64_t &value) GenerateUint64() argument 106 GenerateFloat(float &value) GenerateFloat() argument 111 GenerateDouble(double &value) GenerateDouble() argument 116 GenerateString(std::string &value) GenerateString() argument [all...] |
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/ |
H A D | datashare_predicates_object.h | 58 Type value; 73 SingleValue(Type val) noexcept : value(std::move(val)) in move() 80 SingleValue(SingleValue &&val) noexcept :value(std::move(val.value)) in move() 87 SingleValue(const SingleValue &val) : value(val.value) {} in SingleValue() 93 value = std::move(object.value); 102 value = object.value; in operator =() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | trace.h | 11 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 12 TP_ARGS(dev, offset, value), 16 __field(u32, value) 21 __entry->value = value; 24 __entry->value) 28 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 29 TP_ARGS(dev, offset, value)); 31 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 32 TP_ARGS(dev, offset, value)); [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | trace.h | 11 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 12 TP_ARGS(dev, offset, value), 16 __field(u32, value) 21 __entry->value = value; 24 __entry->value) 28 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 29 TP_ARGS(dev, offset, value)); 31 TP_PROTO(struct device *dev, unsigned int offset, u32 value), 32 TP_ARGS(dev, offset, value)); [all...] |
/third_party/libinput/test/ |
H A D | litest-device-synaptics-rmi4.c | 30 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 31 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 32 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 33 { .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN }, 34 { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN }, 35 { .type = EV_ABS, .code = ABS_MT_ORIENTATION, .value = 0 }, 36 { .type = EV_ABS, .code = ABS_MT_TOUCH_MAJOR, .value = 2 }, 37 { .type = EV_ABS, .code = ABS_MT_TOUCH_MINOR, .value = 2 }, 38 { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, 39 { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value 61 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) get_axis_default() argument [all...] |
/third_party/python/Lib/email/ |
H A D | policy.py | 50 refold_source -- if the value for a header in the Message object 53 that value when transforming the message back into 65 'value', where 'name' is a header field name and 66 'value' is an unfolded header field value, and 121 The value is determined by stripping leading whitespace off the 127 name, value = sourcelines[0].split(':', 1) 128 value = value.lstrip(' \t') + ''.join(sourcelines[1:]) 129 return (name, value [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | narrowingDestructuring.js | 4 function func<T extends X>(value: T) { 5 if (value.kind === "a") { 6 value.a; 7 const { a } = value; 9 value.b; 10 const { b } = value; 17 function func2<T extends Z>(value: T) { 18 if (value.kind === "f") { 19 const { f: f1 } = value; 20 const { f: { a, ...spread } } = value; [all...] |
H A D | jsDeclarationsExportDefinePropertyEmit.js | 2 Object.defineProperty(module.exports, "a", { value: function a() {} }); 4 Object.defineProperty(module.exports, "b", { value: function b() {} }); 5 Object.defineProperty(module.exports.b, "cat", { value: "cat" }); 13 Object.defineProperty(module.exports, "d", { value: d }); 23 Object.defineProperty(module.exports, "e", { value: e }); 32 Object.defineProperty(module.exports, "f", { value: f }); 33 Object.defineProperty(module.exports.f, "self", { value: module.exports.f }); 42 Object.defineProperty(module.exports, "g", { value: g }); 52 Object.defineProperty(module.exports, "h", { value: hh }); 54 Object.defineProperty(module.exports, "i", { value [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lru_map.c | 43 void *value) in bpf_map_lookup_elem_with_ref_bit() 85 assert(!bpf_map_lookup_elem(mfd, &zero, value)); in bpf_map_lookup_elem_with_ref_bit() 150 unsigned long long key, value[nr_cpus]; in test_lru_sanity0() local 168 value[0] = 1234; in test_lru_sanity0() 173 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0() 174 assert(!bpf_map_update_elem(expected_map_fd, &key, value, in test_lru_sanity0() 178 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -EEXIST); in test_lru_sanity0() 181 assert(bpf_map_update_elem(lru_map_fd, &key, value, -1) == -EINVAL); in test_lru_sanity0() 187 assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -ENOENT); in test_lru_sanity0() 190 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIS in test_lru_sanity0() 42 bpf_map_lookup_elem_with_ref_bit(int fd, unsigned long long key, void *value) bpf_map_lookup_elem_with_ref_bit() argument 241 unsigned long long key, end_key, value[nr_cpus]; test_lru_sanity1() local 317 unsigned long long key, value[nr_cpus]; test_lru_sanity2() local 424 unsigned long long key, end_key, value[nr_cpus]; test_lru_sanity3() local 489 unsigned long long key, value[nr_cpus]; test_lru_sanity4() local 547 unsigned long long key, value[nr_cpus]; do_test_lru_sanity5() local 564 unsigned long long key, value[nr_cpus]; test_lru_sanity5() local 612 unsigned long long key, value[nr_cpus]; test_lru_sanity6() local 678 unsigned long long key, value[nr_cpus]; test_lru_sanity7() local 769 unsigned long long key, value[nr_cpus]; test_lru_sanity8() local [all...] |
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | string_helper.cpp | 54 bool StringHelper::StartWith(const std::string &value, char prefix)
in StartWith() argument 56 return value.find(prefix) == 0;
in StartWith() 59 bool StringHelper::StartWith(const std::string &value, const std::string &prefix)
in StartWith() argument 61 return value.find(prefix) == 0;
in StartWith() 64 bool StringHelper::EndWith(const std::string &value, char suffix)
in EndWith() argument 66 if (value.empty()) {
in EndWith() 69 return value.back() == suffix;
in EndWith() 72 bool StringHelper::EndWith(const std::string &value, const std::string &suffix)
in EndWith() argument 74 size_t index = value.rfind(suffix);
in EndWith() 79 return index + suffix.size() == value in EndWith() 82 Replace(const std::string &value, char oldChar, char newChar) Replace() argument 98 Replace(const std::string &value, const std::string &oldstr, const std::string &newstr) Replace() argument 109 Replace( const std::string &value, size_t position, const std::string &substr, const std::string &newstr) Replace() argument 121 Replace(const std::string &value, size_t position, size_t len, const std::string &newStr) Replace() argument 132 SubStr(const std::string &value, size_t start, size_t end) SubStr() argument 140 StrToLower(const std::string &value) StrToLower() argument 151 StrToUpper(const std::string &value) StrToUpper() argument 162 FirstToUpper(const std::string &value) FirstToUpper() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/div/ |
H A D | div_declaration.cpp | 53 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle() 56 divStyle.alignContent = value; in SetSpecializedStyle() 60 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle() 63 divStyle.alignItems = value; in SetSpecializedStyle() 67 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle() 70 divStyle.direction = value; in SetSpecializedStyle() 74 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle() 77 divStyle.isFlexWrap = (value == DOM_WRAP); in SetSpecializedStyle() 81 [](const std::string& value, DivDeclaration& declaration) { in SetSpecializedStyle() 84 divStyle.direction = value; in SetSpecializedStyle() [all...] |