/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
MyActivity.java | 28 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); 30 public static class Result { 35 public Result(int requestCode, int resultCode, Intent data) { 54 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); 60 public Result getResult() { 61 final Result result; local 63 result = mResult.poll(30, TimeUnit.SECONDS); 67 if (result == null) { 68 throw new IllegalStateException("Activity didn't receive a Result in 30 seconds") [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ia32/ |
GccInline.c | 37 UINT32 Result;
43 : "=a" (Result), // %0
50 return Result;
74 UINT32 Result;
80 : "=a" (Result), // %0
87 return Result;
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/X64/ |
GccInline.c | 38 UINT32 Result;
44 : "=a" (Result), // %0
51 return Result;
74 UINT32 Result;
80 : "=a" (Result), // %0
87 return Result;
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/ |
Hid.c | 60 EFI_STATUS Result;
72 Result = UsbIo->UsbControlTransfer (
82 return Result;
102 is not large enough to hold the result of the request.
117 EFI_STATUS Result;
132 Result = UsbIo->UsbControlTransfer (
142 return Result;
172 EFI_STATUS Result;
187 Result = UsbIo->UsbControlTransfer (
197 return Result;
[all...] |
/external/skia/src/codec/ |
SkGifCodec.h | 32 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 41 Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, 54 Result onStartIncrementalDecode(const SkImageInfo& /*dstInfo*/, void*, size_t, 57 Result onIncrementalDecode(int*) override; 76 Result prepareToDecode(const SkImageInfo& dstInfo, const Options& opts); 117 Result decodeFrame(bool firstAttempt, const Options& opts, int* rowsDecoded);
|
/external/skqp/src/codec/ |
SkGifCodec.h | 32 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 41 Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, 54 Result onStartIncrementalDecode(const SkImageInfo& /*dstInfo*/, void*, size_t, 57 Result onIncrementalDecode(int*) override; 76 Result prepareToDecode(const SkImageInfo& dstInfo, const Options& opts); 117 Result decodeFrame(bool firstAttempt, const Options& opts, int* rowsDecoded);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
SymbolSerializer.h | 55 CVSymbol Result; 56 Result.Type = static_cast<SymbolKind>(Sym.Kind); 58 consumeError(Serializer.visitSymbolBegin(Result)); 59 consumeError(Serializer.visitKnownRecord(Result, Sym)); 60 consumeError(Serializer.visitSymbolEnd(Result)); 61 return Result;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
Legacy.cpp | 44 JITSymbolResolver::LookupResult Result; 46 Result[*KV.first] = KV.second; 48 return Result; 58 LookupFlagsResult Result; 61 Result[*KV.first] = KV.second; 64 return Result;
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
NonRelocatableStringpool.cpp | 38 std::vector<DwarfStringPoolEntryRef> Result; 39 Result.reserve(Strings.size()); 41 Result.emplace_back(E); 43 Result.begin(), Result.end(), 47 return Result;
|
/external/vogar/src/vogar/tasks/ |
Task.java | 23 import vogar.Result; 28 * Tasks may be run at most once; running a task produces a result. 34 volatile Result result; field in class:Task 71 if (task.result == null) { 76 if (task.result != Result.SUCCESS) { 83 protected abstract Result execute() throws Exception; 86 if (result != null) { 91 result = execute() [all...] |
/external/swiftshader/third_party/LLVM/lib/Object/ |
COFFObjectFile.cpp | 90 SymbolRef &Result) const { 94 Result = SymbolRef(Symb, this); 99 StringRef &Result) const { 104 if (error_code ec = getString(Offset, Result)) 111 Result = StringRef(symb->Name.ShortName); 114 Result = StringRef(symb->Name.ShortName, 8); 119 uint64_t &Result) const { 128 Result = UnknownAddressOrSize; 130 Result = Section->VirtualAddress + symb->Value; 132 Result = symb->Value [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
String.c | 655 UINTN Result;
675 Result = 0;
682 ASSERT ((Result < QUIENT_MAX_UINTN_DIVIDED_BY_10) ||
683 ((Result == QUIENT_MAX_UINTN_DIVIDED_BY_10) &&
687 Result = Result * 10 + (*String - L'0');
691 return Result;
735 UINT64 Result;
755 Result = 0;
762 ASSERT ((Result < QUIENT_MAX_UINT64_DIVIDED_BY_10) || [all...] |
/device/generic/goldfish/network/netmgr/commands/ |
wifi_command.cpp | 76 std::vector<std::string> result; local 80 result.emplace_back(cur, space); 83 result.emplace_back(cur); 87 return result; 94 Result WifiCommand::onCommand(const char* /*command*/, const char* args) { 98 return Result::error("Invalid wifi command '%s'", args); 103 return Result::error("Empty wifi command"); 109 return Result::error("Missing argument to command '%s'", 120 return Result::error("Unknown wifi command '%s'", subCommand.c_str()); 127 Result WifiCommand::writeConfig() [all...] |
/external/google-breakpad/src/testing/include/gmock/ |
gmock-actions.h | 254 typedef typename internal::Function<F>::Result Result; 264 virtual Result Perform(const ArgumentTuple& args) = 0; 282 typedef typename internal::Function<F>::Result Result; 312 Result Perform(const ArgumentTuple& args) const { 339 // template <typename Result, typename ArgumentTuple> 340 // Result Perform(const ArgumentTuple& args) const { 341 // // Processes the arguments and returns a result, using 365 typedef typename internal::Function<F>::Result Result [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
CodeViewYAMLDebugSections.cpp | 406 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); 408 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes); 410 return Result; 417 auto Result = 419 Result->setCodeSize(Lines.CodeSize); 420 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset); 421 Result->setFlags(Lines.Flags); 423 Result->createBlock(LC.FileName); 424 if (Result->hasColumnInfo()) { 429 Result->addLineAndColumnInfo(L.Offset [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
DebugCounter.h | 77 auto Result = Us.Counters.find(CounterName); 78 if (Result != Us.Counters.end()) { 79 auto &CounterInfo = Result->second; 107 auto Result = Us.Counters.find(ID); 108 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); 109 return Result->second.Count; 161 unsigned Result = RegisteredCounters.insert(Name); 162 Counters[Result] = {}; 163 Counters[Result].Desc = Desc; 164 return Result; [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BasePciCf8Lib/ |
PciCf8Lib.c | 119 UINT8 Result;
125 Result = IoRead8 (PCI_CONFIGURATION_DATA_PORT + (UINT16)(Address & 3));
128 return Result;
157 UINT8 Result;
163 Result = IoWrite8 (
169 return Result;
177 bitwise OR between the read result and the value specified by
178 OrData, and writes the result to the 8-bit PCI configuration register
202 UINT8 Result;
208 Result = IoOr8 ( [all...] |
/external/llvm/include/llvm/IR/ |
PassManagerInternal.h | 78 /// \brief Abstract concept of an analysis result. 80 /// This concept is parameterized over the IR unit that this result pertains 85 /// \brief Method to try and mark a result as invalid. 92 /// took care to update or preserve the analysis result in some way. 94 /// \returns true if the result is indeed invalid (the default). 116 /// \brief Wrapper to model the analysis result concept. 119 /// implementation so that the actual analysis result doesn't need to provide 134 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {} [all...] |
/external/llvm/lib/Support/ |
ConvertUTFWrapper.cpp | 23 ConversionResult result = conversionOK; local 28 result = sourceIllegal; 36 // FIXME: Make the type of the result buffer correct instead of 40 result = ConvertUTF8toUTF16( 43 if (result == conversionOK) 49 // FIXME: Make the type of the result buffer correct instead of 53 result = ConvertUTF8toUTF32( 56 if (result == conversionOK) 61 assert((result != targetExhausted) 63 return result == conversionOK [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
PassManagerInternal.h | 88 /// Abstract concept of an analysis result. 90 /// This concept is parameterized over the IR unit that this result pertains 96 /// Method to try and mark a result as invalid. 103 /// to update or preserve the analysis result in some way. 106 /// used by a particular analysis result to discover if other analyses 107 /// results are also invalidated in the event that this result depends on 110 /// \returns true if the result is indeed invalid (the default). 124 // explicitly enable using the result type's invalidate routine if we can 135 // ambiguous if there were an invalidate member in the result type. 151 /// Wrapper to model the analysis result concept [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
ConvertUTFWrapper.cpp | 23 ConversionResult result = conversionOK; local 28 result = sourceIllegal; 36 // FIXME: Make the type of the result buffer correct instead of 40 result = ConvertUTF8toUTF16( 43 if (result == conversionOK) 49 // FIXME: Make the type of the result buffer correct instead of 53 result = ConvertUTF8toUTF32( 56 if (result == conversionOK) 61 assert((result != targetExhausted) 63 return result == conversionOK [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
ConvertUTFWrapper.cpp | 23 ConversionResult result = conversionOK; local 28 result = sourceIllegal; 36 // FIXME: Make the type of the result buffer correct instead of 40 result = ConvertUTF8toUTF16( 43 if (result == conversionOK) 49 // FIXME: Make the type of the result buffer correct instead of 53 result = ConvertUTF8toUTF32( 56 if (result == conversionOK) 61 assert((result != targetExhausted) 63 return result == conversionOK [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/UnitTest/ |
CommentGeneratingUnitTest.py | 60 Result = _GetHelpStr(HelpTextList)
61 self.assertEqual(Result, HelpStr)
81 Result = _GetHelpStr(HelpTextList)
82 self.assertEqual(Result, ExpectedStr)
102 Result = _GetHelpStr(HelpTextList)
103 self.assertEqual(Result, ExpectedStr)
122 Result = _GetHelpStr(HelpTextList)
123 self.assertEqual(Result, ExpectedStr)
148 Result = _GetHelpStr(HelpTextList)
149 self.assertEqual(Result, ExpectedStr) [all...] |
/device/generic/goldfish/dhcp/common/ |
socket.cpp | 75 Result Socket::open(int domain, int type, int protocol) { 77 return Result::error("Socket already open"); 81 return Result::error("Failed to open socket: %s", strerror(errno)); 83 return Result::success(); 86 Result Socket::bind(const void* sockaddr, size_t sockaddrLength) { 88 return Result::error("Socket not open"); 95 return Result::error("Unable to bind raw socket: %s", strerror(errno)); 98 return Result::success(); 101 Result Socket::bindIp(in_addr_t address, uint16_t port) { 111 Result Socket::bindRaw(unsigned int interfaceIndex) [all...] |
/external/clang/include/clang/Lex/ |
Lexer.h | 139 bool Lex(Token &Result); 148 void IndirectLex(Token &Result) override { Lex(Result); } 154 bool LexFromRawLexer(Token &Result) { 156 Lex(Result); 208 void ReadToEndOfLine(SmallVectorImpl<char> *Result = nullptr); 241 /// Tok.getLength() bytes long. The length of the actual result is returned. 287 static bool getRawToken(SourceLocation Loc, Token &Result, 408 /// name is spelled. Thus, the result shouldn't out-live that SourceManager. 419 /// where that macro name is spelled. Thus, the result shouldn't out-liv [all...] |