Home
last modified time | relevance | path

Searched refs:original (Results 1 – 25 of 2468) sorted by relevance

12345678910>>...99

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRefCountedTests.cpp116 RCTest* original = new RCTest; in TEST() local
117 Ref<RCTest> test(original); in TEST()
120 EXPECT_EQ(test.Get(), original); in TEST()
121 EXPECT_EQ(test->GetThis(), original); in TEST()
135 RCTest* original = new RCTest(&deleted); in TEST() local
137 Ref<RCTest> source(original); in TEST()
138 EXPECT_EQ(original->GetRefCountForTesting(), 2u); in TEST()
141 EXPECT_EQ(original->GetRefCountForTesting(), 3u); in TEST()
143 original->Release(); in TEST()
144 EXPECT_EQ(original->GetRefCountForTesting(), 2u); in TEST()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DIntermNode_test.cpp79 void checkTypeEqualWithQualifiers(const TType &original, const TType &copy) in checkTypeEqualWithQualifiers() argument
81 ASSERT_EQ(original, copy); in checkTypeEqualWithQualifiers()
82 ASSERT_EQ(original.getPrecision(), copy.getPrecision()); in checkTypeEqualWithQualifiers()
83 ASSERT_EQ(original.getQualifier(), copy.getQualifier()); in checkTypeEqualWithQualifiers()
90 TIntermSymbol *original = aOriginal->getAsSymbolNode(); in checkSymbolCopy() local
92 ASSERT_NE(nullptr, original); in checkSymbolCopy()
93 ASSERT_NE(original, copy); in checkSymbolCopy()
94 ASSERT_EQ(&original->variable(), &copy->variable()); in checkSymbolCopy()
95 ASSERT_EQ(original->uniqueId(), copy->uniqueId()); in checkSymbolCopy()
96 ASSERT_EQ(original->getName(), copy->getName()); in checkSymbolCopy()
[all …]
/third_party/json/tests/src/
Dunit-merge_patch.cpp95 json original = R"({"a":"b"})"_json; variable
99 original.merge_patch(patch);
100 CHECK(original == result);
105 json original = R"({"a":"b"})"_json; variable
109 original.merge_patch(patch);
110 CHECK(original == result);
115 json original = R"({"a":"b"})"_json; variable
119 original.merge_patch(patch);
120 CHECK(original == result);
125 json original = R"({"a":"b","b":"c"})"_json; variable
[all …]
/third_party/rust/crates/serde/serde_derive/src/internals/
Dcase.rs141 for &(original, lower, upper, camel, snake, screaming, kebab, screaming_kebab) in &[ in rename_variants()
158 assert_eq!(None.apply_to_variant(original), original); in rename_variants()
159 assert_eq!(LowerCase.apply_to_variant(original), lower); in rename_variants()
160 assert_eq!(UpperCase.apply_to_variant(original), upper); in rename_variants()
161 assert_eq!(PascalCase.apply_to_variant(original), original); in rename_variants()
162 assert_eq!(CamelCase.apply_to_variant(original), camel); in rename_variants()
163 assert_eq!(SnakeCase.apply_to_variant(original), snake); in rename_variants()
164 assert_eq!(ScreamingSnakeCase.apply_to_variant(original), screaming); in rename_variants()
165 assert_eq!(KebabCase.apply_to_variant(original), kebab); in rename_variants()
167 ScreamingKebabCase.apply_to_variant(original), in rename_variants()
[all …]
Dcheck.rs83 cont.original, in check_getter()
91 cont.original, in check_getter()
124 field.original, in check_flatten_field()
130 field.original, in check_flatten_field()
160 variant.original, in check_identifier()
168 variant.original, in check_identifier()
177 variant.original, in check_identifier()
186 variant.original, in check_identifier()
201 variant.original, in check_identifier()
209 variant.original, in check_identifier()
[all …]
/third_party/protobuf/src/google/protobuf/stubs/
Dstatusor_test.cc92 StatusOr<int> original(kI); in TEST() local
93 StatusOr<int> copy(original); in TEST()
94 EXPECT_EQ(original.status(), copy.status()); in TEST()
95 EXPECT_EQ(original.ValueOrDie(), copy.ValueOrDie()); in TEST()
99 StatusOr<int> original(Status::CANCELLED); in TEST() local
100 StatusOr<int> copy(original); in TEST()
101 EXPECT_EQ(original.status(), copy.status()); in TEST()
106 StatusOr<int> original(kI); in TEST() local
107 StatusOr<double> copy(original); in TEST()
108 EXPECT_EQ(original.status(), copy.status()); in TEST()
[all …]
/third_party/node/lib/internal/test_runner/mock/
Dmock.js90 const { descriptor, object, original, methodName } = this.#restore;
98 this.#implementation = original;
161 original = function() {}, argument
162 implementation = original,
165 if (original !== null && typeof original === 'object') {
166 options = original;
167 original = function() {}; function
168 implementation = original;
171 implementation = original;
174 validateFunction(original, 'original');
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dimmediate_int_test.cpp104 const SpirvVector original = CompiledInstructions("%1 = OpTypeInt 8 1"); in TEST_F() local
105 EXPECT_EQ(original, CompiledInstructions("!0x00040015 1 8 1")); in TEST_F()
106 EXPECT_EQ(original, CompiledInstructions("!0x00040015 !1 8 1")); in TEST_F()
168 const SpirvVector original = in TEST_F() local
170 EXPECT_EQ(original, in TEST_F()
173 EXPECT_EQ(original, in TEST_F()
178 EXPECT_EQ(original, CompiledInstructions("!" + std::to_string(firstWord) + in TEST_F()
194 const SpirvVector original = CompiledInstructions("%a = OpTypeMatrix %b 7"); in TEST_F() local
195 EXPECT_EQ(original, CompiledInstructions("%a = OpTypeMatrix !2 !7")); in TEST_F()
196 EXPECT_EQ(original, CompiledInstructions("!0x00040018 %a !2 !7")); in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dimmediate_int_test.cpp104 const SpirvVector original = CompiledInstructions("%1 = OpTypeInt 8 1"); in TEST_F() local
105 EXPECT_EQ(original, CompiledInstructions("!0x00040015 1 8 1")); in TEST_F()
106 EXPECT_EQ(original, CompiledInstructions("!0x00040015 !1 8 1")); in TEST_F()
168 const SpirvVector original = in TEST_F() local
170 EXPECT_EQ(original, in TEST_F()
173 EXPECT_EQ(original, in TEST_F()
178 EXPECT_EQ(original, CompiledInstructions("!" + std::to_string(firstWord) + in TEST_F()
194 const SpirvVector original = CompiledInstructions("%a = OpTypeMatrix %b 7"); in TEST_F() local
195 EXPECT_EQ(original, CompiledInstructions("%a = OpTypeMatrix !2 !7")); in TEST_F()
196 EXPECT_EQ(original, CompiledInstructions("!0x00040018 %a !2 !7")); in TEST_F()
[all …]
/third_party/spirv-tools/test/
Dimmediate_int_test.cpp104 const SpirvVector original = CompiledInstructions("%1 = OpTypeInt 8 1"); in TEST_F() local
105 EXPECT_EQ(original, CompiledInstructions("!0x00040015 1 8 1")); in TEST_F()
106 EXPECT_EQ(original, CompiledInstructions("!0x00040015 !1 8 1")); in TEST_F()
168 const SpirvVector original = in TEST_F() local
170 EXPECT_EQ(original, in TEST_F()
173 EXPECT_EQ(original, in TEST_F()
178 EXPECT_EQ(original, CompiledInstructions("!" + std::to_string(firstWord) + in TEST_F()
194 const SpirvVector original = CompiledInstructions("%a = OpTypeMatrix %b 7"); in TEST_F() local
195 EXPECT_EQ(original, CompiledInstructions("%a = OpTypeMatrix !2 !7")); in TEST_F()
196 EXPECT_EQ(original, CompiledInstructions("!0x00040018 %a !2 !7")); in TEST_F()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dcore-error.c42 const char *original = NULL; in pa_cstrerror() local
53 original = strerror_r(errnum, errbuf, sizeof(errbuf)); in pa_cstrerror()
57 original = errbuf; in pa_cstrerror()
61 original = strerror(errnum); in pa_cstrerror()
65 if (!original || !strcasecmp(original, "Unknown error")) { in pa_cstrerror()
67 original = errbuf; in pa_cstrerror()
70 if (!(translated = pa_locale_to_utf8(original))) { in pa_cstrerror()
72 translated = pa_utf8_filter(original); in pa_cstrerror()
/third_party/node/deps/icu-small/source/i18n/
Dscientificnumberformatter.cpp129 const UnicodeString &original, in format() argument
143 original, in format()
154 UChar32 aChar = original.char32At(beginIndex); in format()
157 original, in format()
163 original, in format()
176 original, in format()
180 original, in format()
194 original, copyFromOffset, original.length() - copyFromOffset); in format()
203 const UnicodeString &original, in format() argument
217 original, in format()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dscientificnumberformatter.cpp129 const UnicodeString &original, in format() argument
143 original, in format()
154 UChar32 aChar = original.char32At(beginIndex); in format()
157 original, in format()
163 original, in format()
176 original, in format()
180 original, in format()
194 original, copyFromOffset, original.length() - copyFromOffset); in format()
203 const UnicodeString &original, in format() argument
217 original, in format()
[all …]
/third_party/icu/icu4c/source/i18n/
Dscientificnumberformatter.cpp129 const UnicodeString &original, in format() argument
143 original, in format()
154 UChar32 aChar = original.char32At(beginIndex); in format()
157 original, in format()
163 original, in format()
176 original, in format()
180 original, in format()
194 original, copyFromOffset, original.length() - copyFromOffset); in format()
203 const UnicodeString &original, in format() argument
217 original, in format()
[all …]
/third_party/elfutils/tests/
Drun-strip-test.sh21 original=${original:-testfile11}
25 testfiles $original
30 testrun ${abs_top_builddir}/src/strip -o testfile.temp $debugout $original
49 testrun ${abs_top_builddir}/src/elfcmp --hash-inexact $original testfile.unstrip
53 testrun ${abs_top_builddir}/src/strip -g -o testfile.temp $original
61 SIZE_original=$(stat -c%s $original)
62 testrun ${abs_top_builddir}/src/strip $original
63 SIZE_stripped=$(stat -c%s $original)
65 { echo "*** failure in-place strip file not smaller $original"; status=1; }
/third_party/vk-gl-cts/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp50 …ccess MultisamplePixelBufferAccess::fromSinglesampleAccess (const tcu::PixelBufferAccess& original) in fromSinglesampleAccess() argument
54 original.getFormat(), in fromSinglesampleAccess()
55 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
56 tcu::IVec3(original.getPixelPitch(), original.getPixelPitch(), original.getRowPitch()), in fromSinglesampleAccess()
57 original.getDataPtr())); in fromSinglesampleAccess()
90 …isampleConstPixelBufferAccess::fromSinglesampleAccess (const tcu::ConstPixelBufferAccess& original) in fromSinglesampleAccess() argument
94 original.getFormat(), in fromSinglesampleAccess()
95 tcu::IVec3(1, original.getWidth(), original.getHeight()), in fromSinglesampleAccess()
96 tcu::IVec3(original.getPixelPitch(), original.getPixelPitch(), original.getRowPitch()), in fromSinglesampleAccess()
97 original.getDataPtr())); in fromSinglesampleAccess()
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/internal/
Dprimordials.js233 const original = global[name]; constant
234 primordials[name] = original;
235 copyPropsRenamed(original, primordials, name);
236 copyPrototype(original.prototype, primordials, `${name}Prototype`);
246 const original = global[name]; constant
247 primordials[name] = original;
248 copyPropsRenamedBound(original, primordials, name);
249 copyPrototype(original.prototype, primordials, `${name}Prototype`);
256 { name: 'TypedArray', original: Reflect.getPrototypeOf(Uint8Array) },
257 { name: 'ArrayIterator', original: {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_fixture.h62 Pass* pass, const std::string& original, bool skip_nop) { in OptimizeToBinary() argument
63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary()
65 << original << std::endl; in OptimizeToBinary()
131 void SinglePassRunAndCheck(const std::string& original, in SinglePassRunAndCheck() argument
137 original, skip_nop, std::forward<Args>(args)...); in SinglePassRunAndCheck()
140 EXPECT_EQ(original == expected, in SinglePassRunAndCheck()
158 << original << std::endl; in SinglePassRunAndCheck()
167 void SinglePassRunAndCheck(const std::string& original, in SinglePassRunAndCheck() argument
170 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
183 const std::string& original, bool do_validation, Args&&... args) { in SinglePassRunAndMatch() argument
[all …]
/third_party/spirv-tools/test/opt/
Dpass_fixture.h62 Pass* pass, const std::string& original, bool skip_nop) { in OptimizeToBinary() argument
63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary()
65 << original << std::endl; in OptimizeToBinary()
131 void SinglePassRunAndCheck(const std::string& original, in SinglePassRunAndCheck() argument
137 original, skip_nop, std::forward<Args>(args)...); in SinglePassRunAndCheck()
140 EXPECT_EQ(original == expected, in SinglePassRunAndCheck()
158 << original << std::endl; in SinglePassRunAndCheck()
167 void SinglePassRunAndCheck(const std::string& original, in SinglePassRunAndCheck() argument
170 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
183 const std::string& original, bool do_validation, Args&&... args) { in SinglePassRunAndMatch() argument
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_fixture.h62 Pass* pass, const std::string& original, bool skip_nop) { in OptimizeToBinary() argument
63 context_ = BuildModule(env_, consumer_, original, assemble_options_); in OptimizeToBinary()
65 << original << std::endl; in OptimizeToBinary()
131 void SinglePassRunAndCheck(const std::string& original, in SinglePassRunAndCheck() argument
137 original, skip_nop, std::forward<Args>(args)...); in SinglePassRunAndCheck()
140 EXPECT_EQ(original == expected, in SinglePassRunAndCheck()
158 << original << std::endl; in SinglePassRunAndCheck()
167 void SinglePassRunAndCheck(const std::string& original, in SinglePassRunAndCheck() argument
170 SinglePassRunAndCheck<PassT>(original, expected, skip_nop, false, in SinglePassRunAndCheck()
183 const std::string& original, bool do_validation, Args&&... args) { in SinglePassRunAndMatch() argument
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dserialization_test.h24 bool VerifyHHEA(Table* original, Table* target);
25 bool VerifyGLYF(Table* original, Table* target);
26 bool VerifyHMTX(Table* original, Table* target);
27 bool VerifyLOCA(Table* original, Table* target);
28 bool VerifyMAXP(Table* original, Table* target);
29 bool VerifyNAME(Table* original, Table* target);
30 bool VerifyOS_2(Table* original, Table* target);
/third_party/skia/third_party/externals/tint/src/
Dclone_context_test.cc112 Program original(std::move(builder)); in TEST_F() local
125 auto* cloned_root = CloneContext(&cloned, &original).Clone(original_root); in TEST_F()
171 Program original(std::move(builder)); in TEST_F() local
186 CloneContext ctx(&cloned, &original); in TEST_F()
189 "replacement:" + original.Symbols().NameFor(in->name)); in TEST_F()
191 "replacement-child:" + original.Symbols().NameFor(in->name)); in TEST_F()
268 Program original(std::move(builder)); in TEST_F() local
281 auto* cloned_root = CloneContext(&cloned, &original, false) in TEST_F()
283 auto in = original.Symbols().NameFor(sym); in TEST_F()
301 Program original(std::move(builder)); in TEST_F() local
[all …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/
DBrotliOutputStreamTest.java71 byte[] original; in run()
73 original = BundleHelper.readEntry(bundle, entryName); in run()
77 if (original == null) { in run()
81 if ((mode == TestMode.WRITE_CHUNKS) && (original.length <= CHUNK_SIZE)) { in run()
90 encoder.write(original); in run()
94 for (int offset = 0; offset < original.length; offset += CHUNK_SIZE) { in run()
95 encoder.write(original, offset, Math.min(CHUNK_SIZE, original.length - offset)); in run()
100 for (byte singleByte : original) { in run()
111 long originalCrc = BundleHelper.fingerprintStream(new ByteArrayInputStream(original)); in run()
/third_party/protobuf/js/binary/
Dwriter_test.js216 {original: '0', zigzag: '0'}, property
217 {original: '-1', zigzag: '1'}, property
218 {original: '1', zigzag: '2'}, property
219 {original: '-2', zigzag: '3'}, property
220 {original: '2147483647', zigzag: '4294967294'}, property
221 {original: '-2147483648', zigzag: '4294967295'}, property
223 {original: '9223372036854775807', zigzag: '18446744073709551614'}, property
224 {original: '-9223372036854775808', zigzag: '18446744073709551615'}, property
237 writer.writeSint64String(1, c.original);
238 writer.writeSintHash64(1, jspb.utils.decimalStringToHash64(c.original));
[all …]
/third_party/node/test/fixtures/wpt/streams/transferable/resources/
Dhelpers.js90 const original = new ReadableStream(underlyingSource);
101 postMessage(original, '*', [original]);
106 const original = recordingReadableStream(underlyingSource, strategy);
111 rs.events = original.events;
112 rs.eventsWithoutPulls = original.eventsWithoutPulls;
113 rs.controller = original.controller;
120 postMessage(original, '*', [original]);

12345678910>>...99