Searched refs:sin (Results 1 – 9 of 9) sorted by relevance
25 const sockaddr_in* sin = (const sockaddr_in*)addr; in bind() local26 if (sin->sin_addr.s_addr != 0) return real_bind(sockfd, addr, addrlen); in bind()27 sockaddr_in new_sin = *sin; in bind()
53 double sin(double x) in sin() function55 double sin(x) in sin()
331 ( kFreq1Magnitude * std::sin(kHorizShakeFreq1 * timeSinceIdx) + in calculateScene()332 kFreq2Magnitude * std::sin(kHorizShakeFreq2 * timeSinceIdx) ) * in calculateScene()336 ( kFreq1Magnitude * std::sin(kVertShakeFreq1 * timeSinceIdx) + in calculateScene()337 kFreq2Magnitude * std::sin(kVertShakeFreq2 * timeSinceIdx) ) * in calculateScene()
300 mHandshakeX = (kFreq1Magnitude * std::sin(kHorizShakeFreq1 * timeSinceIdx) + in calculateScene()301 kFreq2Magnitude * std::sin(kHorizShakeFreq2 * timeSinceIdx)) * in calculateScene()304 mHandshakeY = (kFreq1Magnitude * std::sin(kVertShakeFreq1 * timeSinceIdx) + in calculateScene()305 kFreq2Magnitude * std::sin(kVertShakeFreq2 * timeSinceIdx)) * in calculateScene()
310 pcm[i] = .5 * (sin(480 * a) + sin(620 * a)); in BusySignalGenerator()378 result[i] = amp * sin(a * freq); in generateSinePattern()
340 void PrimaryDevice::unrefDevice(StreamIn *sin) { in unrefDevice() argument342 LOG_ALWAYS_FATAL_IF(mInputStreams.erase(sin) < 1); in unrefDevice()
324 *x = sin((180+yaw)*3.14/180); in get_yawing()340 float y1 = -R*sin(theta_around_x*3.14/180); in get_eye_x_y_z()343 float xz2 = z1 * sin(theta_around_y*3.14/180); in get_eye_x_y_z()
525 const float sin_angle = std::sin(angle / M_PI); in CoordinatesForOrientation()
749 sdata[index] = (short)(sin(index * STEP) * 4096); in pseudo_pcm_read()