Home
last modified time | relevance | path

Searched +defs:expected +defs:value (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/third_party/node/test/fixtures/wpt/encoding/streams/
Dencode-bad-chunks.any.js29 value: undefined, property
30 expected: 'undefined' property
34 value: null, property
35 expected: 'null' property
39 value: 3.14, property
40 expected: '3.14' property
44 value: {}, property
45 expected: '[object Object]' property
49 value: ['hi'], property
50 expected: 'hi' property
Ddecode-non-utf8.any.js12 value: [108, 52], property
13 expected: "\u{6c34}", property
18 value: [52, 108], property
19 expected: "\u{6c34}", property
24 value: [144, 133], property
25 expected: "\u{6c34}", property
30 value: [65, 66, 67, 0x1B, 65, 66, 67], property
31 expected: "ABC\u{fffd}ABC", property
36 value: [100, 240, 114], property
37 expected: "d\u{0175}r", property
/third_party/PyYAML/tests/lib/
Dtest_schema.py6 def check_bool(value, expected): argument
15 def check_int(value, expected): argument
22 def check_float(value, expected): argument
39 def check_str(value, expected): argument
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dlog_severity_test.cc38 std::string StreamHelper(absl::LogSeverity value) { in StreamHelper()
66 absl::LogSeverity value; in TEST_P() local
77 const auto expected = static_cast<absl::LogSeverity>(GetParam()); in TEST_P() local
79 absl::LogSeverity value; in TEST_P() local
102 const absl::LogSeverity expected = std::get<1>(GetParam()); in TEST_P() local
103 absl::LogSeverity value; in TEST_P() local
118 const auto expected = static_cast<absl::LogSeverity>(std::get<1>(GetParam())); in TEST_P() local
119 absl::LogSeverity value; in TEST_P() local
151 const absl::LogSeverity expected = std::get<1>(GetParam()); in TEST_P() local
152 absl::LogSeverity value; in TEST_P() local
[all …]
/third_party/cJSON/tests/json-patch-tests/
Dtests.json5 "expected": {} }, object
10 "expected": {"foo": 1} }, object
15 "expected": {"bar":2, "foo": 1} }, object
20 "expected": [{"bar":2, "foo": 1}] }, array
25 "expected": {"foo":{"bar":2, "foo": 1}} }, object
29 "patch": [{"op": "add", "path": "/foo", "value":1}], number
30 "expected": {"foo": 1} }, object
34 "patch": [{"op": "add", "path": "/0", "value": "foo"}], string
35 "expected": ["foo"] }, array
40 "expected": ["foo"] }, array
[all …]
Dspec_tests.json5 "patch": [ {"op": "add", "path": "/a/b", "value": 1} ], number
16 { "op": "add", "path": "/baz", "value": "qux" } string
18 "expected": { object
30 { "op": "add", "path": "/foo/1", "value": "qux" } string
32 "expected": { object
46 "expected": { object
59 "expected": { object
71 { "op": "replace", "path": "/baz", "value": "boo" } string
73 "expected": { object
93 "expected": { object
[all …]
Dcjson-utils-tests.json5 "patch": [{ "op": "add", "path": "/baz", "value": "qux" }], string
6 "expected": {"baz": "qux", "foo": "bar"} object
11 "patch": [{ "op": "add", "path": "/foo/1", "value": "qux" }], string
12 "expected": {"foo": [ "bar", "qux", "baz" ] } object
18 "expected": {"foo": "bar" } object
24 "expected": {"foo": [ "bar", "baz" ] } object
29 "patch": [{ "op": "replace", "path": "/baz", "value": "boo" }], string
30 "expected": {"baz": "boo","foo": "bar"} object
36 "expected": {"foo": {"bar": "baz"},"qux": {"corge": "grault","thud": "fred"}} object
42 "expected": { "foo": [ "all", "cows", "eat", "grass" ] } object
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsStateQueryUtil.cpp277 const glw::GLboolean value = gl.glIsEnabled(target); in queryState() local
291 StateQueryMemoryWriteGuard<glw::GLboolean> value; in queryState() local
308 StateQueryMemoryWriteGuard<glw::GLint> value; in queryState() local
323 StateQueryMemoryWriteGuard<glw::GLint64> value; in queryState() local
338 StateQueryMemoryWriteGuard<glw::GLfloat> value; in queryState() local
363 StateQueryMemoryWriteGuard<glw::GLboolean[4]> value; in queryIndexedState() local
389 StateQueryMemoryWriteGuard<glw::GLint[4]> value; in queryIndexedState() local
404 StateQueryMemoryWriteGuard<glw::GLint64[4]> value; in queryIndexedState() local
419 const glw::GLboolean value = gl.glIsEnabledi(target, index); in queryIndexedState() local
433 StateQueryMemoryWriteGuard<glw::GLboolean> value; in queryIndexedState() local
[all …]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
Dchecks.h74 const char* expected_source, int expected, in CheckEqualsHelper()
75 const char* value_source, int value) { in CheckEqualsHelper()
88 int64_t expected, in CheckEqualsHelper()
90 int64_t value) { in CheckEqualsHelper()
113 int value) { in CheckNonEqualsHelper()
126 const char* expected, in CheckEqualsHelper()
128 const char* value) { in CheckEqualsHelper()
142 const char* expected, in CheckNonEqualsHelper()
144 const char* value) { in CheckNonEqualsHelper()
158 const void* expected, in CheckEqualsHelper()
[all …]
Dcctest.h87 T1 expected, in CheckEqualsHelper()
89 T2 value) { in CheckEqualsHelper()
107 const char* expected, in CheckEqualsHelper()
109 const char* value) { in CheckEqualsHelper()
127 const char* expected, in CheckEqualsHelper()
129 char* value) { in CheckEqualsHelper()
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
Dv8_foozzie_harness_adjust.js22 prettyPrinted = function prettyPrinted(value, depth=3) { argument
57 assertSame = function assertSame(expected, found, name_opt) { argument
61 assertNotSame = function assertNotSame(expected, found, name_opt) { argument
65 assertEquals = function assertEquals(expected, found, name_opt) { argument
69 assertNotEquals = function assertNotEquals(expected, found, name_opt) { argument
73 assertNull = function assertNull(value, name_opt) { argument
77 assertNotNull = function assertNotNull(value, name_opt) { argument
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/resources/
Ddifferential_fuzz_v8.js13 assertSame = (expected, found, name_opt) => { __prettyPrint(found); }; argument
14 assertNotSame = (expected, found, name_opt) => { __prettyPrint(found); }; argument
15 assertEquals = (expected, found, name_opt) => { __prettyPrint(found); }; argument
16 assertNotEquals = (expected, found, name_opt) => { __prettyPrint(found); }; argument
17 assertNull = (value, name_opt) => { __prettyPrint(value); }; argument
18 assertNotNull = (value, name_opt) => { __prettyPrint(value); }; argument
/third_party/node/deps/histogram/src/
Dhdr_atomic.h23 static void hdr_atomic_store_pointer(void** pointer, void* value) in hdr_atomic_store_pointer()
35 static void __inline hdr_atomic_store_64(int64_t* field, int64_t value) in hdr_atomic_store_64()
41 static int64_t __inline hdr_atomic_exchange_64(volatile int64_t* field, int64_t value) in hdr_atomic_exchange_64()
59 static int64_t __inline hdr_atomic_add_fetch_64(volatile int64_t* field, int64_t value) in hdr_atomic_add_fetch_64()
77 static bool __inline hdr_atomic_compare_exchange_64(volatile int64_t* field, int64_t* expected, int… in hdr_atomic_compare_exchange_64()
89 #define hdr_atomic_add_fetch_64(field, value) __atomic_add_fetch(field, value, __ATOMIC_SEQ_CST) argument
90 #define hdr_atomic_compare_exchange_64(field, expected, desired) __atomic_compare_exchange_n(field,… argument
104 static inline void hdr_atomic_store_pointer(void** pointer, void* value) in hdr_atomic_store_pointer()
116 static inline void hdr_atomic_store_64(int64_t* field, int64_t value) in hdr_atomic_store_64()
121 static inline int64_t hdr_atomic_exchange_64(volatile int64_t* field, int64_t value) in hdr_atomic_exchange_64()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_data_test.cpp3 uint64_t ConvertDoubleToBiased(const double& value) in ConvertDoubleToBiased()
15 bool DoubleUlpCmp(double expected, double actual, uint64_t ulp) in DoubleUlpCmp()
26 uint32_t ConvertFloatToBiased(const float& value) in ConvertFloatToBiased()
37 bool FloatUlpCmp(float expected, float actual, uint32_t ulp) in FloatUlpCmp()
Dmath_data_test.h10 double expected; member
15 float expected; member
20 int expected; member
25 int expected; member
30 long expected; member
35 long expected; member
40 long long expected; member
45 long long expected; member
51 double expected; member
57 float expected; member
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fApiCase.cpp65 void ApiCase::expectError (deUint32 expected) in expectError()
87 void ApiCase::checkBooleans (deUint8 value, deUint8 expected) in checkBooleans()
92 void ApiCase::checkBooleans (deInt32 value, deUint8 expected) in checkBooleans()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fApiCase.cpp67 void ApiCase::expectError (deUint32 expected) in expectError()
89 void ApiCase::checkBooleans (deUint8 value, deUint8 expected) in checkBooleans()
94 void ApiCase::checkBooleans (deInt32 value, deUint8 expected) in checkBooleans()
/third_party/ffmpeg/libavutil/tests/
Davstring.c72 #define TEST_APPEND_PATH_COMPONENT(path, component, expected) \ in main() argument
86 #define TEST_STRNSTR(haystack, needle, hay_length, expected) \ in main() argument
97 #define TEST_STRIREPLACE(haystack, needle, expected) \ in main() argument
115 #define TEST_D2STR(value, expected) \ in main() argument
/third_party/node/test/parallel/
Dtest-os.js30 number: (value, key) => { argument
34 string: (value) => { assert.strictEqual(typeof value, 'string'); }, argument
35 array: (value) => { assert.ok(Array.isArray(value)); }, argument
36 object: (value) => { argument
50 const expected = `${process.env.SystemRoot || process.env.windir}\\temp`; constant
147 const expected = [{ variable
163 const expected = [{ variable
Dtest-parse-args.mjs8 const expected = { values: { __proto__: null, f: true }, positionals: [] }; variable
15 const expected = { values: { __proto__: null, f: true }, positionals: [ 'bar' ] }; variable
23 const expected = { values: { __proto__: null, f: 'bar' }, positionals: [] }; variable
31 const expected = { values: { __proto__: null, foo: true }, positionals: [] }; variable
40 const expected = { values: { __proto__: null, foo: 'bar' }, positionals: [] }; variable
48 const expected = { values: { __proto__: null, f: true }, positionals: [] }; variable
56 const expected = { values: { __proto__: null, r: true, f: true }, positionals: [] }; variable
64 const expected = { values: { __proto__: null, r: true, f: true }, positionals: ['foo'] }; variable
73 const expected = { values: { __proto__: null, r: true, v: true, f: 'foo' }, positionals: [] }; variable
81 const expected = { values: { __proto__: null, r: true, f: true, foo: 'foo' }, positionals: [] }; variable
[all …]
/third_party/unity/test/tests/
Dtest_unity_parameterized.c130 static const char * const expected[] = in test_StringsArePreserved() local
155 static const char expected[] = in test_CharsArePreserved() local
174 void test_SingleRange(unsigned value) in test_SingleRange()
187 void test_SingleExclusiveRange(unsigned value) in test_SingleExclusiveRange()
230 void test_SingleMatix(unsigned value) in test_SingleMatix()
239 static const unsigned expected[] = in test_TwoMatrices() local
254 static const char* expected[] = in test_StringsAndNumbersMatrices() local
/third_party/musl/src/hook/linux/
Dmusl_fdtrack.c42 bool fdtrack_cas_hook(fdtrack_hook* expected, fdtrack_hook value) in fdtrack_cas_hook()
56 bool check_open_func(const char*expected, const char* key) in check_open_func()
59 const char *value = CachedParameterGet(handle); in check_open_func() local
/third_party/python/Lib/test/
Dtest_tcl.py278 def check(expr, expected): argument
312 def check(expr, expected): argument
343 def check(expr, expected): argument
374 def check(expr, expected): argument
412 def check(expr, expected): argument
441 def passValue(value): argument
496 def check(value, expected=None, *, eq=self.assertEqual): argument
506 def float_eq(actual, expected): argument
631 def check(value): argument
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs255 public void DoubleRepresentations(double value, string expectedValueText) in DoubleRepresentations()
333 public void ToJsonName(string original, string expected) in ToJsonName()
436 public void TimestampStandalone(string expected, int nanos) in TimestampStandalone()
493 public void DurationStandalone(long seconds, int nanoseconds, string expected) in DurationStandalone()
628 public void Wrappers_Standalone(System.Type wrapperType, object value, string expectedJson) in Wrappers_Standalone()
646 public void WriteValue_Constant(object value, string expectedJson) in WriteValue_Constant()
679 private static void AssertWriteValue(object value, string expectedJson) in AssertWriteValue()
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.c28 check_int (const char *expr, int computed, int expected) in check_int()
40 double value; member
46 check_double (const char *expr, double computed, double expected) in check_double()

12345678910>>...16