/external/skia/src/codec/ |
SkBmpCodec.h | 31 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 37 static std::unique_ptr<SkCodec> MakeFromIco(std::unique_ptr<SkStream>, Result*); 50 static Result ReadHeader(SkStream*, bool inIco, std::unique_ptr<SkCodec>* codecOut); 93 virtual SkCodec::Result onPrepareToDecode(const SkImageInfo& dstInfo, 95 SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo, 114 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*, bool inIco); 136 Result onStartScanlineDecode(const SkImageInfo& dstInfo,
|
SkPngCodec.h | 25 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*, 50 Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, int*) 74 Result onStartIncrementalDecode(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, 76 Result onIncrementalDecode(int*) override; 104 SkCodec::Result initializeXforms(const SkImageInfo& dstInfo, const Options&); 109 virtual Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) = 0; 111 virtual Result decode(int* rowsDecoded) = 0;
|
SkIcoCodec.h | 28 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 42 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&, 60 Result onStartScanlineDecode(const SkImageInfo& dstInfo, 67 Result onStartIncrementalDecode(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, 70 Result onIncrementalDecode(int* rowsDecoded) override;
|
/external/skqp/src/codec/ |
SkBmpCodec.h | 31 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 37 static std::unique_ptr<SkCodec> MakeFromIco(std::unique_ptr<SkStream>, Result*); 50 static Result ReadHeader(SkStream*, bool inIco, std::unique_ptr<SkCodec>* codecOut); 93 virtual SkCodec::Result onPrepareToDecode(const SkImageInfo& dstInfo, 95 SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo, 114 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*, bool inIco); 136 Result onStartScanlineDecode(const SkImageInfo& dstInfo,
|
SkPngCodec.h | 25 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*, 50 Result onGetPixels(const SkImageInfo&, void*, size_t, const Options&, int*) 74 Result onStartIncrementalDecode(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, 76 Result onIncrementalDecode(int*) override; 104 SkCodec::Result initializeXforms(const SkImageInfo& dstInfo, const Options&); 109 virtual Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) = 0; 111 virtual Result decode(int* rowsDecoded) = 0;
|
SkIcoCodec.h | 28 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 42 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&, 60 Result onStartScanlineDecode(const SkImageInfo& dstInfo, 67 Result onStartIncrementalDecode(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, 70 Result onIncrementalDecode(int* rowsDecoded) override;
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
StringRef.cpp | 130 unsigned Result = previous[n]; 131 return Result; 261 unsigned long long &Result) { 270 Result = 0; 288 unsigned long long PrevResult = Result; 289 Result = Result*Radix+CharVal; 292 if (Result < PrevResult) 301 bool StringRef::getAsInteger(unsigned Radix, unsigned long long &Result) const { 302 return GetAsUnsignedInteger(*this, Radix, Result); [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
rx-replay.hpp | 106 class Result = connectable_observable<SourceValue, Multicast> 108 static Result member(Observable&& o) { 109 return Result(Multicast(std::forward<Observable>(o), Subject(identity_current_thread(), composite_subscription()))); 118 class Result = connectable_observable<SourceValue, Multicast> 120 static Result member(Observable&& o, composite_subscription cs) { 121 return Result(Multicast(std::forward<Observable>(o), Subject(identity_current_thread(), cs))); 131 class Result = connectable_observable<SourceValue, Multicast> 133 static Result member(Observable&& o, Coordination&& cn, composite_subscription cs = composite_subscription()) { 134 return Result(Multicast(std::forward<Observable>(o), Subject(std::forward<Coordination>(cn), cs))); 144 class Result = connectable_observable<SourceValue, Multicast [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
String.c | 658 UINTN Result;
680 Result = 0;
687 ASSERT (Result <= ((((UINTN) ~0) - (*String - L'0')) / 10));
689 Result = Result * 10 + (*String - L'0');
693 return Result;
737 UINT64 Result;
759 Result = 0;
766 ASSERT (Result <= DivU64x32 (((UINT64) ~0) - (*String - L'0') , 10));
768 Result = MultU64x32 (Result, 10) + (*String - L'0'); [all...] |
/external/clang/unittests/Tooling/ |
CompilationDatabaseTest.cpp | 352 std::vector<std::string> Result = unescapeJsonCommandLine(""); 353 EXPECT_TRUE(Result.empty()); 357 std::vector<std::string> Result = unescapeJsonCommandLine("a b c"); 358 ASSERT_EQ(3ul, Result.size()); 359 EXPECT_EQ("a", Result[0]); 360 EXPECT_EQ("b", Result[1]); 361 EXPECT_EQ("c", Result[2]); 365 std::vector<std::string> Result = unescapeJsonCommandLine(" a b "); 366 ASSERT_EQ(2ul, Result.size()); 367 EXPECT_EQ("a", Result[0]) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
DebugStringTableSubsection.cpp | 39 StringRef Result; 40 if (auto EC = Reader.readCString(Result)) 42 return Result; 90 std::vector<uint32_t> Result; 91 Result.reserve(IdToString.size()); 93 Result.push_back(Entry.first); 94 llvm::sort(Result.begin(), Result.end()); 95 return Result;
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
BasePermissionActivity.java | 30 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); 33 public static class Result { 38 public Result(int requestCode, String[] permissions, int[] grantResults) { 60 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS); 74 public Result getResult() {
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 68 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 103 * protected void onPostExecute(Long result) { 104 * showDialog("Downloaded " + result + " bytes"); 121 * <li><code>Result</code>, the type of the result of the background 139 * of the asynchronous task are passed to this step. The result of the computation must 150 * computation finishes. The result of the background computation is passed to 197 public abstract class AsyncTask<Params, Progress, Result> { 239 private final WorkerRunnable<Params, Result> mWorker 666 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
AsyncTask.java | 67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 68 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 103 * protected void onPostExecute(Long result) { 104 * showDialog("Downloaded " + result + " bytes"); 121 * <li><code>Result</code>, the type of the result of the background 139 * of the asynchronous task are passed to this step. The result of the computation must 150 * computation finishes. The result of the background computation is passed to 197 public abstract class AsyncTask<Params, Progress, Result> { 239 private final WorkerRunnable<Params, Result> mWorker 666 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
AsyncTask.java | 67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 68 * types, called <code>Params</code>, <code>Progress</code> and <code>Result</code>, 103 * protected void onPostExecute(Long result) { 104 * showDialog("Downloaded " + result + " bytes"); 121 * <li><code>Result</code>, the type of the result of the background 139 * of the asynchronous task are passed to this step. The result of the computation must 150 * computation finishes. The result of the background computation is passed to 197 public abstract class AsyncTask<Params, Progress, Result> { 239 private final WorkerRunnable<Params, Result> mWorker 666 AsyncTaskResult result = (AsyncTaskResult) msg.obj; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/ |
Eiffel.py | 9 ensure Result > arg
18 def m1_post(self, Result, arg):
19 assert Result > arg
32 def m1_post(self, Result, arg):
33 C.m1_post(self, Result, arg)
34 assert Result < 100
86 Result = apply(self.func, (self.inst,) + args, kw)
88 apply(self.post, (Result,) + args, kw)
89 return Result
106 def m1_post(self, Result, arg): [all...] |
/external/llvm/unittests/Analysis/ |
CGSCCPassManagerTest.cpp | 27 struct Result { 28 Result(int Count) : FunctionCount(Count) {} 37 Result run(Module &M, ModuleAnalysisManager &AM) { 39 return Result(M.size()); 52 struct Result { 53 Result(int Count) : FunctionCount(Count) {} 62 Result run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM) { 64 return Result(C.size()); 77 struct Result { 78 Result(int Count) : InstructionCount(Count) { [all...] |
/external/python/cpython2/Demo/metaclasses/ |
Eiffel.py | 9 ensure Result > arg 18 def m1_post(self, Result, arg): 19 assert Result > arg 32 def m1_post(self, Result, arg): 33 C.m1_post(self, Result, arg) 34 assert Result < 100 86 Result = apply(self.func, (self.inst,) + args, kw) 88 apply(self.post, (Result,) + args, kw) 89 return Result 106 def m1_post(self, Result, arg) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
StringSwitch.h | 47 /// The pointer to the result of this switch statement, once known, 49 Optional<T> Result; 54 : Str(S), Result() { } 64 : Str(other.Str), Result(std::move(other.Result)) { } 71 if (!Result && Str == S) { 72 Result = std::move(Value); 79 if (!Result && Str.endswith(S)) { 80 Result = std::move(Value); 87 if (!Result && Str.startswith(S)) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
WindowsResourceDumper.cpp | 25 std::string Result; 26 Result.reserve(UTF16Str.size()); 33 Result += ChValue; 35 Result += '?'; 37 return Result;
|
/external/tensorflow/tensorflow/core/util/ |
example_proto_fast_parsing.h | 63 // If `true`, `Result::feature_stats` will contain one 86 struct Result { 97 // Parses a batch of serialized Example protos and converts them into result 104 thread::ThreadPool* thread_pool, Result* result); 110 const string& serialized, Result* result); 113 // result according to given config. 120 thread::ThreadPool* thread_pool, example::Result* context_result, 121 example::Result* feature_list_result [all...] |
/external/llvm/lib/Analysis/ |
AliasAnalysis.cpp | 79 auto Result = AA->alias(LocA, LocB); 80 if (Result != MayAlias) 81 return Result; 96 ModRefInfo Result = MRI_ModRef; 99 Result = ModRefInfo(Result & AA->getArgModRefInfo(CS, ArgIdx)); 102 if (Result == MRI_NoModRef) 103 return Result; 106 return Result; 128 ModRefInfo Result = MRI_ModRef [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
AliasAnalysis.cpp | 105 auto Result = AA->alias(LocA, LocB); 106 if (Result != MayAlias) 107 return Result; 122 ModRefInfo Result = ModRefInfo::ModRef; 125 Result = intersectModRef(Result, AA->getArgModRefInfo(CS, ArgIdx)); 128 if (isNoModRef(Result)) 132 return Result; 158 ModRefInfo Result = ModRefInfo::ModRef; 161 Result = intersectModRef(Result, AA->getModRefInfo(CS, Loc)) [all...] |
/device/generic/goldfish/dhcp/server/ |
dhcpserver.cpp | 43 Result DhcpServer::init() { 44 Result res = mSocket.open(AF_INET, SOCK_DGRAM, IPPROTO_UDP); 62 return Result::success(); 65 Result DhcpServer::run() { 75 return Result::error("Unable to fill signal set: %s", strerror(errno)); 79 return Result::error("Unable to set signal mask: %s", strerror(errno)); 93 Result res = mSocket.receiveFromInterface(&message, 125 return Result::error("Polling failed: %s", strerror(errno)); 128 Result DhcpServer::sendMessage(unsigned int interfaceIndex, 143 Result res = getOfferAddress(interfaceIndex [all...] |
/external/clang/unittests/AST/ |
MatchVerifier.h | 69 void run(const MatchFinder::MatchResult &Result) override; 70 virtual void verify(const MatchFinder::MatchResult &Result, 73 void setFailure(const Twine &Result) { 75 VerifyResult = Result.str(); 87 /// \brief Runs a matcher over some code, and returns the result of the 133 /// \brief Runs a matcher over some AST, and returns the result of the 150 void MatchVerifier<NodeType>::run(const MatchFinder::MatchResult &Result) { 151 const NodeType *Node = Result.Nodes.getNodeAs<NodeType>(""); 157 verify(Result, *Node); 163 const MatchFinder::MatchResult &Result) { [all...] |