Home
last modified time | relevance | path

Searched refs:kMemorySize (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/modules/audio_processing/
Dthree_band_filter_bank.h28 constexpr int kMemorySize = kFilterSize * kStride - 1; variable
29 static_assert(kMemorySize == 15,
69 std::array<std::array<float, kMemorySize>, kNumNonZeroFilters>
71 std::array<std::array<float, kMemorySize>, kNumNonZeroFilters>
Dthree_band_filter_bank.cc110 rtc::ArrayView<float, kMemorySize> state) { in FilterCore()
117 for (int i = 0, j = kMemorySize + k - in_shift; i < kFilterSize; in FilterCore()
129 for (int i = loop_limit, j = kMemorySize + shift - loop_limit * kStride; in FilterCore()
143 std::copy(in.begin() + ThreeBandFilterBank::kSplitBandSize - kMemorySize, in FilterCore()
156 RTC_DCHECK_EQ(state_analysis_[k].size(), kMemorySize); in ThreeBandFilterBank()
157 RTC_DCHECK_EQ(state_synthesis_[k].size(), kMemorySize); in ThreeBandFilterBank()
206 rtc::ArrayView<float, kMemorySize> state(state_analysis_[filter_index]); in Analysis()
250 rtc::ArrayView<float, kMemorySize> state(state_synthesis_[filter_index]); in Synthesis()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc577 const uint32_t kMemorySize = 256; // bytes in TEST() local
578 const int kOffset = kMemorySize / 2; in TEST()
589 kMemorySize, in TEST()
601 FlushInstructionCache(memory, kMemorySize); in TEST()
643 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST()
648 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(kIllegalInstruction)]; in TEST()
669 const uint32_t kMemorySize = 256; // bytes in TEST() local
681 kMemorySize, in TEST()
693 FlushInstructionCache(memory, kMemorySize); in TEST()
735 EXPECT_EQ(kMemorySize / 2, region->GetSize()); in TEST()
[all …]
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_test.cc402 const uint32_t kMemorySize = si.dwPageSize; in TEST_F() local
405 uint8_t* memory = new uint8_t[kMemorySize]; in TEST_F()
410 for (uint32_t i = 0; i < kMemorySize; ++i) { in TEST_F()
424 handler.RegisterAppMemory(memory, kMemorySize); in TEST_F()
443 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST_F()
446 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize)); in TEST_F()
456 const uint32_t kMemorySize = si.dwPageSize; in TEST_F() local
459 uint8_t* memory = new uint8_t[kMemorySize]; in TEST_F()
464 for (uint32_t i = 0; i < kMemorySize; ++i) { in TEST_F()
478 handler.RegisterAppMemory(memory, kMemorySize); in TEST_F()
Dexception_handler_death_test.cc326 const uint32_t kMemorySize = 256; // bytes in TEST_F() local
327 const int kOffset = kMemorySize / 2; in TEST_F()
331 kMemorySize, in TEST_F()
382 EXPECT_LE(kMemorySize, region->GetSize()); in TEST_F()
391 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F()
420 const uint32_t kMemorySize = 256; // bytes in TEST_F() local
482 EXPECT_EQ(kMemorySize / 2, region->GetSize()); in TEST_F()
486 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)]; in TEST_F()
/external/google-breakpad/src/client/mac/tests/
Dexception_handler_test.cc315 const uint32_t kMemorySize = 256; // bytes in TEST_F() local
316 const int kOffset = kMemorySize / 2; in TEST_F()
327 kMemorySize, in TEST_F()
391 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST_F()
396 uint8_t suffix_bytes[kMemorySize - kOffset - sizeof(instructions)]; in TEST_F()
414 const uint32_t kMemorySize = 256; // bytes in TEST_F() local
426 kMemorySize, in TEST_F()
490 EXPECT_EQ(kMemorySize / 2, region->GetSize()); in TEST_F()
494 uint8_t suffix_bytes[kMemorySize / 2 - sizeof(instructions)]; in TEST_F()
513 const uint32_t kMemorySize = 4096; // bytes in TEST_F() local
[all …]
/external/libchrome/base/debug/
Dactivity_analyzer_unittest.cc51 const int kMemorySize = 1 << 20; // 1MiB member in base::debug::ActivityAnalyzerTest
166 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
225 ASSERT_TRUE(shmem->CreateAndMapAnonymous(kMemorySize)); in TEST_F()
232 GlobalActivityTracker::CreateWithSharedMemoryHandle(handle1, kMemorySize, 0, in TEST_F()
238 kMemorySize); in TEST_F()
249 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
353 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
401 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
479 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
496 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 1001); in TEST_F()
Dactivity_tracker_unittest.cc48 const int kMemorySize = 1 << 20; // 1MiB member in base::debug::ActivityTrackerTest
206 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
291 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
330 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
380 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
447 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
484 GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0); in TEST_F()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp77 const size_t kMemorySize = 1024; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
79 GrGLBuffer::Make(gpu, kMemorySize, kVertex_GrBufferType, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
81 ValidateMemoryDumps(reporter, context, kMemorySize, true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/tests/
DTraceMemoryDumpTest.cpp82 const size_t kMemorySize = 1024; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
84 GrGLBuffer::Make(gpu, kMemorySize, GrGpuBufferType::kVertex, kDynamic_GrAccessPattern); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
86 ValidateMemoryDumps(reporter, dContext, 2, kMemorySize, true /* isOwned */); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest.cc613 const uint32_t kMemorySize = sysconf(_SC_PAGESIZE); in TEST() local
616 uint8_t* memory = new uint8_t[kMemorySize]; in TEST()
621 for (uint32_t i = 0; i < kMemorySize; ++i) { in TEST()
653 app_memory.length = kMemorySize; in TEST()
669 EXPECT_EQ(kMemorySize, region->GetSize()); in TEST()
672 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize)); in TEST()
/external/google-breakpad/src/processor/
Dstatic_map_unittest.cc88 memset(data, 0, kMemorySize); in SetUp()
92 static const int kMemorySize = 40; member in TestInvalidMap
93 char data[kMemorySize];