/third_party/typescript/tests/baselines/reference/ |
H A D | emitter.asyncGenerators.objectLiteralMethods.es2015.js | 54 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
55 function fulfill(value) { resume("next", value); }
56 function reject(value) { resume("throw", value); }
73 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
74 function fulfill(value) { resume("next", value); }
[all...] |
H A D | autoAccessor5(target=es5).js | 18 return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
20 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
24 return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
38 set: function (value) { __classPrivateFieldSet(this, _C1__b_accessor_storage, value, "f"); },
44 set: function (value) { __classPrivateFieldSe [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/ |
H A D | endian_converter.h | 23 static inline uint16_t HostToNet(uint16_t value)
in HostToNet() argument 25 return htole16(value);
in HostToNet() 28 static inline uint16_t NetToHost(uint16_t value)
in NetToHost() argument 30 return le16toh(value);
in NetToHost() 33 static inline uint32_t HostToNet(uint32_t value)
in HostToNet() argument 35 return htole32(value);
in HostToNet() 38 static inline uint32_t NetToHost(uint32_t value)
in NetToHost() argument 40 return le32toh(value);
in NetToHost() 43 static inline uint64_t HostToNet(uint64_t value)
in HostToNet() argument 45 return htole64(value);
in HostToNet() 48 NetToHost(uint64_t value) NetToHost() argument [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
H A D | general_endian.cpp | 20 uint16_t Endian::LeToH(uint16_t value) in LeToH() argument 22 return le16toh(value); in LeToH() 25 uint16_t Endian::HToLe(uint16_t value) in HToLe() argument 27 return htole16(value); in HToLe() 30 uint32_t Endian::LeToH(uint32_t value) in LeToH() argument 32 return le32toh(value); in LeToH() 35 uint32_t Endian::HToLe(uint32_t value) in HToLe() argument 37 return htole32(value); in HToLe() 40 uint64_t Endian::LeToH(uint64_t value) in LeToH() argument 42 return le64toh(value); in LeToH() 45 HToLe(uint64_t value) HToLe() argument [all...] |
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/ |
H A D | ark_interop_napi.h | 73 EXPORT double ARKTS_GetValueNumber(ARKTS_Value value); 74 EXPORT bool ARKTS_IsNumber(ARKTS_Value value); 75 EXPORT ARKTS_Value ARKTS_CreateF64(double value); 77 EXPORT int32_t ARKTS_GetValueUtf8(ARKTS_Env env, ARKTS_Value value, int32_t capacity, char* buffer); 78 EXPORT int32_t ARKTS_GetValueUtf8Size(ARKTS_Env env, ARKTS_Value value); 79 EXPORT ARKTS_Value ARKTS_CreateUtf8(ARKTS_Env env, const char* value, int32_t size); 83 EXPORT const char* ARKTS_GetValueCString(ARKTS_Env env, ARKTS_Value value); 85 EXPORT bool ARKTS_IsString(ARKTS_Env env, ARKTS_Value value); 89 * logically equals to typeof(value) == "function" 91 EXPORT bool ARKTS_IsCallable(ARKTS_Env env, ARKTS_Value value); [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/test/fuzztest/socperfplugin_fuzzer/ |
H A D | socperfplugin_fuzzer.cpp | 37 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestWindowFocus() local 38 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WINDOW_FOCUS, value, in TestWindowFocus() 46 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestClickRecognize() local 47 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_CLICK_RECOGNIZE, value, in TestClickRecognize() 55 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestLoadPage() local 56 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_LOAD_PAGE, value, in TestLoadPage() 64 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestSlideRecognize() local 65 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_SLIDE_RECOGNIZE, value, in TestSlideRecognize() 73 int64_t value = *(reinterpret_cast<const int64_t *>(data)); in TestWebGesture() local 74 const std::shared_ptr<ResData> &resData = std::make_shared<ResData>(ResType::RES_TYPE_WEB_GESTURE, value, in TestWebGesture() 82 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestPopPage() local 91 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestAppAbilityStart() local 100 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestResizeWindow() local 109 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestMoveWindow() local 118 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestShowRemoteAnimation() local 127 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestDragStatusBar() local 136 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestWebGestureMove() local 145 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestWebSlideNormal() local 154 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestLoadUrl() local 163 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestMouseWheel() local 172 int64_t value = *(reinterpret_cast<const int64_t *>(data)); TestAppStateChange() local 191 int64_t value = *(reinterpret_cast<const int64_t *>(data + sizeof(int64_t))); TestUseBySo() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/common/test/ |
H A D | traits_test.cpp | 128 std::variant<std::monostate, int64_t, bool, double, std::string, std::vector<uint8_t>> value; in HWTEST_F() local 129 auto size = Traits::variant_size_of_v<decltype(value)>; in HWTEST_F() 145 std::variant<std::monostate, int64_t, bool, double, std::string, std::vector<uint8_t>> value; in HWTEST_F() local 146 auto index = Traits::variant_index_of_v<std::monostate, decltype(value)>; in HWTEST_F() 148 index = Traits::variant_index_of_v<int64_t, decltype(value)>; in HWTEST_F() 150 index = Traits::variant_index_of_v<bool, decltype(value)>; in HWTEST_F() 152 index = Traits::variant_index_of_v<double, decltype(value)>; in HWTEST_F() 154 index = Traits::variant_index_of_v<std::string, decltype(value)>; in HWTEST_F() 156 index = Traits::variant_index_of_v<std::vector<uint8_t>, decltype(value)>; in HWTEST_F() 158 index = Traits::variant_index_of_v<char *, decltype(value)>; in HWTEST_F() 172 std::variant<std::monostate, int64_t, double, const char *> value; HWTEST_F() local 201 std::variant<std::monostate, int64_t, double, const char *, From> value; HWTEST_F() local 231 std::variant<std::monostate, int64_t, double, const char *> value; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/codec/ |
H A D | byte_buffer_operator.h | 35 bool ReadData(uint8_t& value) const in ReadData() 37 return ReadValue(value); in ReadData() 39 bool ReadData(int32_t& value) const in ReadData() 41 return ReadValue(value); in ReadData() 43 bool ReadData(int64_t& value) const in ReadData() 45 return ReadValue(value); in ReadData() 47 bool ReadData(double& value) const in ReadData() 49 return ReadValue(value); in ReadData() 51 bool ReadData(std::string& value) const in ReadData() 53 return ReadArray(value); in ReadData() 111 WriteData(uint8_t value) WriteData() argument 115 WriteData(int32_t value) WriteData() argument 119 WriteData(int64_t value) WriteData() argument 123 WriteData(double value) WriteData() argument 150 WriteValue(T value) WriteValue() argument [all...] |
/third_party/node/src/tracing/ |
H A D | traced_value.cc | 29 std::string EscapeString(const char* value) { in EscapeString() argument 34 int32_t len = strlen(value); in EscapeString() 39 U8_NEXT_OR_FFFD(value, i, len, c); in EscapeString() 55 result.append(value + p, i - p); in EscapeString() 63 while (*value) { in EscapeString() 64 char c = *value++; in EscapeString() 116 void TracedValue::SetInteger(const char* name, int value) { in SetInteger() argument 118 data_ += std::to_string(value); in SetInteger() 121 void TracedValue::SetDouble(const char* name, double value) { in SetDouble() argument 123 data_ += DoubleToCString(value); in SetDouble() 126 SetBoolean(const char* name, bool value) SetBoolean() argument 136 SetString(const char* name, const char* value) SetString() argument 153 AppendInteger(int value) AppendInteger() argument 158 AppendDouble(double value) AppendDouble() argument 163 AppendBoolean(bool value) AppendBoolean() argument 173 AppendString(const char* value) AppendString() argument [all...] |
/third_party/python/Tools/scripts/ |
H A D | generate_token.py | 27 value = len(tok_names) 29 ERRORTOKEN = value 33 string_to_tok[string] = value 94 for value, name in enumerate(tok_names[:ERRORTOKEN + 1]): 95 defines.append("#define %-15s %d\n" % (name, value)) 149 value = mapping[c] 150 if isinstance(value, dict): 152 write(generate_chars_to_token(value, n + 1)) 156 write("case '%s': return %s;\n" % (c, value)) 165 for string, value i [all...] |
/third_party/skia/tests/ |
H A D | ImageCacheTest.cpp | 17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey() 22 TestingRec(const TestingKey& key, uint32_t value) : fKey(key), fValue(value) {} in TestingRec() 48 intptr_t value = -1; in test_cache() local 50 REPORTER_ASSERT(reporter, !cache.find(key, TestingRec::Visitor, &value)); in test_cache() 51 REPORTER_ASSERT(reporter, -1 == value); in test_cache() 55 REPORTER_ASSERT(reporter, cache.find(key, TestingRec::Visitor, &value)); in test_cache() 56 REPORTER_ASSERT(reporter, i == value); in test_cache() 69 intptr_t value; in test_cache() local 70 (void)cache.find(TestingKey(i), TestingRec::Visitor, &value); test_cache() local 85 intptr_t value = -1; test_cache_purge_shared_id() local 97 intptr_t value = -1; test_cache_purge_shared_id() local 149 intptr_t value = -1; DEF_TEST() local [all...] |
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 69 napi_valuetype GetValueType(napi_env env, napi_value value) in GetValueType() argument 71 if (value == nullptr) { in GetValueType() 76 NAPI_CALL_BASE(env, napi_typeof(env, value, &valueType), napi_undefined); in GetValueType() 115 napi_value value = nullptr; in GetNamedProperty() local 116 NAPI_CALL(env, napi_get_named_property(env, object, propertyName.c_str(), &value)); in GetNamedProperty() 117 return value; in GetNamedProperty() 120 void SetNamedProperty(napi_env env, napi_value object, const std::string &name, napi_value value) in SetNamedProperty() argument 126 napi_set_named_property(env, object, name.c_str(), value); in SetNamedProperty() 156 napi_value value = nullptr; in CreateUint32() local 157 if (napi_create_uint32(env, code, &value) ! in CreateUint32() 166 napi_value value = nullptr; CreateUint64() local 173 GetInt64FromValue(napi_env env, napi_value value) GetInt64FromValue() argument 188 napi_value value = GetNamedProperty(env, object, propertyName); GetInt64Property() local 192 GetUint32FromValue(napi_env env, napi_value value) GetUint32FromValue() argument 208 napi_value value = GetNamedProperty(env, object, propertyName); GetUint32Property() local 212 SetUint32Property(napi_env env, napi_value object, const std::string &name, uint32_t value) SetUint32Property() argument 222 SetUint64Property(napi_env env, napi_value object, const std::string &name, uint64_t value) SetUint64Property() argument 235 napi_value value = nullptr; CreateInt32() local 242 GetInt32FromValue(napi_env env, napi_value value) GetInt32FromValue() argument 258 napi_value value = GetNamedProperty(env, object, propertyName); GetInt32Property() local 262 SetInt32Property(napi_env env, napi_value object, const std::string &name, int32_t value) SetInt32Property() argument 272 SetDoubleProperty(napi_env env, napi_value object, const std::string &name, double value) SetDoubleProperty() argument 287 napi_value value = nullptr; CreateStringUtf8() local 294 GetStringFromValueUtf8(napi_env env, napi_value value) GetStringFromValueUtf8() argument 325 napi_value value = GetNamedProperty(env, object, propertyName); GetStringPropertyUtf8() local 329 NapiValueToString(napi_env env, napi_value value) NapiValueToString() argument 366 SetStringPropertyUtf8(napi_env env, napi_value object, const std::string &name, const std::string &value) SetStringPropertyUtf8() argument 376 ValueIsArrayBuffer(napi_env env, napi_value value) ValueIsArrayBuffer() argument 386 GetInfoFromArrayBufferValue(napi_env env, napi_value value, size_t *length) GetInfoFromArrayBufferValue() argument 464 napi_value value = GetNamedProperty(env, object, propertyName); GetBooleanProperty() local 470 SetBooleanProperty(napi_env env, napi_value object, const std::string &name, bool value) SetBooleanProperty() argument 481 GetBoolean(napi_env env, bool value) GetBoolean() argument 488 GetBooleanFromValue(napi_env env, napi_value value) GetBooleanFromValue() argument 522 SetArrayElement(napi_env env, napi_value array, uint32_t index, napi_value value) SetArrayElement() argument 527 IsArray(napi_env env, napi_value value) IsArray() argument 534 SetArrayProperty(napi_env env, napi_value object, const std::string &name, napi_value value) SetArrayProperty() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkPixmap.cpp | 98 float value = 0; in getAlphaf() local 114 value = static_cast<const uint8_t*>(srcPtr)[0] * (1.0f/255); in getAlphaf() 117 value = static_cast<const uint16_t*>(srcPtr)[0] * (1.0f/65535); in getAlphaf() 121 value = SkHalfToFloat(half); in getAlphaf() 126 value = SkGetPackedA4444(u16) * (1.0f/15); in getAlphaf() 132 value = static_cast<const uint8_t*>(srcPtr)[3] * (1.0f/255); in getAlphaf() 137 value = (u32 >> 30) * (1.0f/3); in getAlphaf() 142 value = (u64 >> 48) * (1.0f/65535); in getAlphaf() 149 value = SkHalfToFloat_finite_ftz(px)[3]; in getAlphaf() 153 value in getAlphaf() 276 uint8_t value = *this->addr8(x, y); getColor() local 283 uint16_t value = *this->addr16(x, y); getColor() local 287 SkHalf value = *this->addr16(x, y); getColor() local 294 uint16_t value = *this->addr16(x, y); getColor() local 299 uint16_t value = *this->addr16(x, y); getColor() local 305 uint32_t value = *this->addr32(x, y); getColor() local 311 uint32_t value = *this->addr32(x, y); getColor() local 317 uint32_t value = *this->addr32(x, y); getColor() local 321 uint32_t value = *this->addr32(x, y); getColor() local 326 uint32_t value = *this->addr32(x, y); getColor() local 336 uint32_t value = *this->addr32(x, y); getColor() local 355 uint32_t value = *this->addr32(x, y); getColor() local 363 uint32_t value = *this->addr32(x, y); getColor() local 372 uint32_t value = *this->addr32(x, y); getColor() local 392 uint64_t value = *this->addr64(x, y); getColor() local [all...] |
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | QuatProxy.cpp | 32 value = META_NS::Property<BASE_NS::Math::Quat>(prop_)->GetValue();
in UpdateLocalValues() 36 META_NS::Property<BASE_NS::Math::Quat>(prop_)->SetValue(value);
in UpdateRemoteValues() 41 if (value != v) {
in SetValue() 42 value = v;
in SetValue() 52 if ((memb == "x") && (val != value.x)) {
in SetValue() 53 value.x = val;
in SetValue() 55 } else if ((memb == "y") && (val != value.y)) {
in SetValue() 56 value.y = val;
in SetValue() 58 } else if ((memb == "z") && (val != value.z)) {
in SetValue() 59 value in SetValue() 85 napi_value value; GetValue() local [all...] |
H A D | Vec4Proxy.cpp | 34 value = META_NS::Property<BASE_NS::Math::Vec4>(prop_)->GetValue(); in UpdateLocalValues() 39 META_NS::Property<BASE_NS::Math::Vec4>(prop_)->SetValue(value); in UpdateRemoteValues() 45 if (value != v) { in SetValue() 46 value = v; in SetValue() 57 if ((memb == "x") && (val != value.x)) { in SetValue() 58 value.x = val; in SetValue() 60 } else if ((memb == "y") && (val != value.y)) { in SetValue() 61 value.y = val; in SetValue() 63 } else if ((memb == "z") && (val != value.z)) { in SetValue() 64 value in SetValue() 91 napi_value value; GetValue() local [all...] |
H A D | ColorProxy.cpp | 30 value = META_NS::Property<SCENE_NS::Color>(prop_)->GetValue();
in UpdateLocalValues() 34 META_NS::Property<SCENE_NS::Color>(prop_)->SetValue(value);
in UpdateRemoteValues() 39 if (value != v) {
in SetValue() 40 value = v;
in SetValue() 50 if ((memb == "r") && (val != value.x)) {
in SetValue() 51 value.x = val;
in SetValue() 53 } else if ((memb == "g") && (val != value.y)) {
in SetValue() 54 value.y = val;
in SetValue() 56 } else if ((memb == "b") && (val != value.z)) {
in SetValue() 57 value in SetValue() 83 napi_value value; GetValue() local [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | float16_helper.cc | 40 // Return sign value of 32 bits float. 45 // Return exponent value of 32 bits float. 57 // Return mantissa value of 32 bits float. Note that mantissa for 32 63 // Convert float |value| whose size is 16 bits to 32 bits float 65 float HexFloat16ToFloat(const uint8_t* value) { in HexFloat16ToFloat() argument 66 uint32_t sign = (static_cast<uint32_t>(value[1]) & 0x80) << 24U; in HexFloat16ToFloat() 67 uint32_t exponent_bits = (static_cast<uint32_t>(value[1]) & 0x7c) >> 2U; in HexFloat16ToFloat() 73 mantissa = ((static_cast<uint32_t>(value[1]) & 0x3) << 8U | in HexFloat16ToFloat() 74 static_cast<uint32_t>(value[0])) in HexFloat16ToFloat() 86 // Convert float |value| whos 88 HexFloat11ToFloat(const uint8_t* value) HexFloat11ToFloat() argument 105 HexFloat10ToFloat(const uint8_t* value) HexFloat10ToFloat() argument 122 HexFloatToFloat(const uint8_t* value, uint8_t bits) HexFloatToFloat() argument 136 FloatToHexFloat16(const float value) FloatToHexFloat16() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
H A D | int128_test.cc | 57 static_assert(std::is_constructible<absl::uint128, TypeParam>::value, in TYPED_TEST() 59 static_assert(std::is_assignable<absl::uint128&, TypeParam>::value, in TYPED_TEST() 61 static_assert(!std::is_assignable<TypeParam&, absl::uint128>::value, in TYPED_TEST() 68 static_assert(std::is_constructible<absl::uint128, TypeParam>::value, in TYPED_TEST() 70 static_assert(!std::is_assignable<absl::uint128&, TypeParam>::value, in TYPED_TEST() 72 static_assert(!std::is_assignable<TypeParam&, absl::uint128>::value, in TYPED_TEST() 80 static_assert(std::is_constructible<absl::uint128, __int128>::value, in TEST() 82 static_assert(std::is_assignable<absl::uint128&, __int128>::value, in TEST() 84 static_assert(!std::is_assignable<__int128&, absl::uint128>::value, in TEST() 87 static_assert(std::is_constructible<absl::uint128, unsigned __int128>::value, in TEST() 699 absl::int128 value = absl::MakeInt128(pair.high, pair.low); TEST() local 863 absl::int128 value = 0; TEST() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | optional_test.cc | 179 std::is_nothrow_default_constructible<absl::optional<int>>::value); in TEST() 188 absl::nullopt_t>::value)); in TEST() 217 EXPECT_TRUE(std::is_copy_constructible<absl::optional<int>>::value); in TEST() 218 EXPECT_TRUE(std::is_copy_constructible<absl::optional<Copyable>>::value); in TEST() 220 std::is_copy_constructible<absl::optional<MoveableThrow>>::value); in TEST() 222 std::is_copy_constructible<absl::optional<MoveableNoThrow>>::value); in TEST() 223 EXPECT_FALSE(std::is_copy_constructible<absl::optional<NonMovable>>::value); in TEST() 226 absl::is_trivially_copy_constructible<absl::optional<Copyable>>::value); in TEST() 235 absl::is_trivially_copy_constructible<absl::optional<int>>::value); in TEST() 237 absl::is_trivially_copy_constructible<absl::optional<const int>>::value); in TEST() 947 int value = v; global() member 1498 static constexpr bool value = decltype(test<T>(0))::value; global() member 1637 absl::optional<Inner> value; global() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | render_collapsing_navigation_bar.cpp | 118 double fixedToolBarPos = -positionY_.value; in PerformLayout() 119 if (GreatNotEqual(positionY_.value, positionY_.expand)) { in PerformLayout() 120 titlePositionY = titlePositionY_.expand + positionY_.value; in PerformLayout() 121 fixedToolBarPos += positionY_.value / FIX_TITLE_BAR_OFFSET_RATIO; in PerformLayout() 123 titlePositionY = titlePositionY_.expand - positionY_.value * titlePositionY_.expandDis / positionY_.collapse; in PerformLayout() 155 if (!barIsMini_ && NearEqual(positionY_.value, positionY_.collapse)) { in OnRelatedPreScroll() 168 if (!relateEvent_ && LessNotEqual(positionY_.value, positionY_.expand)) { in OnRelatedScroll() 169 PrepareTitleSizeTranslate(titleSize_.value, titleSize_.expand); in OnRelatedScroll() 170 PrepareSubtitleSizeTranslate(subtitleOpacity_.value, subtitleOpacity_.expand); in OnRelatedScroll() 171 PreparePositionTranslate(positionY_.value, positionY in OnRelatedScroll() [all...] |
/foundation/multimodalinput/input/util/napi/src/ |
H A D | util_napi_value.cpp | 27 napi_status SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, bool value) in SetNameProperty() argument 30 auto status = napi_get_boolean(env, value, &napiValue); in SetNameProperty() 37 napi_status SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, uint16_t value) in SetNameProperty() argument 40 auto status = napi_create_uint32(env, value, &napiValue); in SetNameProperty() 47 napi_status SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, uint32_t value) in SetNameProperty() argument 50 auto status = napi_create_uint32(env, value, &napiValue); in SetNameProperty() 57 napi_status SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, int32_t value) in SetNameProperty() argument 60 auto status = napi_create_int32(env, value, &napiValue); in SetNameProperty() 67 napi_status SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, float value) in SetNameProperty() argument 70 auto status = napi_create_double(env, value, in SetNameProperty() 77 SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, double value) SetNameProperty() argument 87 SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, int64_t value) SetNameProperty() argument 97 SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, std::string value) SetNameProperty() argument 107 SetNameProperty( const napi_env &env, napi_value &object, const std::string &name, std::optional<KeyEvent::KeyItem> &value) SetNameProperty() argument 121 SetNameProperty( const napi_env &env, napi_value &object, const std::string &name, std::vector<KeyEvent::KeyItem> &value) SetNameProperty() argument 146 SetNameProperty(const napi_env &env, napi_value &object, const std::string &name, napi_value value) SetNameProperty() argument 161 bool value = false; GetNamePropertyBool() local 173 std::string value = ""; GetNamePropertyString() local 175 CHKRR(napi_get_named_property(env, object, name.c_str(), &napiValue), "napi_get_named_property", value); GetNamePropertyString() local 195 int32_t value = 0; GetNamePropertyInt32() local 213 int64_t value = 0; GetNamePropertyInt64() local 231 uint32_t value = 0; GetNamePropertyUint32() local [all...] |
/third_party/backends/backend/genesys/ |
H A D | register.h | 41 Value value = 0; member 91 reg.value = default_value; in init_reg() 129 void set(std::uint16_t address, Value value) in set() argument 131 find_reg(address).value = value; in set() 136 return find_reg(address).value; in get() 187 unsigned value_width = sizeof(reg.value) * 2; in operator <<() 190 << " = 0x" << std::setw(value_width) << static_cast<unsigned>(reg.value) << '\n'; in operator <<() 258 void set8(std::uint16_t address, std::uint8_t value) in set8() argument 260 find_reg(address).value in set8() 263 set8_mask(std::uint16_t address, std::uint8_t value, std::uint8_t mask) set8_mask() argument 269 set16(std::uint16_t address, std::uint16_t value) set16() argument 275 set24(std::uint16_t address, std::uint32_t value) set24() argument 337 ValueType value = 0; global() member 427 set_value(AddressType address, ValueType value) set_value() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_lower_vulkan_resource.c | 93 unsigned value = 0; in lower_block_instr() local 95 value += get_set_layout(layout, s)->stage[b->shader->info.stage].uniform_block_size; in lower_block_instr() 97 value += layout->push_constant_size; in lower_block_instr() 98 value += binding->stage[b->shader->info.stage].uniform_block_offset; in lower_block_instr() 101 nir_ssa_def *offset = nir_imm_ivec2(b, 0, value); in lower_block_instr() 118 int value = 0; in lower_vri_intrin_vri() local 130 value += get_set_layout(layout, s)->stage[b->shader->info.stage].const_buffer_count; in lower_vri_intrin_vri() 132 value += get_set_layout(layout, s)->stage[b->shader->info.stage].shader_buffer_count; in lower_vri_intrin_vri() 135 value += binding->stage[b->shader->info.stage].const_buffer_index + 1; in lower_vri_intrin_vri() 137 value in lower_vri_intrin_vri() 192 int value = 0; lower_vri_instr_tex_deref() local 270 int value = 0; lower_vri_intrin_image() local 363 int value = 0; lvp_lower_pipeline_layout() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr_export.cpp | 45 WriteOutInstr::WriteOutInstr(const RegisterVec4& value): in WriteOutInstr() argument 46 m_value(value) in WriteOutInstr() 59 ExportInstr::ExportInstr(ExportType type, unsigned loc, const RegisterVec4& value): in ExportInstr() argument 60 WriteOutInstr(value), in ExportInstr() 84 value() == lhs.value() && in is_equal_to() 106 value().print(os); in do_print() 111 return value().ready(block_id(), index()); in do_ready() 145 RegisterVec4 value = vf.src_vec4_from_string(value_str); in from_string_impl() local 147 return new ExportInstr( type, pos, value); in from_string_impl() 150 ScratchIOInstr(const RegisterVec4& value, PRegister addr, int align, int align_offset, int writemask, int array_size, bool is_read) ScratchIOInstr() argument 168 ScratchIOInstr(const RegisterVec4& value, int loc, int align, int align_offset,int writemask, bool is_read) ScratchIOInstr() argument 263 auto value = vf.src_vec4_from_string(value_str); global() variable 295 StreamOutInstr(const RegisterVec4& value, int num_components, int array_base, int comp_mask, int out_buffer, int stream) StreamOutInstr() argument 364 MemRingOutInstr(ECFOpCode ring, EMemWriteType type, const RegisterVec4& value, unsigned base_addr, unsigned ncomp, PRegister index) MemRingOutInstr() argument [all...] |
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/ |
H A D | datashare_js_utils.cpp | 38 std::string value(buf); in Convert2String() 40 return value; in Convert2String() 43 std::vector<std::string> DataShareJSUtils::Convert2StrVector(napi_env env, napi_value value, const size_t strMax) in Convert2StrVector() argument 47 napi_get_array_length(env, value, &arrLen); in Convert2StrVector() 54 if (napi_get_element(env, value, i, &element) != napi_ok) { in Convert2StrVector() 147 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::monostate &value) in Convert2JSValue() argument 152 napi_value DataShareJSUtils::Convert2JSValue(napi_env env, const std::vector<std::string> &value) in Convert2JSValue() argument 155 napi_status status = napi_create_array_with_length(env, value.size(), &jsValue); in Convert2JSValue() 160 for (size_t i = 0; i < value.size(); ++i) { in Convert2JSValue() 161 napi_set_element(env, jsValue, i, Convert2JSValue(env, value[ in Convert2JSValue() 166 Convert2JSValue(napi_env env, const std::string &value) Convert2JSValue() argument 176 Convert2JSValue(napi_env env, const std::vector<uint8_t> &value, bool isTypedArray) Convert2JSValue() argument 202 Convert2JSValue(napi_env env, int32_t value) Convert2JSValue() argument 212 Convert2JSValue(napi_env env, int64_t value) Convert2JSValue() argument 222 Convert2JSValue(napi_env env, uint32_t value) Convert2JSValue() argument 232 Convert2JSValue(napi_env env, double value) Convert2JSValue() argument 242 Convert2JSValue(napi_env env, bool value) Convert2JSValue() argument 252 Convert2JSValue(napi_env env, const std::map<std::string, int> &value) Convert2JSValue() argument 315 Convert2ValueObject(napi_env env, napi_value value, bool &status) Convert2ValueObject() argument 343 Equals(napi_env env, napi_value value, napi_ref copy) Equals() argument 520 napi_value value = nullptr; UnwrapTemplatePredicates() local 534 Convert2Template(napi_env env, napi_value value) Convert2Template() argument 563 Convert2TemplateId(napi_env env, napi_value value) Convert2TemplateId() argument 604 PublishedDataItem::DataType value; UnwrapPublishedDataItem() local 639 UnwrapPublishedDataItemVector(napi_env env, napi_value value, std::vector<PublishedDataItem> &publishedDataItems) UnwrapPublishedDataItemVector() argument 666 Convert2PublishedData(napi_env env, napi_value value) Convert2PublishedData() argument 682 UnwrapStringByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, std::string &value) UnwrapStringByPropertyName() argument 823 UnwrapDataSharePredicates(napi_env env, napi_value value, DataSharePredicates &dataSharePredicates) UnwrapDataSharePredicates() argument [all...] |