Searched refs:phase0Size (Results 1 – 2 of 2) sorted by relevance
102 int phase0Size = (int) (size / 2 * dutyCycle); in genTriangleWave() local104 int breakIndex = phase0Size; in genTriangleWave()107 if (phase0Size != 0) { in genTriangleWave()108 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()118 breakIndex = size - phase0Size; in genTriangleWave()126 if (phase0Size != 0) { in genTriangleWave()127 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()
176 int phase0Size = (int) (size / 2 * dutyCycle); in genTriangleWave() local178 int breakIndex = phase0Size; in genTriangleWave()181 if (phase0Size != 0) { in genTriangleWave()182 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()192 breakIndex = size - phase0Size; in genTriangleWave()200 if (phase0Size != 0) { in genTriangleWave()201 float phase0Incr = maxValue / (float) phase0Size; in genTriangleWave()