/external/aac/libPCMutils/src/ |
D | limiter.cpp | 115 TDLimiterPtr limiter = NULL; in pcmLimiter_Create() local 125 limiter = (TDLimiterPtr)FDKcalloc(1, sizeof(struct TDLimiter)); in pcmLimiter_Create() 126 if (!limiter) return NULL; in pcmLimiter_Create() 129 limiter->maxBuf = (FIXP_DBL*)FDKcalloc(attack + 1, sizeof(FIXP_DBL)); in pcmLimiter_Create() 130 limiter->delayBuf = in pcmLimiter_Create() 133 if (!limiter->maxBuf || !limiter->delayBuf) { in pcmLimiter_Create() 134 pcmLimiter_Destroy(limiter); in pcmLimiter_Create() 149 limiter->attackMs = maxAttackMs; in pcmLimiter_Create() 150 limiter->maxAttackMs = maxAttackMs; in pcmLimiter_Create() 151 limiter->releaseMs = releaseMs; in pcmLimiter_Create() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | RateLimiterTest.java | 54 RateLimiter limiter = RateLimiter.create(stopwatch, 5.0); in testSimple() local 55 limiter.acquire(); // R0.00, since it's the first request in testSimple() 56 limiter.acquire(); // R0.20 in testSimple() 57 limiter.acquire(); // R0.20 in testSimple() 68 RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS); in testSimpleRateUpdate() local 69 assertEquals(5.0, limiter.getRate()); in testSimpleRateUpdate() 70 limiter.setRate(10.0); in testSimpleRateUpdate() 71 assertEquals(10.0, limiter.getRate()); in testSimpleRateUpdate() 74 limiter.setRate(0.0); in testSimpleRateUpdate() 78 limiter.setRate(-10.0); in testSimpleRateUpdate() [all …]
|
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter_unittest.cc | 80 NiceMock<MockRateLimiter> limiter; in TEST() local 86 ASSERT_TRUE(limiter.SaveState(input)); in TEST() 87 ASSERT_TRUE(limiter.LoadState(&output)); in TEST() 92 NiceMock<MockRateLimiter> limiter; in TEST() local 100 ASSERT_TRUE(limiter.SaveState(input)); in TEST() 101 ASSERT_TRUE(limiter.LoadState(&output)); in TEST() 106 NiceMock<MockRateLimiter> limiter; in TEST() local 108 ASSERT_FALSE(limiter.LoadState(&output)); in TEST() 113 NiceMock<MockRateLimiter> limiter; in TEST() local 115 WriteGarbageToFile(limiter.GetStateFilePath().c_str()); in TEST() [all …]
|
D | perfetto_cmd.cc | 250 RateLimiter limiter; in Main() local 339 PERFETTO_CHECK(limiter.ClearState()); in Main() 584 if (!limiter.ShouldTrace(args)) in Main() 592 return limiter.OnTraceDone(args, did_process_full_trace_, bytes_written_) ? 0 in Main()
|
/external/webrtc/webrtc/base/ |
D | ratelimiter_unittest.cc | 18 RateLimiter limiter = RateLimiter(2000, 1.0); in TEST() local 24 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST() 25 EXPECT_TRUE(limiter.CanUse(1000, monday)); in TEST() 26 EXPECT_TRUE(limiter.CanUse(1999, monday)); in TEST() 27 EXPECT_TRUE(limiter.CanUse(2000, monday)); in TEST() 28 EXPECT_FALSE(limiter.CanUse(2001, monday)); in TEST() 30 limiter.Use(1000, monday); in TEST() 32 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST() 33 EXPECT_TRUE(limiter.CanUse(999, monday)); in TEST() 34 EXPECT_TRUE(limiter.CanUse(1000, monday)); in TEST() [all …]
|
/external/aac/libPCMutils/include/ |
D | limiter.h | 165 TDLIMITER_ERROR pcmLimiter_Reset(TDLimiterPtr limiter); 172 TDLIMITER_ERROR pcmLimiter_Destroy(TDLimiterPtr limiter); 179 unsigned int pcmLimiter_GetDelay(TDLimiterPtr limiter); 186 INT pcmLimiter_GetMaxGainReduction(TDLimiterPtr limiter); 194 TDLIMITER_ERROR pcmLimiter_SetNChannels(TDLimiterPtr limiter, 203 TDLIMITER_ERROR pcmLimiter_SetSampleRate(TDLimiterPtr limiter, UINT sampleRate); 211 TDLIMITER_ERROR pcmLimiter_SetAttack(TDLimiterPtr limiter, 220 TDLIMITER_ERROR pcmLimiter_SetRelease(TDLimiterPtr limiter, 253 TDLIMITER_ERROR pcmLimiter_SetThreshold(TDLimiterPtr limiter, 276 TDLIMITER_ERROR pcmLimiter_Apply(TDLimiterPtr limiter, PCM_LIM* samplesIn,
|
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/ |
D | TotalRecompressionLimiterTest.java | 196 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(0); in testZeroLimit() local 200 assertEquivalence(expected, limiter.getModifiedRecommendations(OLD_FILE, NEW_FILE, ALL_RECS)); in testZeroLimit() 205 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(Long.MAX_VALUE); in testMaxLimit() local 206 assertEquivalence(ALL_RECS, limiter.getModifiedRecommendations(OLD_FILE, NEW_FILE, ALL_RECS)); in testMaxLimit() 212 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(limit); in testLimit_ExactlySmallest() local 217 assertEquivalence(expected, limiter.getModifiedRecommendations(OLD_FILE, NEW_FILE, ALL_RECS)); in testLimit_ExactlySmallest() 223 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(limit); in testLimit_EdgeUnderSmallest() local 227 assertEquivalence(expected, limiter.getModifiedRecommendations(OLD_FILE, NEW_FILE, ALL_RECS)); in testLimit_EdgeUnderSmallest() 233 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(limit); in testLimit_EdgeOverSmallest() local 238 assertEquivalence(expected, limiter.getModifiedRecommendations(OLD_FILE, NEW_FILE, ALL_RECS)); in testLimit_EdgeOverSmallest() [all …]
|
D | DeltaFriendlyOldBlobSizeLimiterTest.java | 203 DeltaFriendlyOldBlobSizeLimiter limiter = new DeltaFriendlyOldBlobSizeLimiter(0); in testZeroLimit() local 207 assertEquivalence(expected, limiter.getModifiedRecommendations(tempFile, tempFile, ALL_RECS)); in testZeroLimit() 212 DeltaFriendlyOldBlobSizeLimiter limiter = new DeltaFriendlyOldBlobSizeLimiter(Long.MAX_VALUE); in testMaxLimit() local 213 assertEquivalence(ALL_RECS, limiter.getModifiedRecommendations(tempFile, tempFile, ALL_RECS)); in testMaxLimit() 221 DeltaFriendlyOldBlobSizeLimiter limiter = new DeltaFriendlyOldBlobSizeLimiter(limit); in testLimit_ExactlySmallest() local 226 assertEquivalence(expected, limiter.getModifiedRecommendations(tempFile, tempFile, ALL_RECS)); in testLimit_ExactlySmallest() 235 DeltaFriendlyOldBlobSizeLimiter limiter = new DeltaFriendlyOldBlobSizeLimiter(limit); in testLimit_EdgeUnderSmallest() local 239 assertEquivalence(expected, limiter.getModifiedRecommendations(tempFile, tempFile, ALL_RECS)); in testLimit_EdgeUnderSmallest() 248 DeltaFriendlyOldBlobSizeLimiter limiter = new DeltaFriendlyOldBlobSizeLimiter(limit); in testLimit_EdgeOverSmallest() local 253 assertEquivalence(expected, limiter.getModifiedRecommendations(tempFile, tempFile, ALL_RECS)); in testLimit_EdgeOverSmallest() [all …]
|
D | PreDiffExecutorTest.java | 213 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(1); // 1 byte limitation 218 .withRecommendationModifier(limiter)
|
/external/archive-patcher/explainer/src/test/java/com/google/archivepatcher/explainer/ |
D | PatchExplainerTest.java | 220 TotalRecompressionLimiter limiter = new TotalRecompressionLimiter(1); // 1 byte limit! in testExplainPatch_CompressedBytesChanged_UncompressedChanged_Limited() local 234 List<EntryExplanation> explanations = explainer.explainPatch(oldFile, newFile, limiter); in testExplainPatch_CompressedBytesChanged_UncompressedChanged_Limited()
|
/external/perfetto/ui/src/assets/ |
D | common.scss | 316 .scroll-limiter { 371 .scroll-limiter {
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_soa.c | 430 LLVMValueRef i1cond, i2cond, icond, limiter; in lp_exec_endloop() local 454 limiter = LLVMBuildLoad(builder, ctx->loop_limiter, ""); in lp_exec_endloop() 456 limiter = LLVMBuildSub( in lp_exec_endloop() 458 limiter, in lp_exec_endloop() 462 LLVMBuildStore(builder, limiter, ctx->loop_limiter); in lp_exec_endloop() 475 limiter, in lp_exec_endloop()
|
/external/v8/src/regexp/ |
D | jsregexp.cc | 5478 RegExpExpansionLimiter limiter( in ToNode() local 5480 if (min > 0 && min <= kMaxUnrolledMinMatches && limiter.ok_to_expand()) { in ToNode() 5497 RegExpExpansionLimiter limiter(compiler, max); in ToNode() local 5498 if (limiter.ok_to_expand()) { in ToNode()
|
/external/flatbuffers/docs/source/ |
D | CppUsage.md | 513 To avoid stack-overflow problem the parser has a built-in limiter of
|
/external/skia/tools/bookmaker/ |
D | includeParser.cpp | 235 const char* limiter = t.anyOf("(,{"); in skip_constructor_initializers() local 236 t.skipTo(limiter); in skip_constructor_initializers()
|
/external/skqp/tools/bookmaker/ |
D | includeParser.cpp | 234 const char* limiter = t.anyOf("(,{"); in skip_constructor_initializers() local 235 t.skipTo(limiter); in skip_constructor_initializers()
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz |
|
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/ |
D | en-IPA.txt | 16486 $x{limiter → lɪmɪtər ; # lɪmɑɪtər
|
D | internal_raw_IPA.txt | 97665 limiter %26454 lˈɪmɪtər
|
D | internal_raw_IPA-old.txt | 115701 limiter %10245 lˈɪmɪtər
|