/third_party/rust/crates/syn/tests/ |
D | test_derive_input.rs | 20 snapshot!(input as DeriveInput, @r###" in test_unit() 43 snapshot!(input as DeriveInput, @r###" in test_struct() 115 snapshot!(&input.attrs[0].meta, @r###" in test_struct() 139 snapshot!(input as DeriveInput, @r###" in test_union() 200 snapshot!(input as DeriveInput, @r###" in test_enum() 321 snapshot!(meta_items, @r###" in test_enum() 363 snapshot!(input as DeriveInput, @r###" in test_attr_with_mod_style_path_with_self() 391 snapshot!(&input.attrs[0].meta, @r###" in test_attr_with_mod_style_path_with_self() 413 snapshot!(input as DeriveInput, @r###" in test_pub_restricted() 469 snapshot!(input as DeriveInput, @r###" in test_pub_restricted_crate() [all …]
|
D | test_expr.rs | 14 snapshot!(tokens as Expr, @r###" in test_expr_parse() 24 snapshot!(tokens as ExprRange, @r###" in test_expr_parse() 39 snapshot!(tokens as Expr, @r###" in test_await() 57 let expected = snapshot!("tuple.0.0" as Expr, @r###" in test_tuple_multi_index() 107 snapshot!(tokens as Expr, @r###" in test_macro_variable_func() 126 snapshot!(tokens as Expr, @r###" in test_macro_variable_func() 173 snapshot!(tokens as Expr, @r###" in test_macro_variable_macro() 196 snapshot!(tokens as Expr, @r###" in test_macro_variable_struct() 214 snapshot!(tokens as Expr, @r###" in test_macro_variable_unary() 239 snapshot!(tokens as Expr, @r###" in test_macro_variable_match_arm() [all …]
|
D | test_receiver.rs | 13 snapshot!(&sig.inputs[0], @r###" in test_by_value() 34 snapshot!(&sig.inputs[0], @r###" in test_by_mut_value() 56 snapshot!(&sig.inputs[0], @r###" in test_by_ref() 79 snapshot!(&sig.inputs[0], @r###" in test_by_box() 113 snapshot!(&sig.inputs[0], @r###" in test_by_pin() 147 snapshot!(&sig.inputs[0], @r###" in test_explicit_type() 181 snapshot!(&sig.inputs[0], @r###" in test_value_shorthand() 201 snapshot!(&sig.inputs[0], @r###" in test_mut_value_shorthand() 222 snapshot!(&sig.inputs[0], @r###" in test_ref_shorthand() 245 snapshot!(&sig.inputs[0], @r###" in test_ref_shorthand_with_lifetime() [all …]
|
D | test_attribute.rs | 13 snapshot!(meta, @r###" in test_meta_item_word() 28 snapshot!(meta, @r###" in test_meta_item_name_value() 48 snapshot!(meta, @r###" in test_meta_item_bool_value() 67 snapshot!(meta, @r###" in test_meta_item_bool_value() 89 snapshot!(meta, @r###" in test_meta_item_list_lit() 108 snapshot!(meta, @r###" in test_meta_item_list_word() 127 snapshot!(meta, @r###" in test_meta_item_list_name_value() 146 snapshot!(meta, @r###" in test_meta_item_list_bool_value() 165 snapshot!(meta, @r###" in test_meta_item_multiple() 184 snapshot!(meta, @r###" in test_bool_lit() [all …]
|
D | test_path.rs | 20 snapshot!(tokens.clone() as Expr, @r###" in parse_interpolated_leading_component() 36 snapshot!(tokens as Type, @r###" in parse_interpolated_leading_component() 57 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 61 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 65 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 72 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 76 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 80 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 87 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 91 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() [all …]
|
D | test_item.rs | 21 snapshot!(tokens as Item, @r###" in test_macro_variable_attr() 57 snapshot!(tokens as Item, @r###" in test_negative_impl() 70 snapshot!(tokens as Item, @r###" in test_negative_impl() 82 snapshot!(tokens as Item, @r###" in test_negative_impl() 113 snapshot!(tokens as Item, @r###" in test_negative_impl() 132 snapshot!(tokens as Item, @r###" in test_macro_variable_impl() 166 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() 178 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() 191 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() 215 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() [all …]
|
D | test_ty.rs | 31 snapshot!(tokens as Type, @r###" in test_macro_variable_type() 66 snapshot!(tokens as Type, @r###" in test_macro_variable_type() 103 snapshot!(tokens as Type, @r###" in test_group_angle_brackets() 154 snapshot!(tokens as Type, @r###" in test_group_colons() 190 snapshot!(tokens as Type, @r###" in test_group_colons() 221 snapshot!(tokens as Type, @r###" in test_trait_object() 259 snapshot!(tokens as Type, @r###" in test_trait_object() 289 snapshot!(tokens as Type, @r###" in test_trailing_plus() 308 snapshot!(tokens as Type, @r###" in test_trailing_plus() 328 snapshot!(tokens as Type, @r###" in test_trailing_plus() [all …]
|
D | test_meta.rs | 16 snapshot!(input as Meta, @r###" in test_parse_meta_item_word() 32 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value() 47 snapshot!(meta as Meta, @r###" in test_parse_meta_name_value() 70 snapshot!(inner as MetaList, @r###" in test_parse_meta_item_list_lit() 84 snapshot!(meta as Meta, @r###" in test_parse_meta_item_list_lit() 106 snapshot!(inner as MetaList, @r###" in test_parse_meta_item_multiple() 120 snapshot!(meta as Meta, @r###" in test_parse_meta_item_multiple() 140 snapshot!(input as Meta, @r###" in test_parse_path()
|
D | test_parse_quote.rs | 10 snapshot!(attr, @r###" in test_attribute() 24 snapshot!(attr, @r###" in test_attribute() 41 snapshot!(field, @r###" in test_field() 59 snapshot!(field, @r###" in test_field() 82 snapshot!(&pat, @r###" in test_pat() 116 snapshot!(punctuated, @r###" in test_punctuated() 129 snapshot!(punctuated, @r###" in test_punctuated() 149 snapshot!(stmts, @r###" in test_vec_stmt()
|
D | test_stmt.rs | 19 snapshot!(stmt, @r###" in test_raw_operator() 33 snapshot!(stmt, @r###" in test_raw_variable() 71 snapshot!(tokens as Stmt, @r###" in test_none_group() 88 snapshot!(stmts, @r###" in test_none_group() 119 snapshot!(tokens as Stmt, @r###" in test_let_dot_dot() 137 snapshot!(tokens as Stmt, @r###" in test_let_else() 193 snapshot!(tokens as Stmt, @r###" in test_macros() 277 snapshot!(stmts, @r###" in test_early_parse_loop() 301 snapshot!(stmts, @r###" in test_early_parse_loop()
|
/third_party/node/tools/snapshot/ |
D | README.md | 1 # Node.js startup snapshot builder 3 This is the V8 startup snapshot builder of Node.js. Not to be confused with 4 V8's own snapshot builder, which builds a snapshot containing JavaScript 5 builtins, this builds a snapshot containing Node.js builtins that can be 6 deserialized on top of V8's own startup snapshot. When Node.js is launched, 8 an embedded snapshot, which readily contains the result of the bootstrap, so 11 Currently only the main context of the main Node.js instance supports snapshot 12 deserialization, and the snapshot does not yet cover the entire bootstrap 17 The snapshot builder is built with the `node_mksnapshot` target in `node.gyp` 21 In the default build of the Node.js executable, to embed a V8 startup snapshot [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cordz_handle_test.cc | 64 auto* snapshot = new CordzSnapshot(); in TEST() local 65 EXPECT_TRUE(snapshot->is_snapshot()); in TEST() 66 EXPECT_TRUE(snapshot->SafeToDelete()); in TEST() 67 EXPECT_THAT(DeleteQueue(), ElementsAre(snapshot)); in TEST() 68 delete snapshot; in TEST() 74 auto* snapshot = new CordzSnapshot(); in TEST() local 79 EXPECT_THAT(DeleteQueue(), ElementsAre(handle, snapshot)); in TEST() 83 delete snapshot; in TEST() 91 CordzSnapshot* snapshot[3]; in TEST() local 94 snapshot[i] = new CordzSnapshot(); in TEST() [all …]
|
D | cordz_info_test.cc | 135 CordzSnapshot snapshot; in TEST() local 139 EXPECT_THAT(DeleteQueue(), ElementsAre(info, &snapshot)); in TEST() 196 CordzSnapshot snapshot; in TEST() local 197 EXPECT_THAT(CordzInfo::Head(snapshot), Eq(nullptr)); in TEST() 202 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST() 203 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST() 208 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info2)); in TEST() 209 EXPECT_THAT(info2->Next(snapshot), Eq(info1)); in TEST() 210 EXPECT_THAT(info1->Next(snapshot), Eq(nullptr)); in TEST() 213 ASSERT_THAT(CordzInfo::Head(snapshot), Eq(info1)); in TEST() [all …]
|
/third_party/python/Lib/test/ |
D | test_tracemalloc.py | 59 snapshot = tracemalloc.Snapshot(raw_traces, traceback_limit) 73 return (snapshot, snapshot2) 304 snapshot = tracemalloc.take_snapshot() 307 self.assertGreater(snapshot.traces[1].traceback.total_nframe, 10) 310 snapshot.dump(os_helper.TESTFN) 315 self.assertEqual(snapshot2.traces, snapshot.traces) 327 snapshot = tracemalloc.take_snapshot() 328 snapshot.test_attr = "new" 329 snapshot.dump(os_helper.TESTFN) 378 snapshot = tracemalloc.take_snapshot() [all …]
|
/third_party/node/test/parallel/ |
D | test-node-output-errors.mjs | 3 import * as snapshot from '../common/assertSnapshot.js'; 15 return snapshot.replaceStackTrace(str, '$1at *$7\n'); 25 return str.replaceAll(snapshot.replaceWindowsPaths(process.cwd()), '') 37 const common = snapshot 38 .transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths); 39 const defaultTransform = snapshot.transform(common, normalize, snapshot.replaceNodeVersion); 40 const errTransform = snapshot.transform(common, normalizeNoNumbers, snapshot.replaceNodeVersion); 41 const promiseTransform = snapshot.transform(common, replaceStackTrace, 42 normalizeNoNumbers, snapshot.replaceNodeVersion); 43 const forceColorsTransform = snapshot.transform(common, normalize, [all …]
|
D | test-node-output-console.mjs | 3 import * as snapshot from '../common/assertSnapshot.js'; 11 return snapshot.replaceStackTrace(str, '$1at *$7\n'); 16 …return str.replaceAll(snapshot.replaceWindowsPaths(process.cwd()), '').replaceAll('/', '*').replac… 25 transform: snapshot 26 .transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, normalize) 30 const defaultTransform = snapshot 31 .transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceStackTrace); 34 await snapshot.spawnAndAssert(fixtures.path(name), transform ?? defaultTransform, { env });
|
D | test-runner-output.mjs | 3 import * as snapshot from '../common/assertSnapshot.js'; 43 const defaultTransform = snapshot.transform( 44 snapshot.replaceWindowsLineEndings, 45 snapshot.replaceStackTrace, 47 snapshot.replaceFullPaths, 48 snapshot.replaceWindowsPaths, 52 const specTransform = snapshot.transform( 54 snapshot.replaceWindowsLineEndings, 55 snapshot.replaceStackTrace, 57 const junitTransform = snapshot.transform( [all …]
|
/third_party/node/deps/v8/tools/heap-layout/ |
D | trace-file-reader.mjs | 45 // Create a empty snapshot. 47 let snapshot = {header: null, data: {}}; variable 49 snapshot.data[space_name] = []; 51 return snapshot; 56 let snapshot = this.createSnapShotData(); 58 // Fill data info a snapshot, then push it into snapshots. 61 if (snapshot.header != null) { 62 snapshots.push(snapshot); 64 snapshot = this.createSnapShotData(); 65 snapshot.header = content; [all …]
|
/third_party/node/deps/npm/tap-snapshots/test/lib/commands/ |
D | audit.js.test.cjs | 2 * This snapshot file is auto-generated, but designed for humans. 37 exports[`test/lib/commands/audit.js TAP audit fix - bulk endpoint > must match snapshot 1`] = ` 44 …/commands/audit.js TAP audit signatures ignores optional dependencies > must match snapshot 1`] = ` 51 … TAP audit signatures json output with invalid and missing signatures > must match snapshot 1`] = ` 80 …s/audit.js TAP audit signatures json output with invalid attestations > must match snapshot 1`] = ` 102 …nds/audit.js TAP audit signatures json output with invalid signatures > must match snapshot 1`] = ` 123 …mands/audit.js TAP audit signatures json output with valid signatures > must match snapshot 1`] = ` 130 ….js TAP audit signatures multiple registries with keys and signatures > must match snapshot 1`] = ` 137 ….js TAP audit signatures omit dev dependencies with missing signature > must match snapshot 1`] = ` 144 …audit.js TAP audit signatures output details about missing signatures > must match snapshot 1`] = ` [all …]
|
D | shrinkwrap.js.test.cjs | 2 * This snapshot file is auto-generated, but designed for humans. 8 exports[`test/lib/commands/shrinkwrap.js TAP with hidden lockfile ancient > must match snapshot 1`]… 29 …t/lib/commands/shrinkwrap.js TAP with hidden lockfile ancient upgrade > must match snapshot 1`] = ` 53 exports[`test/lib/commands/shrinkwrap.js TAP with hidden lockfile existing > must match snapshot 1`… 75 …ib/commands/shrinkwrap.js TAP with hidden lockfile existing downgrade > must match snapshot 1`] = ` 98 …/lib/commands/shrinkwrap.js TAP with hidden lockfile existing upgrade > must match snapshot 1`] = ` 122 exports[`test/lib/commands/shrinkwrap.js TAP with nothing ancient > must match snapshot 1`] = ` 138 exports[`test/lib/commands/shrinkwrap.js TAP with nothing ancient upgrade > must match snapshot 1`]… 156 exports[`test/lib/commands/shrinkwrap.js TAP with npm-shrinkwrap.json ancient > must match snapshot… 180 …b/commands/shrinkwrap.js TAP with npm-shrinkwrap.json ancient upgrade > must match snapshot 1`] = ` [all …]
|
D | view.js.test.cjs | 2 * This snapshot file is auto-generated, but designed for humans. 8 …AP deprecated package with license, bugs, repository and other fields > must match snapshot 1`] = ` 37 exports[`test/lib/commands/view.js TAP deprecated package with unicode > must match snapshot 1`] = ` 66 exports[`test/lib/commands/view.js TAP package from git > must match snapshot 1`] = ` 95 exports[`test/lib/commands/view.js TAP package in cwd directory > must match snapshot 1`] = ` 111 exports[`test/lib/commands/view.js TAP package in cwd non-specific version > must match snapshot 1`… 127 exports[`test/lib/commands/view.js TAP package in cwd specific version > must match snapshot 1`] = ` 143 exports[`test/lib/commands/view.js TAP package with --json and semver range > must match snapshot 1… 178 exports[`test/lib/commands/view.js TAP package with homepage > must match snapshot 1`] = ` 193 exports[`test/lib/commands/view.js TAP package with invalid version > must match snapshot 1`] = ` [all …]
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_measure.c | 185 struct intel_measure_snapshot *snapshot = &(measure_batch->snapshots[index]); in measure_start_snapshot() local 186 memset(snapshot, 0, sizeof(*snapshot)); in measure_start_snapshot() 187 snapshot->type = type; in measure_start_snapshot() 188 snapshot->count = (unsigned) count; in measure_start_snapshot() 189 snapshot->event_count = measure_batch->event_count; in measure_start_snapshot() 190 snapshot->event_name = event_name; in measure_start_snapshot() 191 snapshot->framebuffer = framebuffer; in measure_start_snapshot() 194 snapshot->cs = (uintptr_t) ice->shaders.prog[MESA_SHADER_COMPUTE]; in measure_start_snapshot() 196 snapshot->vs = (uintptr_t) ice->shaders.prog[MESA_SHADER_VERTEX]; in measure_start_snapshot() 197 snapshot->tcs = (uintptr_t) ice->shaders.prog[MESA_SHADER_TESS_CTRL]; in measure_start_snapshot() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_measure.c | 170 struct intel_measure_snapshot *snapshot = &(measure->base.snapshots[index]); in anv_measure_start_snapshot() local 171 memset(snapshot, 0, sizeof(*snapshot)); in anv_measure_start_snapshot() 172 snapshot->type = type; in anv_measure_start_snapshot() 173 snapshot->count = (unsigned) count; in anv_measure_start_snapshot() 174 snapshot->event_count = measure->base.event_count; in anv_measure_start_snapshot() 175 snapshot->event_name = event_name; in anv_measure_start_snapshot() 179 snapshot->cs = (uintptr_t) cmd_buffer->state.compute.pipeline->cs; in anv_measure_start_snapshot() 183 snapshot->vs = (uintptr_t) pipeline->shaders[MESA_SHADER_VERTEX]; in anv_measure_start_snapshot() 184 snapshot->tcs = (uintptr_t) pipeline->shaders[MESA_SHADER_TESS_CTRL]; in anv_measure_start_snapshot() 185 snapshot->tes = (uintptr_t) pipeline->shaders[MESA_SHADER_TESS_EVAL]; in anv_measure_start_snapshot() [all …]
|
/third_party/node/deps/npm/tap-snapshots/test/lib/utils/ |
D | error-message.js.test.cjs | 2 * This snapshot file is auto-generated, but designed for humans. 8 …/utils/error-message.js TAP 404 cleans sensitive info from package id > must match snapshot 1`] = ` 50 exports[`test/lib/utils/error-message.js TAP 404 name with error > must match snapshot 1`] = ` 92 exports[`test/lib/utils/error-message.js TAP 404 name with warning > must match snapshot 1`] = ` 134 exports[`test/lib/utils/error-message.js TAP 404 no package id > must match snapshot 1`] = ` 146 exports[`test/lib/utils/error-message.js TAP 404 you should publish it > must match snapshot 1`] = ` 179 exports[`test/lib/utils/error-message.js TAP args are cleaned > must match snapshot 1`] = ` 213 exports[`test/lib/utils/error-message.js TAP bad engine without config loaded > must match snapshot… 238 exports[`test/lib/utils/error-message.js TAP bad platform array os/arch > must match snapshot 1`] =… 260 …s/error-message.js TAP bad platform omits keys with no required value > must match snapshot 1`] = ` [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserindenter.js | 30 public snapshot: ITextSnapshot, 36 this.indentationBag = new IndentationBag(this.snapshot); 159 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()); 166 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition(); 404 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition); 406 var currentIndentText = this.snapshot.GetText(currentIndentSpan); 497 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition); 499 var currentIndent = this.snapshot.GetText(currentIndentSpan); 535 …var origIndentText = this.snapshot.GetText(new Span(indentEditInfo.OrigIndentPosition, indentEditI… 556 …var childTokenLineStartPosition = this.snapshot.GetLineFromPosition(childTokenStartPosition).start… [all …]
|