Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 9 of 9) sorted by relevance

/device/generic/goldfish/fvpbase/tools/
Dbind_to_localhost.cpp25 const sockaddr_in* sin = (const sockaddr_in*)addr; in bind() local
26 if (sin->sin_addr.s_addr != 0) return real_bind(sockfd, addr, addrlen); in bind()
27 sockaddr_in new_sin = *sin; in bind()
/device/google/contexthub/firmware/lib/libm/
Dsf_sin.c53 double sin(double x) in sin() function
55 double sin(x) in sin()
/device/generic/goldfish/camera/fake-pipeline2/
DScene.cpp331 ( 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()
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DScene.cpp300 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()
/device/generic/goldfish/audio/
Ddevice_port_source.cpp310 pcm[i] = .5 * (sin(480 * a) + sin(620 * a)); in BusySignalGenerator()
378 result[i] = amp * sin(a * freq); in generateSinePattern()
Dprimary_device.cpp340 void PrimaryDevice::unrefDevice(StreamIn *sin) { in unrefDevice() argument
342 LOG_ALWAYS_FATAL_IF(mInputStreams.erase(sin) < 1); in unrefDevice()
/device/generic/goldfish/camera/
DEmulatedFakeRotatingCameraDevice.cpp324 *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()
/device/google/cuttlefish/host/frontend/vnc_server/
Dvnc_client_connection.cpp525 const float sin_angle = std::sin(angle / M_PI); in CoordinatesForOrientation()
/device/generic/car/emulator/audio/driver/
Daudio_hw.c749 sdata[index] = (short)(sin(index * STEP) * 4096); in pseudo_pcm_read()