/external/v8/test/unittests/base/ |
bits-unittest.cc | 163 int32_t val = 0; local 164 EXPECT_FALSE(SignedAddOverflow32(0, 0, &val)); 165 EXPECT_EQ(0, val); 167 SignedAddOverflow32(std::numeric_limits<int32_t>::max(), 1, &val)); 168 EXPECT_EQ(std::numeric_limits<int32_t>::min(), val); local 170 SignedAddOverflow32(std::numeric_limits<int32_t>::min(), -1, &val)); 171 EXPECT_EQ(std::numeric_limits<int32_t>::max(), val); local 173 std::numeric_limits<int32_t>::max(), &val)); local 174 EXPECT_EQ(-2, val); 177 EXPECT_FALSE(SignedAddOverflow32(i, j, &val)); 185 int32_t val = 0; local 190 EXPECT_EQ(std::numeric_limits<int32_t>::max(), val); local 193 EXPECT_EQ(std::numeric_limits<int32_t>::min(), val); local 259 uint32_t val = 0; local 264 EXPECT_EQ(std::numeric_limits<uint32_t>::min(), val); local 267 &val)); local [all...] |
/frameworks/base/libs/androidfw/tests/ |
TestHelpers.cpp | 26 Res_value val; local 27 ssize_t block = table.getResource(resourceId, &val, MAY_NOT_BE_BAG); 32 if (val.dataType != Res_value::TYPE_STRING) { 41 const String8 actual = pool->string8ObjectAt(val.data);
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
a110x.cxx | 53 bool val = hall->magnetDetected(); local 54 if (val)
|
adc121c021.cxx | 55 uint16_t val = adc->value(); local 56 cout << "ADC value: " << val << " Volts = " 57 << adc->valueToVolts(val) << endl;
|
apds9002.cxx | 51 int val = luminance->value(); local 52 cout << "Luminance value is " << val << endl;
|
biss0001.cxx | 51 bool val = motion->value(); local 53 if (val)
|
enc03r.cxx | 65 unsigned int val = gyro->value(); local 66 double av = gyro->angularVelocity(val); 68 cout << "Raw value: " << val << ", "
|
grovelinefinder.cxx | 52 bool val = finder->whiteDetected(); local 53 if (val)
|
grovemoisture.cxx | 56 int val = moisture->value(); local 57 cout << "Moisture value: " << val << ", "; local 58 if (val >= 0 && val < 300) 60 else if (val >= 300 && val < 600)
|
grovevdiv.cxx | 53 unsigned int val = vDiv->value(100); local 54 float gain3val = vDiv->computedValue(3, val); 55 float gain10val = vDiv->computedValue(10, val); 56 cout << "ADC value: " << val << " Gain 3: " << gain3val
|
grovewater.cxx | 51 bool val = water->isWet(); local 52 if (val)
|
mq303a.cxx | 64 int val = mq303a->value(); local 67 << val << endl;
|
yg1006.cxx | 52 bool val = flame->flameDetected(); local 53 if (val)
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
ENC03RSample.java | 54 long val = gyro.value(); local 55 double av = gyro.angularVelocity(val); 57 System.out.println("Raw value: " + val + ", angular velocity: " + av + " deg/s");
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
mq303a.py | 71 val = myAlcoholSensor.value() variable 74 print msg + str(val)
|
/hardware/bsp/intel/peripheral/libupm/src/gp2y0a/ |
gp2y0a.cxx | 54 int val; local 59 val = mraa_aio_read(m_aio); 60 sum += val; 63 val = sum / samples; 64 float volts = float(val) * aref / float(m_aRes);
|
/hardware/bsp/intel/peripheral/libupm/src/groveo2/ |
groveo2.cxx | 51 int val = mraa_aio_read(m_aio); local 52 float sensorVoltage = (val/1024.0) * 5.0;
|
/hardware/bsp/intel/peripheral/libupm/src/guvas12d/ |
guvas12d.cxx | 51 int val; local 56 val = mraa_aio_read(m_aio); 57 sum += val;
|
/hardware/bsp/intel/peripheral/libupm/src/lm35/ |
lm35.cxx | 44 int val = m_aio.read(); local 47 float temp = (float(val) * (m_aref / float(1 << m_aRes))) * 1000.0;
|
/hardware/bsp/intel/peripheral/libupm/src/maxsonarez/ |
maxsonarez.cxx | 57 int val = mraa_aio_read(m_aio); local 58 float volts = float(val) * (m_aref / m_aRes);
|
/hardware/qcom/gps/msm8084/utils/ |
loc_log.h | 44 long val; member in struct:__anon33803
|
/hardware/qcom/gps/msm8960/utils/ |
loc_log.h | 44 long val; member in struct:__anon33887
|
/hardware/qcom/gps/msm8994/utils/ |
loc_log.h | 44 long val; member in struct:__anon33980
|
/hardware/qcom/gps/utils/ |
loc_log.h | 44 long val; member in struct:__anon34043
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/ |
db_iterators_9.pass.cpp | 24 struct S { int val; }; member in struct:S 54 try { (void) i->val; } catch (int) { ++lib_asserts; } 55 try { (void) ci->val; } catch (int) { ++lib_asserts; }
|