Home
last modified time | relevance | path

Searched +full:end +full:- +full:success (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/
Dbasic.rb6 # ------------- generated code --------------
14 end
18 end
22 end
48 end
51 end
55 end
58 end
65 end
71 end
[all …]
/external/llvm-project/mlir/test/Rewrite/
Dpdl-bytecode.mlir1 // RUN: mlir-opt %s -test-pdl-bytecode-pass -split-input-file | FileCheck %s
8 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
14 …y_constraint "multi_entity_constraint"(%root, %root : !pdl.operation, !pdl.operation) -> ^pat, ^end
17 pdl_interp.apply_constraint "single_entity_constraint"(%root : !pdl.operation) -> ^pat2, ^end
20 …pdl_interp.record_match @rewriters::@success(%root : !pdl.operation) : benefit(1), loc([%root]) ->…
22 ^end:
27 func @success(%root : !pdl.operation) {
28 %op = pdl_interp.create_operation "test.replaced_by_pattern"() -> ()
35 // CHECK-LABEL: test.apply_constraint_1
[all …]
/external/skqp/tests/
DEncodeTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
51 bool success = GetResourceAsBitmap("images/mandrill_128.png", &bitmap); in test_encode() local
52 if (!success) { in test_encode()
57 success = bitmap.peekPixels(&src); in test_encode()
58 REPORTER_ASSERT(r, success); in test_encode()
59 if (!success) { in test_encode()
64 success = encode(format, &dst0, src); in test_encode()
65 REPORTER_ASSERT(r, success); in test_encode()
69 success = encoder1->encodeRows(1); in test_encode()
70 REPORTER_ASSERT(r, success); in test_encode()
[all …]
/external/skia/tests/
DEncodeTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
59 bool success = GetResourceAsBitmap("images/mandrill_128.png", &bitmap); in test_encode() local
60 if (!success) { in test_encode()
65 success = bitmap.peekPixels(&src); in test_encode()
66 REPORTER_ASSERT(r, success); in test_encode()
67 if (!success) { in test_encode()
72 success = encode(format, &dst0, src); in test_encode()
73 REPORTER_ASSERT(r, success); in test_encode()
77 success = encoder1->encodeRows(1); in test_encode()
78 REPORTER_ASSERT(r, success); in test_encode()
[all …]
/external/llvm/test/Transforms/AtomicExpand/ARM/
Dcmpxchg-weak.ll1 ; RUN: opt -atomic-expand -codegen-opt-level=1 -S -mtriple=thumbv7s-apple-ios7.0 %s | FileCheck %s
4 ; CHECK-LABEL: @test_cmpxchg_seq_cst
19 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0
20 ; CHECK: br i1 [[SUCCESS]], label %[[SUCCESS_BB:.*]], label %[[FAILURE_BB:.*]]
24 ; CHECK: br label %[[END:.*]]
32 ; CHECK: br label %[[END]]
34 ; CHECK: [[END]]:
35 ; CHECK: [[SUCCESS:%.*]] = phi i1 [ true, %[[SUCCESS_BB]] ], [ false, %[[FAILURE_BB]] ]
44 ; CHECK-LABEL: @test_cmpxchg_weak_fail
58 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0
[all …]
/external/llvm-project/llvm/unittests/ADT/
DFallibleIteratorTest.cpp1 //===- unittests/ADT/FallibleIteratorTest.cpp - fallible_iterator.h tests -===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 #include "gtest/gtest-spi.h"
51 assert(Idx != C.size() && "Walking off end of (mock) collection"); in inc()
54 return Error::success(); in inc()
62 --Idx; in dec()
64 return Error::success(); in dec()
85 Item *operator->() { return &this->operator*(); } in operator ->()
87 const Item *operator->() const { return &this->operator*(); } in operator ->()
[all …]
/external/llvm-project/llvm/test/Transforms/AtomicExpand/ARM/
Dcmpxchg-weak.ll1 ; RUN: opt -atomic-expand -codegen-opt-level=1 -S -mtriple=thumbv7s-apple-ios7.0 %s | FileCheck %s
4 ; CHECK-LABEL: @test_cmpxchg_seq_cst
20 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0
21 ; CHECK: br i1 [[SUCCESS]], label %[[SUCCESS_BB:.*]], label %[[FAILURE_BB:.*]]
25 ; CHECK: br label %[[END:.*]]
35 ; CHECK: br label %[[END]]
37 ; CHECK: [[END]]:
39 ; CHECK: [[SUCCESS:%.*]] = phi i1 [ true, %[[SUCCESS_BB]] ], [ false, %[[FAILURE_BB]] ]
48 ; CHECK-LABEL: @test_cmpxchg_weak_fail
62 ; CHECK: [[SUCCESS:%.*]] = icmp eq i32 [[STREX]], 0
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeVisitorCallbacks.h1 //===- TypeVisitorCallbacks.h -----------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType()
24 /// Paired begin/end actions for all types. Receives all record data,
25 /// including the fixed-length record prefix. visitTypeBegin() should return
31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin()
33 return Error::success(); in visitTypeBegin()
35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd()
38 return Error::success(); in visitUnknownMember()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeVisitorCallbacks.h1 //===- TypeVisitorCallbacks.h -----------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType()
24 /// Paired begin/end actions for all types. Receives all record data,
25 /// including the fixed-length record prefix. visitTypeBegin() should return
31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin()
33 return Error::success(); in visitTypeBegin()
35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd()
38 return Error::success(); in visitUnknownMember()
[all …]
/external/llvm-project/clang/test/Rewriter/
Drewrite-block-pointer.mm1 …/ RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-
2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec…
3 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %…
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec…
14 @end
22 @end
48 - (void (^)(void))f;
49 @end
57 @end
60 - (void (^)(void))f {
[all …]
/external/clang/test/Rewriter/
Drewrite-block-pointer.mm1 …/ RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-
2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.c…
3 // RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %…
4 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-mode…
14 @end
22 @end
48 - (void (^)(void))f;
49 @end
57 @end
60 - (void (^)(void))f {
[all …]
/external/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp_test.py1 # encoding=utf-8
46 parser.add_argument('--unix', action='store_true', help='Run tests for Unix style newlines')
47 …parser.add_argument('--windows', action='store_true', help='Run tests for Windows/Dos style newlin…
48 …parser.add_argument('--oldmac', action='store_true', help='Run tests for Old Mac (pre-OSX) style n…
49 …parser.add_argument('--bizarro', action='store_true', help='Run tests for Bizarro world style newl…
50 parser.add_argument('--valgrind', action='store_true', help='Run with valgrind for errors')
61 if 'glcpp-args:' in l:
62 return l.split('glcpp-args:')[1].strip().split()
77 actual = actual.decode('utf-8')
86 # Bison 3.6 changed '$end' to 'end of file' in its error messages
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DConvertUTF.h1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------===
8 *==------------------------------------------------------------------------==*/
10 * Copyright 2001-2004 Unicode, Inc.
31 /* ---------------------------------------------------------------------
33 Conversions between UTF32, UTF-16, and UTF-8. Header file.
36 conversions between the three formats. UTF-7 is not included
44 targetEnd. Note: the end pointers are *after* the last item: e.g.
45 *(sourceEnd - 1) is the last item.
52 updated to point to the end of last text successfully converted in
56 sourceStart - pointer to a pointer to the source buffer.
[all …]
/external/llvm-project/llvm/test/Transforms/AtomicExpand/AMDGPU/
Dexpand-atomic-rmw-fadd.ll2 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=hawaii -atomic-expand %s | FileCheck -check-prefix=C…
3 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -atomic-expand %s | FileCheck -check-prefix=G…
4 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -atomic-expand %s | FileCheck -check-prefix=G…
7 ; CI-LABEL: @test_atomicrmw_fadd_f32_flat(
8 ; CI-NEXT: [[TMP1:%.*]] = load float, float* [[PTR:%.*]], align 4
9 ; CI-NEXT: br label [[ATOMICRMW_START:%.*]]
11 ; CI-NEXT: [[LOADED:%.*]] = phi float [ [[TMP1]], [[TMP0:%.*]] ], [ [[TMP6:%.*]], [[ATOMICRMW_ST…
12 ; CI-NEXT: [[NEW:%.*]] = fadd float [[LOADED]], [[VALUE:%.*]]
13 ; CI-NEXT: [[TMP2:%.*]] = bitcast float* [[PTR]] to i32*
14 ; CI-NEXT: [[TMP3:%.*]] = bitcast float [[NEW]] to i32
[all …]
/external/llvm-project/clang/unittests/CrossTU/
DCrossTranslationUnitTest.cpp1 //===- unittest/Tooling/CrossTranslationUnitTest.cpp - Tooling unit tests -===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 explicit CTUASTConsumer(clang::CompilerInstance &CI, bool *Success) in CTUASTConsumer() argument
30 : CTU(CI), Success(Success) {} in CTUASTConsumer()
35 for (const Decl *D : TU->decls()) { in HandleTranslationUnit()
37 if (FD && FD->getName() == "f") in HandleTranslationUnit()
45 assert(FD && FD->getName() == "f"); in HandleTranslationUnit()
46 bool OrigFDHasBody = FD->hasBody(); in HandleTranslationUnit()
81 ASTWithDefinition->Save(ASTFileName.str()); in HandleTranslationUnit()
[all …]
/external/icing/icing/legacy/index/
Dicing-filesystem.cc7 // http://www.apache.org/licenses/LICENSE-2.0
15 #include "icing/legacy/index/icing-filesystem.h"
33 #include "icing/legacy/core/icing-string-util.h"
34 #include "icing/legacy/index/icing-mmapper.h"
35 #include "icing/legacy/portable/icing-zlib.h"
99 // Zero-terminate the buffer, because readlink() won't. in LogOpenFileDescriptors()
100 target[len < target_size ? len : target_size - 1] = '\0'; in LogOpenFileDescriptors()
101 ICING_LOG(ERROR) << IcingStringUtil::StringPrintf("fd %d -> \"%s\"", fd, in LogOpenFileDescriptors()
104 ICING_LOG(ERROR) << IcingStringUtil::StringPrintf("fd %d -> ? (errno=%d)", in LogOpenFileDescriptors()
141 std::string file_name(p->d_name); in ListDirectoryInternal()
[all …]
/external/llvm/include/llvm/Support/
DConvertUTF.h1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------===
8 *==------------------------------------------------------------------------==*/
10 * Copyright 2001-2004 Unicode, Inc.
31 /* ---------------------------------------------------------------------
33 Conversions between UTF32, UTF-16, and UTF-8. Header file.
36 conversions between the three formats. UTF-7 is not included
44 targetEnd. Note: the end pointers are *after* the last item: e.g.
45 *(sourceEnd - 1) is the last item.
52 updated to point to the end of last text successfully converted in
56 sourceStart - pointer to a pointer to the source buffer.
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DConvertUTF.h1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------===
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *==------------------------------------------------------------------------==*/
9 * Copyright 2001-2004 Unicode, Inc.
30 /* ---------------------------------------------------------------------
32 Conversions between UTF32, UTF-16, and UTF-8. Header file.
35 conversions between the three formats. UTF-7 is not included
43 targetEnd. Note: the end pointers are *after* the last item: e.g.
44 *(sourceEnd - 1) is the last item.
51 updated to point to the end of last text successfully converted in
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DConvertUTF.h1 /*===--- ConvertUTF.h - Universal Character Names conversions ---------------===
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *==------------------------------------------------------------------------==*/
9 * Copyright 2001-2004 Unicode, Inc.
30 /* ---------------------------------------------------------------------
32 Conversions between UTF32, UTF-16, and UTF-8. Header file.
35 conversions between the three formats. UTF-7 is not included
43 targetEnd. Note: the end pointers are *after* the last item: e.g.
44 *(sourceEnd - 1) is the last item.
51 updated to point to the end of last text successfully converted in
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dcmpxchg-idioms.ll1 ; RUN: llc -mtriple=aarch64-apple-ios7.0 -o - %s | FileCheck %s
2 ; RUN: llc -mtriple=aarch64-apple-ios7.0 -mattr=+outline-atomics -o - %s | FileCheck %s --check-pre…
5 ; OUTLINE-ATOMICS: bl ___aarch64_cas4_acq_rel
6 ; CHECK-LABEL: test_return:
8 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]:
9 ; CHECK: ldaxr [[LOADED:w[0-9]+]], [x0]
11 ; CHECK: b.ne [[FAILED:LBB[0-9]+_[0-9]+]]
13 ; CHECK: stlxr [[STATUS:w[0-9]+]], {{w[0-9]+}}, [x0]
16 ; CHECK-NOT: cmp {{w[0-9]+}}, {{w[0-9]+}}
21 ; CHECK-NOT: cmp {{w[0-9]+}}, {{w[0-9]+}}
[all …]
/external/adhd/cras/src/tests/
Ddbus_test.cc2 // Use of this source code is governed by a BSD-style license that can be
185 for (std::vector<Arg>::iterator it = args->begin(); it != args->end(); ++it) { in MatchMessageArgs()
221 for (std::vector<Arg>::iterator it = args->begin(); it != args->end(); ++it) { in AppendArgsToMessage()
267 vit != arg.string_values.end(); ++vit) { in AppendArgsToMessage()
268 const char* str_value = vit->c_str(); in AppendArgsToMessage()
296 dbus_bool_t success; in SendMessage() local
298 success = dbus_connection_send(conn, message, &serial); in SendMessage()
300 if (success && expect_serial_) in SendMessage()
351 it != expected_serials_.end(); ++it) { in HandleClientMessage()
411 it != matches_.end(); ++it) { in WaitForMatches()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dconnect.hpp5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
43 * @returns On success, an iterator denoting the successfully connected
44 * endpoint. Otherwise, the end iterator.
51 * Iterator represents the end of the sequence. This is a valid assumption for
79 * @returns On success, an iterator denoting the successfully connected
80 * endpoint. Otherwise, the end iterator.
83 * Iterator represents the end of the sequence. This is a valid assumption for
113 * @param end An iterator pointing to the end of a sequence of endpoints.
115 * @returns On success, an iterator denoting the successfully connected
116 * endpoint. Otherwise, the end iterator.
[all …]
/external/llvm-project/llvm/test/CodeGen/ARM/
Dcmpxchg-idioms.ll1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s
4 ; CHECK-LABEL: test_return:
6 ; CHECK: ldrex [[LOADED:r[0-9]+]], [r0]
8 ; CHECK: bne [[FAILED:LBB[0-9]+_[0-9]+]]
12 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]:
13 ; CHECK: strex [[STATUS:r[0-9]+]], {{r[0-9]+}}, [r0]
14 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]]
21 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
27 ; CHECK: [[SUCCESS]]:
28 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
[all …]
/external/llvm/test/CodeGen/ARM/
Dcmpxchg-idioms.ll1 ; RUN: llc -mtriple=thumbv7s-apple-ios7.0 -o - %s | FileCheck %s
4 ; CHECK-LABEL: test_return:
6 ; CHECK: ldrex [[LOADED:r[0-9]+]], [r0]
8 ; CHECK: bne [[FAILED:LBB[0-9]+_[0-9]+]]
12 ; CHECK: [[LOOP:LBB[0-9]+_[0-9]+]]:
13 ; CHECK: strex [[STATUS:r[0-9]+]], {{r[0-9]+}}, [r0]
14 ; CHECK: cbz [[STATUS]], [[SUCCESS:LBB[0-9]+_[0-9]+]]
21 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
27 ; CHECK: [[SUCCESS]]:
28 ; CHECK-NOT: cmp {{r[0-9]+}}, {{r[0-9]+}}
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfReader.cpp1 //===- SampleProfReader.cpp - Read LLVM sample profile data ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 //===----------------------------------------------------------------------===//
74 size_t n1 = Input.rfind(':', n2 - 1); in ParseHead()
76 if (Input.substr(n1 + 1, n2 - n1 - 1).getAsInteger(10, NumSamples)) in ParseHead()
107 StringRef Loc = Input.substr(Depth, n1 - Depth); in ParseLine()
160 StringRef WordAfterColon = Rest.substr(n3 + 1, n4 - n3 - 1); in ParseLine()
196 sampleprof_error Result = sampleprof_error::success; in readImpl()
247 FunctionSamples &FSamples = InlineStack.back()->functionSamplesAt( in readImpl()
[all …]

12345678910>>...44