/device/generic/goldfish/dhcp/client/ |
router.cpp | 54 Result Router::init() { 58 return Result::error(strerror(errno)); 60 return Result::success(); 63 Result Router::setDefaultGateway(in_addr_t gateway, unsigned int ifaceIndex) { 90 Result Router::sendNetlinkMessage(const void* data, size_t size) { 99 return Result::error("Unable to send on netlink socket: %s", 102 return Result::success();
|
/device/generic/goldfish/network/netmgr/ |
monitor.cpp | 39 Result Monitor::init() { 95 Result res = openSocket(); 118 Result Monitor::openSocket() { 120 return Result::error("Monitor already initialized"); 125 return Result::error("Monitor failed to open socket: %s", 136 return Result::error("Monitor failed to bind socket: %s", 140 return Result::success();
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortLib/ |
Dw8250SerialPortLib.c | 86 UINTN Result;
92 Result = NumberOfBytes;
100 return Result;
122 UINTN Result;
128 Result = 0;
136 Result++;
139 return Result;
|
/external/clang/include/clang/Basic/ |
DiagnosticIDs.h | 91 DiagnosticMapping Result; 92 Result.Severity = (unsigned)Severity; 93 Result.IsUser = IsUser; 94 Result.IsPragma = IsPragma; 95 Result.HasNoWarningAsError = 0; 96 Result.HasNoErrorAsFatal = 0; 97 return Result;
|
/external/llvm/lib/Analysis/ |
ObjCARCAliasAnalysis.cpp | 49 AliasResult Result = 52 if (Result != MayAlias) 53 return Result; 60 Result = AAResultBase::alias(MemoryLocation(UA), MemoryLocation(UB)); 63 if (Result == NoAlias) 151 Result.reset(new ObjCARCAAResult(M.getDataLayout())); 156 Result.reset();
|
LazyValueInfo.cpp | 67 /// This Value has no known value yet. As a result, this implies the 433 void insertResult(Value *Val, BasicBlock *BB, const LVILatticeVal &Result) { 438 if (Result.isOverdefined()) 441 lookup(Val)[BB] = Result; 446 LVILatticeVal &Result, Instruction *CxtI = nullptr); 576 "Result should be in cache!"); 753 LVILatticeVal Result; // Start Undefined. 764 Result = LVILatticeVal::getNot(ConstantPointerNull::get(PTy)); 766 Result.markOverdefined(); 768 BBLV = Result; [all...] |
/external/llvm/lib/DebugInfo/PDB/ |
PDBContext.cpp | 37 DILineInfo Result; 38 Result.FunctionName = getFunctionName(Address, Specifier.FNKind); 53 return Result; 61 Result.FileName = SourceFile->getFileName(); 62 Result.Column = LineInfo->getColumnNumber(); 63 Result.Line = LineInfo->getLineNumber(); 64 return Result;
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
Binary.cpp | 44 OwningPtr<Binary> &Result) { 57 Result.swap(ret); 68 Result.swap(ret); 84 Result.swap(ret); 90 Result.swap(ret); 98 error_code object::createBinary(StringRef Path, OwningPtr<Binary> &Result) { 102 return createBinary(File.take(), Result);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
ObjCARCAliasAnalysis.cpp | 49 AliasResult Result = 52 if (Result != MayAlias) 53 return Result; 60 Result = AAResultBase::alias(MemoryLocation(UA), MemoryLocation(UB)); 63 if (Result == NoAlias) 151 Result.reset(new ObjCARCAAResult(M.getDataLayout())); 156 Result.reset();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/ |
PDBContext.cpp | 36 DILineInfo Result; 37 Result.FunctionName = getFunctionName(Address, Specifier.FNKind); 52 return Result; 60 Result.FileName = SourceFile->getFileName(); 61 Result.Column = LineInfo->getColumnNumber(); 62 Result.Line = LineInfo->getLineNumber(); 63 return Result;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
JITSymbol.cpp | 56 JITSymbolResolver::LookupResult Result; 61 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); 70 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); 81 return std::move(Result); 88 JITSymbolResolver::LookupFlagsResult Result; 93 Result[Symbol] = Sym.getFlags(); 98 return std::move(Result);
|
/frameworks/av/media/libaudiohal/impl/ |
DevicesFactoryHalHidl.cpp | 32 using ::android::hardware::audio::CPP_VERSION::Result; 90 Result retval = Result::NOT_INITIALIZED; 94 [&](Result r, const sp<IDevice>& result) { 96 if (retval == Result::OK) { 97 *device = new DeviceHalHidl(result); 103 case Result::OK: return OK; 105 case Result::NOT_INITIALIZED: return NO_INIT;
|
EffectHalHidl.cpp | 112 status_t EffectHalHidl::analyzeResult(const Result& result) { 113 switch (result) { 114 case Result::OK: return OK; 115 case Result::INVALID_ARGUMENTS: return BAD_VALUE; 116 case Result::INVALID_STATE: return NOT_ENOUGH_DATA; 117 case Result::NOT_INITIALIZED: return NO_INIT; 118 case Result::NOT_SUPPORTED: return INVALID_OPERATION; 119 case Result::RESULT_TOO_BIG: return NO_MEMORY; 158 Result retval 298 status_t result = FAILED_TRANSACTION; local 339 status_t result = FAILED_TRANSACTION; local [all...] |
/external/clang/test/CodeGen/ |
2002-07-14-MiscTests3.c | 64 int Result; 65 if (Val > 12.345) Result = 4; 66 return Result; /* Test use of undefined value */ 76 int Result = Param; 80 EF1(&Result, &c, &X); 85 EF1(&Result, &c, &X); 89 return Result; 112 int i, Result = 0; 114 Result += Array[i]; 116 return Result; [all...] |
/external/swiftshader/third_party/subzero/crosstest/ |
test_cast.cpp | 94 double Result = 0; 95 Result += castBits<uint32_t, float>(0); 96 Result += castBits<uint64, double>(0); 97 Result += castBits<float, uint32_t>(0); 98 Result += castBits<double, uint64>(0); 99 Result += castBits<uint32_t, float>(1, 0, 2); 100 Result += castBits<uint64, double>(1, 0, 2); 101 Result += castBits<float, uint32_t>(1, 0, 2); 102 Result += castBits<double, uint64>(1, 0, 2); 103 return Result; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
c.py | 493 for Result in ResultSet:
494 TimeValue = Result[0]
564 for Result in ResultSet:
568 FileID = Result[0]
817 for Result in ResultSet:
818 if Result[0] < ExpLine and Result[1] > ExpLine:
819 return Result
869 for Result in ResultSet:
870 if len(Result[0]) == 0: [all...] |
/external/clang/test/CodeGenCXX/ |
explicit-instantiation.cpp | 8 template<typename T, typename U, typename Result> 10 Result operator()(const T& t, const U& u) const; 13 template<typename T, typename U, typename Result> 14 Result plus<T, U, Result>::operator()(const T& t, const U& u) const {
|
/external/grpc-grpc/test/cpp/qps/ |
usage_timer.cc | 76 UsageTimer::Result UsageTimer::Sample() { 77 Result r; 86 UsageTimer::Result UsageTimer::Mark() const { 87 Result s = Sample(); 88 Result r;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/MCParser/ |
MCTargetAsmParser.h | 207 NearMissInfo Result; 208 Result.Kind = NearMissFeature; 209 Result.Features = MissingFeatures; 210 return Result; 217 NearMissInfo Result; 218 Result.Kind = NearMissPredicate; 219 Result.PredicateError = FailureCode; 220 return Result; 231 NearMissInfo Result; 232 Result.Kind = NearMissOperand [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
MD5.h | 66 // Our MD5 implementation returns the result in little endian, so the low 90 /// Finishes off the hash and puts the result in result. 91 void final(MD5Result &Result); 94 /// deposited into \p Str. The result will be of length 32. 95 static void stringifyResult(MD5Result &Result, SmallString<32> &Str); 114 MD5::MD5Result Result; 115 Hash.final(Result); 117 return Result.low();
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
StringSwitch.h | 47 /// \brief The pointer to the result of this switch statement, once known, 49 const T *Result; 54 : Str(S), Result(nullptr) { } 65 Result = other.Result; 76 if (!Result && N-1 == Str.size() && 78 Result = &Value; 87 if (!Result && Str.size() >= N-1 && 89 Result = &Value; 98 if (!Result && Str.size() >= N-1 & [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/ |
gmock-actions.h | 329 typedef typename internal::Function<F>::Result Result; 339 virtual Result Perform(const ArgumentTuple& args) = 0; 357 typedef typename internal::Function<F>::Result Result; 387 Result Perform(const ArgumentTuple& args) const { 414 // template <typename Result, typename ArgumentTuple> 415 // Result Perform(const ArgumentTuple& args) const { 416 // // Processes the arguments and returns a result, using 440 typedef typename internal::Function<F>::Result Result [all...] |
/external/llvm/lib/Support/ |
StringRef.cpp | 118 std::string Result(size(), char()); 120 Result[i] = ascii_tolower(Data[i]); 122 return Result; 126 std::string Result(size(), char()); 128 Result[i] = ascii_toupper(Data[i]); 130 return Result; 379 unsigned long long &Result) { 388 Result = 0; 406 unsigned long long PrevResult = Result; 407 Result = Result*Radix+CharVal [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldCOFFI386.h | 142 uint64_t Result = 147 assert(Result <= UINT32_MAX && "relocation overflow"); 151 << " Value: " << format("0x%08" PRIx32, Result) 153 writeBytesUnaligned(Result, Target, 4); 159 uint64_t Result = 162 assert(Result <= UINT32_MAX && "relocation overflow"); 166 << " Value: " << format("0x%08" PRIx32, Result) 168 writeBytesUnaligned(Result, Target, 4); 173 uint64_t Result = RE.Sections.SectionA == static_cast<uint32_t>(-1) 176 Result = Result - Section.getLoadAddress() + RE.Addend - 4 - RE.Offset [all...] |
/external/clang/lib/Sema/ |
SemaCodeComplete.cpp | 46 /// the result set (when it returns true) and which declarations should be 50 typedef CodeCompletionResult Result; 54 std::vector<Result> Results; 57 /// into the result set, used to ensure that no declaration ever gets into 58 /// the result set twice. 141 /// Closely matching the preferred type gives a boost to a result's 166 void AdjustResultPriorityForDecl(Result &R); 168 void MaybeAddConstructorResults(Result R); 215 Result *data() { return Results.empty()? nullptr : &Results.front(); } 238 /// When an Objective-C method declaration result is added, and tha [all...] |