Home
last modified time | relevance | path

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

12345678910>>...48

/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
70 end
[all …]
/external/cronet/third_party/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
70 end
[all …]
/external/deqp/data/gles3/shaders/
Darrays.test2 #X2. Return value: float[5] func() { ... } // Function with a 5-element array return value
3 #X3. Array constructor: float[3] (1.0, 2.0, 5.5) // 3-element array with given elements
10 #X7. Testing that 2-dimensional arrays don't work: float a[5][3]; // Illegal
14 #X10. Test C/C++ style {}-constructor
24 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ];
25 output vec3 out0 = [ vec3(2.0, 0.5, 1.0) | vec3(2.0, 7.4, -1.0) | vec3(-2.0, 3.0, 1.6) ];
42 end
48 …input vec4 in0 = [ vec4(0.5, 1.0, 2.0, 0.2) | vec4(7.4, -1.0, 2.0, -1.3) | vec4(3.0, 1.6, -2.0, 0.…
49 …output vec4 out0 = [ vec4(2.0, 0.5, 0.2, 1.0) | vec4(2.0, 7.4, -1.3, -1.0) | vec4(-2.0, 3.0, 0.5, …
66 end
[all …]
/external/skia/tests/
DEncodeTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
71 bool success = GetResourceAsBitmap("images/mandrill_128.png", &bitmap); in test_encode() local
72 if (!success) { in test_encode()
77 success = bitmap.peekPixels(&src); in test_encode()
78 REPORTER_ASSERT(r, success); in test_encode()
79 if (!success) { in test_encode()
84 success = encode(format, &dst0, src); in test_encode()
85 REPORTER_ASSERT(r, success); in test_encode()
89 success = encoder1->encodeRows(1); in test_encode()
90 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/cronet/url/
Durl_canon_fileurl.cc2 // Use of this source code is governed by a BSD-style license that can be
18 bool IsLocalhost(const char* spec, int begin, int end) { in IsLocalhost() argument
19 if (begin > end) in IsLocalhost()
21 return base::StringPiece(&spec[begin], end - begin) == "localhost"; in IsLocalhost()
24 bool IsLocalhost(const char16_t* spec, int begin, int end) { in IsLocalhost() argument
25 if (begin > end) in IsLocalhost()
27 return base::StringPiece16(&spec[begin], end - begin) == u"localhost"; in IsLocalhost()
31 int DoFindWindowsDriveLetter(const CHAR* spec, int begin, int end) { in DoFindWindowsDriveLetter() argument
32 if (begin > end) in DoFindWindowsDriveLetter()
33 return -1; in DoFindWindowsDriveLetter()
[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"
96 // Zero-terminate the buffer, because readlink() won't. in LogOpenFileDescriptors()
97 target[len < target_size ? len : target_size - 1] = '\0'; in LogOpenFileDescriptors()
98 ICING_LOG(ERROR) << "fd " << fd << " -> \"" << target << "\""; in LogOpenFileDescriptors()
100 ICING_LOG(ERROR) << "fd " << fd << " -> ? (errno=" << errno << ")"; in LogOpenFileDescriptors()
134 std::string file_name(p->d_name); in ListDirectoryInternal()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/gtests/
DVkRelaxed.FromFile.cpp2 // Copyright (C) 2016-2017 Google, Inc.
58 …return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTy… in interfaceName()
62 bool success = true; in verifyIOMapping() local
76 success &= program.buildReflection(reflectionOptions); in verifyIOMapping()
83success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping()
90 for (; nextIt != stageReflections.end(); it++, nextIt++) { in verifyIOMapping()
91 int numOut = it->getNumPipeOutputs(); in verifyIOMapping()
95 const glslang::TObjectReflection& out = it->getPipeOutput(i); in verifyIOMapping()
100 int numIn = nextIt->getNumPipeInputs(); in verifyIOMapping()
102 auto in = nextIt->getPipeInput(i); in verifyIOMapping()
[all …]
DGlslMapIO.FromFile.cpp2 // Copyright (C) 2016-2017 Google, Inc.
58 …return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTy… in interfaceName()
62 bool success = true; in verifyIOMapping() local
76 success &= program.buildReflection(reflectionOptions); in verifyIOMapping()
83success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping()
90 for (; nextIt != stageReflections.end(); it++, nextIt++) { in verifyIOMapping()
91 int numOut = it->getNumPipeOutputs(); in verifyIOMapping()
95 const glslang::TObjectReflection& out = it->getPipeOutput(i); in verifyIOMapping()
100 int numIn = nextIt->getNumPipeInputs(); in verifyIOMapping()
102 auto in = nextIt->getPipeInput(i); in verifyIOMapping()
[all …]
/external/deqp-deps/glslang/gtests/
DVkRelaxed.FromFile.cpp2 // Copyright (C) 2016-2017 Google, Inc.
58 …return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTy… in interfaceName()
62 bool success = true; in verifyIOMapping() local
76 success &= program.buildReflection(reflectionOptions); in verifyIOMapping()
83success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping()
90 for (; nextIt != stageReflections.end(); it++, nextIt++) { in verifyIOMapping()
91 int numOut = it->getNumPipeOutputs(); in verifyIOMapping()
95 const glslang::TObjectReflection& out = it->getPipeOutput(i); in verifyIOMapping()
100 int numIn = nextIt->getNumPipeInputs(); in verifyIOMapping()
102 auto in = nextIt->getPipeInput(i); in verifyIOMapping()
[all …]
DGlslMapIO.FromFile.cpp2 // Copyright (C) 2016-2017 Google, Inc.
58 …return symbol.getType()->getBasicType() == glslang::EbtBlock ? std::string(symbol.getType()->getTy… in interfaceName()
62 bool success = true; in verifyIOMapping() local
76 success &= program.buildReflection(reflectionOptions); in verifyIOMapping()
83success &= stageReflections.back().addStage((EShLanguage)s, *program.getIntermediate((EShLanguage)… in verifyIOMapping()
90 for (; nextIt != stageReflections.end(); it++, nextIt++) { in verifyIOMapping()
91 int numOut = it->getNumPipeOutputs(); in verifyIOMapping()
95 const glslang::TObjectReflection& out = it->getPipeOutput(i); in verifyIOMapping()
100 int numIn = nextIt->getNumPipeInputs(); in verifyIOMapping()
102 auto in = nextIt->getPipeInput(i); in verifyIOMapping()
[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/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/cronet/base/strings/
Dutf_string_conversions.cc2 // Use of this source code is governed by a BSD-style license that can be
25 // Size coefficient ----------------------------------------------------------
40 // One UTF-16 codeunit corresponds to at most 3 codeunits in UTF-8.
47 // UTF-8 uses at most 4 codeunits per character.
53 // UTF-16 uses at most 2 codeunits per character.
62 // UnicodeAppendUnsafe --------------------------------------------------------
94 // DoUTFConversion ------------------------------------------------------------
103 bool success = true; in DoUTFConversion() local
110 success = false; in DoUTFConversion()
117 return success; in DoUTFConversion()
[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/autotest/utils/frozen_chromite/lib/
Dretry_stats.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
55 # pylint: disable=global-statement
70 return max(len(entry.attempts) - 1, 0)
76 success is the number of times a given command succeeded, even if it had to be
79 failure is the number of times we exhausting all retries without success.
82 success or failure.
96 success = len([e for e in stats if _SuccessFilter(e)])
97 failure = len(stats) - success
100 return success, failure, retry
[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/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/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dspdy_alt_svc_wire_format.h2 // Use of this source code is governed by a BSD-style license that can be
8 // https://httpwg.github.io/http-extensions/alt-svc.html.
67 // Forward |*c| over space and tab or until |end| is reached.
69 absl::string_view::const_iterator end);
70 // Decode percent-decoded string between |c| and |end| into |*output|.
71 // Return true on success, false if input is invalid.
73 absl::string_view::const_iterator end,
75 // Parse the authority part of Alt-Svc between |c| and |end| into |*host| and
76 // |*port|. Return true on success, false if input is invalid.
78 absl::string_view::const_iterator end,
[all …]
/external/mbedtls/3rdparty/everest/include/everest/
Deverest.h4 * Copyright 2016-2018 INRIA and Microsoft Corporation
5 * SPDX-License-Identifier: Apache-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
59 * \return \c 0 on success.
90 * \return \c 0 on success.
109 * \param end The address for one Byte past the end of the buffer.
111 * \return \c 0 on success.
116 const unsigned char **buf, const unsigned char *end );
129 * \param end The address for one Byte past the end of the buffer.
131 * \return \c 0 on success.
[all …]
/external/openthread/third_party/mbedtls/repo/3rdparty/everest/include/everest/
Deverest.h4 * Copyright 2016-2018 INRIA and Microsoft Corporation
5 * SPDX-License-Identifier: Apache-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
59 * \return \c 0 on success.
90 * \return \c 0 on success.
109 * \param end The address for one Byte past the end of the buffer.
111 * \return \c 0 on success.
116 const unsigned char **buf, const unsigned char *end );
129 * \param end The address for one Byte past the end of the buffer.
131 * \return \c 0 on success.
[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/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 …]
/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/llvm/lib/ProfileData/
DInstrProfReader.cpp1 //=-- InstrProfReader.cpp - Instrumented profiling reader -------------------=//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
46 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in create()
82 if (Buffer->getBufferSize() > std::numeric_limits<unsigned>::max()) in create()
98 if (auto E = Reader->readNextRecord(Record)) { in Increment()
121 if (!Line->startswith(":")) { in readHeader()
123 return success(); in readHeader()
125 StringRef Str = (Line)->substr(1); in readHeader()
135 return success(); in readHeader()
[all …]

12345678910>>...48