/external/skia/tests/ |
MemoryTest.cpp | 6 char* zeros = (char*)sk_calloc_throw(kNum*sizeof(char)); local 9 REPORTER_ASSERT(reporter, 0 == zeros[i]); 11 sk_free(zeros);
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DecimalNumber.cpp | 35 // [<sign>]0.[<zeros>]<significand> 49 // [<sign>]<significand>[<zeros>] 108 // [<sign>]0.[<zeros>]<significand> 110 unsigned zeros = -m_exponent - 1; local 116 for (unsigned i = 0; i < zeros; ++i) 128 // [<sign>]<significand>[<zeros>]
|
/external/chromium/net/disk_cache/ |
bitmap_unittest.cc | 121 char zeros[kMapSize]; local 123 memset(zeros, 0, kMapSize); 126 EXPECT_EQ(0, memcmp(zeros, map.GetMap(), kMapSize)); 130 EXPECT_EQ(0, memcmp(zeros, map.GetMap(), kMapSize)); 133 EXPECT_EQ(0, memcmp(zeros, map.GetMap(), kMapSize)); 221 // Almost the same test as FindNextSetBit, but find zeros instead of ones.
|
/external/chromium_org/crypto/ |
hkdf.cc | 21 char zeros[kSHA256HashLength]; local 23 // If salt is not given, HashLength zeros are used. 24 memset(zeros, 0, sizeof(zeros)); 25 actual_salt.set(zeros, sizeof(zeros));
|
p224_unittest.cc | 812 char zeros[56]; local 813 memset(zeros, 0, sizeof(zeros)); 817 p224::ScalarBaseMult(reinterpret_cast<const uint8*>(zeros), &a) [all...] |
/external/chromium_org/net/disk_cache/ |
bitmap_unittest.cc | 121 char zeros[kMapSize]; local 123 memset(zeros, 0, kMapSize); 126 EXPECT_EQ(0, memcmp(zeros, map.GetMap(), kMapSize)); 130 EXPECT_EQ(0, memcmp(zeros, map.GetMap(), kMapSize)); 133 EXPECT_EQ(0, memcmp(zeros, map.GetMap(), kMapSize)); 221 // Almost the same test as FindNextSetBit, but find zeros instead of ones.
|
/external/chromium_org/ui/gfx/ |
matrix3_unittest.cc | 16 Matrix3F zeros = Matrix3F::Zeros(); local 25 EXPECT_EQ(zeros, product_zeros); 49 EXPECT_EQ(0.0f, Matrix3F::Zeros().Determinant()); 53 Matrix3F matrix = Matrix3F::Zeros(); 72 Matrix3F singular = Matrix3F::Zeros(); 77 EXPECT_EQ(Matrix3F::Zeros(), singular.Inverse()); 79 Matrix3F regular = Matrix3F::Zeros(); 100 Matrix3F matrix = Matrix3F::Zeros(); 104 Matrix3F eigenvectors = Matrix3F::Zeros(); [all...] |
/external/marisa-trie/tests/ |
vector-test.cc | 218 std::vector<marisa::UInt32> zeros, ones; local 223 (bit ? ones : zeros).push_back(i); 239 for (marisa::UInt32 i = 0; i < zeros.size(); ++i) { 240 ASSERT(bv.select0(i) == zeros[i]); 265 for (marisa::UInt32 i = 0; i < zeros.size(); ++i) { 266 ASSERT(bv.select0(i) == zeros[i]);
|
/external/marisa-trie/v0_1_5/tests/ |
vector-test.cc | 222 std::vector<marisa_alpha::UInt32> zeros, ones; local 227 (bit ? ones : zeros).push_back(i); 243 for (marisa_alpha::UInt32 i = 0; i < zeros.size(); ++i) { 244 ASSERT(bv.select0(i) == zeros[i]); 269 for (marisa_alpha::UInt32 i = 0; i < zeros.size(); ++i) { 270 ASSERT(bv.select0(i) == zeros[i]);
|
/external/webrtc/src/common_audio/signal_processing/include/ |
spl_inl.h | 99 int zeros; local 104 zeros = 16; 106 zeros = 0; 108 if (!(0xFF800000 & (a << zeros))) zeros += 8; 109 if (!(0xF8000000 & (a << zeros))) zeros += 4; 110 if (!(0xE0000000 & (a << zeros))) zeros += 2; 111 if (!(0xC0000000 & (a << zeros))) zeros += 1 117 int zeros; local 135 int zeros; local [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkFloatBits.cpp | 173 int zeros = SkCLZ(value << 8); local 174 SkASSERT(zeros >= 0 && zeros <= 23); 175 value <<= zeros; local 176 shift -= zeros; 199 int zeros = SkCLZ(value << 8); local 200 value <<= zeros; local 201 shift -= zeros;
|
/external/skia/bench/ |
MemoryBench.cpp | 104 int* zeros = fUseCalloc ? calloc(fNum) : malloc_bzero(fNum); variable 108 x ^= zeros[j]; 113 zeros[j] = 15; 116 sk_free(zeros); variable
|
/external/skia/src/core/ |
SkFloatBits.cpp | 173 int zeros = SkCLZ(value << 8); local 174 SkASSERT(zeros >= 0 && zeros <= 23); 175 value <<= zeros; local 176 shift -= zeros; 199 int zeros = SkCLZ(value << 8); local 200 value <<= zeros; local 201 shift -= zeros;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_util.c | 65 Count leading zeros in a code word. Code word is assumed to be 76 number of leading zeros in the code word 85 u32 zeros = 0; local 94 zeros++; 97 return(zeros);
|
/external/aac/libFDK/include/ |
fixpoint_math.h | 120 INT zeros=fixnormz_D(y) & 0x1e; local 121 y<<=zeros; local 126 t=t>>(zeros>>1);
|
/external/ceres-solver/internal/ceres/ |
polynomial_test.cc | 112 const Vector zeros = Vector::Zero(N); local 113 ExpectArraysClose(N, imaginary.data(), zeros.data(), epsilon);
|
/external/chromium_org/third_party/openssl/openssl/crypto/chacha/ |
chachatest.c | 155 unsigned char *expected, *out_bytes, *zero_bytes, *out, *zeros; local 173 zeros = misalign(zero_bytes); 174 memset(zeros, 0, len); 177 CRYPTO_chacha_20(out, zeros, len, key, nonce, 0); 195 CRYPTO_chacha_20(out, zeros, len - 64, key, nonce, 1);
|
/external/chromium_org/third_party/opus/src/celt/tests/ |
test_unit_entropy.c | 173 int zeros; local 179 zeros = rand()%13==0; 182 if (zeros)
|
/external/llvm/lib/Analysis/ |
PathProfileVerifier.cpp | 185 int zeros = 0; local 191 fwrite(&zeros, 1, 4-(num&3), edgeFile);
|
/external/webrtc/src/common_audio/vad/ |
vad_unittest.cc | 83 int16_t zeros[kMaxFrameLength] = { 0 }; local 137 // All zeros as input should work 138 EXPECT_EQ(0, WebRtcVad_Process(handle, kRates[0], zeros, kFrameLengths[0])); 188 int16_t zeros[kMaxFrameLength] = { 0 }; local 205 // Input values all zeros, expect all zeros out. 206 WebRtcVad_Downsampling(zeros, data_out, state, (int) kMaxFrameLength);
|
/sdk/emulator/qtools/ |
gtrace.cpp | 6 // A buffer of zeros 7 static char zeros[Gtrace::kGtraceEntriesPerBlock * sizeof(Gtrace::trace_entry)]; variable 120 // with zeros. 122 fwrite(zeros, num_zeros, 1, ftrace_);
|
/bionic/libc/bionic/ |
md5.c | 244 unsigned char zeros[72]; local 248 *zeros = 0x80; 249 memset (zeros + 1, 0, sizeof(zeros) - 1); 250 zeros[dstart+0] = (m->sz[0] >> 0) & 0xff; 251 zeros[dstart+1] = (m->sz[0] >> 8) & 0xff; 252 zeros[dstart+2] = (m->sz[0] >> 16) & 0xff; 253 zeros[dstart+3] = (m->sz[0] >> 24) & 0xff; 254 zeros[dstart+4] = (m->sz[1] >> 0) & 0xff; 255 zeros[dstart+5] = (m->sz[1] >> 8) & 0xff [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XNumber.java | 239 // // Account for exponent by adding zeros as needed 262 // return sign + wholePart + decimalPart + zeros(exp - decimalLen); 268 // return sign + "0." + zeros(-1 - exp) + wholePart + decimalPart; 333 + zeros(exp - nDigits); 343 return sign + "0." + zeros(-1 - exp) + s.substring(0, 1) 356 static private String zeros(int n) method in class:XNumber
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_logic.c | 82 LLVMValueRef zeros = LLVMConstNull(int_vec_type); local 93 return zeros; 301 LLVMConstExtractElement(zeros, index), 360 LLVMConstExtractElement(zeros, index),
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
quantize_sse2.c | 159 __m128i sz0, sz1, x0, x1, y0, y1, xdq0, xdq1, zeros, ones; local 198 zeros = _mm_setzero_si128(); 200 x0 = _mm_cmpeq_epi16(x0, zeros); 201 x1 = _mm_cmpeq_epi16(x1, zeros); 203 ones = _mm_cmpeq_epi16(zeros, zeros);
|