/third_party/rust/crates/syn/tests/ |
D | test_derive_input.rs | 15 snapshot!(input as DeriveInput, @r###" in test_unit() 38 snapshot!(input as DeriveInput, @r###" in test_struct() 109 snapshot!(input.attrs[0].parse_meta().unwrap(), @r###" in test_struct() 150 snapshot!(input as DeriveInput, @r###" in test_union() 211 snapshot!(input as DeriveInput, @r###" in test_enum() 332 snapshot!(meta_items, @r###" in test_enum() 365 snapshot!(input as DeriveInput, @r###" in test_attr_with_path() 406 snapshot!(input as DeriveInput, @r###" in test_attr_with_non_mod_style_path() 442 snapshot!(input as DeriveInput, @r###" in test_attr_with_mod_style_path_with_self() 472 snapshot!(input.attrs[0].parse_meta().unwrap(), @r###" in test_attr_with_mod_style_path_with_self() [all …]
|
D | test_meta.rs | 12 snapshot!(input as Meta, @r###" in test_parse_meta_item_word() 29 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value() 43 snapshot!(meta as Meta, @r###" in test_parse_meta_name_value() 65 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value_with_keyword() 79 snapshot!(meta as Meta, @r###" in test_parse_meta_name_value_with_keyword() 101 snapshot!(inner as MetaNameValue, @r###" in test_parse_meta_name_value_with_bool() 115 snapshot!(meta as Meta, @r###" in test_parse_meta_name_value_with_bool() 137 snapshot!(inner as MetaList, @r###" in test_parse_meta_item_list_lit() 153 snapshot!(meta as Meta, @r###" in test_parse_meta_item_list_lit() 177 snapshot!(inner as MetaList, @r###" in test_parse_meta_item_multiple() [all …]
|
D | test_attribute.rs | 11 snapshot!(meta, @r###" in test_meta_item_word() 27 snapshot!(meta, @r###" in test_meta_item_name_value() 46 snapshot!(meta, @r###" in test_meta_item_bool_value() 64 snapshot!(meta, @r###" in test_meta_item_bool_value() 85 snapshot!(meta, @r###" in test_meta_item_list_lit() 106 snapshot!(meta, @r###" in test_meta_item_list_word() 134 snapshot!(meta, @r###" in test_meta_item_list_name_value() 165 snapshot!(meta, @r###" in test_meta_item_list_bool_value() 198 snapshot!(meta, @r###" in test_meta_item_multiple() 268 snapshot!(meta, @r###" in test_bool_lit() [all …]
|
D | test_path.rs | 19 snapshot!(tokens.clone() as Expr, @r###" in parse_interpolated_leading_component() 36 snapshot!(tokens as Type, @r###" in parse_interpolated_leading_component() 58 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 62 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 66 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 73 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 77 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 81 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 88 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() 92 snapshot!(ty.to_token_stream(), @r###" in print_incomplete_qpath() [all …]
|
D | test_item.rs | 20 snapshot!(tokens as Item, @r###" in test_macro_variable_attr() 56 snapshot!(tokens as Item, @r###" in test_negative_impl() 69 snapshot!(tokens as Item, @r###" in test_negative_impl() 81 snapshot!(tokens as Item, @r###" in test_negative_impl() 114 snapshot!(tokens as Item, @r###" in test_negative_impl() 133 snapshot!(tokens as Item, @r###" in test_macro_variable_impl() 169 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() 181 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() 194 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() 220 snapshot!(tokens as ItemTrait, @r###" in test_supertraits() [all …]
|
D | test_expr.rs | 12 snapshot!(tokens as Expr, @r###" in test_expr_parse() 22 snapshot!(tokens as ExprRange, @r###" in test_expr_parse() 37 snapshot!(tokens as Expr, @r###" in test_await() 56 let expected = snapshot!("tuple.0.0" as Expr, @r###" in test_tuple_multi_index() 109 snapshot!(tokens as Expr, @r###" in test_macro_variable_func() 133 snapshot!(tokens as Expr, @r###" in test_macro_variable_func() 188 snapshot!(tokens as Expr, @r###" in test_macro_variable_macro() 214 snapshot!(tokens as Expr, @r###" in test_macro_variable_struct() 245 snapshot!(tokens as Expr, @r###" in test_macro_variable_match_arm() 289 snapshot!(tokens as Expr, @r###" in test_closure_vs_rangefull()
|
D | test_ty.rs | 29 snapshot!(tokens as Type, @r###" in test_macro_variable_type() 65 snapshot!(tokens as Type, @r###" in test_macro_variable_type() 103 snapshot!(tokens as Type, @r###" in test_group_angle_brackets() 155 snapshot!(tokens as Type, @r###" in test_group_colons() 192 snapshot!(tokens as Type, @r###" in test_group_colons() 225 snapshot!(tokens as Type, @r###" in test_trait_object() 263 snapshot!(tokens as Type, @r###" in test_trait_object() 294 snapshot!(tokens as Type, @r###" in test_trailing_plus() 314 snapshot!(tokens as Type, @r###" in test_trailing_plus() 335 snapshot!(tokens as Type, @r###" in test_trailing_plus()
|
D | test_generics.rs | 15 snapshot!(input as DeriveInput, @r###" in test_split_for_impl() 130 snapshot!(tokens as TypeParamBound, @r###" in test_ty_param_bound() 137 snapshot!(tokens as TypeParamBound, @r###" in test_ty_param_bound() 144 snapshot!(tokens as TypeParamBound, @r###" in test_ty_param_bound() 159 snapshot!(tokens as TypeParamBound, @r###" in test_ty_param_bound() 186 snapshot!(input as ItemFn, @r###" in test_fn_precedence_in_where_clause() 282 snapshot!(input as WhereClause, @"WhereClause"); in test_where_clause_at_end_of_input()
|
/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/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/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 …]
|
D | parserindenter.types | 43 public snapshot: ITextSnapshot, 44 >snapshot : any 59 this.indentationBag = new IndentationBag(this.snapshot); 60 >this.indentationBag = new IndentationBag(this.snapshot) : any 64 >new IndentationBag(this.snapshot) : any 66 >this.snapshot : any 68 >snapshot : any 602 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()); 604 >this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()) : any 605 >this.snapshot.GetLineNumberFromPosition : any [all …]
|
D | parserindenter.symbols | 42 public snapshot: ITextSnapshot, 43 >snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35)) 57 this.indentationBag = new IndentationBag(this.snapshot); 61 >this.snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35)) 63 >snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35)) 367 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()); 369 >this.snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35)) 371 >snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35)) 399 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition(); 401 >this.snapshot : Symbol(Indenter.snapshot, Decl(parserindenter.ts, 27, 35)) [all …]
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/ |
D | parserindenter.ts | 29 public snapshot: ITextSnapshot, 35 this.indentationBag = new IndentationBag(this.snapshot); 158 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()); 165 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition(); 403 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition); 405 var currentIndentText = this.snapshot.GetText(currentIndentSpan); 496 var snapshotLine = this.snapshot.GetLineFromPosition(tokenStartPosition); 498 var currentIndent = this.snapshot.GetText(currentIndentSpan); 534 …var origIndentText = this.snapshot.GetText(new Span(indentEditInfo.OrigIndentPosition, indentEditI… 555 …var childTokenLineStartPosition = this.snapshot.GetLineFromPosition(childTokenStartPosition).start… [all …]
|
/third_party/jerryscript/tools/ |
D | check-sonarqube.sh | 24 --jerry-cmdline-snapshot=on \ 29 --snapshot-save=on \ 30 --snapshot-exec=on \ 38 --jerry-cmdline-snapshot=on \ 43 --snapshot-save=on \ 44 --snapshot-exec=on \
|
/third_party/rust/crates/syn/tests/macros/ |
D | mod.rs | 30 macro_rules! snapshot { macro 37 (($expr:ident) as $t:ty, @$snapshot:literal) => { 41 insta::assert_debug_snapshot!(debug, @$snapshot); 44 (($($expr:tt)*) as $t:ty, @$snapshot:literal) => {{ 48 insta::assert_debug_snapshot!(debug, @$snapshot); 52 (($($expr:tt)*) , @$snapshot:literal) => {{ 56 insta::assert_debug_snapshot!(debug, @$snapshot);
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | documentRegistry.ts | 60 const snapshot = ts.ScriptSnapshot.fromString(contents); constant 63 …snapshot.getChangeRange = () => ts.createTextChangeRange(ts.createTextSpan(0, contents.length), co… 66 … documentRegistry.acquireDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "1"); 69 … documentRegistry.acquireDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "1"); 72 … documentRegistry.updateDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "2"); 75 … documentRegistry.updateDocument("file1.ts", defaultCompilerOptions, snapshot, /* version */ "3");
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart_runner/embedder/ |
D | snapshot.cc.tmpl | 5 // This file is linked into the dart executable when it has a snapshot 8 #include "embedder/snapshot.h" 13 // generated snapshot binary file for the vm isolate. This string forms the 14 // content of the dart vm isolate snapshot which is loaded into the vm isolate. 19 // generated snapshot binary file for a regular dart isolate. 20 // This string forms the content of a regular dart isolate snapshot which
|
/third_party/flutter/flutter/dev/integration_tests/platform_interaction/lib/src/ |
D | test_step.dart | 18 factory TestStepResult.fromSnapshot(AsyncSnapshot<TestStepResult> snapshot) { 19 switch (snapshot.connectionState) { 25 if (snapshot.hasData) { 26 return snapshot.data; 28 final TestStepResult result = snapshot.error; 33 throw 'Unsupported state ${snapshot.connectionState}';
|
/third_party/flutter/skia/third_party/externals/wuffs/ |
D | build-all.sh | 40 if [ ! -e release/c/wuffs-unsupported-snapshot.c ]; then 58 release/c/wuffs-unsupported-snapshot.c -o /dev/null 60 release/c/wuffs-unsupported-snapshot.c -o /dev/null 64 release/c/wuffs-unsupported-snapshot.c -o /dev/null 66 release/c/wuffs-unsupported-snapshot.c -o /dev/null
|
/third_party/node/test/sequential/ |
D | test-heapdump.js | 39 const snapshot = getHeapSnapshot(); constant 40 snapshot.setEncoding('utf-8'); 41 snapshot.on('data', common.mustCallAtLeast((chunk) => { 44 snapshot.on('end', common.mustCall(() => {
|