M_PI 224 cc/animation/transform_operation.cc return (180.f * radians) / M_PI; M_PI 228 cc/animation/transform_operation.cc return (M_PI * degrees) / 180.f; M_PI 338 cc/animation/transform_operation.cc candidates[1] = candidates[0] + M_PI; M_PI 340 cc/animation/transform_operation.cc candidates[3] = candidates[2] + M_PI; M_PI 342 cc/animation/transform_operation.cc candidates[5] = candidates[4] + M_PI; M_PI 351 cc/animation/transform_operation.cc radians += 2.0 * M_PI; M_PI 353 cc/animation/transform_operation.cc radians -= 2.0 * M_PI; M_PI 55 chrome/browser/download/download_shelf.cc double temp = animation_progress * kCompleteAnimationCycles * M_PI + M_PI_2; M_PI 28 chrome/browser/thumbnails/content_analysis_unittest.cc #ifndef M_PI M_PI 457 chrome/browser/thumbnails/content_analysis_unittest.cc float y = std::sin(M_PI * i / 250.0f); M_PI 63 content/browser/device_orientation/data_fetcher_shared_memory_mac.cc const double kRad2deg = 180.0 / M_PI; M_PI 43 media/audio/simple_sources.cc audio_bus->channel(0)[i] = sin(2.0 * M_PI * f_ * time_state_++); M_PI 36 media/base/audio_hash.cc channel[i] + sin(2.0 * M_PI * M_PI * kSampleIndex); M_PI 33 media/base/fake_audio_render_callback.cc audio_bus->channel(0)[i] = sin(2 * M_PI * (x_ + step_ * i)); M_PI 210 media/base/sinc_resampler.cc const float pre_sinc = M_PI * (i - kKernelSize / 2 - subsample_offset); M_PI 216 media/base/sinc_resampler.cc kA0 - kA1 * cos(2.0 * M_PI * x) + kA2 * cos(4.0 * M_PI * x); M_PI 188 media/base/sinc_resampler_unittest.cc destination[i] = sin(2 * M_PI * (kMinFrequency * t + (k_ / 2) * t * t)); M_PI 257 media/base/sinc_resampler_unittest.cc resampler.SetRatio(M_PI); M_PI 262 media/filters/wsola_internals.cc const float scale = 2.0f * M_PI / window_length; M_PI 13 native_client_sdk/src/examples/api/graphics_3d/matrix.cc #define deg_to_rad(x) (x * (M_PI / 180.0f)) M_PI 35 native_client_sdk/src/examples/demo/earth/earth.cc const float kPI = M_PI; M_PI 28 native_client_sdk/src/examples/demo/flock/flock.cc const double kGooseHeadingIncrement = (5.0 * M_PI) / 180.0; M_PI 80 native_client_sdk/src/examples/demo/flock/flock.cc heading = M_PI * 2.0 + heading; M_PI 140 native_client_sdk/src/examples/demo/life/life.c int num = (int)(M_PI * radius * radius / 100.0f); M_PI 37 native_client_sdk/src/examples/demo/voronoi/voronoi.cc const float kPI = M_PI; M_PI 13 native_client_sdk/src/gonacl_appengine/src/cube/matrix.cc #define deg_to_rad(x) (x * (M_PI / 180.0f)) M_PI 42 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc const float kPI = M_PI; M_PI 144 native_client_sdk/src/gonacl_appengine/src/life/life.c int num = (int)(M_PI * radius * radius / 100.0f); M_PI 37 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc const float kPI = M_PI; M_PI 79 ppapi/examples/audio/audio.cc double delta_l = 2.0 * M_PI * kLeftFrequency / sample_rate_ / M_PI 81 ppapi/examples/audio/audio.cc double delta_r = 2.0 * M_PI * kRightFrequency / sample_rate_ / M_PI 94 ppapi/examples/audio/audio.cc if (wave_l > 2.0 * M_PI) M_PI 95 ppapi/examples/audio/audio.cc wave_l -= 2.0 * M_PI; M_PI 97 ppapi/examples/audio/audio.cc if (wave_r > 2.0 * M_PI) M_PI 98 ppapi/examples/audio/audio.cc wave_r -= 2.0 * M_PI; M_PI 25 remoting/codec/audio_encoder_opus_unittest.cc const double kChannelPhaseShift = 2 * M_PI / 3; M_PI 59 remoting/codec/audio_encoder_opus_unittest.cc double angle = pos * 2 * M_PI * frequency_hz / rate + M_PI 58 skia/ext/image_operations.cc float xpi = x * static_cast<float>(M_PI); M_PI 84 skia/ext/image_operations.cc const float xpi = x * static_cast<float>(M_PI); M_PI 648 skia/ext/image_operations_unittest.cc #ifndef M_PI M_PI 655 skia/ext/image_operations_unittest.cc x *= M_PI; M_PI 82 ui/compositor/debug_utils.cc *out << std::acos(decomp.quaternion[3]) * 360.0 / M_PI; M_PI 11 ui/gfx/geometry/matrix3_f.cc #ifndef M_PI M_PI 165 ui/gfx/geometry/matrix3_f.cc phi = M_PI / 3; M_PI 171 ui/gfx/geometry/matrix3_f.cc static_cast<float>(cos(phi + 2.0 * M_PI / 3.0)); M_PI 9 ui/gfx/interpolated_transform.cc #ifndef M_PI M_PI 31 ui/gfx/transform.cc double radians = degrees * M_PI / 180; M_PI 99 ui/gfx/transform.cc double radians = degrees * M_PI / 180; M_PI 116 ui/gfx/transform.cc double radians = degrees * M_PI / 180; M_PI 135 ui/gfx/transform.cc double radians = degrees * M_PI / 180; M_PI 1067 ui/gfx/transform_unittest.cc double expectedRotationAngle = 22.5 * M_PI / 180.0; M_PI 1086 ui/gfx/transform_unittest.cc expectedRotationAngle = 45.0 * M_PI / 180.0; M_PI 1124 ui/gfx/transform_unittest.cc double expectedRotationAngle = 22.5 * M_PI / 180.0; M_PI 1143 ui/gfx/transform_unittest.cc expectedRotationAngle = 45.0 * M_PI / 180.0; M_PI 1181 ui/gfx/transform_unittest.cc double expectedRotationAngle = 22.5 * M_PI / 180.0; M_PI 1200 ui/gfx/transform_unittest.cc expectedRotationAngle = 45.0 * M_PI / 180.0; M_PI 1315 ui/gfx/transform_unittest.cc std::acos(SkMScalarToDouble(decomp.quaternion[3])) * 360.0 / M_PI; M_PI 1678 ui/views/view.cc std::acos(decomp.quaternion[3]) * 360.0 / M_PI);