Home
last modified time | relevance | path

Searched refs:step_size (Results 1 – 25 of 27) sorted by relevance

12

/external/v8/src/heap/
Dallocation-observer.cc27 intptr_t step_size = observer->GetNextStepSize(); in AddAllocationObserver() local
28 size_t observer_next_counter = current_counter_ + step_size; in AddAllocationObserver()
39 current_counter_ + Min(static_cast<intptr_t>(missing_bytes), step_size); in AddAllocationObserver()
61 size_t step_size = 0; in RemoveAllocationObserver() local
66 step_size = step_size ? Min(step_size, left_in_step) : left_in_step; in RemoveAllocationObserver()
69 next_counter_ = current_counter_ + step_size; in RemoveAllocationObserver()
95 size_t step_size = 0; in InvokeAllocationObservers() local
117 step_size = step_size ? Min(step_size, left_in_step) : left_in_step; in InvokeAllocationObservers()
129 DCHECK_NE(step_size, 0); in InvokeAllocationObservers()
130 step_size = Min(step_size, aligned_object_size + observer_step_size); in InvokeAllocationObservers()
[all …]
Dallocation-observer.h86 explicit AllocationObserver(intptr_t step_size) : step_size_(step_size) { in AllocationObserver() argument
87 DCHECK_LE(kTaggedSize, step_size); in AllocationObserver()
Dincremental-marking.h231 Observer(IncrementalMarking* incremental_marking, intptr_t step_size) in Observer() argument
232 : AllocationObserver(step_size), in Observer()
/external/adhd/cras/tools/
Dcreate_volume_curve.py9 def GenerateSimpleStep(name, max_volume, step_size): argument
12 print ' ; simple_step curve, max %d, step %d' % (max_volume, step_size)
14 print ' volume_step = %d' % step_size
56 step_size = int(raw_input(">"))
57 GenerateSimpleStep(jack_name, max_volume, step_size)
/external/libhevc/encoder/
Dsqrt_interp.c54 WORD32 index, answer, temp, delta, step_size; in sqrtFix_interpolate() local
67 step_size = sub32(sqrt_tab[index + 1], sqrt_tab[index]); in sqrtFix_interpolate()
68 step_size = mult32_shl_sat(step_size, delta); /* Q:Q_SQRT_TAB + 21 + 10 - 31 */ in sqrtFix_interpolate()
69 answer = add32(sqrt_tab[index], step_size); in sqrtFix_interpolate()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorExecutor.h208 void run(Evaluator& eval, Index first, Index last, Index step_size) {
209 for (Index i = first; i < last; i += step_size) {
218 void run(Evaluator& eval, Index first, Index last, Index step_size) {
221 const Index vectorized_step_size = step_size * PacketSize;
228 for (Index i = vectorized_size + first; i < last; i += step_size) {
240 const Index step_size = blockDim.x * gridDim.x;
243 EigenMetaKernelEval<Evaluator, Index, vectorizable>::run(eval, first_index, size, step_size);
/external/llvm/test/CodeGen/PowerPC/
Dldtoc-inv.ll8 define void @test(i32* nocapture %out, i32 zeroext %step_size) #0 {
10 %shl = shl i32 %step_size, 2
23 %shl1 = shl i32 %0, %step_size
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dldtoc-inv.ll8 define void @test(i32* nocapture %out, i32 zeroext %step_size) #0 {
10 %shl = shl i32 %step_size, 2
23 %shl1 = shl i32 %0, %step_size
/external/vixl/test/aarch64/
Dtest-fuzz-aarch64.cc41 static void FuzzHelper(std::string mode, int step_size, int offset, int shift) { in FuzzHelper() argument
52 for (uint64_t i = offset << shift; i < (UINT64_C(1) << 32); i += step_size) { in FuzzHelper()
/external/libaom/libaom/av1/encoder/
Dintra_mode_search.c641 const int *const top_colors, int start_n, int end_n, int step_size, in perform_top_color_coarse_palette_search() argument
660 n += step_size; in perform_top_color_coarse_palette_search()
669 int start_n, int end_n, int step_size, uint16_t *color_cache, int n_cache, in perform_k_means_coarse_palette_search() argument
692 n += step_size; in perform_k_means_coarse_palette_search()
703 int start_n, int end_n, int step_size, uint16_t *color_cache, int n_cache, in perform_top_color_palette_search() argument
710 assert((step_size == -1) || (step_size == 1) || (step_size == 0) || in perform_top_color_palette_search()
711 (step_size == 2)); in perform_top_color_palette_search()
712 assert(IMPLIES(step_size == -1, start_n > end_n)); in perform_top_color_palette_search()
713 assert(IMPLIES(step_size == 1, start_n < end_n)); in perform_top_color_palette_search()
726 n += step_size; in perform_top_color_palette_search()
[all …]
Dtune_vmaf.c170 const double unsharp_amount_start, const double step_size, in find_best_frame_unsharp_amount_loop() argument
178 unsharp_amount += step_size; in find_best_frame_unsharp_amount_loop()
186 approx_vmaf > best_vmaf ? unsharp_amount : unsharp_amount - step_size; in find_best_frame_unsharp_amount_loop()
194 const double step_size, in find_best_frame_unsharp_amount() argument
209 if (unsharp_amount_start <= step_size) { in find_best_frame_unsharp_amount()
212 step_size, max_loop_count, max_filter_amount); in find_best_frame_unsharp_amount()
214 double a0 = unsharp_amount_start - step_size, a1 = unsharp_amount_start; in find_best_frame_unsharp_amount()
225 -step_size, max_loop_count, max_filter_amount); in find_best_frame_unsharp_amount()
229 step_size, max_loop_count, max_filter_amount); in find_best_frame_unsharp_amount()
Dmcomp.c2169 static INLINE MV get_best_diag_step(int step_size, unsigned int left_cost, in get_best_diag_step() argument
2173 const MV diag_step = { up_cost <= down_cost ? -step_size : step_size, in get_best_diag_step()
2174 left_cost <= right_cost ? -step_size : step_size }; in get_best_diag_step()
/external/u-boot/drivers/spi/
Dbcm63xx_hsspi.c219 size_t step_size = HSSPI_FIFO_SIZE; in bcm63xx_hsspi_xfer() local
237 step_size -= HSSPI_FIFO_OP_SIZE; in bcm63xx_hsspi_xfer()
254 size_t curr_step = min(step_size, data_bytes); in bcm63xx_hsspi_xfer()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc499 const float step_size = (max - min) / 255.0f; in TestAvoidBias() local
500 const float tolerance = step_size / 1000.0f; in TestAvoidBias()
502 float first_float = std::ceil(min / step_size) * step_size; in TestAvoidBias()
503 for (float f = first_float; f <= max; f += step_size) { in TestAvoidBias()
698 float step_size = in TestQuantizedTensorToFloat() local
701 roundf(-(input_range / 2.0) / step_size) * step_size; in TestQuantizedTensorToFloat()
Dtopk_op_gpu.h228 int step_size = 1) {
235 int heap_end_index = start_index + k * step_size;
241 index += step_size, slot++) {
250 for (int index = heap_end_index; index < length; index += step_size) {
/external/v8/src/profiler/
Dsampling-heap-profiler.h130 Observer(Heap* heap, intptr_t step_size, uint64_t rate, in Observer() argument
133 : AllocationObserver(step_size), in Observer()
/external/webp/src/enc/
Dfilter_enc.c166 const int step_size = (delta_max - delta_min >= 4) ? 4 : 1; in VP8StoreFilterStats() local
181 for (d = delta_min; d <= delta_max; d += step_size) { in VP8StoreFilterStats()
/external/speex/include/speex/
Dspeex_jitter.h124 JitterBuffer *jitter_buffer_init(int step_size);
/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule.h138 int32_t SpeakerVolumeStepSize(uint16_t* step_size) const override;
146 int32_t MicrophoneVolumeStepSize(uint16_t* step_size) const override;
/external/u-boot/include/linux/mtd/
Dnand.h120 unsigned int step_size; member
123 #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) }
Drawnand.h530 int (*calc_ecc_bytes)(int step_size, int strength);
/external/u-boot/drivers/mtd/nand/raw/
Dnand_base.c4802 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local
4819 step_size = stepinfo->stepsize; in nand_match_ecc_req()
4829 if (step_size < req_step && strength < req_strength) in nand_match_ecc_req()
4832 if (mtd->writesize % step_size) in nand_match_ecc_req()
4835 nsteps = mtd->writesize / step_size; in nand_match_ecc_req()
4837 ecc_bytes = caps->calc_ecc_bytes(step_size, strength); in nand_match_ecc_req()
4852 best_step = step_size; in nand_match_ecc_req()
4884 int step_size, strength, nsteps, ecc_bytes, corr; in nand_maximize_ecc() local
4895 step_size = stepinfo->stepsize; in nand_maximize_ecc()
4898 if (chip->ecc.size && step_size != chip->ecc.size) in nand_maximize_ecc()
[all …]
Ddenali.h325 int denali_calc_ecc_bytes(int step_size, int strength);
Ddenali.c1113 int denali_calc_ecc_bytes(int step_size, int strength) in denali_calc_ecc_bytes() argument
1116 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2; in denali_calc_ecc_bytes()
/external/speex/libspeexdsp/
Djitter.c270 EXPORT JitterBuffer *jitter_buffer_init(int step_size) in jitter_buffer_init() argument
279 jitter->delay_step = step_size; in jitter_buffer_init()
280 jitter->concealment_size = step_size; in jitter_buffer_init()

12