/external/clang/lib/ASTMatchers/Dynamic/ |
Parser.cpp | 88 TokenInfo Result; 89 Result.Range.Start = currentLocation(); 92 Result.Kind = TokenInfo::TK_CodeCompletion; 93 Result.Text = StringRef(CodeCompletionLocation, 0); 95 return Result; 99 Result.Kind = TokenInfo::TK_Eof; 100 Result.Text = ""; 101 return Result; 106 Result.Kind = TokenInfo::TK_Comma; 107 Result.Text = Code.substr(0, 1) [all...] |
/external/clang/lib/Tooling/ |
FileMatchTrie.cpp | 113 StringRef Result = MatchingChild->getValue().findEquivalent( 116 if (!Result.empty() || IsAmbiguous) 117 return Result; 121 StringRef Result; 124 if (Result.empty()) { 125 Result = AllChildren[i]; 132 return Result; 185 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous); 188 return Result;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CharsTrie.java | 21 import android.icu.util.BytesTrie.Result; 126 * @return The match/value Result. 128 public Result current() /*const*/ { 131 return Result.NO_MATCH; 135 valueResults_[node>>15] : Result.NO_VALUE; 143 * @return The match/value Result. 145 public Result first(int inUnit) { 155 * @return The match/value Result. 157 public Result firstForCodePoint(int cp) { 162 Result.NO_MATCH) 258 Result result=branchNext(pos, node, inUnit); local 730 Result result; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CharsTrie.java | 20 import com.ibm.icu.util.BytesTrie.Result; 131 * @return The match/value Result. 134 public Result current() /*const*/ { 137 return Result.NO_MATCH; 141 valueResults_[node>>15] : Result.NO_VALUE; 149 * @return The match/value Result. 152 public Result first(int inUnit) { 162 * @return The match/value Result. 165 public Result firstForCodePoint(int cp) { 170 Result.NO_MATCH) 269 Result result=branchNext(pos, node, inUnit); local 753 Result result; local [all...] |
/external/llvm/unittests/DebugInfo/DWARF/ |
DWARFFormValueTest.cpp | 59 DWARFFormValue Result(Form); 62 Result.extractValue(Data, &Offset, nullptr); 63 return Result; 71 DWARFFormValue Result(DW_FORM_udata); 73 Result.extractValue(Data, &Offset, nullptr); 74 return Result; 82 DWARFFormValue Result(DW_FORM_sdata); 84 Result.extractValue(Data, &Offset, nullptr); 85 return Result;
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITTestBase.h | 50 Function *Result = Function::Create( 54 BasicBlock *BB = BasicBlock::Create(Context, Name, Result); 57 return Result; 68 Function *Result = startFunction<Signature>(M, "caller"); 72 for (Argument &A : Result->args()) 77 return Result; 84 Function *Result = startFunction<int32_t(void)>(M, "main"); 87 endFunctionWithRet(Result, ReturnVal); 89 return Result; 96 Function *Result = startFunction<int32_t(int32_t, int32_t)>(M, Name) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
DWARFFormValueTest.cpp | 46 DWARFFormValue Result(Form); 49 Result.extractValue(Data, &Offset, {0, 0, dwarf::DwarfFormat::DWARF32}); 50 return Result; 58 DWARFFormValue Result(DW_FORM_udata); 60 Result.extractValue(Data, &Offset, {0, 0, dwarf::DwarfFormat::DWARF32}); 61 return Result; 69 DWARFFormValue Result(DW_FORM_sdata); 71 Result.extractValue(Data, &Offset, {0, 0, dwarf::DwarfFormat::DWARF32}); 72 return Result;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITTestBase.h | 50 Function *Result = Function::Create( 54 BasicBlock *BB = BasicBlock::Create(Context, Name, Result); 57 return Result; 68 Function *Result = startFunction<Signature>(M, "caller"); 72 for (Argument &A : Result->args()) 77 return Result; 84 Function *Result = startFunction<int32_t(void)>(M, "main"); 87 endFunctionWithRet(Result, ReturnVal); 89 return Result; 96 Function *Result = startFunction<int32_t(int32_t, int32_t)>(M, Name) [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
heap_simulator.h | 50 // associated with a chunk in the assignment result. 58 // Result represents the result of the heap simulation. 59 struct Result { 108 // ordering of all instructions within each computation. The result is invalid 115 static StatusOr<Result> Run(std::unique_ptr<HeapAlgorithm> algorithm, 124 // in the computation. The result is invalid if instructions are not run in 126 static StatusOr<Result> Run( 156 Result Finish(); 214 using Result = HeapSimulator::Result [all...] |
/external/clang/lib/AST/ |
ExprConstant.cpp | 19 // * An evaluated result, valid only if constant folding has not failed. 23 // where it is possible to determine the evaluated result regardless. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dependency/ |
Dependency.c | 47 // If there is no GUID to evaluate, just return current result on stack.
50 return Stack->Result;
126 DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Underflow Error)\n"));
150 // check for the overflow on PUSHing the result since we already
154 DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Underflow Error)\n"));
162 // we don't need to check the second operator, and the result will be
164 // operator since it will now evaluate to the final result on the
175 (StackPtr-1)->Result = FALSE;
180 (StackPtr-1)->Result = TRUE;
194 DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Underflow Error)\n")); [all...] |
/device/linaro/bootloader/edk2/SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/ |
EdkiiSystemCapsuleLib.c | 279 BOOLEAN Result;
285 Result = GetFfsByName(AuthenticatedImage, AuthenticatedImageSize, &gEdkiiSystemFmpCapsuleDriverFvFileGuid, EFI_FV_FILETYPE_RAW, DriverFvImage, DriverFvImageSize);
286 if (!Result) {
298 return Result;
321 BOOLEAN Result;
327 Result = GetFfsByName(AuthenticatedImage, AuthenticatedImageSize, &gEdkiiSystemFmpCapsuleConfigFileGuid, EFI_FV_FILETYPE_RAW, ConfigImage, ConfigImageSize);
328 if (!Result) {
340 return Result;
480 BOOLEAN Result;
487 Result = GetFfsByName(SystemFirmwareImage, SystemFirmwareImageSize, &gEdkiiSystemFirmwareImageDescriptorF (…) [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SerialPortLib/ |
SerialPortLib.c | 138 UINTN Result;
145 Result = NumberOfBytes;
157 return Result;
201 UINTN Result;
208 Result = NumberOfBytes;
221 return Result;
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
rx-repeat.hpp | 96 class Result = observable<Value, Repeat>> 97 static Result member(Observable&& o) { 98 return Result(Repeat(std::forward<Observable>(o))); 107 class Result = observable<Value, Repeat>> 108 static Result member(Observable&& o, Count&& c) { 109 return Result(Repeat(std::forward<Observable>(o), std::forward<Count>(c)));
|
rx-retry.hpp | 93 class Result = observable<Value, Retry> 95 static Result member(Observable&& o) { 96 return Result(Retry(std::forward<Observable>(o))); 105 class Result = observable<Value, Retry> 107 static Result member(Observable&& o, Count&& c) { 108 return Result(Retry(std::forward<Observable>(o), std::forward<Count>(c)));
|
/external/clang/lib/Lex/ |
PPExpressions.cpp | 88 static bool EvaluateDefined(PPValue &Result, Token &PeekTok, DefinedTracker &DT, 91 Result.setBegin(beginLoc); 118 Result.Val = !!Macro; 119 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 122 if (Result.Val != 0 && ValueLive) 131 Result.setEnd(PeekTok.getLocation()); 141 Result.setEnd(PeekTok.getLocation()); 145 Result.setEnd(PeekTok.getLocation()); 153 // just as in normal text. If the token 'defined' is generated as a result [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-expr-3.cpp | 28 template<typename T, typename U, typename Result> 31 Result r = t += u; // expected-error{{ambiguous}} 51 template<typename T, typename U, typename Result> 54 Result result = t? : u; local 80 template<bool Cond, typename T, typename U, typename Result> 83 Result r = __builtin_choose_expr(Cond, t, u); // expected-error{{lvalue}}
|
/external/clang/unittests/Tooling/ |
RewriterTestContext.h | 88 SourceLocation Result = Sources.translateFileLineCol( 90 assert(Result.isValid()); 91 return Result; 95 std::string Result; 96 llvm::raw_string_ostream OS(Result); 99 return Result;
|
/external/llvm/lib/Analysis/ |
Analysis.cpp | 94 LLVMBool Result = verifyModule(*unwrap(M), OutMessages ? &MsgsOS : DebugOS); 100 if (Action == LLVMAbortProcessAction && Result) 106 return Result; 110 LLVMBool Result = verifyFunction( 114 if (Action == LLVMAbortProcessAction && Result) 117 return Result;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-cfi-verify/ |
FileAnalysis.cpp | 508 GraphResult Result = GraphBuilder::buildFlowGraph(Analysis, 0xDEADBEEF); 510 Analysis.validateCFIProtection(Result)); 511 Result = GraphBuilder::buildFlowGraph(Analysis, 0xDEADBEEF + 1); 513 Analysis.validateCFIProtection(Result)); 514 Result = GraphBuilder::buildFlowGraph(Analysis, 0xDEADBEEF + 3); 516 Analysis.validateCFIProtection(Result)); 517 Result = GraphBuilder::buildFlowGraph(Analysis, 0x12345678); 519 Analysis.validateCFIProtection(Result)); 532 GraphResult Result = GraphBuilder::buildFlowGraph(Analysis, 0xDEADBEEF + 4); 534 Analysis.validateCFIProtection(Result)); [all...] |
/device/google/contexthub/contexthubhal/ |
NanohubHidlAdapter.cpp | 131 Return<Result> Contexthub::sendMessageToHub(uint32_t hubId, 134 return Result::BAD_PARAMS; 156 return Result::TRANSACTION_FAILED; 159 return Result::OK; 162 Return<Result> Contexthub::registerCallback(uint32_t hubId, 164 Return<Result> retVal = Result::BAD_PARAMS; 168 retVal = Result::BAD_PARAMS; 188 retVal = Result::OK; 194 retVal = Result::UNKNOWN_FAILURE 237 TransactionResult result; local 556 String8 result; local [all...] |
/external/googletest/googlemock/include/gmock/ |
gmock-actions.h | 317 typedef typename internal::Function<F>::Result Result; 327 virtual Result Perform(const ArgumentTuple& args) = 0; 349 typename internal::Function<F>::Result operator()(Args&&... args) { 356 typedef typename internal::Function<F>::Result Result; 390 Result Perform(ArgumentTuple args) const { 414 // template <typename Result, typename ArgumentTuple> 415 // Result Perform(const ArgumentTuple& args) const { 416 // // Processes the arguments and returns a result, usin [all...] |
/external/llvm/unittests/ProfileData/ |
SampleProfTest.cpp | 175 sampleprof_error Result; 179 Result = FooSamples.addTotalSamples(1); 180 ASSERT_EQ(Result, sampleprof_error::success); 182 Result = FooSamples.addHeadSamples(1); 183 ASSERT_EQ(Result, sampleprof_error::success); 185 Result = FooSamples.addBodySamples(10, 0, 1); 186 ASSERT_EQ(Result, sampleprof_error::success); 188 Result = FooSamples.addTotalSamples(Max); 189 ASSERT_EQ(Result, sampleprof_error::counter_overflow); 192 Result = FooSamples.addHeadSamples(Max) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/ |
SampleProfTest.cpp | 192 sampleprof_error Result; 196 Result = FooSamples.addTotalSamples(1); 197 ASSERT_EQ(Result, sampleprof_error::success); 199 Result = FooSamples.addHeadSamples(1); 200 ASSERT_EQ(Result, sampleprof_error::success); 202 Result = FooSamples.addBodySamples(10, 0, 1); 203 ASSERT_EQ(Result, sampleprof_error::success); 205 Result = FooSamples.addTotalSamples(Max); 206 ASSERT_EQ(Result, sampleprof_error::counter_overflow); 209 Result = FooSamples.addHeadSamples(Max) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
StringRef.cpp | 109 std::string Result(size(), char()); 111 Result[i] = toLower(Data[i]); 113 return Result; 117 std::string Result(size(), char()); 119 Result[i] = toUpper(Data[i]); 121 return Result; 412 unsigned long long &Result) { 422 Result = 0; 440 unsigned long long PrevResult = Result; 441 Result = Result * Radix + CharVal [all...] |