/third_party/node/test/fixtures/wpt/user-timing/resources/ |
H A D | webperftestharness.js | 63 function test_enum(parent_name, enum_name, value, properties) 68 msg = 'window.performance.' + parent_name + '.' + enum_name + ' = ' + value; 69 wp_test(function() { assert_equals(performanceNamespace[parent_name][enum_name], value, msg); }, msg, properties); 111 function test_greater_than(value, greater_than, msg, properties) 113 wp_test(function () { assert_greater_than(value, greater_than, msg); }, msg, properties); 116 function test_greater_or_equals(value, greater_than, msg, properties) 118 wp_test(function () { assert_greater_than_equal(value, greater_than, msg); }, msg, properties); 121 function test_not_equals(value, notequals, msg, properties) 123 wp_test(function() { assert_not_equals(value, notequals, msg); }, msg, properties);
|
/third_party/ltp/testcases/kernel/syscalls/getxattr/ |
H A D | getxattr01.c | 32 * 2. Buffer size is smaller than attribute value size, 35 * 4. Verify the attribute got by getxattr(2) is same as the value we set 57 #define XATTR_TEST_VALUE "this is a test value" 69 char *value; member 77 .value = NULL, 81 { /* case 01, small value buffer */ 84 .value = NULL, 91 .value = NULL, 112 TEST(getxattr(tc[i].fname, tc[i].key, tc[i].value, in main() 131 if (memcmp(tc[i - 1].value, XATTR_TEST_VALU in main() [all...] |
/third_party/ltp/testcases/kernel/syscalls/setitimer/ |
H A D | setitimer01.c | 25 static struct itimerval *value, *ovalue; variable 53 value->it_value.tv_sec = sec; in set_setitimer_value() 54 value->it_value.tv_usec = usec; in set_setitimer_value() 55 value->it_interval.tv_sec = sec; in set_setitimer_value() 56 value->it_interval.tv_usec = usec; in set_setitimer_value() 81 TST_EXP_PASS(sys_setitimer(tc->which, value, NULL)); in verify_setitimer() 84 TST_EXP_PASS(sys_setitimer(tc->which, value, ovalue)); in verify_setitimer() 114 TST_EXP_PASS(sys_setitimer(tc->which, value, NULL)); in verify_setitimer() 145 * Use CLOCK_MONOTONIC_COARSE resolution for all timers, since its value is in setup() 168 {&value, [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_asn1.h | 78 u16_t value_len; /* encoded length of the value */ 85 err_t snmp_asn1_dec_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *value); 86 err_t snmp_asn1_dec_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, s32_t *value); 93 void snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed); 94 void snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed); 97 err_t snmp_asn1_enc_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, s32_t value); 98 err_t snmp_asn1_enc_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u32_t value); 102 err_t snmp_asn1_dec_u64t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u64_t *value); 103 void snmp_asn1_enc_u64t_cnt(u64_t value, u16_t *octets_needed); 104 err_t snmp_asn1_enc_u64t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u64_t value); [all...] |
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/ |
H A D | stress.c | 18 * sem_getvalue always returns the value of the semaphore at a given time 26 * The test fails if sem_getvalue gets a value different from 0 or 1. 113 int ret = 0, value; in main() local 177 ret = sem_getvalue(named, &value); in main() 180 UNRESOLVED(errno, "Failed to get sem value"); in main() 183 if ((value != INIT_VAL) && (value != INIT_VAL + 1)) { in main() 184 output("Got value %d, expected %d or %d only\n", in main() 185 value, INIT_VAL, INIT_VAL + 1); in main() 187 ("sem_getvalue returned an invalid value fo in main() [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | remembered-set.cc | 36 void* value = *reinterpret_cast<void**>(slot); in VisitRememberedSlots() local 38 if (value == kSentinelPointer || value == nullptr) continue; in VisitRememberedSlots() 43 BasePage::FromPayload(value)->ObjectHeaderFromInnerAddress(value); in VisitRememberedSlots() 47 mutator_marking_state.DynamicallyMarkAddress(static_cast<Address>(value)); in VisitRememberedSlots() 103 void* value = *reinterpret_cast<void**>(slot); in InvalidateRememberedSlotsInRange() 104 return begin <= value && value < end; in InvalidateRememberedSlotsInRange()
|
/third_party/rust/crates/bindgen/bindgen-integration/ |
H A D | build.rs | 42 fn str_macro(&self, name: &str, value: &[u8]) { in str_macro() 45 assert_eq!(value, b"string"); in str_macro() 54 value, b"Hello Preprocessor!", in str_macro() 55 "str_macro handle received unexpected value" in str_macro() 63 fn func_macro(&self, name: &str, value: &[&[u8]]) { in func_macro() 74 assert_eq!(value, &[b"-" as &[u8], b"TESTMACRO_INTEGER"]); in func_macro() 78 assert_eq!(value, &[] as &[&[u8]]); in func_macro() 83 value, in func_macro() 89 assert_eq!(value, &[b"b", b",", b"a"]); in func_macro() 94 value, in func_macro() [all...] |
/third_party/python/Lib/multiprocessing/dummy/ |
H A D | __init__.py | 88 for name, value in items: 90 temp.append('%s=%r' % (name, value)) 101 def __init__(self, typecode, value, lock=True): 103 self._value = value 106 def value(self): member in Value 109 @value.setter 110 def value(self, value): member in Value 111 self._value = value
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestLogParser.cpp | 90 const char* value = m_containerParser.getSessionInfoValue(); in parse() local 93 m_sessionInfo.releaseName = value; in parse() 95 m_sessionInfo.releaseId = value; in parse() 97 m_sessionInfo.targetName = value; in parse() 99 m_sessionInfo.candyTargetName = value; in parse() 101 m_sessionInfo.configName = value; in parse() 103 m_sessionInfo.resultName = value; in parse() 105 m_sessionInfo.timestamp = value; in parse() 107 m_sessionInfo.qpaCommandLineParameters = value; in parse()
|
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/ |
H A D | webgpu_absl_format.h | 35 AbslFormatConvert(const Color* value, 41 AbslFormatConvert(const Extent3D* value, 47 AbslFormatConvert(const Origin3D* value, 57 AbslFormatConvert(const DeviceBase* value, 63 AbslFormatConvert(const ApiObjectBase* value, 71 AbslFormatConvert(const TextureViewBase* value, 84 AbslFormatConvert(const {{as_cppType(type.name)}}* value, 100 AbslFormatConvert({{as_cppType(type.name)}} value, 111 AbslFormatConvert({{as_cppType(type.name)}} value,
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/ |
H A D | horizontal_header_table.h | 51 void SetAdvanceWidthMax(int32_t value); 53 void SetMinLeftSideBearing(int32_t value); 55 void SetMinRightSideBearing(int32_t value); 57 void SetXMaxExtent(int32_t value); 59 void SetCaretSlopeRise(int32_t value); 61 void SetCaretSlopeRun(int32_t value); 63 void SetCaretOffset(int32_t value); 65 void SetMetricDataFormat(int32_t value); 67 void SetNumberOfHMetrics(int32_t value);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | FormatVariadicDetails.h | 58 static bool const value = member in llvm::detail::has_FormatProvider 69 typename std::remove_reference<T>::type>::value> {}; 77 bool, !uses_format_member<T>::value && has_FormatProvider<T>::value> { 87 !uses_format_member<T>::value && 88 !uses_format_provider<T>::value> {}; 91 typename std::enable_if<uses_format_member<T>::value, T>::type 97 typename std::enable_if<uses_format_provider<T>::value, 104 typename std::enable_if<uses_missing_provider<T>::value,
|
/third_party/typescript/tests/baselines/reference/ |
H A D | typeArgumentInferenceWithObjectLiteral.js | 4 write(value: T); 11 // Calls below should infer string for T and then assign that type to the value parameter 14 write: value => s = value 17 write: value => s = value, 42 // Calls below should infer string for T and then assign that type to the value parameter
45 write: function (value) { return s = value; }
48 write: function (value) { retur [all...] |
/third_party/protobuf/objectivec/ |
H A D | GPBWrappers.pbobjc.h | 64 /** The double value. */ 65 @property(nonatomic, readwrite) double value; variable 82 /** The float value. */ 83 @property(nonatomic, readwrite) float value; variable 100 /** The int64 value. */ 101 @property(nonatomic, readwrite) int64_t value; variable 118 /** The uint64 value. */ 119 @property(nonatomic, readwrite) uint64_t value; variable 136 /** The int32 value. */ 137 @property(nonatomic, readwrite) int32_t value; variable 155 @property(nonatomic, readwrite) uint32_t value; global() variable 173 @property(nonatomic, readwrite) BOOL value; global() variable 191 @property(nonatomic, readwrite, copy, null_resettable) NSString *value; global() variable 209 @property(nonatomic, readwrite, copy, null_resettable) NSData *value; global() variable [all...] |
/third_party/skia/modules/svg/src/ |
H A D | SkSVGFeColorMatrix.cpp | 17 bool SkSVGFeColorMatrix::parseAndSetAttribute(const char* name, const char* value) { in parseAndSetAttribute() argument 18 return INHERITED::parseAndSetAttribute(name, value) || in parseAndSetAttribute() 20 SkSVGAttributeParser::parse<SkSVGFeColorMatrixType>("type", name, value)) || in parseAndSetAttribute() 22 SkSVGAttributeParser::parse<SkSVGFeColorMatrixValues>("values", name, value)); in parseAndSetAttribute() 101 SkSVGNumberType value; in parse() local 102 if (!this->parse(&value)) { in parse() 106 values->push_back(value); in parse() 108 if (!this->parse(&value) || values->count() >= 20) { in parse() 111 values->push_back(value); in parse()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.h | 27 const char *key, const char *value); 31 const dbus_bool_t value); 35 const dbus_int16_t value); 39 const dbus_uint16_t value); 43 const dbus_int32_t value); 47 const dbus_uint32_t value); 51 const char *value); 55 const char *value, 75 const u8 *value, 115 int type; /** the dbus type of the dict entry's value */ [all...] |
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgToken.hpp | 130 Token (float value); 131 Token (int value); 132 Token (bool value); 176 inline Token::Token (float value) in Token() argument 179 m_arg.floatValue = value; in Token() 182 inline Token::Token (int value) in Token() argument 185 m_arg.intValue = value; in Token() 188 inline Token::Token (bool value) in Token() argument 191 m_arg.boolValue = value; in Token()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_dict_helpers.h | 27 const char *key, const char *value); 31 const dbus_bool_t value); 35 const dbus_int16_t value); 39 const dbus_uint16_t value); 43 const dbus_int32_t value); 47 const dbus_uint32_t value); 51 const char *value); 55 const char *value, 75 const u8 *value, 115 int type; /** the dbus type of the dict entry's value */ [all...] |
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_data_cloud_sync.c | 59 NodeInfo *cacheInfo, char *fieldName, const char *value, size_t valueLength, const char *udid) in DBCipherInfoSyncToCache() 62 if (ConvertHexStringToBytes((unsigned char *)cacheInfo->cipherInfo.key, SESSION_KEY_LENGTH, value, in DBCipherInfoSyncToCache() 68 if (ConvertHexStringToBytes((unsigned char *)cacheInfo->cipherInfo.iv, BROADCAST_IV_LEN, value, in DBCipherInfoSyncToCache() 74 LnnSetRemoteBroadcastCipherInfo(value, udid); in DBCipherInfoSyncToCache() 85 static int32_t DBDeviceNameInfoSyncToCache(NodeInfo *cacheInfo, char *fieldName, const char *value, size_t valueLength) in DBDeviceNameInfoSyncToCache() argument 88 if (strcpy_s(cacheInfo->deviceInfo.deviceName, DEVICE_NAME_BUF_LEN, value) != EOK) { in DBDeviceNameInfoSyncToCache() 97 if (strcpy_s(cacheInfo->deviceInfo.unifiedName, DEVICE_NAME_BUF_LEN, value) != EOK) { in DBDeviceNameInfoSyncToCache() 102 if (strcpy_s(cacheInfo->deviceInfo.unifiedDefaultName, DEVICE_NAME_BUF_LEN, value) != EOK) { in DBDeviceNameInfoSyncToCache() 107 if (strcpy_s(cacheInfo->deviceInfo.nickName, DEVICE_NAME_BUF_LEN, value) != EOK) { in DBDeviceNameInfoSyncToCache() 118 static int32_t DBDeviceBasicInfoSyncToCache(NodeInfo *cacheInfo, char *fieldName, const char *value, size_ argument 58 DBCipherInfoSyncToCache( NodeInfo *cacheInfo, char *fieldName, const char *value, size_t valueLength, const char *udid) DBCipherInfoSyncToCache() argument 155 DBNumInfoSyncToCache(NodeInfo *cacheInfo, char *fieldName, const char *value) DBNumInfoSyncToCache() argument 185 DBConnectMacInfoSyncToCache(NodeInfo *cacheInfo, char *fieldName, const char *value, size_t valueLength) DBConnectMacInfoSyncToCache() argument 216 DBConnectInfoSyncToCache(NodeInfo *cacheInfo, char *fieldName, const char *value, size_t valueLength) DBConnectInfoSyncToCache() argument 309 DBDataChangeBatchSyncToCacheInternal( NodeInfo *cacheInfo, char *fieldName, const char *value, size_t valueLength, const char *udid) DBDataChangeBatchSyncToCacheInternal() argument 397 SplitString(char splitKey[SPLIT_KEY_NUM][SPLIT_MAX_LEN], char splitValue[SPLIT_VALUE_NUM][SPLIT_MAX_LEN], const char *key, const char *value, CloudSyncValue *parseValue) SplitString() argument 417 HandleDBAddChangeInternal(const char *key, const char *value, NodeInfo *cacheInfo) HandleDBAddChangeInternal() argument 523 UpdateInfoToLedger(NodeInfo *cacheInfo, char *deviceUdid, char *fieldName, char *value) UpdateInfoToLedger() argument 585 HandleDBUpdateChangeInternal(const char *key, const char *value) HandleDBUpdateChangeInternal() argument 637 HandleDBDeleteChangeInternal(const char *key, const char *value) HandleDBDeleteChangeInternal() argument 673 FreeKeyAndValue(const char **key, const char **value, int32_t keySize) FreeKeyAndValue() argument 691 LnnDBDataAddChangeSyncToCache(const char **key, const char **value, int32_t keySize) LnnDBDataAddChangeSyncToCache() argument 928 LnnDBDataChangeSyncToCacheInner(const char *key, const char *value) LnnDBDataChangeSyncToCacheInner() argument 967 LnnDBDataChangeSyncToCache(const char *key, const char *value, ChangeType changeType) LnnDBDataChangeSyncToCache() argument 997 LnnLedgerDataChangeSyncToDB(const char *key, const char *value, size_t valueLength) LnnLedgerDataChangeSyncToDB() argument [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir_constant_expression.cpp | 51 result += op0->value.f[c] * op1->value.f[c]; in dot_f() 63 result += op0->value.d[c] * op1->value.d[c]; in dot_d() 302 * The conversion for unpacked fixed-point value f to floating point is in unpack_snorm_1x8() 320 * The conversion for unpacked fixed-point value f to floating point is in unpack_snorm_1x16() 375 * The conversion for unpacked fixed-point value f to floating point is in unpack_unorm_1x8() 393 * The conversion for unpacked fixed-point value f to floating point is in unpack_unorm_1x16() 471 * Get the constant that is ultimately referenced by an r-value, in a constant 637 bitfield_extract_uint(uint32_t value, in argument 653 bitfield_extract_int(int32_t value, int offset, int bits) bitfield_extract_int() argument [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | map_field.h | 98 void SetInt64Value(int64 value) { in SetInt64Value() argument 100 val_.int64_value_ = value; in SetInt64Value() 102 void SetUInt64Value(uint64 value) { in SetUInt64Value() argument 104 val_.uint64_value_ = value; in SetUInt64Value() 106 void SetInt32Value(int32 value) { in SetInt32Value() argument 108 val_.int32_value_ = value; in SetInt32Value() 110 void SetUInt32Value(uint32 value) { in SetUInt32Value() argument 112 val_.uint32_value_ = value; in SetUInt32Value() 114 void SetBoolValue(bool value) { in SetBoolValue() argument 116 val_.bool_value_ = value; in SetBoolValue() 588 SetInt64Value(int64 value) SetInt64Value() argument 592 SetUInt64Value(uint64 value) SetUInt64Value() argument 596 SetInt32Value(int32 value) SetInt32Value() argument 600 SetUInt32Value(uint32 value) SetUInt32Value() argument 604 SetBoolValue(bool value) SetBoolValue() argument 609 SetEnumValue(int value) SetEnumValue() argument 613 SetStringValue(const std::string& value) SetStringValue() argument 617 SetFloatValue(float value) SetFloatValue() argument 621 SetDoubleValue(double value) SetDoubleValue() argument 814 auto value = map_key.GetInt64Value(); operator ()() local 818 auto value = map_key.GetInt32Value(); operator ()() local 822 auto value = map_key.GetUInt64Value(); operator ()() local 826 auto value = map_key.GetUInt32Value(); operator ()() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
H A D | flag.h | 78 // Flag value type operations, eg., parsing, copying, etc. are provided 97 // Forward declaration for Flag value specific operations. 101 // Allocate aligned memory for a flag value. 105 // Deletes memory interpreting obj as flag value type pointer. 109 // Copies src to dst interpreting as flag value type pointers. 113 // Construct a copy of flag value in a location pointed by dst 114 // based on src - pointer to the flag's value. 118 // Makes a copy of flag value pointed by obj. 129 // Returns string representing supplied value. 135 // Returns size of flag value typ in Unparse() 183 char value[N]; global() member 235 HelpArg(const FixedCharArray<N>& value) HelpArg() argument 343 std::atomic<int64_t> value; global() member 348 T value; global() variable 401 alignas(T) char value[sizeof(T)]; global() member 662 T value; Get() member [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 30 void (*setWidth)(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit, ArkUI_CharPtr calcValue);
32 void (*setHeight)(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit, ArkUI_CharPtr calcValue);
54 void (*setHitTestBehavior)(ArkUINodeHandle node, ArkUI_Uint32 value);
56 void (*setZIndex)(ArkUINodeHandle node, ArkUI_Int32 value);
63 ArkUINodeHandle node, ArkUI_Float32 value, const ArkUI_Float32* blurValues, ArkUI_Int32 blurValuesSize);
82 ArkUINodeHandle node, ArkUI_Float32 value, const ArkUI_Float32* blurValues, ArkUI_Int32 blurValuesSize);
169 void (*setDisplayPriority)(ArkUINodeHandle node, ArkUI_Float32 value);
183 void (*setVisibility)(ArkUINodeHandle node, ArkUI_Int32 value);
185 void (*setAccessibilityText)(ArkUINodeHandle node, ArkUI_CharPtr value);
187 void (*setAllowDrop)(ArkUINodeHandle node, ArkUI_CharPtr* value, ArkUI_Int3 [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | js_napi_common.cpp | 145 execute = [obj = this, value = errorVal, abilityType, abilityConnection] () { in SetJsDisConnectAbilityCallback() 147 *value = static_cast<int32_t>(NAPI_ERR_ACE_ABILITY); in SetJsDisConnectAbilityCallback() 152 *value = static_cast<int32_t>(NAPI_ERR_ABILITY_TYPE_INVALID); in SetJsDisConnectAbilityCallback() 155 *value = obj->ability_->DisconnectAbility(abilityConnection); in SetJsDisConnectAbilityCallback() 157 complete = [obj = this, value = errorVal] in SetJsDisConnectAbilityCallback() 159 if (*value != static_cast<int32_t>(NAPI_ERR_NO_ERROR)) { in SetJsDisConnectAbilityCallback() 160 task.Reject(env, CreateJsError(env, *value, "DisconnectAbility failed.")); in SetJsDisConnectAbilityCallback() 163 task.Resolve(env, CreateJsValue(env, *value)); in SetJsDisConnectAbilityCallback() 319 auto execute = [obj = this, dir = filesDir, abilityType, value = errorVal] () { in JsGetFilesDir() 321 *value in JsGetFilesDir() [all...] |
/third_party/python/Modules/ |
H A D | _tkinter.c | 493 unicodeFromTclObj(Tcl_Obj *value) in unicodeFromTclObj() argument 498 const Tcl_UniChar *u = Tcl_GetUnicodeFromObj(value, &len); in unicodeFromTclObj() 508 const char *s = Tcl_GetStringFromObj(value, &len); in unicodeFromTclObj() 751 Tcl_Obj *value; member 766 self->value = arg; in newPyTclObject() 775 Tcl_DecrRefCount(self->value); in PyTclObject_dealloc() 789 self->string = unicodeFromTclObj(self->value); in PyTclObject_string() 805 return unicodeFromTclObj(self->value); in PyTclObject_str() 815 self->value->typePtr->name, str); in PyTclObject_repr() 840 result = strcmp(Tcl_GetString(((PyTclObject *)self)->value), in PyTclObject_richcompare() 891 asBignumObj(PyObject *value) asBignumObj() argument 928 AsObj(PyObject *value) AsObj() argument 1065 fromBoolean(TkappObject *tkapp, Tcl_Obj *value) fromBoolean() argument 1074 fromWideIntObj(TkappObject *tkapp, Tcl_Obj *value) fromWideIntObj() argument 1089 fromBignumObj(TkappObject *tkapp, Tcl_Obj *value) fromBignumObj() argument 1137 FromObj(TkappObject *tkapp, Tcl_Obj *value) FromObj() argument 1335 Tcl_Obj *value = Tcl_GetObjResult(self->interp); Tkapp_ObjectResult() local 1901 Tcl_Obj *value; _tkinter_tkapp_getint() local [all...] |