Home
last modified time | relevance | path

Searched refs:triple (Results 1 – 25 of 4674) sorted by relevance

12345678910>>...187

/external/spdx-tools/rdfloader/parser2v3/
Dparse_license.go75 for _, triple := range associatedTriples {
76 value := triple.Object.ID
77 switch triple.Predicate.ID {
96 return exception, fmt.Errorf("invalid predicate(%s) for LicenseException", triple.Predicate)
110 for _, triple := range associatedTriples {
111 switch triple.Predicate.ID {
120 member, err := parser.getSimpleLicensingInfoFromNode(triple.Object)
126 operator.licenseException, err = parser.getLicenseExceptionFromNode(triple.Object)
131 …return operator, fmt.Errorf("unknown predicate (%s) for a WithExceptionOperator", triple.Predicate…
143 for _, triple := range associatedTriples {
[all …]
Dparse_relationship_test.go87 triple := rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_PACKAGE)[0]
88 err := parser.parseRelatedElementFromTriple(reln, triple)
116 triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_PACKAGE)[0]
117 err = parser.parseRelatedElementFromTriple(reln, triple)
131 triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_FILE)[0]
132 err = parser.parseRelatedElementFromTriple(reln, triple)
160 triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_FILE)[0]
161 err = parser.parseRelatedElementFromTriple(reln, triple)
175triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_SPDX_ELEMENT…
176 err = parser.parseRelatedElementFromTriple(reln, triple)
[all …]
Dparse_relationship.go19 func (parser *rdfParser2_3) parseRelationship(triple *gordfParser.Triple) (err error) {
22 reln.RefA, err = getReferenceFromURI(triple.Subject.ID)
27 currState := parser.cache[triple.Object.ID]
31 parser.cache[triple.Object.ID] = &nodeState{
42 parser.cache[triple.Object.ID].Color = GREY
45 defer func() { parser.cache[triple.Object.ID].Color = BLACK }()
47 for _, subTriple := range parser.nodeToTriples(triple.Object) {
90 func (parser *rdfParser2_3) parseRelatedElementFromTriple(reln *v2_3.Relationship, triple *gordfPar…
93 switch triple.Object.ID {
95 file, err := parser.getFileFromNode(triple.Subject)
[all …]
Dparse_creation_info.go15 for _, triple := range parser.nodeToTriples(node) {
16 switch triple.Predicate.ID {
19 ci.LicenseListVersion = triple.Object.ID
22 err := setCreator(triple.Object.ID, ci)
28 ci.Created = triple.Object.ID
30 ci.CreatorComment = triple.Object.ID
34 return fmt.Errorf("unknown predicate %v while parsing a creation info", triple.Predicate)
/external/spdx-tools/rdfloader/parser2v2/
Dparse_license.go75 for _, triple := range associatedTriples {
76 value := triple.Object.ID
77 switch triple.Predicate.ID {
96 return exception, fmt.Errorf("invalid predicate(%s) for LicenseException", triple.Predicate)
110 for _, triple := range associatedTriples {
111 switch triple.Predicate.ID {
120 member, err := parser.getSimpleLicensingInfoFromNode(triple.Object)
126 operator.licenseException, err = parser.getLicenseExceptionFromNode(triple.Object)
131 …return operator, fmt.Errorf("unknown predicate (%s) for a WithExceptionOperator", triple.Predicate…
143 for _, triple := range associatedTriples {
[all …]
Dparse_relationship_test.go87 triple := rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_PACKAGE)[0]
88 err := parser.parseRelatedElementFromTriple(reln, triple)
116 triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_PACKAGE)[0]
117 err = parser.parseRelatedElementFromTriple(reln, triple)
131 triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_FILE)[0]
132 err = parser.parseRelatedElementFromTriple(reln, triple)
160 triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_FILE)[0]
161 err = parser.parseRelatedElementFromTriple(reln, triple)
175triple = rdfwriter.FilterTriples(parser.gordfParserObj.Triples, nil, &RDF_TYPE, &SPDX_SPDX_ELEMENT…
176 err = parser.parseRelatedElementFromTriple(reln, triple)
[all …]
Dparse_relationship.go19 func (parser *rdfParser2_2) parseRelationship(triple *gordfParser.Triple) (err error) {
22 reln.RefA, err = getReferenceFromURI(triple.Subject.ID)
27 currState := parser.cache[triple.Object.ID]
31 parser.cache[triple.Object.ID] = &nodeState{
42 parser.cache[triple.Object.ID].Color = GREY
45 defer func() { parser.cache[triple.Object.ID].Color = BLACK }()
47 for _, subTriple := range parser.nodeToTriples(triple.Object) {
90 func (parser *rdfParser2_2) parseRelatedElementFromTriple(reln *v2_2.Relationship, triple *gordfPar…
93 switch triple.Object.ID {
95 file, err := parser.getFileFromNode(triple.Subject)
[all …]
Dparse_creation_info.go15 for _, triple := range parser.nodeToTriples(node) {
16 switch triple.Predicate.ID {
19 ci.LicenseListVersion = triple.Object.ID
22 err := setCreator(triple.Object.ID, ci)
28 ci.Created = triple.Object.ID
30 ci.CreatorComment = triple.Object.ID
34 return fmt.Errorf("unknown predicate %v while parsing a creation info", triple.Predicate)
Dparse_review.go14 for _, triple := range parser.nodeToTriples(reviewedNode) {
15 switch triple.Predicate.ID {
21 review.ReviewComment = triple.Object.ID
24 review.ReviewDate = triple.Object.ID
28 review.ReviewerType, review.Reviewer, err = ExtractSubs(triple.Object.ID, ":")
33 return fmt.Errorf("unknown predicate %v for review triples", triple.Predicate)
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/
Dcpu_profiling_test.cc35 absl::string_view triple; member
48 std::string triple{spec.triple.data(), spec.triple.size()}; in Name() local
49 if (triple == kTriple_x86_64) { in Name()
50 triple = "x86_64"; in Name()
51 } else if (triple == kTriple_android_arm) { in Name()
52 triple = "android_arm"; in Name()
54 triple = "Unknown"; in Name()
57 return triple; in Name()
72 std::string triple{spec.triple.data(), spec.triple.size()}; in TEST_P() local
75 /*triple=*/triple, /*cpu_name=*/"", /*features=*/"", in TEST_P()
Dcpu_intrinsic_test.cc36 absl::string_view triple; member
53 std::string triple{spec.triple.data(), spec.triple.size()}; in Name() local
54 if (triple == kTriple_x86_64) { in Name()
55 triple = "x86_64"; in Name()
56 } else if (triple == kTriple_android_arm) { in Name()
57 triple = "android_arm"; in Name()
59 triple = "Unknown"; in Name()
71 return absl::StrCat(opcode, "_On_", triple, in Name()
103 std::string triple{spec.triple.data(), spec.triple.size()}; in TEST_P() local
107 /*triple=*/triple, /*cpu_name=*/"", /*features=*/features, in TEST_P()
Dcpu_vectorization_test.cc36 std::string triple; member
53 std::string triple{spec.triple.data(), spec.triple.size()}; in Name() local
54 if (triple == kTriple_x86_64) { in Name()
55 triple = "x86_64"; in Name()
56 } else if (triple == kTriple_android_arm) { in Name()
57 triple = "android_arm"; in Name()
59 triple = "Unknown"; in Name()
69 return absl::StrCat(opcode, "_On_", triple, in Name()
102 /*triple=*/spec.triple, /*cpu_name=*/"", /*features=*/spec.features, in TEST_P()
/external/llvm/test/MC/X86/
Dx86_nop.s1 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=generic %s | llvm-objdump -d - | FileCheck…
2 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=i386 %s | llvm-objdump -d - | FileCheck %s
3 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=i486 %s | llvm-objdump -d - | FileCheck %s
4 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=i586 %s | llvm-objdump -d - | FileCheck %s
5 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=pentium %s | llvm-objdump -d - | FileCheck…
6 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=pentium-mmx %s | llvm-objdump -d - | FileC…
7 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=geode %s | llvm-objdump -d - | FileCheck %s
8 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=i686 %s | llvm-objdump -d - | FileCheck %s
9 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=k6 %s | llvm-objdump -d - | FileCheck %s
10 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux -mcpu=k6-2 %s | llvm-objdump -d - | FileCheck %s
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/tuple/
DMutableTripleTest.java49 …final MutableTriple<Integer, String, Boolean> triple = new MutableTriple<>(0, "foo", Boolean.FALSE… in testBasic() local
50 assertEquals(0, triple.getLeft().intValue()); in testBasic()
51 assertEquals("foo", triple.getMiddle()); in testBasic()
52 assertEquals(Boolean.FALSE, triple.getRight()); in testBasic()
61 final MutableTriple<Integer, String, Boolean> triple = new MutableTriple<>(); in testDefault() local
62 assertNull(triple.getLeft()); in testDefault()
63 assertNull(triple.getMiddle()); in testDefault()
64 assertNull(triple.getRight()); in testDefault()
99 …final MutableTriple<Integer, String, Boolean> triple = new MutableTriple<>(0, "foo", Boolean.TRUE); in testMutate() local
100 triple.setLeft(42); in testMutate()
[all …]
DTripleTest.java90 final Triple<Integer, String, Boolean> triple = ImmutableTriple.of(0, "foo", Boolean.TRUE); in testCompatibilityBetweenTriples() local
92 assertEquals(triple, triple2); in testCompatibilityBetweenTriples()
93 assertEquals(triple.hashCode(), triple2.hashCode()); in testCompatibilityBetweenTriples()
95 set.add(triple); in testCompatibilityBetweenTriples()
114 final Triple<String, String, String> triple = Triple.of("Key", "Something", "Value"); in testFormattable_padded() local
115 assertEquals(" (Key,Something,Value)", String.format("%1$30s", triple)); in testFormattable_padded()
120 final Triple<String, String, String> triple = Triple.of("Key", "Something", "Value"); in testFormattable_simple() local
121 assertEquals("(Key,Something,Value)", String.format("%1$s", triple)); in testFormattable_simple()
126 final Triple<String, String, String> triple = Triple.of("Key", "Something", "Value"); in testToString() local
127 assertEquals("(Key,Something,Value)", triple.toString()); in testToString()
[all …]
DImmutableTripleTest.java43 …final ImmutableTriple<Integer, String, Boolean> triple = new ImmutableTriple<>(0, "foo", Boolean.T… in testBasic() local
44 assertEquals(0, triple.left.intValue()); in testBasic()
45 assertEquals(0, triple.getLeft().intValue()); in testBasic()
46 assertEquals("foo", triple.middle); in testBasic()
47 assertEquals("foo", triple.getMiddle()); in testBasic()
48 assertEquals(Boolean.TRUE, triple.right); in testBasic()
49 assertEquals(Boolean.TRUE, triple.getRight()); in testBasic()
117 final ImmutableTriple<String, String, String> triple = ImmutableTriple.nullTriple(); in testNullTripleTyped() local
118 assertNotNull(triple); in testNullTripleTyped()
155 …final ImmutableTriple<Integer, String, Boolean> triple = ImmutableTriple.of(0, "foo", Boolean.FALS… in testTripleOf() local
[all …]
/external/llvm/test/MC/Mips/
Delf_eflags.s1 # These *MUST* match the output of 'gcc -c' compiled with the same triple and
4 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r6 -target-abi n64 %s -o -| l…
7 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r6 -target-abi n64 -mattr=+na…
10 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 -target-abi n64 %s -o -| l…
11 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r3 -target-abi n64 %s -o -| l…
12 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r5 -target-abi n64 %s -o -| l…
15 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r2 -target-abi n64 -mattr=+na…
16 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r3 -target-abi n64 -mattr=+na…
17 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64r5 -target-abi n64 -mattr=+na…
20 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips64 -target-abi n64 %s -o -| llv…
[all …]
/external/crosvm/tools/windows/
Dbuild_test.py68 def get_target_path(triple, kind, test_it): argument
76 target_path = os.path.abspath(os.path.join(os.sep, "tmp", "{}_{}".format(triple, kind)))
82 def validate_symbols(triple, is_release): argument
84 target_path = get_target_path(triple, kind, False)
85 binary_path = os.path.join(target_path, triple, kind, crosvm_binary_name())
92 triple, argument
107 args = ["cargo", "build", "--target=%s" % triple]
125 if IS_WINDOWS and not validate_symbols(triple, is_release):
131 def test_target_modules(triple, is_release, env, no_run, modules, parallel): argument
142 args = ["cargo", "test", "--target=%s" % triple]
[all …]
/external/clang/test/Headers/
Dopencl-c-header.cl1 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
2 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
3 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
4 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl…
5 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
6 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
7 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
8 // RUN: %clang_cc1 -triple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include open…
9 // RUN: %clang_cc1 -triple amdgcn-unknown-amdhsa -internal-isystem ../../lib/Headers -include openc…
10 // RUN: %clang_cc1 -triple amdgcn-unknown-amdhsa -internal-isystem ../../lib/Headers -include openc…
[all …]
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp78 const llvm::Triple &triple);
87 void AddDefaultCIncludePaths(const llvm::Triple &triple,
92 void AddDefaultCPlusPlusIncludePaths(const llvm::Triple &triple,
98 const llvm::Triple &triple,
180 const llvm::Triple &triple) { in AddGnuCPlusPlusIncludePaths() argument
185 llvm::Triple::ArchType arch = triple.getArch(); in AddGnuCPlusPlusIncludePaths()
207 void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple, in AddDefaultCIncludePaths() argument
209 llvm::Triple::OSType os = triple.getOS(); in AddDefaultCIncludePaths()
223 if (triple.getEnvironment() != llvm::Triple::Cygnus) in AddDefaultCIncludePaths()
264 llvm::sys::path::append(P, "../../..", triple.str(), "include"); in AddDefaultCIncludePaths()
[all …]
/external/crosvm/tools/
Drun_tests272 def configure_cargo(cmd: Command, triple: Triple, features: str):
80 .with_envs(triple.get_cargo_env())
124 def check_build_prerequisites(triple: Triple):
126 if str(triple) not in installed_toolchains:
136 def get_vm_arch(triple: Triple):
137 if str(triple) == "x86_64-unknown-linux-gnu":
139 elif str(triple) == "aarch64-unknown-linux-gnu":
222 triple = Triple.from_shorthand(platform) if platform else Triple.host_default()
227 features = triple.feature_flag
257 features = features if features else triple.feature_flag
[all …]
Drun_tests72 def configure_cargo(cmd: Command, triple: Triple, features: str):
80 .with_envs(triple.get_cargo_env())
124 def check_build_prerequisites(triple: Triple):
126 if str(triple) not in installed_toolchains:
136 def get_vm_arch(triple: Triple):
137 if str(triple) == "x86_64-unknown-linux-gnu":
139 elif str(triple) == "aarch64-unknown-linux-gnu":
222 triple = Triple.from_shorthand(platform) if platform else Triple.host_default()
227 features = triple.feature_flag
257 features = features if features else triple.feature_flag
[all …]
/external/llvm/test/MC/Disassembler/AArch64/
Darm64-basic-a64-undefined.txt4 # RUN: echo "0x00 0x08 0x20 0xf8" | llvm-mc -triple arm64 -disassemble 2>&1 | FileCheck %s
5 # RUN: echo "0x00 0x88 0x20 0xf8" | llvm-mc -triple arm64 -disassemble 2>&1 | FileCheck %s
9 # RUN: echo "0x00 0x10 0xa0 0x0b" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
10 # RUN: echo "0x00 0x10 0x60 0x0b" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
11 # RUN: echo "0x00 0x14 0x20 0x0b" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
14 # RUN: echo "0x00 0x00 0xc0 0x72" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
17 # RUN: echo "0x00 0x00 0xc0 0xeb" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
18 # RUN: echo "0x00 0x80 0x80 0x6b" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
21 # RUN: echo "0x00 0x80 0x00 0x53" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
24 # RUN: echo "0x00 0x40 0x00 0x2e" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/lib/abi/
DCMakeLists.txt10 function(cxx_abi_list_identifier result triple abi_library abi_version unstable exceptions new_dele…
13 if ("${triple}" MATCHES "darwin")
15 string(REGEX REPLACE "darwin[0-9]+\\.[0-9]+\\.[0-9]+" "darwin" triple "${triple}")
16 elseif("${triple}" MATCHES "freebsd")
18 string(REGEX REPLACE "freebsd[0-9]+\\.[0-9]+" "freebsd" triple "${triple}")
20 list(APPEND abi_properties "${triple}")
44 set(triple "${CMAKE_CXX_COMPILER_TARGET}") variable
46 set(triple "${LLVM_DEFAULT_TARGET_TRIPLE}") variable
49 "${triple}"
/external/rust/crates/plotters-backend/src/rasterizer/
Dpath.rs20 fn compute_polygon_vertex(triple: &[BackendCoord; 3], d: f64, buf: &mut Vec<BackendCoord>) { in compute_polygon_vertex()
24 let (a_t, a_n) = get_dir_vector(triple[0], triple[1], false);
25 let (b_t, b_n) = get_dir_vector(triple[2], triple[1], true);
29 f64::from(triple[1].0) + d * a_n.0,
30 f64::from(triple[1].1) + d * a_n.1,
33 f64::from(triple[1].0) + d * b_n.0,
34 f64::from(triple[1].1) + d * b_n.1,
78 let dist_square = (x - triple[1].0 as f64).powi(2) + (y - triple[1].1 as f64).powi(2);

12345678910>>...187