/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
FwVol.c | 82 UINT8 Sum;
84 Sum = 0;
88 Sum = (UINT8) (Sum + ptr[Index]);
89 Sum = (UINT8) (Sum + ptr[Index + 1]);
90 Sum = (UINT8) (Sum + ptr[Index + 2]);
91 Sum = (UINT8) (Sum + ptr[Index + 3]); [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
Xen.c | 68 UINT8 Sum;
85 Sum = CalculateSum8 (
89 if (Sum != 0) {
97 Sum = CalculateSum8 (
101 if (Sum != 0) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/ |
Sum.java | 25 * Returns the sum of the available values. 37 public class Sum extends AbstractStorelessUnivariateStatistic implements Serializable { 46 * The currently running sum. 51 * Create a Sum instance 53 public Sum() { 59 * Copy constructor, creates a new {@code Sum} identical 62 * @param original the {@code Sum} instance to copy 64 public Sum(Sum original) { 106 * The sum of the entries in the specified portion o 121 double sum = Double.NaN; local 160 double sum = Double.NaN; local [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
AliasAnalysisCounter.cpp | 43 void printLine(const char *Desc, unsigned Val, unsigned Sum) { 45 << Val*100/Sum << "%)\n";
|
/frameworks/native/libs/vr/libpdx_uds/ |
client_channel_tests.cpp | 42 PDX_REMOTE_METHOD(Sum, kOpSum, int64_t(const std::vector<DataType>&)); 53 DispatchRemoteMethod<TestProtocol::Sum>(*this, &TestService::OnSum, 72 int64_t Sum(const std::vector<TestProtocol::DataType>& data) { 73 auto status = InvokeRemoteMethod<TestProtocol::Sum>(data); 143 ASSERT_EQ(expected, client->Sum(data));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
CommonLib.c | 355 This function calculates the UINT8 sum for the requested region.
369 UINT8 Sum;
371 Sum = 0;
374 // Perform the byte sum for buffer
377 Sum = (UINT8) (Sum + Buffer[Index]);
380 return Sum;
417 This function calculates the UINT16 sum for the requested region.
431 UINT16 Sum;
433 Sum = 0; [all...] |
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/CbParseLib/ |
CbParseLib.c | 46 Returns the sum of all elements in a buffer of 16-bit values. During
49 @param Buffer The pointer to the buffer to carry out the sum operation.
52 @return Sum The sum of Buffer with carry bits included during additions.
61 UINT32 Sum, TmpValue;
65 Sum = 0;
73 Sum += TmpValue;
76 if (Sum >= 0x10000) {
77 Sum = (Sum + (Sum >> 16)) & 0xFFFF; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/ |
AcpiTableProtocol.c | [all...] |
/external/giflib/ |
quantize.c | 203 long Sum, Count; 259 Sum = NewColorSubdiv[Index].Count / 2 - QuantizedColor->Count; 263 (Sum -= QuantizedColor->Pnext->Count) >= 0 &&
|
/external/google-benchmark/src/ |
stat.h | 107 // Return the sum of this sample set 108 VType Sum() const { return sum_; } 143 NumType numsamples_; // sum of weight[i]; 144 VType sum_; // sum of weight[i]*value[i]; 145 VType sum_squares_; // sum of weight[i]*value[i]^2;
|
/external/libcxx/utils/google-benchmark/src/ |
stat.h | 107 // Return the sum of this sample set 108 VType Sum() const { return sum_; } 143 NumType numsamples_; // sum of weight[i]; 144 VType sum_; // sum of weight[i]*value[i]; 145 VType sum_squares_; // sum of weight[i]*value[i]^2;
|
/external/llvm/include/llvm/Support/ |
BranchProbability.h | 60 // Normalize given probabilties so that the sum of them becomes approximate 182 uint64_t Sum = std::accumulate(Begin, End, uint64_t(0), 192 // If the sum of all known probabilities is less than one, evenly distribute 193 // the complement of sum to unknown probabilities. Otherwise, set unknown 195 if (Sum < BranchProbability::getDenominator()) 197 (BranchProbability::getDenominator() - Sum) / UnknownProbCount); 203 if (Sum <= BranchProbability::getDenominator()) 207 if (Sum == 0) { 214 I->N = (I->N * uint64_t(D) + Sum / 2) / Sum; [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
SpillPlacement.cpp | 91 /// sum can be less than 2 when the variable is not live into / out of some 103 // Actually, we must spill if Bias < sum(weights). 104 // It may be worth it to compute the weight sum here? 147 // Compute the weighted sum of inputs. 148 float Sum = Bias; 150 Sum += I->first * nodes[I->second].Value; 152 // The weighted sum is going to be in the range [-2;2]. Ideally, we should 153 // simply set Value = sign(Sum), but we will add a dead zone around 0 for 157 // 2. It helps tame rounding errors when the links nominally sum to 0. 160 if (Sum < -Thres [all...] |
/external/swiftshader/third_party/LLVM/unittests/Analysis/ |
ScalarEvolutionTest.cpp | 146 SmallVector<const SCEV *, 16> Sum; 147 Sum.push_back(SE.getMulExpr(A[0], B[0])); 148 EXPECT_EQ(Product->getOperand(0), SE.getAddExpr(Sum)); 149 Sum.clear(); 154 Sum.push_back(SE.getMulExpr(A[1], B[0])); 155 Sum.push_back(SE.getMulExpr(A[0], B[1])); 156 Sum.push_back(SE.getMulExpr(A[1], B[1])); 157 EXPECT_EQ(Product->getOperand(1), SE.getAddExpr(Sum)); 158 Sum.clear(); 160 Sum.push_back(SE.getMulExpr(A[2], B[0])) [all...] |
/prebuilts/go/darwin-x86/src/crypto/sha256/ |
sha256.go | 128 func (d0 *digest) Sum(in []byte) []byte { 190 sum := d.checkSum() 191 copy(sum224[:], sum[:Size224])
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
prf.go | 29 a := h.Sum(nil) 36 b := h.Sum(nil) 46 a = h.Sum(nil) 102 digest := hashSHA1.Sum(nil) 108 done += copy(result[done:], hashMD5.Sum(nil)) 244 func (h finishedHash) Sum() []byte { 246 return h.client.Sum(nil) 250 out = h.clientMD5.Sum(out) 251 return h.client.Sum(out) 261 md5Digest := md5.Sum(nil [all...] |
/prebuilts/go/darwin-x86/src/hash/crc32/ |
crc32.go | 143 // Its Sum method will lay the value out in big-endian byte order. 153 // Its Sum method will lay the value out in big-endian byte order. 193 func (d *digest) Sum(in []byte) []byte {
|
/prebuilts/go/linux-x86/src/crypto/sha256/ |
sha256.go | 128 func (d0 *digest) Sum(in []byte) []byte { 190 sum := d.checkSum() 191 copy(sum224[:], sum[:Size224])
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
prf.go | 29 a := h.Sum(nil) 36 b := h.Sum(nil) 46 a = h.Sum(nil) 102 digest := hashSHA1.Sum(nil) 108 done += copy(result[done:], hashMD5.Sum(nil)) 244 func (h finishedHash) Sum() []byte { 246 return h.client.Sum(nil) 250 out = h.clientMD5.Sum(out) 251 return h.client.Sum(out) 261 md5Digest := md5.Sum(nil [all...] |
/prebuilts/go/linux-x86/src/hash/crc32/ |
crc32.go | 143 // Its Sum method will lay the value out in big-endian byte order. 153 // Its Sum method will lay the value out in big-endian byte order. 193 func (d *digest) Sum(in []byte) []byte {
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
FwVol.c | 79 UINT8 Sum;
81 Sum = 0;
85 Sum = (UINT8)(Sum + Ptr[Index]);
86 Sum = (UINT8)(Sum + Ptr[Index+1]);
87 Sum = (UINT8)(Sum + Ptr[Index+2]);
88 Sum = (UINT8)(Sum + Ptr[Index+3]); [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/ |
AcpiSupportAcpiSupportProtocol.c | [all...] |
/external/boringssl/src/ssl/test/runner/ |
prf.go | 27 a := h.Sum(nil) 34 b := h.Sum(nil) 44 a = h.Sum(nil) 100 digest := hashSHA1.Sum(nil) 106 done += copy(result[done:], hashMD5.Sum(nil)) 154 prfForVersion(version, suite)(masterSecret, preMasterSecret, extendedMasterSecretLabel, h.Sum()) 252 func (h finishedHash) Sum() []byte { 254 return h.client.Sum(nil) 258 out = h.clientMD5.Sum(out) 259 return h.client.Sum(out [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/ |
decorators_unittest.py | 31 def Sum(): 34 self.assertEquals({'bar'}, decorators.GetDisabledAttributes(Sum)) 132 def Sum(): 135 self.assertEquals({'minus', 'power'}, decorators.GetEnabledAttributes(Sum))
|
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 123 Value *Sum = 127 ReturnInst::Create(M->getContext(), Sum, RecurseBB);
|