/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | protocol_core_test.cc | 27 return std::move(result).value(); in RoundtripToType() 43 void SetValue(std::string value) { value_ = std::move(value); } in SetValue() argument 53 V8_CRDTP_DESERIALIZE_FIELD("value", value_) 57 V8_CRDTP_SERIALIZE_FIELD("value", value_); 82 void SetValue(double value) { value_ = value; } in SetValue() argument 92 V8_CRDTP_DESERIALIZE_FIELD("value", value_) 96 V8_CRDTP_SERIALIZE_FIELD("value", value_); 107 crdtp::cbor::EncodeString8(crdtp::SpanFrom("value"), in TEST() 120 SetBoolField(bool value) SetBoolField() argument 123 SetIntField(int value) SetIntField() argument 126 SetDoubleField(double value) SetDoubleField() argument 129 SetStrField(std::string value) SetStrField() argument 134 SetTestTypeBasicField(std::unique_ptr<TestTypeBasic> value) SetTestTypeBasicField() argument 283 SetIntArray(std::vector<int> value) SetIntArray() argument 286 SetDoubleArray(std::vector<double> value) SetDoubleArray() argument 291 SetStrArray(std::vector<std::string> value) SetStrArray() argument 300 SetTestTypeBasicArray( std::vector<std::unique_ptr<TestTypeBasic>> value) SetTestTypeBasicArray() argument 356 SetIntField(int value) SetIntField() argument 360 SetStrField(std::string value) SetStrField() argument 367 SetTestTypeBasicField(std::unique_ptr<TestTypeBasic> value) SetTestTypeBasicField() argument 428 SetStrField(std::string value) SetStrField() argument [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | write-barrier.h | 69 // Returns the required write barrier for a given `slot` and `value`. 70 static V8_INLINE Type GetWriteBarrierType(const void* slot, const void* value, 72 // Returns the required write barrier for a given `slot` and `value`. 80 // Returns the required write barrier for a given `value`. 81 static V8_INLINE Type GetWriteBarrierType(const void* value, Params& params); 129 static void DijkstraMarkingBarrierSlow(const void* value); 130 static void DijkstraMarkingBarrierSlowWithSentinelCheck(const void* value); 136 static void SteeleMarkingBarrierSlow(const void* value); 137 static void SteeleMarkingBarrierSlowWithSentinelCheck(const void* value); 170 static V8_INLINE WriteBarrier::Type Get(const void* slot, const void* value, in Get() argument 178 Get(const void* slot, MemberStorage value, WriteBarrier::Params& params, HeapHandleCallback callback) Get() argument 185 Get(const void* value, WriteBarrier::Params& params, HeapHandleCallback callback) Get() argument 195 GetNoSlot(const void* value, WriteBarrier::Params& params, HeapHandleCallback) GetNoSlot() argument 312 Get(const void* slot, const void* value, WriteBarrier::Params& params, HeapHandleCallback callback) Get() argument 319 Get(const void* slot, RawPointer value, WriteBarrier::Params& params, HeapHandleCallback callback) Get() argument 327 Get(const void* value, WriteBarrier::Params& params, HeapHandleCallback callback) Get() argument 388 GetWriteBarrierType( const void* slot, const void* value, WriteBarrier::Params& params) GetWriteBarrierType() argument 396 GetWriteBarrierType( const void* slot, MemberStorage value, WriteBarrier::Params& params) GetWriteBarrierType() argument 412 GetWriteBarrierType( const void* value, WriteBarrier::Params& params) GetWriteBarrierType() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_asn.c | 133 OSSL_CMP_ITAV *OSSL_CMP_ITAV_create(ASN1_OBJECT *type, ASN1_TYPE *value) 139 OSSL_CMP_ITAV_set0(itav, type, value); 144 ASN1_TYPE *value) 147 itav->infoValue.other = value; 252 ASN1_EXP(OSSL_CMP_CERTORENCCERT, value.certificate, X509, 0), 253 ASN1_EXP(OSSL_CMP_CERTORENCCERT, value.encryptedCert, 388 ASN1_EXP(OSSL_CMP_PKIBODY, value.ir, OSSL_CRMF_MSGS, 0), 389 ASN1_EXP(OSSL_CMP_PKIBODY, value.ip, OSSL_CMP_CERTREPMESSAGE, 1), 390 ASN1_EXP(OSSL_CMP_PKIBODY, value.cr, OSSL_CRMF_MSGS, 2), 391 ASN1_EXP(OSSL_CMP_PKIBODY, value [all...] |
/third_party/python/Lib/http/ |
H A D | cookies.py | 104 Each dictionary element has a 'value' attribute, which gives you 105 back the value associated with the key. 109 >>> C["twix"].value 114 the value to a string, when the values are set dictionary-style. 119 >>> C["number"].value 121 >>> C["string"].value 255 """A class to hold ONE (key, value) pair. 258 used to keep the attributes associated with the appropriate key,value pair. 260 the network representation of the value. 302 def value(sel member in Morsel [all...] |
/third_party/openssl/crypto/cmp/ |
H A D | cmp_asn.c | 133 OSSL_CMP_ITAV *OSSL_CMP_ITAV_create(ASN1_OBJECT *type, ASN1_TYPE *value) 139 OSSL_CMP_ITAV_set0(itav, type, value); 144 ASN1_TYPE *value) 147 itav->infoValue.other = value; 252 ASN1_EXP(OSSL_CMP_CERTORENCCERT, value.certificate, X509, 0), 253 ASN1_EXP(OSSL_CMP_CERTORENCCERT, value.encryptedCert, 388 ASN1_EXP(OSSL_CMP_PKIBODY, value.ir, OSSL_CRMF_MSGS, 0), 389 ASN1_EXP(OSSL_CMP_PKIBODY, value.ip, OSSL_CMP_CERTREPMESSAGE, 1), 390 ASN1_EXP(OSSL_CMP_PKIBODY, value.cr, OSSL_CRMF_MSGS, 2), 391 ASN1_EXP(OSSL_CMP_PKIBODY, value [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | GPBUtil.php | 59 public static function divideInt64ToInt32($value, &$high, &$low, $trim = false) 61 $isNeg = (bccomp($value, 0) < 0); 63 $value = bcsub(0, $value); variable 66 $high = bcdiv($value, 4294967296); 67 $low = bcmod($value, 4294967296); 208 foreach ($var as $value) { 209 $tmp[] = $value; 234 foreach ($var as $key => $value) { 235 $tmp[$key] = $value; 452 $value = new \\Google\\Protobuf\\Timestamp(); global() variable [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/ |
H A D | image_pixel_map_napi.cpp | 21 extern "C" int32_t OHOS_MEDIA_GetImageInfo(napi_env env, napi_value value, OhosPixelMapInfo *info); 22 extern "C" int32_t OHOS_MEDIA_AccessPixels(napi_env env, napi_value value, uint8_t** addrPtr); 23 extern "C" int32_t OHOS_MEDIA_UnAccessPixels(napi_env env, napi_value value); 25 extern "C" __attribute__((visibility("default"))) int32_t OH_GetImageInfo(napi_env env, napi_value value, in OH_GetImageInfo() argument 28 int32_t ret = OHOS_MEDIA_GetImageInfo(env, value, info); in OH_GetImageInfo() 36 extern "C" __attribute__((visibility("default"))) int32_t OH_AccessPixels(napi_env env, napi_value value, in OH_AccessPixels() argument 39 int32_t ret = OHOS_MEDIA_AccessPixels(env, value, reinterpret_cast<uint8_t**>(addrPtr)); in OH_AccessPixels() 47 extern "C" __attribute__((visibility("default"))) int32_t OH_UnAccessPixels(napi_env env, napi_value value) in OH_UnAccessPixels() argument 49 int32_t ret = OHOS_MEDIA_UnAccessPixels(env, value); in OH_UnAccessPixels()
|
/third_party/ltp/testcases/kernel/syscalls/setitimer/ |
H A D | setitimer02.c | 23 static struct itimerval *value, *ovalue; variable 34 TST_EXP_FAIL(sys_setitimer(ITIMER_REAL, value, (void *)-1), EFAULT); in verify_setitimer() 37 TST_EXP_FAIL(sys_setitimer(ITIMER_VIRTUAL, value, (void *)-1), EFAULT); in verify_setitimer() 40 TST_EXP_FAIL(sys_setitimer(-ITIMER_PROF, value, ovalue), EINVAL); in verify_setitimer() 47 value->it_value.tv_sec = 30; in setup() 48 value->it_value.tv_usec = 0; in setup() 49 value->it_interval.tv_sec = 0; in setup() 50 value->it_interval.tv_usec = 0; in setup() 58 {&value, .size = sizeof(struct itimerval)},
|
/third_party/typescript/tests/baselines/reference/ |
H A D | typePartameterConstraintInstantiatedWithDefaultWhenCheckingDefault.js | 4 set(value: V): T; 10 constructor(value: V) { 11 this.item = value; 13 public set(value: V): Identity<V> { 14 return new Identity<V>(value); 31 function Identity(value) {
32 this.item = value;
34 Identity.prototype.set = function (value) {
35 return new Identity(value);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract_model_ng.h | 201 void SetPadding(const CalcDimension& value) override 203 if (value.Unit() == DimensionUnit::CALC) { 206 NG::CalcLength(value.IsNonNegative() ? value.CalcValue() : CalcDimension().CalcValue())); 209 ViewAbstract::SetPadding(NG::CalcLength(value.IsNonNegative() ? value : CalcDimension())); 230 void SetSafeAreaPadding(const CalcDimension& value) override 232 if (value.Unit() == DimensionUnit::CALC) { 233 ViewAbstract::SetSafeAreaPadding(NG::CalcLength(value.CalcValue())); 236 ViewAbstract::SetSafeAreaPadding(NG::CalcLength(value 1470 SetKeyboardShortcut(FrameNode* frameNode, const std::string& value, const std::vector<ModifierKey>& keys, std::function<void()>&& onKeyboardShortcutAction) SetKeyboardShortcut() argument [all...] |
/third_party/python/Lib/ |
H A D | ast.py | 73 if not isinstance(node, Constant) or type(node.value) not in (int, float, complex): 75 return node.value 86 return node.value 140 value = getattr(node, name) 144 if value is None and getattr(cls, name, ...) is None: 147 value, simple = _format(value, level) 150 args.append('%s=%s' % (name, value)) 152 args.append(value) 156 value [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_text_component.h | 34 void SetSelected(uint32_t value) in SetSelected() argument 36 selectedIndex_ = value; in SetSelected() 44 void SetRange(const std::vector<std::string>& value) in SetRange() argument 46 if (value.empty()) { in SetRange() 47 LOGE("input value of range is empty."); in SetRange() 50 range_ = value; in SetRange() 54 void SetPrefix(const std::string& value) in SetPrefix() argument 62 column->SetPrefix(value); in SetPrefix() 65 void SetSuffix(const std::string& value) in SetSuffix() argument 73 column->SetSuffix(value); in SetSuffix() 76 SetDefaultPickerItemHeight(const Dimension& value) SetDefaultPickerItemHeight() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/ |
H A D | flex_model_ng.h | 34 void SetWrapMainAlignment(WrapAlignment value) override; 37 void SetWrapCrossAlignment(WrapAlignment value) override; 39 void SetAlignItems(int32_t value) override; 40 void SetWrapAlignment(WrapAlignment value) override; 49 void SetJustifyContent(int32_t value) override; 51 void SetAlignContent(int32_t value) override; 56 static void SetFlexDirection(FrameNode* frameNode, FlexDirection value); 57 static void SetFlexWrapDirection(FrameNode* frameNode, WrapDirection value); 58 static void SetFlexJustifyContent(FrameNode* frameNode, int32_t value); 59 static void SetFlexAlignItems(FrameNode* frameNode, int32_t value); [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/ |
H A D | cj_environment.cpp | 28 NativeOptionBool result {.hasValue = false, .value = false }; in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled() 42 result.value = val.c_str(); in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled() 50 .value = static_cast<int32_t>(SystemProperties::GetColorMode()) in FfiOHOSAceFrameworkEnvironmentGetColorMode() 57 NativeOptionFloat32 result {.hasValue = false, .value = 0.0}; in FfiOHOSAceFrameworkEnvironmentGetFontScale() 66 result.value = context->GetFontScale(); in FfiOHOSAceFrameworkEnvironmentGetFontScale() 74 .value = SystemProperties::GetFontWeightScale() in FfiOHOSAceFrameworkEnvironmentGetFontWeightScale() 84 .value = isRTL ? 0 : 1 in FfiOHOSAceFrameworkEnvironmentGetLayoutDirection() 91 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode() 100 result.value in FfiOHOSAceFrameworkEnvironmentGetLanguageCode() [all...] |
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | modify_time_cursor.cpp | 39 int ModifyTimeCursor::GetText(int32_t columnIndex, char *value, int length) in GetText() argument 41 if (value == nullptr || length <= 0) { in GetText() 50 errno_t result = strcpy_s(value, length, val->data()); in GetText() 57 return RelationalCursor::GetText(columnIndex, value, length); in GetText() 60 int ModifyTimeCursor::GetInt64(int32_t columnIndex, int64_t *value) in GetInt64() argument 62 if (value == nullptr) { in GetInt64() 71 *value = *val; in GetInt64() 74 return RelationalCursor::GetInt64(columnIndex, value); in GetInt64() 77 int ModifyTimeCursor::GetReal(int32_t columnIndex, double *value) in GetReal() argument 85 *value in GetReal() [all...] |
/foundation/filemanagement/app_file_service/utils/src/b_ohos/startup/ |
H A D | backup_para.cpp | 51 auto [getCfgParaValSucc, value] = GetConfigParameterValue(BConstants::BACKUP_DEBUG_OVERRIDE_EXTENSION_CONFIG_KEY, in GetBackupDebugOverrideExtensionConfig() 54 HILOGE("Fail to get configuration parameter value of backup.para, return default value"); in GetBackupDebugOverrideExtensionConfig() 57 return value == "true"; in GetBackupDebugOverrideExtensionConfig() 62 auto [getCfgParaValSucc, value] = in GetBackupOverrideBackupSARelease() 65 HILOGE("Fail to get configuration parameter value of backup.para, return default value"); in GetBackupOverrideBackupSARelease() 68 return value == "true"; in GetBackupOverrideBackupSARelease() 73 auto [getCfgParaValSucc, value] = in GetBackupOverrideIncrementalRestore() 76 HILOGE("Fail to get configuration parameter value o in GetBackupOverrideIncrementalRestore() [all...] |
/third_party/backends/backend/ |
H A D | ma1509.h | 78 int value = (v); \ 80 *(cp)++ = (value >> 0) & 0xff; \ 81 *(cp)++ = (value >> 8) & 0xff; \ 85 int value = (v); \ 87 *(cp)++ = (value >> 8) & 0xff; \ 88 *(cp)++ = (value >> 0) & 0xff; \ 92 long int value = (v); \ 94 *(cp)++ = (value >> 24) & 0xff; \ 95 *(cp)++ = (value >> 16) & 0xff; \ 96 *(cp)++ = (value >> [all...] |
/third_party/node/test/fixtures/0-dns/ |
H A D | create-cert.js | 38 value: [ [{type: id_at_commonName, value: issuer}] ] }, 40 { notBefore: { type: 'utcTime', value: now }, 41 notAfter: { type: 'utcTime', value: now + days * 86400000} }, 43 value: [ [{type: id_at_commonName, value: subject}] ] }, 52 { type: 'dNSName', value: 'good.example.org\u0000.evil.example.com' }, 53 { type: 'dNSName', value: 'just-another.example.com' }, 54 { type: 'iPAddress', value: Buffer.from('08080808', 'hex') }, 55 { type: 'iPAddress', value [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/ |
H A D | errors.js | 26 value: 'SystemError', 32 value: message, 38 value: context, 47 set (value) { 48 context.errno = value 57 set (value) { 58 context.syscall = value 70 set (value) { 71 context.path = value 83 set (value) { [all...] |
/third_party/libinput/test/ |
H A D | litest-device-uclogic-tablet.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_SYN, .code = SYN_REPORT, .value = 0 }, 42 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 43 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 44 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 45 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 50 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) in get_axis_default() argument 54 *value in get_axis_default() [all...] |
H A D | litest-device-apple-appletouch.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_SYN, .code = SYN_REPORT, .value = 0 }, 38 { .type = EV_ABS, .code = ABS_X, .value = LITEST_AUTO_ASSIGN }, 39 { .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN }, 40 { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, 41 { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, 46 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) in get_axis_default() argument 51 *value in get_axis_default() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | functional.cc | 70 size_t hash_combine(size_t seed, size_t value) { in hash_combine() argument 75 value *= c1; in hash_combine() 76 value = bits::RotateRight32(value, 15); in hash_combine() 77 value *= c2; in hash_combine() 79 seed ^= value; in hash_combine() 86 value *= m; in hash_combine() 87 value ^= value >> r; in hash_combine() 88 value * in hash_combine() [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | address-map.h | 24 inline void Set(Type value, uint32_t index) { in Set() argument 25 uintptr_t key = Key(value); in Set() 26 LookupOrInsert(key, Hash(key))->value = index; in Set() 29 inline Maybe<uint32_t> Get(Type value) const { in Get() 30 uintptr_t key = Key(value); in Get() 33 return Just(entry->value); in Get() 37 static inline uintptr_t Key(Type value); 43 inline uintptr_t PointerToIndexHashMap<Address>::Key(Address value) { in Key() argument 44 return static_cast<uintptr_t>(value); in Key() 48 inline uintptr_t PointerToIndexHashMap<HeapObject>::Key(HeapObject value) { in Key() argument [all...] |
/third_party/python/Tools/freeze/ |
H A D | parsesetup.py | 29 (name, value) = matchobj.group(1, 2) 31 i = value.find('#') 33 value = value[:i] 34 value = value.strip() 35 variables[name] = value 70 (name, value) = matchobj.group(1, 2) 71 variables[name] = value.strip() 107 value [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | ast_dump.py | 34 value = getattr(node, name) 38 if value is None and getattr(cls, name, ...) is None: 41 value, simple = _format(value, level) 44 args.append("%s=%s" % (name, value)) 46 args.append(value) 50 value = getattr(node, name) 53 if value is None and getattr(cls, name, ...) is None: 55 value, simple = _format(value, leve [all...] |