Home
last modified time | relevance | path

Searched full:yaml (Results 1 – 25 of 3192) sorted by relevance

12345678910>>...128

/external/llvm-project/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml-types.test2 ; RUN: | FileCheck -check-prefix=YAML %s
4 YAML: ---
5 YAML: MSF:
6 YAML: SuperBlock:
7 YAML: NumBlocks: 25
8 YAML: NumDirectoryBytes: 136
9 YAML: BlockMapAddr: 24
10 YAML: NumDirectoryBlocks: 1
11 YAML: DirectoryBlocks: [ 23 ]
12 YAML: NumStreams: 0
[all …]
Dpdb-yaml-symbols.test2 ; RUN: | FileCheck -check-prefix=YAML %s
5 YAML: ---
6 YAML: MSF:
7 YAML: SuperBlock:
8 YAML: BlockSize: 4096
9 YAML: FreeBlockMap: 2
10 YAML: NumBlocks: 25
11 YAML: NumDirectoryBytes: 136
12 YAML: Unknown1: 0
13 YAML: BlockMapAddr: 24
[all …]
Dpdbdump-debug-subsections.test1 ; RUN: llvm-pdbutil yaml2pdb -pdb=%t.pdb %p/Inputs/debug-subsections.yaml
2 ; RUN: llvm-pdbutil pdb2yaml -all -no-file-headers %t.pdb | FileCheck --check-prefix=YAML %s
4 YAML: Modules:
5 YAML-NEXT: - Module: Foo.obj
6 YAML-NEXT: ObjFile: Foo.obj
7 YAML-NEXT: Subsections:
8 YAML-NEXT: - !CrossModuleExports
9 YAML-NEXT: Exports:
10 YAML-NEXT: - LocalId: 4852
11 YAML-NEXT: GlobalId: 9283
[all …]
Dpdbdump-yaml.test2 ; RUN: %p/Inputs/empty.pdb | FileCheck -check-prefix=YAML %s
6 ; YAML: ---
7 ; YAML-NEXT: MSF:
8 ; YAML-NEXT: SuperBlock:
9 ; YAML-NEXT: BlockSize: 4096
10 ; YAML-NEXT: FreeBlockMap: 2
11 ; YAML-NEXT: NumBlocks: 25
12 ; YAML-NEXT: NumDirectoryBytes: 136
13 ; YAML-NEXT: Unknown1: 0
14 ; YAML-NEXT: BlockMapAddr: 24
[all …]
/external/llvm/test/DebugInfo/PDB/
Dpdbdump-yaml.test2 ; RUN: | FileCheck -check-prefix=YAML %s
6 ; YAML: ---
7 ; YAML-NEXT: MSF:
8 ; YAML-NEXT: SuperBlock:
9 ; YAML-NEXT: BlockSize: 4096
10 ; YAML-NEXT: Unknown0: 2
11 ; YAML-NEXT: NumBlocks: 25
12 ; YAML-NEXT: NumDirectoryBytes: 136
13 ; YAML-NEXT: Unknown1: 0
14 ; YAML-NEXT: BlockMapAddr: 24
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DShapeImmutableTest.java16 package org.yaml.snakeyaml.immutable;
20 import org.yaml.snakeyaml.Util;
21 import org.yaml.snakeyaml.Yaml;
26 Yaml yaml = new Yaml(); in testColor() local
27 Color loaded = (Color) yaml.load("!!org.yaml.snakeyaml.immutable.Color BLACK"); in testColor()
32 Yaml yaml = new Yaml(); in testCode() local
33 Code loaded = (Code) yaml.load("!!org.yaml.snakeyaml.immutable.Code 123"); in testCode()
38 Yaml yaml = new Yaml(); in testSuperColor() local
39 SuperColor superColor = (SuperColor) yaml in testSuperColor()
40 … .load("!!org.yaml.snakeyaml.immutable.SuperColor [!!org.yaml.snakeyaml.immutable.Color BLACK]"); in testSuperColor()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DEnumTest.java16 package org.yaml.snakeyaml;
27 import org.yaml.snakeyaml.constructor.Constructor;
33 Yaml yaml = new Yaml(); in testDumpEnum() local
34 String output = yaml.dump(Suit.CLUBS); in testDumpEnum()
35 assertEquals("!!org.yaml.snakeyaml.Suit 'CLUBS'\n", output); in testDumpEnum()
39 Yaml yaml = new Yaml(); in testDumpOverriddenToString() local
40 String output = yaml.dump(DumperOptions.FlowStyle.BLOCK); in testDumpOverriddenToString()
41 assertEquals("!!org.yaml.snakeyaml.DumperOptions$FlowStyle 'BLOCK'\n", output); in testDumpOverriddenToString()
47 Yaml yaml = new Yaml(options); in testDumpEnumArray() local
48 String output = yaml.dump(Suit.values()); in testDumpEnumArray()
[all …]
DDumperOptionsTest.java16 package org.yaml.snakeyaml;
25 import org.yaml.snakeyaml.emitter.Emitter;
26 import org.yaml.snakeyaml.error.YAMLException;
27 import org.yaml.snakeyaml.nodes.Tag;
28 import org.yaml.snakeyaml.representer.Representer;
34 Yaml yaml = new Yaml(options); in testDefaultStyle() local
35 assertEquals("abc\n", yaml.dump("abc")); in testDefaultStyle()
37 assertEquals("'123'\n", yaml.dump("123")); in testDefaultStyle()
40 yaml = new Yaml(options); in testDefaultStyle()
41 assertEquals("\"123\"\n", yaml.dump("123")); in testDefaultStyle()
[all …]
/external/llvm-project/llvm/test/DebugInfo/COFF/
Dglobal-type-hashes.ll2 ; RUN: obj2yaml %t.obj | FileCheck %s --check-prefix=YAML
149 ; YAML: --- !COFF
150 ; YAML: header:
151 ; YAML: Machine: IMAGE_FILE_MACHINE_I386
152 ; YAML: Characteristics: [ ]
153 ; YAML: sections:
154 ; YAML: - Name: '.debug$T'
155 ; YAML: Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN…
156 ; YAML: Alignment: 4
157 ; YAML: Types:
[all …]
/external/llvm-project/lld/test/ELF/lto/
Dopt-remarks.ll4 ; RUN: rm -f %t.yaml %t1.yaml %t.hot.yaml %t.t300.yaml %t.t301.yaml
5 ; RUN: ld.lld --opt-remarks-filename %t.yaml %t.o -o %t -shared -save-temps
7 ; RUN: ld.lld --opt-remarks-with-hotness --opt-remarks-filename %t.hot.yaml \
10 ; RUN: --opt-remarks-filename %t.t300.yaml %t.o -o %t -shared
12 ; RUN: --opt-remarks-filename %t.t301.yaml %t.o -o %t -shared
13 ; RUN: cat %t.yaml | FileCheck %s -check-prefix=YAML
14 ; RUN: cat %t.hot.yaml | FileCheck %s -check-prefix=YAML-HOT
15 ; RUN: FileCheck %s -check-prefix=YAML-HOT < %t.t300.yaml
16 ; RUN: count 0 < %t.t301.yaml
17 ; RUN: ld.lld --opt-remarks-filename %t1.yaml --opt-remarks-passes inline %t.o \
[all …]
/external/llvm-project/llvm/test/tools/gold/X86/
Dopt-remarks.ll6 ; RUN: -plugin-opt=opt-remarks-format=yaml \
7 ; RUN: -plugin-opt=opt-remarks-filename=%t.yaml %t.o -o %t2.o 2>&1
11 ; RUN: -plugin-opt=opt-remarks-format=yaml \
13 ; RUN: -plugin-opt=opt-remarks-filename=%t.hot.yaml %t.o -o %t2.o 2>&1
16 ; RUN: -plugin-opt=opt-remarks-format=yaml \
19 ; RUN: -plugin-opt=opt-remarks-filename=%t.t300.yaml %t.o -o %t2.o 2>&1
22 ; RUN: -plugin-opt=opt-remarks-format=yaml \
25 ; RUN: -plugin-opt=opt-remarks-filename=%t.t301.yaml %t.o -o %t2.o 2>&1
26 ; RUN: cat %t.yaml | FileCheck %s -check-prefix=YAML
27 ; RUN: cat %t.hot.yaml | FileCheck %s -check-prefix=YAML-HOT
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterTest.java16 package org.yaml.snakeyaml.emitter;
29 import org.yaml.snakeyaml.DumperOptions;
30 import org.yaml.snakeyaml.Yaml;
31 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
32 import org.yaml.snakeyaml.DumperOptions.ScalarStyle;
33 import org.yaml.snakeyaml.events.DocumentStartEvent;
34 import org.yaml.snakeyaml.events.ImplicitTuple;
35 import org.yaml.snakeyaml.events.ScalarEvent;
36 import org.yaml.snakeyaml.events.StreamStartEvent;
47 Yaml yaml = new Yaml(options); in testWriteFolded() local
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/
Dexport-diagnostics.cpp2 …xplicit-constructor,clang-diagnostic-missing-prototypes' -export-fixes=%t.yaml -- -Wmissing-protot…
4 // RUN: FileCheck -input-file=%t.yaml -check-prefix=CHECK-YAML %s
16 // CHECK-YAML: ---
17 // CHECK-YAML-NEXT: MainSourceFile: '{{.*}}-input.cpp'
18 // CHECK-YAML-NEXT: Diagnostics:
19 // CHECK-YAML-NEXT: - DiagnosticName: clang-diagnostic-missing-prototypes
20 // CHECK-YAML-NEXT: DiagnosticMessage:
21 // CHECK-YAML-NEXT: Message: 'no previous prototype for function
23 // CHECK-YAML-NEXT: FilePath: '{{.*}}-input.cpp'
24 // CHECK-YAML-NEXT: FileOffset: 30
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DNopropTest.java16 package org.yaml.snakeyaml.issues.issue9;
22 import org.yaml.snakeyaml.Yaml;
27 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK01() local
28 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK01()
36 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK02() local
37 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK02()
45 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK03() local
46 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK03()
54 …String yaml = "--- !!org.yaml.snakeyaml.issues.issue9.BeanHolder\nbean : !!org.yaml.snakeyaml.issu… in testOK04() local
55 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK04()
[all …]
/external/llvm-project/llvm/test/Transforms/NewGVN/
Dopt-remarks-xfail.ll4 ; RUN: cat %t | FileCheck -check-prefix=YAML %s
7 ; RUN: cat %t | FileCheck -check-prefix=YAML %s
15 ; YAML: --- !Passed
16 ; YAML-NEXT: Pass: gvn
17 ; YAML-NEXT: Name: LoadElim
18 ; YAML-NEXT: Function: arg
19 ; YAML-NEXT: Args:
20 ; YAML-NEXT: - String: 'load of type '
21 ; YAML-NEXT: - Type: i32
22 ; YAML-NEXT: - String: ' eliminated'
[all …]
/external/llvm-project/llvm/docs/
DYamlIO.rst2 YAML I/O
8 Introduction to YAML
11 YAML is a human readable data serialization language. The full YAML language
12 spec can be read at `yaml.org
13 <http://www.yaml.org/spec/1.2/spec.html#Introduction>`_. The simplest form of
14 yaml is just "scalars", "mappings", and "sequences". A scalar is any number
18 .. code-block:: yaml
27 .. code-block:: yaml
37 .. code-block:: yaml
53 verbose, so YAML offers an alternate syntax for sequences called a "Flow
[all …]
/external/llvm/docs/
DYamlIO.rst2 YAML I/O
8 Introduction to YAML
11 YAML is a human readable data serialization language. The full YAML language
12 spec can be read at `yaml.org
13 <http://www.yaml.org/spec/1.2/spec.html#Introduction>`_. The simplest form of
14 yaml is just "scalars", "mappings", and "sequences". A scalar is any number
18 .. code-block:: yaml
27 .. code-block:: yaml
37 .. code-block:: yaml
53 verbose, so YAML offers an alternate syntax for sequences called a "Flow
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/
DNumberBeanTest.java16 package org.yaml.snakeyaml.issues.issue183;
20 import org.yaml.snakeyaml.Yaml;
29 Yaml yaml = new Yaml(); in testNumberBean() local
30 String dump = yaml.dump(number); in testNumberBean()
31 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberBean()
39 Yaml yaml = new Yaml(); in testNumberAsFloatInfinity() local
40 String dump = yaml.dump(number); in testNumberAsFloatInfinity()
41 NumberBean loaded = yaml.loadAs(dump, NumberBean.class); in testNumberAsFloatInfinity()
49 Yaml yaml = new Yaml(); in testNumberAsDoubleInfinity() local
50 String dump = yaml.dump(number); in testNumberAsDoubleInfinity()
[all …]
/external/llvm-project/llvm/test/Transforms/GVN/
Dopt-remarks.ll4 ; RUN: cat %t | FileCheck -check-prefix=YAML %s
9 ; RUN: cat %t | FileCheck -check-prefix=YAML %s
16 ; YAML: --- !Passed
17 ; YAML-NEXT: Pass: gvn
18 ; YAML-NEXT: Name: LoadElim
19 ; YAML-NEXT: Function: arg
20 ; YAML-NEXT: Args:
21 ; YAML-NEXT: - String: 'load of type '
22 ; YAML-NEXT: - Type: i32
23 ; YAML-NEXT: - String: ' eliminated'
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java16 package org.yaml.snakeyaml;
29 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
30 import org.yaml.snakeyaml.composer.Composer;
31 import org.yaml.snakeyaml.constructor.BaseConstructor;
32 import org.yaml.snakeyaml.constructor.Constructor;
33 import org.yaml.snakeyaml.emitter.Emitable;
34 import org.yaml.snakeyaml.emitter.Emitter;
35 import org.yaml.snakeyaml.error.YAMLException;
36 import org.yaml.snakeyaml.events.Event;
37 import org.yaml.snakeyaml.introspector.BeanAccess;
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/
DDumpTest.java16 package org.yaml.snakeyaml.issues.issue124;
20 import org.yaml.snakeyaml.DumperOptions;
21 import org.yaml.snakeyaml.DumperOptions.FlowStyle;
22 import org.yaml.snakeyaml.Yaml;
23 import org.yaml.snakeyaml.nodes.Tag;
28 Yaml yaml = new Yaml(); in testDumperOptionsSideEffect() local
30 String output0 = yaml.dump(bean); in testDumperOptionsSideEffect()
32 assertEquals("!!org.yaml.snakeyaml.issues.issue124.Bean124\na: aaa\nnumbers: [1, 2, 3]\n", in testDumperOptionsSideEffect()
34 String output1 = yaml.dumpAsMap(bean); in testDumperOptionsSideEffect()
37 String output2 = yaml.dump(bean); in testDumperOptionsSideEffect()
[all …]
/external/llvm-project/llvm/test/Object/AMDGPU/
Delf-header-flags-mach.yaml3 # RUN: obj2yaml %t.o.R600_R600 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-R600 %s
7 # RUN: obj2yaml %t.o.R600_R630 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-R630 %s
11 # RUN: obj2yaml %t.o.R600_RS880 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RS880 %s
15 # RUN: obj2yaml %t.o.R600_RV670 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV670 %s
19 # RUN: obj2yaml %t.o.R600_RV710 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV710 %s
23 # RUN: obj2yaml %t.o.R600_RV730 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV730 %s
27 # RUN: obj2yaml %t.o.R600_RV770 | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-RV770 %s
31 # RUN: obj2yaml %t.o.R600_CEDAR | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-CEDAR %s
35 # RUN: obj2yaml %t.o.R600_CYPRESS | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-CYPRESS %s
39 # RUN: obj2yaml %t.o.R600_JUNIPER | FileCheck --check-prefixes=YAML-R600-ALL,YAML-R600-JUNIPER %s
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DBeanConstructorTest.java16 package org.yaml.snakeyaml.constructor;
22 import org.yaml.snakeyaml.DumperOptions;
23 import org.yaml.snakeyaml.Util;
24 import org.yaml.snakeyaml.Yaml;
25 import org.yaml.snakeyaml.error.YAMLException;
30 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); in testPrimitivesConstructor() local
31 String document = Util.getLocalResource("constructor/test-primitives1.yaml"); in testPrimitivesConstructor()
32 TestBean1 result = (TestBean1) yaml.load(document); in testPrimitivesConstructor()
59 Yaml yamlToDump = new Yaml(options); in testPrimitivesConstructor()
61 TestBean1 result2 = (TestBean1) yaml.load(output); in testPrimitivesConstructor()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue55/
DYamlFieldAccessCollectionTest.java16 package org.yaml.snakeyaml.issues.issue55;
23 import org.yaml.snakeyaml.Util;
24 import org.yaml.snakeyaml.Yaml;
25 import org.yaml.snakeyaml.introspector.BeanAccess;
26 import org.yaml.snakeyaml.representer.Representer;
32 Yaml yamlDumper = constructYamlDumper(); in testYaml()
36 Yaml blogLoader = new Yaml(); in testYaml()
44 Yaml yaml = new Yaml(); in testYamlWithoutConfiguration() local
45 Map<String, Object> map = (Map<String, Object>) yaml.load(Util in testYamlWithoutConfiguration()
51 Yaml beanLoader = new Yaml(); in testYamlFailure()
[all …]
/external/llvm-project/llvm/test/Transforms/LoopVectorize/X86/
Dvectorization-remarks-missed.ll2 ; RUN: opt < %s -loop-vectorize -transform-warning -o /dev/null -pass-remarks-output=%t.yaml -enabl…
3 ; RUN: cat %t.yaml | FileCheck -check-prefix=YAML %s
6 ; RUN: opt < %s -passes=loop-vectorize,transform-warning -o /dev/null -pass-remarks-output=%t.yaml
7 ; RUN: cat %t.yaml | FileCheck -check-prefix=YAML %s
51 ; YAML: --- !Analysis
52 ; YAML-NEXT: Pass: loop-vectorize
53 ; YAML-NEXT: Name: CantComputeNumberOfIterations
54 ; YAML-NEXT: DebugLoc: { File: source.cpp, Line: 5, Column: 9 }
55 ; YAML-NEXT: Function: _Z4testPii
56 ; YAML-NEXT: Args:
[all …]

12345678910>>...128