/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/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_transaction_test.cpp | 401 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); in HWTEST_F() local 402 EXPECT_TRUE(DistributedTestTools::IsValueEquals(value, VALUE_1)); in HWTEST_F() 420 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); in HWTEST_F() local 421 ASSERT_TRUE(DistributedTestTools::IsValueEquals(value, VALUE_1)); in HWTEST_F() 440 value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); in HWTEST_F() 441 ASSERT_TRUE(DistributedTestTools::IsValueEquals(value, VALUE_2)); in HWTEST_F() 459 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); in HWTEST_F() local 460 ASSERT_TRUE(DistributedTestTools::IsValueEquals(value, VALUE_1)); in HWTEST_F() 479 value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); in HWTEST_F() 480 EXPECT_TRUE(value in HWTEST_F() 598 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); HWTEST_F() local 704 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); HWTEST_F() local 774 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); HWTEST_F() local 987 Value value = DistributedTestTools::Get(*delegate, KEY_1); HWTEST_F() local 1028 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); HWTEST_F() local 1103 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); HWTEST_F() local 1242 Value value = DistributedTestTools::Get(*g_transactionDelegate, entry1.key); HWTEST_F() local 1654 Value value = DistributedTestTools::Get(*g_transactionDelegate, KEY_1); HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_multi_ver_p2p_sync_test.cpp | 96 int GetDataFromConnection(IKvDBConnection *conn, const Key &key, Value &value) in GetDataFromConnection() argument 103 errCode = snapshot->Get(key, value); in GetDataFromConnection() 212 static DBStatus GetData(KvStoreDelegate *kvStore, const Key &key, Value &value) in GetData() argument 224 snapshotTmp->Get(key, [&statusTmp, &value](DBStatus status, const Value &outValue) { in GetData() 226 value = outValue; in GetData() 229 LOGD("[DistributeddbMultiVerP2PSyncTes] GetData key %c, value = %c", key[0], value[0]); in GetData() 287 Value value; in HWTEST_F() local 288 EXPECT_EQ(GetData(g_kvDelegatePtr, DistributedDBUnitTest::KEY_1, value), E_OK); in HWTEST_F() 289 EXPECT_EQ(value, DistributedDBUnitTes in HWTEST_F() 349 Value value; HWTEST_F() local 410 Value value; HWTEST_F() local 508 Value value; HWTEST_F() local 553 Value value; HWTEST_F() local 601 Value value; HWTEST_F() local 1207 Value value; HWTEST_F() local 1255 Value value; HWTEST_F() local 1306 Value value; HWTEST_F() local 1390 Value value; HWTEST_F() local 1458 Value value; HWTEST_F() local 1583 Value value; HWTEST_F() local 1643 Value value; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | audio_topology.c | 193 uinfo->value.integer.min = le32_to_cpu(info->value.integer.min); in gbcodec_mixer_ctl_info() 194 uinfo->value.integer.max = le32_to_cpu(info->value.integer.max); in gbcodec_mixer_ctl_info() 197 max = le32_to_cpu(info->value.enumerated.items); in gbcodec_mixer_ctl_info() 198 uinfo->value.enumerated.items = max; in gbcodec_mixer_ctl_info() 199 if (uinfo->value.enumerated.item > max - 1) in gbcodec_mixer_ctl_info() 200 uinfo->value.enumerated.item = max - 1; in gbcodec_mixer_ctl_info() 205 uinfo->value.enumerated.item); in gbcodec_mixer_ctl_info() 206 strlcpy(uinfo->value in gbcodec_mixer_ctl_info() [all...] |
/third_party/node/deps/ada/ |
H A D | ada.h | 1309 * expect when a value is omitted. It also computes 1354 * variable is exposed (since its value will not depend on the compiler). 1914 static_assert(!std::is_same<E, void>::value, "E must not be void"); 1922 E, Args &&...>::value>::type * = nullptr> 1928 E, std::initializer_list<U> &, Args &&...>::value>::type * = nullptr> 1932 constexpr const E &value() const & { return m_val; } in value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::unexpected 1933 TL_EXPECTED_11_CONSTEXPR E &value() & { return m_val; } in value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::unexpected 1934 TL_EXPECTED_11_CONSTEXPR E &&value() && { return std::move(m_val); } in value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::unexpected 1935 constexpr const E &&value() const && { return std::move(m_val); } in value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::unexpected 1948 return lhs.value() in operator ==() 3397 noexcept( std::is_nothrow_constructible<E, G &&>::value) noexcept() argument 3406 noexcept( std::is_nothrow_constructible<E, G &&>::value) noexcept() argument 3814 TL_EXPECTED_11_CONSTEXPR const U &value() const & { value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::expected 3821 TL_EXPECTED_11_CONSTEXPR U &value() & { value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::expected 3828 TL_EXPECTED_11_CONSTEXPR const U &&value() const && { value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::expected 3835 TL_EXPECTED_11_CONSTEXPR U &&value() && { value() function in ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::ada::scheme::ada::tl::expected 6302 std::string value = helpers::concat(":", std::to_string(input)); update_base_port() local 6920 append(const std::string_view key, const std::string_view value) append() argument 6972 auto value = ada::unicode::percent_encode(params[i].second, character_set); to_string() local 6988 set(const std::string_view key, const std::string_view value) set() argument 7010 remove(const std::string_view key, const std::string_view value) remove() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/common/ime/ |
H A D | text_input_type.cpp | 20 TextInputType CastToTextInputType(int32_t value) in CastToTextInputType() argument 22 if (value < static_cast<int32_t>(TextInputType::BEGIN) || value > static_cast<int32_t>(TextInputType::END)) { in CastToTextInputType() 25 if (value == static_cast<int32_t>(TextInputType::JS_ENUM_URL)) { in CastToTextInputType() 28 return static_cast<TextInputType>(value); in CastToTextInputType()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | OutputInt.java | 21 * The value field. 27 public int value; field in OutputInt 30 * Constructs an <code>OutputInt</code> with value 0. 40 * Constructs an <code>OutputInt</code> with the given value. 42 * @param value the initial value 47 public OutputInt(int value) { in OutputInt() argument 48 this.value = value; in OutputInt() 59 return Integer.toString(value); in toString() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | OutputInt.java | 23 * The value field. 29 public int value; field in OutputInt 32 * Constructs an <code>OutputInt</code> with value 0. 42 * Constructs an <code>OutputInt</code> with the given value. 44 * @param value the initial value 49 public OutputInt(int value) { in OutputInt() argument 50 this.value = value; in OutputInt() 61 return Integer.toString(value); in toString() [all...] |