/third_party/node/deps/v8/src/base/ |
H A D | atomic-utils.h | 42 static base::AtomicWord to_storage_type(S value) { in to_storage_type() 43 return static_cast<base::AtomicWord>(value); in to_storage_type() 45 static S to_return_type(base::AtomicWord value) { in to_return_type() 46 return static_cast<S>(value); in to_return_type() 52 static base::AtomicWord to_storage_type(S* value) { in to_storage_type() 53 return reinterpret_cast<base::AtomicWord>(value); in to_storage_type() 55 static S* to_return_type(base::AtomicWord value) { in to_return_type() 56 return reinterpret_cast<S*>(value); in to_return_type() 152 // Atomically sets bits selected by the mask to the given value. 172 static AtomicStorageType to_storage_type(U value) { in to_storage_type() 191 to_storage_addr(T* value) to_storage_addr() argument 195 to_storage_addr(const T* value) to_storage_addr() argument [all...] |
/third_party/node/deps/v8/src/diagnostics/ |
H A D | eh-frame.cc | 381 void EhFrameWriter::WriteULeb128(uint32_t value) { in WriteULeb128() argument 383 byte chunk = value & 0x7F; in WriteULeb128() 384 value >>= 7; in WriteULeb128() 385 if (value != 0) chunk |= 0x80; in WriteULeb128() 387 } while (value != 0); in WriteULeb128() 390 void EhFrameWriter::WriteSLeb128(int32_t value) { in WriteSLeb128() argument 394 byte chunk = value & 0x7F; in WriteSLeb128() 395 value >>= 7; in WriteSLeb128() 396 done = ((value == 0) && ((chunk & kSignBitMask) == 0)) || in WriteSLeb128() 397 ((value in WriteSLeb128() 496 int value = (bytecode & EhFrameConstants::kLocationMask) * DumpDwarfDirectives() local 499 stream << "| pc_offset=" << offset_in_procedure << " (delta=" << value DumpDwarfDirectives() local 536 int value = eh_frame_iterator.GetNextByte() * DumpDwarfDirectives() local 539 stream << "| pc_offset=" << offset_in_procedure << " (delta=" << value DumpDwarfDirectives() local 544 int value = eh_frame_iterator.GetNextUInt16() * DumpDwarfDirectives() local 547 stream << "| pc_offset=" << offset_in_procedure << " (delta=" << value DumpDwarfDirectives() local 552 int value = eh_frame_iterator.GetNextUInt32() * DumpDwarfDirectives() local 555 stream << "| pc_offset=" << offset_in_procedure << " (delta=" << value DumpDwarfDirectives() local [all...] |
/third_party/python/Tools/scripts/ |
H A D | summarize_stats.py | 77 failures = [(value, index) for (index, value) in enumerate(failure_kinds)] 80 for value, index in failures: 81 if not value: 83 rows.append((kind_to_text(index, defines, name), value, f"{100*value/total_failures:0.1f}%")) 91 key, value = line.split(":") 93 value = int(value) 94 stats[key] += value [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | LzcompCompress.java | 300 private void encodeLength(int value, int dist, int numDistRanges) { in encodeLength() argument 302 value -= LEN_MIN3; in encodeLength() 304 value -= LEN_MIN; in encodeLength() 306 int bitsUsed = HuffmanEncoder.bitsUsed(value); in encodeLength() 313 if ((value & mask) != 0) { in encodeLength() 318 if ((value & mask) != 0) { in encodeLength() 325 if ((value & mask) != 0) { in encodeLength() 330 if ((value & mask) != 0) { in encodeLength() 338 private int encodeLengthCost(int value, int dist, int numDistRanges) { in encodeLengthCost() argument 340 value in encodeLengthCost() 377 encodeDistance2(int value, int distRanges) encodeDistance2() argument 385 encodeDistance2Cost(int value, int distRanges) encodeDistance2Cost() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | dayperiodrules.cpp | 53 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) { in put() 54 ResourceTable dayPeriodData = value.getTable(errorCode); in put() 57 for (int32_t i = 0; dayPeriodData.getKeyAndValue(i, key, value); ++i) { in put() 59 ResourceTable locales = value.getTable(errorCode); in put() 62 for (int32_t j = 0; locales.getKeyAndValue(j, key, value); ++j) { in put() 63 UnicodeString setNum_str = value.getUnicodeString(errorCode); in put() 74 ResourceTable rules = value.getTable(errorCode); in put() 75 processRules(rules, key, value, errorCode); in put() 82 ResourceValue &value, UErrorCode &errorCode) { in processRules() 85 for (int32_t i = 0; rules.getKeyAndValue(i, key, value); in processRules() [all...] |
H A D | units_data.cpp | 53 * conversion rates that are found in `value` to the output vector. 57 * @param value The "convertUnits" resource, containing unit conversion rate 62 void put(const char *source, ResourceValue &value, UBool /*noFallback*/, UErrorCode &status) { in put() argument 66 // that with `value`, we're looking at the convertUnits table. in put() 70 ResourceTable conversionRateTable = value.getTable(status); in put() 72 // We're reusing `value`, which seems to be a common pattern: in put() 73 for (int32_t unit = 0; conversionRateTable.getKeyAndValue(unit, srcUnit, value); unit++) { in put() 74 ResourceTable unitTable = value.getTable(status); in put() 79 for (int32_t i = 0; unitTable.getKeyAndValue(i, key, value); i++) { in put() 81 baseUnit = value in put() 149 put(const char *key, ResourceValue &value, UBool , UErrorCode &status) put() argument [all...] |
/third_party/skia/third_party/externals/brotli/c/common/ |
H A D | platform.h | 394 uint16_t value = BrotliUnalignedRead16(p); in BROTLI_UNALIGNED_LOAD16LE() local 395 return BROTLI_BSWAP16_(value); in BROTLI_UNALIGNED_LOAD16LE() 401 uint32_t value = BrotliUnalignedRead32(p); in BROTLI_UNALIGNED_LOAD32LE() local 402 return BROTLI_BSWAP32_(value); in BROTLI_UNALIGNED_LOAD32LE() 410 uint64_t value = BrotliUnalignedRead64(p); in BROTLI_UNALIGNED_LOAD64LE() local 411 return BROTLI_BSWAP64_(value); in BROTLI_UNALIGNED_LOAD64LE() 414 uint64_t value = BROTLI_BSWAP64_(v); in BROTLI_UNALIGNED_STORE64LE() local 415 BrotliUnalignedWrite64(p, value); in BROTLI_UNALIGNED_STORE64LE() 425 uint32_t value = (uint32_t)(in[0]); in BROTLI_UNALIGNED_LOAD32LE() local 426 value | in BROTLI_UNALIGNED_LOAD32LE() 433 uint64_t value = (uint64_t)(in[0]); BROTLI_UNALIGNED_LOAD64LE() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Endian.h | 36 /// ::value is either alignment, or alignof(T) if alignment is 0. 39 enum { value = alignment == 0 ? alignof(T) : alignment }; enumerator 51 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap() argument 53 sys::swapByteOrder(value); in byte_swap() 54 return value; in byte_swap() 57 /// Swap the bytes of value to match the given endianness. 59 inline value_type byte_swap(value_type value) { in byte_swap() argument 60 return byte_swap(value, endian); in byte_swap() 63 /// Read a value of a particular endianness from memory. 70 memory, (detail::PickAlignment<value_type, alignment>::value)), in read() 99 write(void *memory, value_type value, endianness endian) write() argument 103 &value, sizeof(value_type)); write() local 109 write(void *memory, value_type value) write() argument [all...] |
H A D | YAMLTraits.h | 98 /// static void enumeration(IO &io, Colors &value) { 99 /// io.enumCase(value, "red", cRed); 100 /// io.enumCase(value, "blue", cBlue); 101 /// io.enumCase(value, "green", cGreen); 106 // static void enumeration(IO &io, T &value); 114 /// static void bitset(IO &io, MyFlags &value) { 115 /// io.bitSetCase(value, "big", flagBig); 116 /// io.bitSetCase(value, "flat", flagFlat); 117 /// io.bitSetCase(value, "round", flagRound); 122 // static void bitset(IO &io, T &value); 321 static bool const value = global() member 337 static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1); global() member 356 static bool const value = global() member 374 static bool const value = global() member 392 static bool const value = global() member 406 static bool const value = global() member 419 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1); global() member 432 static bool const value = global() member 445 static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1); global() member 460 static bool const value = (sizeof(test<SequenceTraits<T>>(nullptr)) == 1); global() member 475 static bool const value = global() member 486 static const bool value = false; global() member in llvm::yaml::has_FlowTraits 504 static bool const value = sizeof(f<Derived>(nullptr)) == 2; global() member 524 static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1); global() member 535 static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1); global() member 1466 StringRef value() const { return _value; } needsQuotes() function in llvm::Input::ScalarHNode 1896 template <bool> struct CheckIsBool { static const bool value = true; }; global() member [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_const_literal_test.cc | 50 ASSERT_NE(c.value, nullptr); in TEST_F() 52 EXPECT_EQ(c->As<ast::SintLiteralExpression>()->value, -234); in TEST_F() 62 ASSERT_NE(c.value, nullptr); in TEST_F() 64 EXPECT_EQ(c->As<ast::UintLiteralExpression>()->value, 234u); in TEST_F() 74 ASSERT_NE(c.value, nullptr); in TEST_F() 76 EXPECT_FLOAT_EQ(c->As<ast::FloatLiteralExpression>()->value, 234e12f); in TEST_F() 87 ASSERT_EQ(c.value, nullptr); in TEST_F() 97 ASSERT_EQ(c.value, nullptr); in TEST_F() 106 ASSERT_EQ(c.value, nullptr); in TEST_F() 115 ASSERT_EQ(c.value, nullpt in TEST_F() [all...] |
/third_party/toybox/toys/pending/ |
H A D | stty.c | 73 int value; member 160 int i, j, value, mask; in show_flags() local 166 value = flags[i].value; in show_flags() 168 if ((actual&mask)==value && (sane&mask)!=value) { in show_flags() 173 if ((actual&value) != (sane&value)) { in show_flags() 174 out("%s%s", actual&value?"":"-", flags[i].name); in show_flags() 215 *f |= flags[i].value; in set_flag() 248 set_size(int is_rows, unsigned short value) set_size() argument 350 int value; do_stty() local [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | SmallSortedMap.java | 48 * first {@code k} mappings in an array for a configurable value of {@code k}, allowing direct 103 final List value = (List) entry.getValue(); in newFieldMap() 104 entry.setValue(Collections.unmodifiableList(value)); in newFieldMap() 109 final List value = (List) entry.getValue(); in newFieldMap() 110 entry.setValue(Collections.unmodifiableList(value)); in newFieldMap() 239 public V put(K key, V value) { in put() argument 244 return entryList.get(index).setValue(value); in put() 250 return getOverflowEntriesMutable().put(key, value); in put() 258 entryList.add(insertionPoint, new Entry(key, value)); in put() 311 * @return The returned integer position follows the same semantics as the value returne 402 private V value; global() field in SmallSortedMap.Entry 408 Entry(K key, V value) Entry() argument [all...] |
H A D | ArrayDecoders.java | 51 * multiple values and let the function set the return value in this Registers instance instead. 79 int value = data[position++]; in decodeVarint32() 80 if (value >= 0) { in decodeVarint32() 81 registers.int1 = value; in decodeVarint32() 84 return decodeVarint32(value, data, position, registers); in decodeVarint32() 89 int value = firstByte & 0x7F; in decodeVarint32() 92 registers.int1 = value | ((int) b2 << 7); in decodeVarint32() 95 value |= (b2 & 0x7F) << 7; in decodeVarint32() 99 registers.int1 = value | ((int) b3 << 14); in decodeVarint32() 102 value | in decodeVarint32() [all...] |
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_meter.cpp | 244 void AddTraceMarkerLarge(const std::string& name, MarkerType type, const int64_t value) in AddTraceMarkerLarge() argument 262 if (value != 0) { in AddTraceMarkerLarge() 263 record += std::to_string(value); in AddTraceMarkerLarge() 477 int SetAppTraceBuffer(char* buf, const int len, MarkerType type, const std::string& name, const int64_t value) in SetAppTraceBuffer() argument 501 static_cast<long>(ts.tv_nsec / NS_TO_MS), marktypestr, g_pid, name.c_str(), value); in SetAppTraceBuffer() 507 void SetAppTrace(const int len, MarkerType type, const std::string& name, const int64_t value) in SetAppTrace() argument 515 int bytes = SetAppTraceBuffer(buf, len, type, name, value); in SetAppTrace() 522 void WriteAppTraceLong(const int len, MarkerType type, const std::string& name, const int64_t value) in WriteAppTraceLong() argument 537 int bytes = SetAppTraceBuffer(buffer.get(), len, type, name, value); in WriteAppTraceLong() 558 void WriteAppTrace(MarkerType type, const std::string& name, const int64_t value) in WriteAppTrace() argument 592 AddHitraceMeterMarker(MarkerType type, uint64_t tag, const std::string& name, const int64_t value, const HiTraceIdStruct* hiTraceIdStruct = nullptr) AddHitraceMeterMarker() argument 682 SetAddTraceMarkerLarge(const std::string& name, const int64_t value) SetAddTraceMarkerLarge() argument 687 SetAddHitraceMeterMarker(uint64_t label, const string& value) SetAddHitraceMeterMarker() argument 726 SetWriteAppTrace(TraceFlag appFlag, const std::string& name, const int64_t value, bool tid) SetWriteAppTrace() argument 745 SetMarkerType(TraceFlag appFlag, const std::string& name, const int64_t value, bool tid) SetMarkerType() argument 754 SetWriteAppTraceLong(const int len, const std::string& name, const int64_t value) SetWriteAppTraceLong() argument 772 StartTraceWrapper(uint64_t label, const char *value) StartTraceWrapper() argument 778 StartTrace(uint64_t label, const string& value, float limit UNUSED_PARAM) StartTrace() argument 783 StartTraceDebug(bool isDebug, uint64_t label, const string& value, float limit UNUSED_PARAM) StartTraceDebug() argument 841 StartAsyncTrace(uint64_t label, const string& value, int32_t taskId, float limit UNUSED_PARAM) StartAsyncTrace() argument 846 StartAsyncTraceWrapper(uint64_t label, const char *value, int32_t taskId) StartAsyncTraceWrapper() argument 852 StartTraceChain(uint64_t label, const struct HiTraceIdStruct* hiTraceId, const char *value) StartTraceChain() argument 857 StartAsyncTraceDebug(bool isDebug, uint64_t label, const string& value, int32_t taskId, float limit UNUSED_PARAM) StartAsyncTraceDebug() argument 903 FinishAsyncTrace(uint64_t label, const string& value, int32_t taskId) FinishAsyncTrace() argument 908 FinishAsyncTraceWrapper(uint64_t label, const char *value, int32_t taskId) FinishAsyncTraceWrapper() argument 914 FinishAsyncTraceDebug(bool isDebug, uint64_t label, const string& value, int32_t taskId) FinishAsyncTraceDebug() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | eeepc-laptop.c | 207 static int set_acpi(struct eeepc_laptop *eeepc, int cm, int value) in set_acpi() argument 216 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi() 224 int value; in get_acpi() local 231 if (read_acpi_int(eeepc->handle, method, &value)) in get_acpi() 233 return value; in get_acpi() 271 int rv, value; in store_sys_acpi() local 273 rv = parse_arg(buf, &value); in store_sys_acpi() 276 rv = set_acpi(eeepc, cm, value); in store_sys_acpi() 285 int value = get_acpi(eeepc, cm); in show_sys_acpi() local 287 if (value < in show_sys_acpi() 374 int rv, value; cpufv_store() local 405 int rv, value; cpufv_disabled_store() local 494 tpd_led_set(struct led_classdev *led_cdev, enum led_brightness value) tpd_led_set() argument 704 eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) eeepc_get_adapter_status() argument 954 eeepc_pwm_to_lmsensors(int value) eeepc_pwm_to_lmsensors() argument 959 eeepc_lmsensors_to_pwm(int value) eeepc_lmsensors_to_pwm() argument 967 u8 value = 0; eeepc_get_fan_pwm() local 973 eeepc_set_fan_pwm(int value) eeepc_set_fan_pwm() argument 995 u8 value = 0; eeepc_get_fan_ctrl() local 1006 u8 value = 0; eeepc_set_fan_ctrl() local 1018 int rv, value; store_sys_hwmon() local 1095 set_brightness(struct backlight_device *bd, int value) set_brightness() argument [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | eeepc-laptop.c | 207 static int set_acpi(struct eeepc_laptop *eeepc, int cm, int value) in set_acpi() argument 216 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi() 224 int value; in get_acpi() local 231 if (read_acpi_int(eeepc->handle, method, &value)) in get_acpi() 233 return value; in get_acpi() 271 int rv, value; in store_sys_acpi() local 273 rv = parse_arg(buf, &value); in store_sys_acpi() 276 rv = set_acpi(eeepc, cm, value); in store_sys_acpi() 285 int value = get_acpi(eeepc, cm); in show_sys_acpi() local 287 if (value < in show_sys_acpi() 374 int rv, value; cpufv_store() local 405 int rv, value; cpufv_disabled_store() local 494 tpd_led_set(struct led_classdev *led_cdev, enum led_brightness value) tpd_led_set() argument 704 eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) eeepc_get_adapter_status() argument 954 eeepc_pwm_to_lmsensors(int value) eeepc_pwm_to_lmsensors() argument 959 eeepc_lmsensors_to_pwm(int value) eeepc_lmsensors_to_pwm() argument 967 u8 value = 0; eeepc_get_fan_pwm() local 973 eeepc_set_fan_pwm(int value) eeepc_set_fan_pwm() argument 995 u8 value = 0; eeepc_get_fan_ctrl() local 1006 u8 value = 0; eeepc_set_fan_ctrl() local 1018 int rv, value; store_sys_hwmon() local 1095 set_brightness(struct backlight_device *bd, int value) set_brightness() argument [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-scopes.cc | 51 Handle<String> name, Handle<Object> value, in DeclareGlobal() 117 isolate, JSObject::DefineOwnPropertyIgnoreAttributes(&it, value, attr)); in DeclareGlobal() 150 Object value; in RUNTIME_FUNCTION() 153 value = ReadOnlyRoots(isolate).the_hole_value(); in RUNTIME_FUNCTION() 161 value = *Factory::JSFunctionBuilder(isolate, sfi, context) in RUNTIME_FUNCTION() 166 Cell::cast(exports->get(index - 1)).set_value(value); in RUNTIME_FUNCTION() 192 // Traverse the name/value pairs and set the properties. in RUNTIME_FUNCTION() 197 Handle<Object> value; in RUNTIME_FUNCTION() 202 value = isolate->factory()->undefined_value(); in RUNTIME_FUNCTION() 209 value in RUNTIME_FUNCTION() 50 DeclareGlobal(Isolate* isolate, Handle<JSGlobalObject> global, Handle<String> name, Handle<Object> value, PropertyAttributes attr, bool is_var, RedeclarationType redeclaration_type) DeclareGlobal() argument 234 DeclareEvalHelper(Isolate* isolate, Handle<String> name, Handle<Object> value) DeclareEvalHelper() argument 328 Handle<Object> value = args.at(1); RUNTIME_FUNCTION() local 377 Handle<Object> value = iter->GetValue(); GetCallerArguments() local 687 Handle<Object> value = handle(Context::cast(*holder).get(index), isolate); LoadLookupSlot() local 705 Handle<Object> value; LoadLookupSlot() local 752 Handle<Object> value; RUNTIME_FUNCTION_RETURN_PAIR() local 763 StoreLookupSlot( Isolate* isolate, Handle<Context> context, Handle<String> name, Handle<Object> value, LanguageMode language_mode, ContextLookupFlags context_lookup_flags = FOLLOW_CHAINS) StoreLookupSlot() argument 781 index, value); StoreLookupSlot() local 834 Handle<Object> value = args.at(1); RUNTIME_FUNCTION() local 845 Handle<Object> value = args.at(1); RUNTIME_FUNCTION() local 858 Handle<Object> value = args.at(1); RUNTIME_FUNCTION() local 872 Handle<Object> value = args.at(1); RUNTIME_FUNCTION() local [all...] |
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfread.c | 192 * table with its real size, ignoring the TOC's size value. Since in pcf_read_TOC() 221 /* ... and adjust `tables->size' to the real value if necessary */ in pcf_read_TOC() 437 FT_FRAME_LONG_LE( value ), 451 FT_FRAME_LONG( value ), 644 FT_Long value_offset = props[i].value; in pcf_get_properties() 654 if ( FT_STRDUP( properties[i].value.atom, strings + value_offset ) ) in pcf_get_properties() 657 FT_TRACE4(( " `%s'\n", properties[i].value.atom )); in pcf_get_properties() 661 properties[i].value.l = props[i].value; in pcf_get_properties() 663 FT_TRACE4(( " %ld\n", properties[i].value in pcf_get_properties() [all...] |
/base/accesscontrol/sandbox_manager/services/common/database/src/ |
H A D | variant_value.cpp | 27 VariantValue::VariantValue(int32_t value) : type_(ValueType::TYPE_INT) in VariantValue() argument 29 value_ = value; in VariantValue() 32 VariantValue::VariantValue(int64_t value) : type_(ValueType::TYPE_INT64) in VariantValue() argument 34 value_ = value; in VariantValue() 37 VariantValue::VariantValue(const std::string &value) : type_(ValueType::TYPE_STRING) in VariantValue() argument 39 value_ = value; in VariantValue()
|
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/ |
H A D | json_parser.h | 34 static bool CheckJsonValue(const Json::Value& value, const std::vector<std::string>& fields);
35 static uint32_t ParseUInt32(const Json::Value& value);
36 static uint64_t ParseUInt64(const Json::Value& value);
37 static std::string ParseString(const Json::Value& value);
38 static void ParseUInt32Vec(const Json::Value& value, std::vector<uint32_t>& vec);
39 static void ParseStringVec(const Json::Value& value, std::vector<std::string>& vec);
|
/base/inputmethod/imf/interfaces/kits/c/ |
H A D | inputmethod_private_command_capi.h | 71 * @brief Set key value into {@link InputMethod_PrivateCommand}. 73 * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. 74 * @param key Represents key value. 84 * @brief Set bool data value into {@link InputMethod_PrivateCommand}. 86 * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. 87 * @param value Represents bool data value. 94 InputMethod_ErrorCode OH_PrivateCommand_SetBoolValue(InputMethod_PrivateCommand *command, bool value); 96 * @brief Set integer data value into {@link InputMethod_PrivateCommand}. 98 * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value [all...] |
/base/msdp/device_status/rust/utils/src/ |
H A D | errors.rs | 37 fn from(value: FusionErrorCode) -> Self in from() 39 match value { in from() 49 fn try_from(value: i32) -> Result<Self, Self::Error> { in try_from() 50 match value { in try_from() 51 _ if i32::from(FusionErrorCode::Fail) == value => { Ok(FusionErrorCode::Fail) }, in try_from() 52 _ if i32::from(FusionErrorCode::InvalidParam) == value => { Ok(FusionErrorCode::InvalidParam) }, in try_from()
|
/base/security/access_token/services/common/database/src/ |
H A D | variant_value.cpp | 27 VariantValue::VariantValue(int32_t value) : type_(ValueType::TYPE_INT) in VariantValue() argument 29 value_ = value; in VariantValue() 32 VariantValue::VariantValue(int64_t value) : type_(ValueType::TYPE_INT64) in VariantValue() argument 34 value_ = value; in VariantValue() 37 VariantValue::VariantValue(const std::string& value) : type_(ValueType::TYPE_STRING) in VariantValue() argument 39 value_ = value; in VariantValue()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mmio.h | 29 void *value, const u32 length) in rt2x00mmio_register_multiread() 31 memcpy_fromio(value, rt2x00dev->csr.base + offset, length); in rt2x00mmio_register_multiread() 36 u32 value) in rt2x00mmio_register_write() 38 writel(value, rt2x00dev->csr.base + offset); in rt2x00mmio_register_write() 43 const void *value, in rt2x00mmio_register_multiwrite() 46 __iowrite32_copy(rt2x00dev->csr.base + offset, value, length >> 2); in rt2x00mmio_register_multiwrite() 27 rt2x00mmio_register_multiread(struct rt2x00_dev *rt2x00dev, const unsigned int offset, void *value, const u32 length) rt2x00mmio_register_multiread() argument 34 rt2x00mmio_register_write(struct rt2x00_dev *rt2x00dev, const unsigned int offset, u32 value) rt2x00mmio_register_write() argument 41 rt2x00mmio_register_multiwrite(struct rt2x00_dev *rt2x00dev, const unsigned int offset, const void *value, const u32 length) rt2x00mmio_register_multiwrite() argument
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | gpio.h | 34 TP_PROTO(unsigned gpio, int get, int value), 36 TP_ARGS(gpio, get, value), 41 __field(int, value) 47 __entry->value = value; 51 __entry->get ? "get" : "set", __entry->value)
|