/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
acceler.c | 68 int *accel;
local 71 accel = (int *) PyObject_MALLOC(nl * sizeof(int));
72 if (accel == NULL) {
77 accel[k] = -1;
96 if (accel[ibit] != -1)
98 accel[ibit] = a->a_arrow | (1 << 7) |
106 accel[lbl] = a->a_arrow;
108 while (nl > 0 && accel[nl-1] == -1)
110 for (k = 0; k < nl && accel[k] == -1;)
122 s->s_accel[i] = accel[k]; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
acceler.c | 68 int *accel;
local 71 accel = (int *) PyObject_MALLOC(nl * sizeof(int));
72 if (accel == NULL) {
77 accel[k] = -1;
96 if (accel[ibit] != -1)
98 accel[ibit] = a->a_arrow | (1 << 7) |
106 accel[lbl] = a->a_arrow;
108 while (nl > 0 && accel[nl-1] == -1)
110 for (k = 0; k < nl && accel[k] == -1;)
122 s->s_accel[i] = accel[k]; [all...] |
/external/python/cpython2/Parser/ |
acceler.c | 68 int *accel; local 71 accel = (int *) PyObject_MALLOC(nl * sizeof(int)); 72 if (accel == NULL) { 77 accel[k] = -1; 96 if (accel[ibit] != -1) 98 accel[ibit] = a->a_arrow | (1 << 7) | 106 accel[lbl] = a->a_arrow; 108 while (nl > 0 && accel[nl-1] == -1) 110 for (k = 0; k < nl && accel[k] == -1;) 122 s->s_accel[i] = accel[k] [all...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.c | 100 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; 103 if (sensors.accel.accuracy == 3) { 181 /** Accel sensitivity. 184 * it works out to be the maximum accel value in g's * 2^15. 188 return sensors.accel.sensitivity; 278 /** Set Accel Sample rate in micro seconds. 279 * @param[in] sample_rate_us Set Accel Sample rate in us 290 sensors.accel.sample_rate_us = sample_rate_us; 291 sensors.accel.sample_rate_ms = sample_rate_us / 1000; 292 if (sensors.accel.bandwidth == 0) [all...] |
hal_outputs.c | 47 //int accuracy_accel; /**< Accel Accuracy */ 129 long accel[3]; local 130 inv_get_accel_set(accel, accuracy, timestamp); 131 values[0] = accel[0] * ACCEL_CONVERSION; 132 values[1] = accel[1] * ACCEL_CONVERSION; 133 values[2] = accel[2] * ACCEL_CONVERSION; 138 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1], 145 * accel biases while at rest. 154 long gravity[3], accel[3]; local 157 inv_get_accel_set(accel, accuracy, ×tamp1) 297 long accel[3]; local 550 long accel[3]; local [all...] |
data_builder.h | 20 /** This is a new sample of accel data */ 132 struct inv_single_sensor_t accel; member in struct:inv_sensor_cal_t 184 /** accel factory bias in chip frame, hardware units scaled by 2^16, 191 /** temperature when accel bias was stored. */ 207 /** accel bias in chip frame, hardware units scaled by 2^16, +/- 2 gee 246 inv_error_t inv_build_accel(const long *accel, int status,
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 47 //int accuracy_accel; /**< Accel Accuracy */
81 long accel[3];
local 82 inv_get_accel_set(accel, accuracy, timestamp);
83 values[0] = accel[0] * ACCEL_CONVERSION;
84 values[1] = accel[1] * ACCEL_CONVERSION;
85 values[2] = accel[2] * ACCEL_CONVERSION;
90 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1],
97 * accel biases while at rest.
106 long gravity[3], accel[3];
local 109 inv_get_accel_set(accel, accuracy, timestamp); 257 long accel[3], quat_6_axis[4]; local 506 long accel[3]; local [all...] |
data_builder.c | 99 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; 102 if (sensors.accel.accuracy == 3) { 180 /** Accel sensitivity. 183 * it works out to be the maximum accel value in g's * 2^15. 187 return sensors.accel.sensitivity; 277 /** Set Accel Sample rate in micro seconds. 278 * @param[in] sample_rate_us Set Accel Sample rate in us 289 sensors.accel.sample_rate_us = sample_rate_us; 290 sensors.accel.sample_rate_ms = sample_rate_us / 1000; 291 if (sensors.accel.bandwidth == 0) [all...] |
data_builder.h | 20 /** This is a new sample of accel data */ 129 struct inv_single_sensor_t accel; member in struct:inv_sensor_cal_t 181 /** accel factory bias in chip frame, hardware units scaled by 2^16, 188 /** temperature when accel bias was stored. */ 204 /** accel bias in chip frame, hardware units scaled by 2^16, +/- 2 gee 243 inv_error_t inv_build_accel(const long *accel, int status,
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
datalogger_outputs.c | 109 struct inv_single_sensor_t *pa = &dl_out.sc.accel; 128 long accel[3]; local 129 inv_get_accel_set(accel, accuracy, timestamp); 131 values[0] = (float) -accel[0] / 65536.f; 132 values[1] = (float) -accel[1] / 65536.f; 133 values[2] = (float) -accel[2] / 65536.f; 272 struct inv_single_sensor_t *pa = &dl_out.sc.accel;
|
and_constructor.c | 80 // accel setup 154 long accel[3]; local 157 int32_to_long(buffer, accel, 3); 158 inv_build_accel(accel, 0, ts); 319 // Set Accel Sample Rate in MPL in micro seconds 341 // Set Accel Sample Rate in MPL in micro seconds 351 // set accel sample rate in MPL in micro seconds
|
main.c | 385 float accel[3]; local 386 inv_get_accel_float(accel); 387 PRINT_3ELM_ARRAY_FLOAT(10, 5, accel);
|
/prebuilts/misc/windows/sdl2/test/ |
testgl2.c | 213 int fsaa, accel; local 227 accel = -1; 242 } else if (SDL_strcasecmp(argv[i], "--accel") == 0 && i+1 < argc) { 243 accel = atoi(argv[i+1]); 250 SDL_Log("Usage: %s %s [--fsaa n] [--accel n]\n", argv[0], 268 if (accel >= 0) { 269 state->gl_accelerated = accel; 354 if (accel >= 0) { 357 SDL_Log("SDL_GL_ACCELERATED_VISUAL: requested %d, got %d\n", accel,
|
testgles.c | 105 int fsaa, accel; local 118 accel = 0; 133 } else if (SDL_strcasecmp(argv[i], "--accel") == 0) { 134 ++accel; 149 SDL_Log("Usage: %s %s [--fsaa] [--accel] [--zdepth %%d]\n", argv[0], 169 if (accel) { 251 if (accel) {
|
testgles2.c | 410 int fsaa, accel; local 421 accel = 0; 436 } else if (SDL_strcasecmp(argv[i], "--accel") == 0) { 437 ++accel; 452 SDL_Log ("Usage: %s %s [--fsaa] [--accel] [--zdepth %%d]\n", argv[0], 473 if (accel) { 565 if (accel) {
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 362 float[] accel = new float[3]; local 363 accel[0] = totalForce[0]/mass; 364 accel[1] = totalForce[1]/mass; 365 accel[2] = totalForce[2]/mass; 368 mVel[0] = mVel[0] + accel[0]*deltaT; 369 mVel[1] = mVel[1] + accel[1]*deltaT; 370 mVel[2] = mVel[2] + accel[2]*deltaT;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
DeviceSuspendTestActivity.java | 174 Sensor accel = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 175 if (accel == null) { 178 return runAPWakeUpByAlarmNonWakeSensor(accel, (int)TimeUnit.SECONDS.toMicros(1000)); 182 Sensor accel = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 183 if (accel == null) { 186 return runAPWakeUpByAlarmNonWakeSensor(accel, 0);
|
/external/harfbuzz_ng/src/ |
hb-ot-cmap-table.hh | 141 accelerator_t accel; local 142 accel.init (this); 143 return accel.get_glyph_func (&accel, codepoint, glyph);
|
hb-ot-layout.cc | [all...] |
/device/google/contexthub/sensorhal/ |
hubconnection.cpp | 148 mLefty.accel = false; 522 // Add accel settings 801 sv->y = (mLefty.accel ? -sample->iy : sample->iy) * mScaleAccel; 1490 } accel; local [all...] |
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 730 double accel = PHYS_FIRE_ACCEL_SEC * elapsedFiring; local 733 ddx = Math.sin(radians) * accel; 734 ddy += Math.cos(radians) * accel; [all...] |
/external/deqp/framework/platform/win32/ |
tcuWGL.cpp | 281 static PixelFormatInfo::Acceleration translateAcceleration (int accel) 283 switch (accel)
|
/hardware/invensense/65xx/libsensors_iio/ |
MPLSensor.cpp | 58 #pragma message("HAL:build third party accel support") 93 // mask of virtual sensors that require gyro + accel + compass data 100 // mask of virtual sensors that require gyro + accel data (but no compass data) 104 // mask of virtual sensors that require mag + accel data (but no gyro data) 309 /* read gyro FSR to calculate accel scale later */ 387 /* read accel FSR to calcuate accel scale later */ 396 LOGE("HAL:Error opening accel FSR"); 401 LOGE("HAL:Error reading accel FSR"); 405 LOGV_IF(EXTRA_VERBOSE, "HAL:Accel FSR used %d", mAccelScale) [all...] |
/hardware/invensense/6515/libsensors_iio/ |
MPLSensor.cpp | 58 #pragma message("HAL:build third party accel support") 217 /* read gyro FSR to calculate accel scale later */ 295 /* read accel FSR to calcuate accel scale later */ 304 LOGE("HAL:Error opening accel FSR"); 309 LOGE("HAL:Error reading accel FSR"); 313 LOGV_IF(EXTRA_VERBOSE, "HAL:Accel FSR used %d", mAccelScale); 318 /* read accel self test scale used to calculate factory cal bias later */ 329 LOGE("HAL:Error reading accel self test scale"); 333 LOGV_IF(EXTRA_VERBOSE, "HAL:Accel self test scale used %ld", mAccelSelfTestScale) [all...] |
/bionic/libc/kernel/uapi/linux/ |
fb.h | 165 __u32 accel; member in struct:fb_fix_screeninfo
|